Class: CraftBook::NBT::Tokenizer::Token

Inherits:
Struct
  • Object
show all
Defined in:
lib/craftbook/nbt/snbt/lexer.rb

Overview

def _next_token

Instance Attribute Summary collapse

Instance Attribute Details

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



143
144
145
# File 'lib/craftbook/nbt/snbt/lexer.rb', line 143

def type
  @type
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



143
144
145
# File 'lib/craftbook/nbt/snbt/lexer.rb', line 143

def value
  @value
end