module Puppet::Parser::AbstractCompiler
Public Instance Methods
catalog()
click to toggle source
Returns the catalog for a compilation. Must return a Puppet::Resource::Catalog
or fail with an error if the specific compiler does not support catalog operations.
# File lib/puppet/parser/abstract_compiler.rb 7 def catalog 8 raise Puppet::DevError("Class '#{self.class}' should have implemented 'catalog'") 9 end
environment()
click to toggle source
Returns the environment for the compilation
# File lib/puppet/parser/abstract_compiler.rb 13 def environment 14 raise Puppet::DevError("Class '#{self.class}' should have implemented 'environment'") 15 end
newscope(scope, options)
click to toggle source
Produces a new scope This method is here if there are functions/logic that will call this for some other purpose than to create a named scope for a class. It may not have to be here. (TODO)
# File lib/puppet/parser/abstract_compiler.rb 21 def newscope(scope, options) 22 raise Puppet::DevError("Class '#{self.class}' should have implemented 'newscope'") 23 end
qualified_variables()
click to toggle source
Returns a hash of all externally referenceable qualified variables
# File lib/puppet/parser/abstract_compiler.rb 27 def qualified_variables 28 raise Puppet::DevError("Class '#{self.class}' should have implemented 'qualified_variables'") 29 end
topscope()
click to toggle source
Returns the top scope instance
# File lib/puppet/parser/abstract_compiler.rb 32 def topscope 33 raise Puppet::DevError("Class '#{self.class}' should have implemented 'topscope'") 34 end