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

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

Instance Method Summary collapse

Instance Method Details

#headObject



1283
1284
1285
# File 'lib/treetop/compiler/metagrammar.rb', line 1283

def head
  elements[0]
end

#tailObject



1287
1288
1289
# File 'lib/treetop/compiler/metagrammar.rb', line 1287

def tail
  elements[1]
end