Class: Lrama::Printer
- Inherits:
-
Struct
- Object
- Struct
- Lrama::Printer
- Defined in:
- lib/lrama/grammar.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
268 269 270 |
# File 'lib/lrama/grammar.rb', line 268 def code @code end |
#ident_or_tags ⇒ Object
Returns the value of attribute ident_or_tags
268 269 270 |
# File 'lib/lrama/grammar.rb', line 268 def @ident_or_tags end |
#lineno ⇒ Object
Returns the value of attribute lineno
268 269 270 |
# File 'lib/lrama/grammar.rb', line 268 def lineno @lineno end |
Instance Method Details
#translated_code(member) ⇒ Object
269 270 271 |
# File 'lib/lrama/grammar.rb', line 269 def translated_code(member) code.translated_printer_code(member) end |