Module: Treetop::Compiler::Metagrammar::Primary7
- 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
- #parent_modules ⇒ Object
Instance Method Details
#compile(address, builder, parent_expression = nil) ⇒ Object
1561 1562 1563 1564 1565 1566 |
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1561 def compile(address, builder, parent_expression=nil) if node_class_declarations.inline_module && atomic.inline_module STDERR.puts "Extraneous module ignored with nested atomic: #{input[interval].inspect}" end atomic.compile(address, builder, self) end |
#inline_module ⇒ Object
1580 1581 1582 |
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1580 def inline_module node_class_declarations.inline_module end |
#inline_module_name ⇒ Object
1584 1585 1586 |
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1584 def inline_module_name node_class_declarations.inline_module_name end |
#inline_modules ⇒ Object
1576 1577 1578 |
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1576 def inline_modules atomic.inline_modules + parent_modules end |
#node_class_name ⇒ Object
1568 1569 1570 |
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1568 def node_class_name node_class_declarations.node_class_name end |
#parent_modules ⇒ Object
1572 1573 1574 |
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1572 def parent_modules node_class_declarations.inline_modules end |