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

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

Instance Method Summary collapse

Instance Method Details

#nonterminalObject



895
896
897
# File 'lib/treetop/compiler/metagrammar.rb', line 895

def nonterminal
  elements[2]
end

#parsing_expressionObject



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

def parsing_expression
  elements[5]
end

#space1Object



891
892
893
# File 'lib/treetop/compiler/metagrammar.rb', line 891

def space1
  elements[1]
end

#space2Object



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

def space2
  elements[3]
end

#space3Object



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

def space3
  elements[6]
end