class ArrayNode extends Node

Properties

$nodes from Node
$attributes from Node
protected $index

Methods

__construct()

No description

__toString()

No description

from Node
compile(Compiler $compiler)

Compiles the node to PHP.

evaluate($functions, $values)

No description

toArray()

No description

dump()

No description

from Node
dumpString($value)

No description

from Node
isHash(array $value)

No description

from Node
addElement(Node $value, Node $key = null)

No description

getKeyValuePairs()

No description

compileArguments(Compiler $compiler, $withKeys = true)

No description

Details

at line 25
__construct()

in Node at line 36
__toString()

at line 42
compile(Compiler $compiler)

Compiles the node to PHP.

Parameters

Compiler $compiler

at line 49
evaluate($functions, $values)

Parameters

$functions
$values

at line 59
toArray()

in Node at line 82
dump()

in Node at line 93
protected dumpString($value)

Parameters

$value

in Node at line 98
protected isHash(array $value)

Parameters

array $value

at line 30
addElement(Node $value, Node $key = null)

Parameters

Node $value
Node $key

at line 89
protected getKeyValuePairs()

at line 99
protected compileArguments(Compiler $compiler, $withKeys = true)

Parameters

Compiler $compiler
$withKeys