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

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

Instance Method Summary collapse

Instance Method Details

#nonterminalObject



922
923
924
# File 'lib/treetop/compiler/metagrammar.rb', line 922

def nonterminal
  elements[2]
end

#parsing_expressionObject



930
931
932
# File 'lib/treetop/compiler/metagrammar.rb', line 930

def parsing_expression
  elements[5]
end

#space1Object



918
919
920
# File 'lib/treetop/compiler/metagrammar.rb', line 918

def space1
  elements[1]
end

#space2Object



926
927
928
# File 'lib/treetop/compiler/metagrammar.rb', line 926

def space2
  elements[3]
end

#space3Object



934
935
936
# File 'lib/treetop/compiler/metagrammar.rb', line 934

def space3
  elements[6]
end