Class: Lrama::Grammar::ErrorToken
- Inherits:
-
Struct
- Object
- Struct
- Lrama::Grammar::ErrorToken
- Defined in:
- lib/lrama/grammar/error_token.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#ident_or_tags ⇒ Object
Returns the value of attribute ident_or_tags.
-
#lineno ⇒ Object
Returns the value of attribute lineno.
Instance Method Summary collapse
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
3 4 5 |
# File 'lib/lrama/grammar/error_token.rb', line 3 def code @code end |
#ident_or_tags ⇒ Object
Returns the value of attribute ident_or_tags
3 4 5 |
# File 'lib/lrama/grammar/error_token.rb', line 3 def @ident_or_tags end |
#lineno ⇒ Object
Returns the value of attribute lineno
3 4 5 |
# File 'lib/lrama/grammar/error_token.rb', line 3 def lineno @lineno end |
Instance Method Details
#translated_code(member) ⇒ Object
4 5 6 |
# File 'lib/lrama/grammar/error_token.rb', line 4 def translated_code(member) code.translated_error_token_code(member) end |