ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Twig_BaseNodeVisitor can be used to make node visitors compatible with Twig 1.x and 2.x. More...
Public Member Functions | |
enterNode (Twig_NodeInterface $node, Twig_Environment $env) | |
Called before child nodes are visited. More... | |
leaveNode (Twig_NodeInterface $node, Twig_Environment $env) | |
Called after child nodes are visited. More... | |
Public Member Functions inherited from Twig_NodeVisitorInterface | |
getPriority () | |
Returns the priority for this visitor. More... | |
Protected Member Functions | |
doEnterNode (Twig_Node $node, Twig_Environment $env) | |
Called before child nodes are visited. More... | |
doLeaveNode (Twig_Node $node, Twig_Environment $env) | |
Called after child nodes are visited. More... | |
Twig_BaseNodeVisitor can be used to make node visitors compatible with Twig 1.x and 2.x.
Definition at line 17 of file BaseNodeVisitor.php.
|
abstractprotected |
Called before child nodes are visited.
Referenced by enterNode(), and leaveNode().
|
abstractprotected |
Called after child nodes are visited.
Referenced by leaveNode().
|
final |
Called before child nodes are visited.
Implements Twig_NodeVisitorInterface.
Definition at line 19 of file BaseNodeVisitor.php.
References doEnterNode().
|
final |
Called after child nodes are visited.
Implements Twig_NodeVisitorInterface.
Definition at line 28 of file BaseNodeVisitor.php.
References $env, doEnterNode(), and doLeaveNode().