class Node

Represents a node in the AST.

Properties

$nodes
$attributes

Methods

__construct(array $nodes = array(), array $attributes = array())

No description

__toString()

No description

compile(Compiler $compiler)

No description

evaluate($functions, $values)

No description

toArray()

No description

dump()

No description

dumpString($value)

No description

isHash(array $value)

No description

Details

__construct(array $nodes = array(), array $attributes = array())

Parameters

array $nodes An array of nodes
array $attributes An array of attributes

__toString()

compile(Compiler $compiler)

Parameters

Compiler $compiler

evaluate($functions, $values)

Parameters

$functions
$values

toArray()

dump()

protected dumpString($value)

Parameters

$value

protected isHash(array $value)

Parameters

array $value