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

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

Instance Method Summary collapse

Instance Method Details

#headObject



1076
1077
1078
# File 'lib/treetop/compiler/metagrammar.rb', line 1076

def head
  elements[0]
end

#tailObject



1080
1081
1082
# File 'lib/treetop/compiler/metagrammar.rb', line 1080

def tail
  elements[1]
end