[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/twig/twig/src/ -> NodeTraverser.php (summary)

A node traverser. It visits all nodes and their children and calls the given visitor for each.

Author: Fabien Potencier <fabien@symfony.com>
File Size: 85 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 4 functions

  __construct()
  addVisitor()
  traverse()
  traverseForVisitor()

Functions
Functions that are not part of a class:

__construct(Environment $env, array $visitors = [])   X-Ref

param: NodeVisitorInterface[] $visitors

addVisitor(NodeVisitorInterface $visitor)   X-Ref
No description

traverse(Node $node)   X-Ref
Traverses a node and calls the registered visitors.


traverseForVisitor(NodeVisitorInterface $visitor, Node $node)   X-Ref

return: Node|null



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1