Class: Aurum::Engine::Token

Inherits:
Struct
  • Object
show all
Defined in:
lib/aurum/engine/tokenization_facility.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#terminalObject

Returns the value of attribute terminal

Returns:

  • (Object)

    the current value of terminal



3
4
5
# File 'lib/aurum/engine/tokenization_facility.rb', line 3

def terminal
  @terminal
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



3
4
5
# File 'lib/aurum/engine/tokenization_facility.rb', line 3

def value
  @value
end

Instance Method Details

#to_sObject



4
5
6
# File 'lib/aurum/engine/tokenization_facility.rb', line 4

def to_s
  terminal
end