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
1221 1222 1223 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1221 def compile(address, builder, parent_expression=nil) atomic.compile(address, builder, self) end |
#inline_module_name ⇒ Object
1233 1234 1235 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1233 def inline_module_name node_class_declarations.inline_module_name end |
#inline_modules ⇒ Object
1229 1230 1231 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1229 def inline_modules atomic.inline_modules + node_class_declarations.inline_modules end |
#node_class_name ⇒ Object
1225 1226 1227 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1225 def node_class_name node_class_declarations.node_class_name end |