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

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

Instance Method Summary collapse

Instance Method Details

#headObject



1056
1057
1058
# File 'lib/treetop/compiler/metagrammar.rb', line 1056

def head
  elements[0]
end

#tailObject



1060
1061
1062
# File 'lib/treetop/compiler/metagrammar.rb', line 1060

def tail
  elements[1]
end