function Twig_NodeVisitorInterface::enterNode

Called before child nodes are visited.

Parameters

Twig_NodeInterface $node The node to visit:

Twig_Environment $env The Twig environment instance:

Return value

Twig_NodeInterface The modified node

4 methods override Twig_NodeVisitorInterface::enterNode()
Twig_NodeVisitor_Escaper::enterNode in drupal/core/vendor/twig/twig/lib/Twig/NodeVisitor/Escaper.php
Called before child nodes are visited.
Twig_NodeVisitor_Optimizer::enterNode in drupal/core/vendor/twig/twig/lib/Twig/NodeVisitor/Optimizer.php
Called before child nodes are visited.
Twig_NodeVisitor_SafeAnalysis::enterNode in drupal/core/vendor/twig/twig/lib/Twig/NodeVisitor/SafeAnalysis.php
Called before child nodes are visited.
Twig_NodeVisitor_Sandbox::enterNode in drupal/core/vendor/twig/twig/lib/Twig/NodeVisitor/Sandbox.php
Called before child nodes are visited.

File

drupal/core/vendor/twig/twig/lib/Twig/NodeVisitorInterface.php, line 28

Class

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

Code

function enterNode(Twig_NodeInterface $node, Twig_Environment $env);