Module: Treetop::Compiler::Metagrammar::Sequence1
- Defined in:
- lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb
Instance Method Summary collapse
- #inline_module ⇒ Object
- #inline_module_name ⇒ Object
- #inline_modules ⇒ Object
- #parent_modules ⇒ Object
- #sequence_elements ⇒ Object
- #tail ⇒ Object
Instance Method Details
#inline_module ⇒ Object
1219 1220 1221 |
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1219 def inline_module node_class_declarations.inline_module end |
#inline_module_name ⇒ Object
1223 1224 1225 |
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1223 def inline_module_name node_class_declarations.inline_module_name end |
#inline_modules ⇒ Object
1213 1214 1215 1216 1217 |
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1213 def inline_modules (sequence_elements.map {|elt| elt.inline_modules}).flatten + [sequence_element_accessor_module] + parent_modules end |
#parent_modules ⇒ Object
1209 1210 1211 |
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1209 def parent_modules node_class_declarations.inline_modules end |
#sequence_elements ⇒ Object
1201 1202 1203 |
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1201 def sequence_elements [sequence_body.head] + tail end |
#tail ⇒ Object
1205 1206 1207 |
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1205 def tail sequence_body.tail end |