16 if (null !== $arguments) {
17 $nodes[
'arguments'] = $arguments;
34 if (
$test instanceof Twig_SimpleTest) {
42 class_alias(
'Twig_Node_Expression_Test',
'Twig\Node\Expression\TestExpression',
false);
Represents a node in the AST.
Represents a callable template test.
__construct(Twig_NodeInterface $node, $name, Twig_NodeInterface $arguments=null, $lineno)
Create styles array
The data for the language used.
getEnvironment()
Returns the environment instance related to this compiler.
setAttribute($name, $value)
compile(Twig_Compiler $compiler)
Compiles the node to PHP.
Represents a template test.
compileCallable(Twig_Compiler $compiler)