29 $node->setAttribute(
'is_defined_test',
true);
31 $node->setAttribute(
'is_defined_test',
true);
34 $node->setAttribute(
'is_defined_test',
true);
36 $node->setAttribute(
'is_defined_test',
true);
61 class_alias(
'Twig_Node_Expression_Test_Defined',
'Twig\Node\Expression\Test\DefinedTest',
false);
Represents a node in the AST.
subcompile(Twig_NodeInterface $node, $raw=true)
Exception thrown when a syntax error occurs during lexing or parsing of a template.
changeIgnoreStrictCheck(Twig_Node_Expression_GetAttr $node)
compile(Twig_Compiler $compiler)
Compiles the node to PHP.
__construct(Twig_NodeInterface $node, $name, Twig_NodeInterface $arguments=null, $lineno)
setAttribute($name, $value)
Represents a block call node.
Checks if a variable is defined in the current context.