Compiler
class Compiler
Compiles a node to PHP code.
Methods
__construct(array $functions)
No description
getFunction($name)
No description
string
getSource()
Gets the current PHP code after compilation.
reset()
No description
Details
at line line 24
__construct(array $functions)
at line line 29
getFunction($name)
at line line 39
string
getSource()
Gets the current PHP code after compilation.
at line line 44
reset()
at line line 65
subcompile(Node $node)
at line line 85
Compiler
raw(string $string)
Adds a raw string to the compiled code.
at line line 99
Compiler
string(string $value)
Adds a quoted string to the compiled code.
at line line 113
Compiler
repr(mixed $value)
Returns a PHP representation of a given value.