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

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

Instance Method Summary collapse

Instance Method Details

#headObject



945
946
947
# File 'lib/treetop/compiler/metagrammar.rb', line 945

def head
  elements[0]
end

#tailObject



949
950
951
# File 'lib/treetop/compiler/metagrammar.rb', line 949

def tail
  elements[1]
end