Module: Treetop::Compiler::Metagrammar::DeclarationSequence2
- Defined in:
- lib/treetop/compiler/metagrammar.rb
Instance Method Summary collapse
Instance Method Details
#declarations ⇒ Object
415 416 417 |
# File 'lib/treetop/compiler/metagrammar.rb', line 415 def declarations [head] + tail end |
#tail ⇒ Object
419 420 421 |
# File 'lib/treetop/compiler/metagrammar.rb', line 419 def tail super.elements.map { |elt| elt.declaration } end |