Class: Fusion::Token

Inherits:
Struct
  • Object
show all
Defined in:
lib/fusion.rb

Overview

LEXER

Instance Attribute Summary collapse

Instance Attribute Details

#posObject

Returns the value of attribute pos

Returns:

  • (Object)

    the current value of pos



45
46
47
# File 'lib/fusion.rb', line 45

def pos
  @pos
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



45
46
47
# File 'lib/fusion.rb', line 45

def type
  @type
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



45
46
47
# File 'lib/fusion.rb', line 45

def value
  @value
end