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

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

Instance Method Summary collapse

Instance Method Details

#headObject



702
703
704
# File 'lib/treetop/compiler/metagrammar.rb', line 702

def head
  elements[0]
end

#tailObject



706
707
708
# File 'lib/treetop/compiler/metagrammar.rb', line 706

def tail
  elements[1]
end