16 parent::__construct(array(
'left' => $left,
'right' => $right), array(),
$lineno);
28 ->subcompile($this->
getNode(
'left'))
34 ->subcompile($this->
getNode(
'right'))
operator(Twig_Compiler $compiler)
compile(Twig_Compiler $compiler)
Compiles the node to PHP.
Compiles a node to PHP code.
Abstract class for all nodes that represents an expression.
Represents a node in the AST.
raw($string)
Adds a raw string to the compiled code.
__construct(Twig_NodeInterface $left, Twig_NodeInterface $right, $lineno)
getNode($name)
Gets a node by name.