Module: Treetop::Compiler::Metagrammar::ModuleDeclaration2
- Defined in:
- lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb
Instance Method Summary collapse
Instance Method Details
#module_contents ⇒ Object
107 108 109 |
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 107 def module_contents elements[1] end |
#prefix ⇒ Object
103 104 105 |
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 103 def prefix elements[0] end |
#suffix ⇒ Object
111 112 113 |
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 111 def suffix elements[2] end |