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

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

Instance Method Summary collapse

Instance Method Details

#nonterminalObject



625
626
627
# File 'lib/treetop/compiler/metagrammar.rb', line 625

def nonterminal
  elements[2]
end

#parsing_expressionObject



633
634
635
# File 'lib/treetop/compiler/metagrammar.rb', line 633

def parsing_expression
  elements[5]
end

#spaceObject



621
622
623
# File 'lib/treetop/compiler/metagrammar.rb', line 621

def space
  elements[1]
end