You are here

public function Twig_NodeVisitorInterface::leaveNode in Translation template extractor 6.3

Same name and namespace in other branches
  1. 7.3 vendor/Twig/NodeVisitorInterface.php \Twig_NodeVisitorInterface::leaveNode()

Called after child nodes are visited.

Parameters

Twig_NodeInterface $node The node to visit:

Twig_Environment $env The Twig environment instance:

Return value

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

4 methods override Twig_NodeVisitorInterface::leaveNode()
Twig_NodeVisitor_Escaper::leaveNode in vendor/Twig/NodeVisitor/Escaper.php
Called after child nodes are visited.
Twig_NodeVisitor_Optimizer::leaveNode in vendor/Twig/NodeVisitor/Optimizer.php
Called after child nodes are visited.
Twig_NodeVisitor_SafeAnalysis::leaveNode in vendor/Twig/NodeVisitor/SafeAnalysis.php
Called after child nodes are visited.
Twig_NodeVisitor_Sandbox::leaveNode in vendor/Twig/NodeVisitor/Sandbox.php
Called after child nodes are visited.

File

vendor/Twig/NodeVisitorInterface.php, line 37

Class

Twig_NodeVisitorInterface
Twig_NodeVisitorInterface is the interface the all node visitor classes must implement.

Code

public function leaveNode(Twig_NodeInterface $node, Twig_Environment $env);