Module: Treetop::Compiler::Metagrammar::DeclarationSequence1

Defined in:
lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb

Instance Method Summary collapse

Instance Method Details

#headObject



371
372
373
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 371

def head
  elements[0]
end

#tailObject



375
376
377
# File 'lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb', line 375

def tail
  elements[1]
end