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