Sha256: 34a060485532f44064bda05b9c30cf6d6cfdd686c6391137e52f287608bfc849

Contents?: true

Size: 1.15 KB

Versions: 471

Compression:

Stored size: 1.15 KB

Contents

module Puppet::Parser::AbstractCompiler

  # 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.
  #
  def catalog
    raise Puppet::DevError("Class '#{self.class}' should have implemented 'catalog'")
  end

  # Returns the environment for the compilation
  #
  def environment
    raise Puppet::DevError("Class '#{self.class}' should have implemented 'environment'")
  end

  # 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)
  #
  def newscope(scope, options)
    raise Puppet::DevError("Class '#{self.class}' should have implemented 'newscope'")
  end

  # Returns a hash of all externally referenceable qualified variables
  #
  def qualified_variables
    raise Puppet::DevError("Class '#{self.class}' should have implemented 'qualified_variables'")
  end

  # Returns the top scope instance
  def topscope
    raise Puppet::DevError("Class '#{self.class}' should have implemented 'topscope'")
  end

end

Version data entries

471 entries across 471 versions & 2 rubygems

Version Path
puppet-7.34.0 lib/puppet/parser/abstract_compiler.rb
puppet-7.34.0-x86-mingw32 lib/puppet/parser/abstract_compiler.rb
puppet-7.34.0-x64-mingw32 lib/puppet/parser/abstract_compiler.rb
puppet-7.34.0-universal-darwin lib/puppet/parser/abstract_compiler.rb
puppet-7.33.0 lib/puppet/parser/abstract_compiler.rb
puppet-7.33.0-x86-mingw32 lib/puppet/parser/abstract_compiler.rb
puppet-7.33.0-x64-mingw32 lib/puppet/parser/abstract_compiler.rb
puppet-7.33.0-universal-darwin lib/puppet/parser/abstract_compiler.rb
puppet-7.32.1 lib/puppet/parser/abstract_compiler.rb
puppet-7.32.1-x86-mingw32 lib/puppet/parser/abstract_compiler.rb
puppet-7.32.1-x64-mingw32 lib/puppet/parser/abstract_compiler.rb
puppet-7.32.1-universal-darwin lib/puppet/parser/abstract_compiler.rb
puppet-7.31.0 lib/puppet/parser/abstract_compiler.rb
puppet-7.31.0-x86-mingw32 lib/puppet/parser/abstract_compiler.rb
puppet-7.31.0-x64-mingw32 lib/puppet/parser/abstract_compiler.rb
puppet-7.31.0-universal-darwin lib/puppet/parser/abstract_compiler.rb
puppet-7.30.0 lib/puppet/parser/abstract_compiler.rb
puppet-7.30.0-x86-mingw32 lib/puppet/parser/abstract_compiler.rb
puppet-7.30.0-x64-mingw32 lib/puppet/parser/abstract_compiler.rb
puppet-7.30.0-universal-darwin lib/puppet/parser/abstract_compiler.rb