|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Twig_NodeVisitorInterface is the interface the all node visitor classes must implement. More...
Inheritance diagram for Twig_NodeVisitorInterface:
Collaboration diagram for Twig_NodeVisitorInterface: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... | |
| getPriority () | |
| Returns the priority for this visitor. More... | |
Twig_NodeVisitorInterface is the interface the all node visitor classes must implement.
Definition at line 17 of file NodeVisitorInterface.php.
| Twig_NodeVisitorInterface::enterNode | ( | Twig_NodeInterface | $node, |
| Twig_Environment | $env | ||
| ) |
Called before child nodes are visited.
Implemented in Twig_BaseNodeVisitor, Twig_Tests_EnvironmentTest_NodeVisitor, and CExtDisablingNodeVisitor.
Referenced by Twig_NodeTraverser\traverseForVisitor().
Here is the caller graph for this function:| Twig_NodeVisitorInterface::getPriority | ( | ) |
Returns the priority for this visitor.
Priority should be between -10 and 10 (0 is the default).
Implemented in Twig_NodeVisitor_Escaper, Twig_NodeVisitor_Optimizer, Twig_NodeVisitor_SafeAnalysis, Twig_NodeVisitor_Sandbox, Twig_Profiler_NodeVisitor_Profiler, Twig_Tests_EnvironmentTest_NodeVisitor, and CExtDisablingNodeVisitor.
Referenced by Twig_NodeTraverser\addVisitor().
Here is the caller graph for this function:| Twig_NodeVisitorInterface::leaveNode | ( | Twig_NodeInterface | $node, |
| Twig_Environment | $env | ||
| ) |
Called after child nodes are visited.
Implemented in Twig_BaseNodeVisitor, Twig_Tests_EnvironmentTest_NodeVisitor, and CExtDisablingNodeVisitor.
Referenced by Twig_NodeTraverser\traverseForVisitor().
Here is the caller graph for this function: