Module: Treetop::Compiler::Metagrammar::Sequence1
- Defined in:
- lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb
Instance Method Summary collapse
Instance Method Details
#head ⇒ Object
816 817 818 |
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 816 def head elements[0] end |
#node_class_declarations ⇒ Object
824 825 826 |
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 824 def node_class_declarations elements[2] end |
#tail ⇒ Object
820 821 822 |
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 820 def tail elements[1] end |