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

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

Instance Method Summary collapse

Instance Method Details

#nonterminalObject



794
795
796
# File 'lib/treetop/compiler/metagrammar.rb', line 794

def nonterminal
  elements[2]
end

#parsing_expressionObject



802
803
804
# File 'lib/treetop/compiler/metagrammar.rb', line 802

def parsing_expression
  elements[5]
end

#space1Object



790
791
792
# File 'lib/treetop/compiler/metagrammar.rb', line 790

def space1
  elements[1]
end

#space2Object



798
799
800
# File 'lib/treetop/compiler/metagrammar.rb', line 798

def space2
  elements[3]
end

#space3Object



806
807
808
# File 'lib/treetop/compiler/metagrammar.rb', line 806

def space3
  elements[6]
end