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

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

Instance Method Summary collapse

Instance Method Details

#nonterminalObject



885
886
887
# File 'lib/treetop/compiler/metagrammar.rb', line 885

def nonterminal
  elements[2]
end

#parsing_expressionObject



893
894
895
# File 'lib/treetop/compiler/metagrammar.rb', line 893

def parsing_expression
  elements[5]
end

#space1Object



881
882
883
# File 'lib/treetop/compiler/metagrammar.rb', line 881

def space1
  elements[1]
end

#space2Object



889
890
891
# File 'lib/treetop/compiler/metagrammar.rb', line 889

def space2
  elements[3]
end

#space3Object



897
898
899
# File 'lib/treetop/compiler/metagrammar.rb', line 897

def space3
  elements[6]
end