You are here

class Twig_Tests_EnvironmentTest_NodeVisitor in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/twig/twig/test/Twig/Tests/EnvironmentTest.php \Twig_Tests_EnvironmentTest_NodeVisitor

Hierarchy

Expanded class hierarchy of Twig_Tests_EnvironmentTest_NodeVisitor

1 string reference to 'Twig_Tests_EnvironmentTest_NodeVisitor'
Twig_Tests_EnvironmentTest::testAddExtension in vendor/twig/twig/test/Twig/Tests/EnvironmentTest.php

File

vendor/twig/twig/test/Twig/Tests/EnvironmentTest.php, line 287

View source
class Twig_Tests_EnvironmentTest_NodeVisitor implements Twig_NodeVisitorInterface {
  public function enterNode(Twig_NodeInterface $node, Twig_Environment $env) {
    return $node;
  }
  public function leaveNode(Twig_NodeInterface $node, Twig_Environment $env) {
    return $node;
  }
  public function getPriority() {
    return 0;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
Twig_Tests_EnvironmentTest_NodeVisitor::enterNode public function Called before child nodes are visited. Overrides Twig_NodeVisitorInterface::enterNode
Twig_Tests_EnvironmentTest_NodeVisitor::getPriority public function Returns the priority for this visitor. Overrides Twig_NodeVisitorInterface::getPriority
Twig_Tests_EnvironmentTest_NodeVisitor::leaveNode public function Called after child nodes are visited. Overrides Twig_NodeVisitorInterface::leaveNode