[ Index ]

PHP Cross Reference of phpBB-3.3.2-deutsch




/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


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: Wed Nov 11 20:28:18 2020 Cross-referenced by PHPXref 0.7.1