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

Defined in:
lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb

Instance Method Summary collapse

Instance Method Details

#headObject



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

def head
  elements[0]
end

#tailObject



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

def tail
  elements[1]
end