abstract protected function Twig_BaseNodeVisitor::doEnterNode in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/twig/twig/lib/Twig/BaseNodeVisitor.php \Twig_BaseNodeVisitor::doEnterNode()
Called before child nodes are visited.
Parameters
Twig_Node $node The node to visit:
Twig_Environment $env The Twig environment instance:
Return value
Twig_Node The modified node
1 call to Twig_BaseNodeVisitor::doEnterNode()
- Twig_BaseNodeVisitor::enterNode in vendor/
twig/ twig/ lib/ Twig/ BaseNodeVisitor.php - Called before child nodes are visited.
5 methods override Twig_BaseNodeVisitor::doEnterNode()
- Twig_NodeVisitor_Escaper::doEnterNode in vendor/
twig/ twig/ lib/ Twig/ NodeVisitor/ Escaper.php - Called before child nodes are visited.
- Twig_NodeVisitor_Optimizer::doEnterNode in vendor/
twig/ twig/ lib/ Twig/ NodeVisitor/ Optimizer.php - Called before child nodes are visited.
- Twig_NodeVisitor_SafeAnalysis::doEnterNode in vendor/
twig/ twig/ lib/ Twig/ NodeVisitor/ SafeAnalysis.php - Called before child nodes are visited.
- Twig_NodeVisitor_Sandbox::doEnterNode in vendor/
twig/ twig/ lib/ Twig/ NodeVisitor/ Sandbox.php - Called before child nodes are visited.
- Twig_Profiler_NodeVisitor_Profiler::doEnterNode in vendor/
twig/ twig/ lib/ Twig/ Profiler/ NodeVisitor/ Profiler.php - Called before child nodes are visited.
File
- vendor/
twig/ twig/ lib/ Twig/ BaseNodeVisitor.php, line 51
Class
- Twig_BaseNodeVisitor
- Twig_BaseNodeVisitor can be used to make node visitors compatible with Twig 1.x and 2.x.
Code
protected abstract function doEnterNode(Twig_Node $node, Twig_Environment $env);