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

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

Instance Method Summary collapse

Instance Method Details

#nonterminalObject



928
929
930
# File 'lib/treetop/compiler/metagrammar.rb', line 928

def nonterminal
  elements[2]
end

#parsing_expressionObject



936
937
938
# File 'lib/treetop/compiler/metagrammar.rb', line 936

def parsing_expression
  elements[5]
end

#space1Object



924
925
926
# File 'lib/treetop/compiler/metagrammar.rb', line 924

def space1
  elements[1]
end

#space2Object



932
933
934
# File 'lib/treetop/compiler/metagrammar.rb', line 932

def space2
  elements[3]
end

#space3Object



940
941
942
# File 'lib/treetop/compiler/metagrammar.rb', line 940

def space3
  elements[6]
end