class Node

Represents a node in the AST.

Properties

$nodes
$attributes

Methods

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

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

at line 30
__construct(array $nodes = [], array $attributes = [])

Parameters

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

at line 36
__toString()

at line 60
compile(Compiler $compiler)

Parameters

Compiler $compiler

at line 67
evaluate($functions, $values)

Parameters

$functions
$values

at line 77
toArray()

at line 82
dump()

at line 93
protected dumpString($value)

Parameters

$value

at line 98
protected isHash(array $value)

Parameters

array $value