Home
last modified time | relevance | path

Searched refs:NodeFinder (Results 1 – 6 of 6) sorted by relevance

/PHP-Parser/test/PhpParser/NodeVisitor/
H A DNodeConnectingVisitorTest.php8 use PhpParser\NodeFinder; alias
24 $node = (new NodeFinder())->findFirstInstanceof($ast, Else_::class);
29 $node = (new NodeFinder())->findFirstInstanceof($ast, ConstFetch::class);
H A DParentConnectingVisitorTest.php6 use PhpParser\NodeFinder; alias
22 $node = (new NodeFinder())->findFirstInstanceof($ast, ClassMethod::class);
/PHP-Parser/test/PhpParser/
H A DNodeFinderTest.php18 $finder = new NodeFinder();
33 $finder = new NodeFinder();
41 $finder = new NodeFinder();
56 $finder = new NodeFinder();
/PHP-Parser/lib/PhpParser/
H A DNodeFinder.php8 class NodeFinder { class
/PHP-Parser/doc/component/
H A DWalking_the_AST.markdown251 handled using a NodeFinder, which will be introduced below.
323 for minor tasks. For this reason a `NodeFinder` is provided, which can find AST nodes that either
328 use PhpParser\{Node, NodeFinder};
330 $nodeFinder = new NodeFinder;
351 Internally, the `NodeFinder` also uses a node traverser. It only simplifies the interface for a
/PHP-Parser/
H A DCHANGELOG.md773 * Added `NodeFinder` class, which can be used to find nodes based on a callback or class name. This

Completed in 15 milliseconds