43 class_alias(
'Twig_NodeVisitorInterface',
'Twig\NodeVisitor\NodeVisitorInterface',
false);
44 class_exists(
'Twig_Environment');
45 class_exists(
'Twig_Node');
Represents a node in the AST.
enterNode(Twig_NodeInterface $node, Twig_Environment $env)
Called before child nodes are visited.
getPriority()
Returns the priority for this visitor.
Twig_NodeVisitorInterface is the interface the all node visitor classes must implement.
Stores the Twig configuration.
leaveNode(Twig_NodeInterface $node, Twig_Environment $env)
Called after child nodes are visited.