Class: Lrama::Union
- Inherits:
-
Struct
- Object
- Struct
- Lrama::Union
- Defined in:
- lib/lrama/grammar.rb
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#lineno ⇒ Object
Returns the value of attribute lineno.
Instance Method Summary collapse
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
274 275 276 |
# File 'lib/lrama/grammar.rb', line 274 def code @code end |
#lineno ⇒ Object
Returns the value of attribute lineno
274 275 276 |
# File 'lib/lrama/grammar.rb', line 274 def lineno @lineno end |
Instance Method Details
#braces_less_code ⇒ Object
275 276 277 278 |
# File 'lib/lrama/grammar.rb', line 275 def braces_less_code # Remove braces code.s_value[1..-2] end |