You are here

abstract protected function Twig_BaseNodeVisitor::doLeaveNode in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/lib/Twig/BaseNodeVisitor.php \Twig_BaseNodeVisitor::doLeaveNode()

Called after child nodes are visited.

Parameters

Twig_Node $node The node to visit:

Twig_Environment $env The Twig environment instance:

Return value

Twig_Node|false The modified node or false if the node must be removed

1 call to Twig_BaseNodeVisitor::doLeaveNode()
Twig_BaseNodeVisitor::leaveNode in vendor/twig/twig/lib/Twig/BaseNodeVisitor.php
Called after child nodes are visited.
5 methods override Twig_BaseNodeVisitor::doLeaveNode()
Twig_NodeVisitor_Escaper::doLeaveNode in vendor/twig/twig/lib/Twig/NodeVisitor/Escaper.php
Called after child nodes are visited.
Twig_NodeVisitor_Optimizer::doLeaveNode in vendor/twig/twig/lib/Twig/NodeVisitor/Optimizer.php
Called after child nodes are visited.
Twig_NodeVisitor_SafeAnalysis::doLeaveNode in vendor/twig/twig/lib/Twig/NodeVisitor/SafeAnalysis.php
Called after child nodes are visited.
Twig_NodeVisitor_Sandbox::doLeaveNode in vendor/twig/twig/lib/Twig/NodeVisitor/Sandbox.php
Called after child nodes are visited.
Twig_Profiler_NodeVisitor_Profiler::doLeaveNode in vendor/twig/twig/lib/Twig/Profiler/NodeVisitor/Profiler.php
Called after child nodes are visited.

File

vendor/twig/twig/lib/Twig/BaseNodeVisitor.php, line 61

Class

Twig_BaseNodeVisitor
Twig_BaseNodeVisitor can be used to make node visitors compatible with Twig 1.x and 2.x.

Code

protected abstract function doLeaveNode(Twig_Node $node, Twig_Environment $env);