18 $left->getTemplateLine()
34 $this->
getNode(
'expr2')->setAttribute(
'always_defined',
true);
37 ->subcompile($this->
getNode(
'expr2'))
39 ->subcompile($this->
getNode(
'expr3'))
43 parent::compile($compiler);
48class_alias(
'Twig_Node_Expression_NullCoalesce',
'Twig\Node\Expression\NullCoalesceExpression',
false);
An exception for terminatinating execution or to throw for unit testing.
Compiles a node to PHP code.
raw($string)
Adds a raw string to the compiled code.
compile(Twig_Compiler $compiler)
Compiles the node to PHP.
__construct(Twig_NodeInterface $left, Twig_NodeInterface $right, $lineno)
Checks if a variable is defined in the current context.
Checks that a variable is null.
Represents a node in the AST.
Represents a node in the AST.