public function Twig_NodeVisitorInterface::leaveNode in Translation template extractor 7.3
Same name and namespace in other branches
- 6.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
1 method overrides Twig_NodeVisitorInterface::leaveNode()
- Twig_BaseNodeVisitor::leaveNode in vendor/
Twig/ BaseNodeVisitor.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);