Module: Treetop::Compiler::Metagrammar::ParsingRule1

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

Instance Method Summary collapse

Instance Method Details

#nonterminalObject



767
768
769
# File 'lib/treetop/compiler/metagrammar.rb', line 767

def nonterminal
  elements[2]
end

#parsing_expressionObject



775
776
777
# File 'lib/treetop/compiler/metagrammar.rb', line 775

def parsing_expression
  elements[5]
end

#space1Object



763
764
765
# File 'lib/treetop/compiler/metagrammar.rb', line 763

def space1
  elements[1]
end

#space2Object



771
772
773
# File 'lib/treetop/compiler/metagrammar.rb', line 771

def space2
  elements[3]
end

#space3Object



779
780
781
# File 'lib/treetop/compiler/metagrammar.rb', line 779

def space3
  elements[6]
end