Class: Treetop::Compiler::TreetopFile

Inherits:
Runtime::SyntaxNode show all
Defined in:
lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/node_classes/treetop_file.rb

Instance Attribute Summary

Attributes inherited from Runtime::SyntaxNode

#input, #interval, #parent

Instance Method Summary collapse

Methods inherited from Runtime::SyntaxNode

#<=>, #dot_id, #elements, #empty?, #extension_modules, #initialize, #inspect, #inspect_children, #inspect_self, #nonterminal?, #terminal?, #text_value, #write_dot, #write_dot_file

Constructor Details

This class inherits a constructor from Treetop::Runtime::SyntaxNode

Instance Method Details

#compileObject



4
5
6
# File 'lib/puppet_x/wildfly/gems/treetop-1.6.8/lib/treetop/compiler/node_classes/treetop_file.rb', line 4

def compile
  (elements.map {|elt| elt.compile}).join
end