Class: Nodaire::Indental::Lexer::Token

Inherits:
Struct
  • Object
show all
Defined in:
lib/nodaire/indental/lexer.rb

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



14
15
16
# File 'lib/nodaire/indental/lexer.rb', line 14

def key
  @key
end

#line_numObject

Returns the value of attribute line_num

Returns:

  • (Object)

    the current value of line_num



14
15
16
# File 'lib/nodaire/indental/lexer.rb', line 14

def line_num
  @line_num
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



14
15
16
# File 'lib/nodaire/indental/lexer.rb', line 14

def type
  @type
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



14
15
16
# File 'lib/nodaire/indental/lexer.rb', line 14

def value
  @value
end