Module: Treetop::Compiler::Metagrammar::LabeledSequencePrimary1

Defined in:
lib/treetop/compiler/metagrammar.rb

Instance Method Summary collapse

Instance Method Details

#compile(lexical_address, builder) ⇒ Object


1745
1746
1747
# File 'lib/treetop/compiler/metagrammar.rb', line 1745

def compile(lexical_address, builder)
  sequence_primary.compile(lexical_address, builder)
end

#inline_modulesObject


1753
1754
1755
# File 'lib/treetop/compiler/metagrammar.rb', line 1753

def inline_modules
  sequence_primary.inline_modules
end

#label_nameObject


1757
1758
1759
# File 'lib/treetop/compiler/metagrammar.rb', line 1757

def label_name
  named_label.name
end

#parent_modulesObject


1749
1750
1751
# File 'lib/treetop/compiler/metagrammar.rb', line 1749

def parent_modules
  []
end