Class: Lrama::Lexer::Token::Type
- Inherits:
-
Struct
- Object
- Struct
- Lrama::Lexer::Token::Type
- Defined in:
- lib/lrama/lexer.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id
11 12 13 |
# File 'lib/lrama/lexer.rb', line 11 def id @id end |
#name ⇒ Object
Returns the value of attribute name
11 12 13 |
# File 'lib/lrama/lexer.rb', line 11 def name @name end |