abstract class Node implements IteratorAggregate

Base class for all AST nodes produced by the NEON parser.

Properties

$startTokenPos
$endTokenPos
$start
$end

Methods

mixed
toValue()

Converts the node to its PHP value.

string
toString()

Converts the node back to its NEON representation.

getIterator()

No description

Details

at line 25
abstract mixed toValue()

Converts the node to its PHP value.

Return Value

mixed

at line 29
abstract string toString()

Converts the node back to its NEON representation.

Return Value

string

at line 32
Generator getIterator()

No description

Return Value

Generator