Module: Treetop::Compiler::Metagrammar::Choice1

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

Instance Method Summary collapse

Instance Method Details

#headObject



770
771
772
# File 'lib/treetop/compiler/metagrammar.rb', line 770

def head
  elements[0]
end

#tailObject



774
775
776
# File 'lib/treetop/compiler/metagrammar.rb', line 774

def tail
  elements[1]
end