Class: ShuntingYard::Token
- Inherits:
-
Struct
- Object
- Struct
- ShuntingYard::Token
- Defined in:
- lib/shunting_yard/structs.rb
Instance Attribute Summary collapse
-
#lexeme ⇒ Object
Returns the value of attribute lexeme.
-
#name ⇒ Object
Returns the value of attribute name.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Attribute Details
#lexeme ⇒ Object
Returns the value of attribute lexeme
2 3 4 |
# File 'lib/shunting_yard/structs.rb', line 2 def lexeme @lexeme end |
#name ⇒ Object
Returns the value of attribute name
2 3 4 |
# File 'lib/shunting_yard/structs.rb', line 2 def name @name end |
#value ⇒ Object
Returns the value of attribute value
2 3 4 |
# File 'lib/shunting_yard/structs.rb', line 2 def value @value end |