Module: Treetop::Compiler::Metagrammar::Primary1
- 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
- #parent_modules ⇒ Object
- #prefixed_expression ⇒ Object
Instance Method Details
#compile(address, builder, parent_expression = nil) ⇒ Object
1422 1423 1424 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1422 def compile(address, builder, parent_expression=nil) prefix.compile(address, builder, self) end |
#inline_module_name ⇒ Object
1438 1439 1440 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1438 def inline_module_name nil end |
#inline_modules ⇒ Object
1434 1435 1436 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1434 def inline_modules atomic.inline_modules end |
#parent_modules ⇒ Object
1430 1431 1432 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1430 def parent_modules [] end |
#prefixed_expression ⇒ Object
1426 1427 1428 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1426 def prefixed_expression atomic end |