Class Puppet::Parser::AST::ASTArray
In: lib/puppet/parser/ast/astarray.rb
Parent: Branch

The basic container class. This object behaves almost identically to a normal array except at initialization time. Note that its name is ‘AST::ASTArray’, rather than plain ‘AST::Array’; I had too many bugs when it was just ‘AST::Array’, because things like ‘object.is_a?(Array)’ never behaved as I expected.

Methods

[]   evaluate   push   to_s  

Included Modules

Enumerable

Public Instance methods

Return a child by index. Probably never used.

Evaluate our children.

[Validate]