Module: Treetop::Compiler::Metagrammar::Sequence1

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

Instance Method Summary collapse

Instance Method Details

#headObject



816
817
818
# File 'lib/treetop/compiler/metagrammar.rb', line 816

def head
  elements[0]
end

#node_class_declarationsObject



824
825
826
# File 'lib/treetop/compiler/metagrammar.rb', line 824

def node_class_declarations
  elements[2]
end

#tailObject



820
821
822
# File 'lib/treetop/compiler/metagrammar.rb', line 820

def tail
  elements[1]
end