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

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

Instance Method Summary collapse

Instance Method Details

#headObject



1303
1304
1305
# File 'lib/treetop/compiler/metagrammar.rb', line 1303

def head
  elements[0]
end

#tailObject



1307
1308
1309
# File 'lib/treetop/compiler/metagrammar.rb', line 1307

def tail
  elements[1]
end