Module: Treetop::Compiler::Metagrammar::LabeledSequencePrimary0

Defined in:
lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb

Instance Method Summary collapse

Instance Method Details

#labelObject



1107
1108
1109
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 1107

def label
  elements[0]
end

#sequence_primaryObject



1111
1112
1113
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 1111

def sequence_primary
  elements[1]
end