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

Defined in:
lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb

Instance Method Summary collapse

Instance Method Details

#headObject



1076
1077
1078
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1076

def head
  elements[0]
end

#tailObject



1080
1081
1082
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 1080

def tail
  elements[1]
end