abstract class Node implements IteratorAggregate

Base class for AST nodes representing parsed template structure.

Each node must implement print() to generate PHP code and getIterator() to yield child nodes for compiler passes.

Properties

$position

Methods

string
print(PrintContext $context)

No description

getIterator()

No description

Details

at line 19
abstract string print(PrintContext $context)

No description

Parameters

PrintContext $context

Return Value

string

at line 23
abstract Generator getIterator()

No description

Return Value

Generator