Module: Treetop::Compiler::Metagrammar::Primary3
- 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
- #optional_expression ⇒ Object
Instance Method Details
#compile(address, builder, parent_expression = nil) ⇒ Object
1189 1190 1191 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1189 def compile(address, builder, parent_expression=nil) suffix.compile(address, builder, self) end |
#inline_module_name ⇒ Object
1205 1206 1207 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1205 def inline_module_name node_class_declarations.inline_module_name end |
#inline_modules ⇒ Object
1201 1202 1203 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1201 def inline_modules atomic.inline_modules + node_class_declarations.inline_modules end |
#node_class_name ⇒ Object
1197 1198 1199 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1197 def node_class_name node_class_declarations.node_class_name end |
#optional_expression ⇒ Object
1193 1194 1195 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1193 def optional_expression atomic end |