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

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

Instance Method Summary collapse

Instance Method Details

#headObject



912
913
914
# File 'lib/treetop/compiler/metagrammar.rb', line 912

def head
  elements[0]
end

#tailObject



916
917
918
# File 'lib/treetop/compiler/metagrammar.rb', line 916

def tail
  elements[1]
end