Module: Treetop::Compiler::Metagrammar::VariableLengthSequenceBody1

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

Instance Method Summary collapse

Instance Method Details

#headObject



1245
1246
1247
# File 'lib/treetop/compiler/metagrammar.rb', line 1245

def head
  elements[0]
end

#tailObject



1249
1250
1251
# File 'lib/treetop/compiler/metagrammar.rb', line 1249

def tail
  elements[1]
end