Module: Treetop::Compiler::Metagrammar::DeclarationSequence2

Defined in:
lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb

Instance Method Summary collapse

Instance Method Details

#declarationsObject



696
697
698
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 696

def declarations
  [head] + tail
end

#tailObject



700
701
702
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/metagrammar.rb', line 700

def tail
  super.elements.map { |elt| elt.declaration }
end