Module: Treetop::Compiler::Metagrammar::Primary5
- Defined in:
- lib/treetop/compiler/metagrammar.rb
Instance Method Summary collapse
- #compile(address, builder, parent_expression = nil) ⇒ Object
- #inline_module_name ⇒ Object
- #inline_modules ⇒ Object
- #node_class_name ⇒ Object
Instance Method Details
#compile(address, builder, parent_expression = nil) ⇒ Object
1011 1012 1013 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1011 def compile(address, builder, parent_expression=nil) atomic.compile(address, builder, self) end |
#inline_module_name ⇒ Object
1023 1024 1025 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1023 def inline_module_name node_class_declarations.inline_module_name end |
#inline_modules ⇒ Object
1019 1020 1021 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1019 def inline_modules atomic.inline_modules + node_class_declarations.inline_modules end |
#node_class_name ⇒ Object
1015 1016 1017 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1015 def node_class_name node_class_declarations.node_class_name end |