Class Puppet::Parser::AST::Definition
In: lib/puppet/parser/ast/definition.rb
Parent: Puppet::Parser::AST::Branch

The AST class for defined types, which is also the base class nodes and classes.

Methods

Included Modules

Puppet::Util::Warnings

Attributes

arguments  [RW] 
classname  [RW] 
code  [RW] 
exported  [RW] 
keyword  [RW] 
name  [RW] 
name  [RW] 
namespace  [RW] 
parentclass  [R] 
parser  [RW] 
scope  [RW] 
virtual  [RW] 

Public Class methods

Public Instance methods

Create a resource that knows how to evaluate our actual code.

Now evaluate the code associated with this class or definition.

Set our parent class, with a little check to avoid some potential weirdness.

Hunt down our class object.

Create a new subscope in which to evaluate our code.

Check whether a given argument is valid. Searches up through any parent classes that might exist.

[Validate]