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

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

Instance Method Summary collapse

Instance Method Details

#headObject



1036
1037
1038
# File 'lib/treetop/compiler/metagrammar.rb', line 1036

def head
  elements[0]
end

#tailObject



1040
1041
1042
# File 'lib/treetop/compiler/metagrammar.rb', line 1040

def tail
  elements[1]
end