Module: Treetop::Compiler::Metagrammar::UnlabeledSequencePrimary1
- Defined in:
- lib/treetop/compiler/metagrammar.rb
Instance Method Summary collapse
Instance Method Details
#compile(lexical_address, builder) ⇒ Object
1698 1699 1700 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1698 def compile(lexical_address, builder) sequence_primary.compile(lexical_address, builder) end |
#inline_modules ⇒ Object
1702 1703 1704 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1702 def inline_modules sequence_primary.inline_modules end |
#label_name ⇒ Object
1706 1707 1708 1709 1710 1711 1712 |
# File 'lib/treetop/compiler/metagrammar.rb', line 1706 def label_name if sequence_primary.instance_of?(Nonterminal) sequence_primary.text_value else nil end end |