Module: Treetop::Compiler::Metagrammar::Primary5
- Defined in:
- lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb
Instance Method Summary collapse
- #compile(address, builder, parent_expression = nil) ⇒ Object
- #inline_module ⇒ Object
- #inline_module_name ⇒ Object
- #inline_modules ⇒ Object
- #node_class_name ⇒ Object
- #optional_expression ⇒ Object
- #parent_modules ⇒ Object
Instance Method Details
#compile(address, builder, parent_expression = nil) ⇒ Object
1518 1519 1520 1521 1522 1523 |
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1518 def compile(address, builder, parent_expression=nil) if node_class_declarations.inline_module && atomic.inline_module STDERR.puts "Extraneous module ignored after suffix: #{input[interval].inspect}" end suffix.compile(address, builder, self) end |
#inline_module ⇒ Object
1541 1542 1543 |
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1541 def inline_module node_class_declarations.inline_module end |
#inline_module_name ⇒ Object
1545 1546 1547 |
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1545 def inline_module_name node_class_declarations.inline_module_name end |
#inline_modules ⇒ Object
1537 1538 1539 |
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1537 def inline_modules atomic.inline_modules + parent_modules end |
#node_class_name ⇒ Object
1529 1530 1531 |
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1529 def node_class_name node_class_declarations.node_class_name end |
#optional_expression ⇒ Object
1525 1526 1527 |
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1525 def optional_expression atomic end |
#parent_modules ⇒ Object
1533 1534 1535 |
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1533 def parent_modules node_class_declarations.inline_modules end |