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 8 def catalog 9 raise Puppet::DevError("Class '#{self.class}' should have implemented 'catalog'") 10 end
environment()
click to toggle source
Returns the environment for the compilation
# File lib/puppet/parser/abstract_compiler.rb 14 def environment 15 raise Puppet::DevError("Class '#{self.class}' should have implemented 'environment'") 16 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 22 def newscope(scope, options) 23 raise Puppet::DevError("Class '#{self.class}' should have implemented 'newscope'") 24 end
qualified_variables()
click to toggle source
Returns a hash of all externally referenceable qualified variables
# File lib/puppet/parser/abstract_compiler.rb 28 def qualified_variables 29 raise Puppet::DevError("Class '#{self.class}' should have implemented 'qualified_variables'") 30 end
topscope()
click to toggle source
Returns the top scope instance
# File lib/puppet/parser/abstract_compiler.rb 33 def topscope 34 raise Puppet::DevError("Class '#{self.class}' should have implemented 'topscope'") 35 end