Module: Treetop::Compiler::Metagrammar::ParsingRule0

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

Instance Method Summary collapse

Instance Method Details

#nonterminalObject



585
586
587
# File 'lib/treetop/compiler/metagrammar.rb', line 585

def nonterminal
  elements[2]
end

#parsing_expressionObject



593
594
595
# File 'lib/treetop/compiler/metagrammar.rb', line 593

def parsing_expression
  elements[4]
end

#spaceObject



581
582
583
# File 'lib/treetop/compiler/metagrammar.rb', line 581

def space
  elements[1]
end