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

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

Instance Method Summary collapse

Instance Method Details

#nonterminalObject



902
903
904
# File 'lib/treetop/compiler/metagrammar.rb', line 902

def nonterminal
  elements[2]
end

#parsing_expressionObject



910
911
912
# File 'lib/treetop/compiler/metagrammar.rb', line 910

def parsing_expression
  elements[5]
end

#space1Object



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

def space1
  elements[1]
end

#space2Object



906
907
908
# File 'lib/treetop/compiler/metagrammar.rb', line 906

def space2
  elements[3]
end

#space3Object



914
915
916
# File 'lib/treetop/compiler/metagrammar.rb', line 914

def space3
  elements[6]
end