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

Defined in:
lib/gems/treetop-1.2.4/lib/treetop/compiler/metagrammar.rb

Instance Method Summary collapse

Instance Method Details

#headObject



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

def head
  elements[0]
end

#node_class_declarationsObject



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

def node_class_declarations
  elements[2]
end

#tailObject



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

def tail
  elements[1]
end