Home
last modified time | relevance | path

Searched refs:find (Results 1 – 4 of 4) sorted by relevance

/PHP-Parser/lib/PhpParser/
H A DNodeFinder.php17 public function find($nodes, callable $filter): array { function in PhpParser\\NodeFinder
45 return $this->find($nodes, function ($node) use ($class) {
/PHP-Parser/test/PhpParser/
H A DNodeFinderTest.php23 $this->assertSame($vars, $finder->find($stmts, $varFilter));
24 $this->assertSame($vars, $finder->find($stmts[0], $varFilter));
29 $this->assertSame([], $finder->find($stmts, $noneFilter));
/PHP-Parser/doc/component/
H A DWalking_the_AST.markdown323 for minor tasks. For this reason a `NodeFinder` is provided, which can find AST nodes that either
336 $extendingClasses = $nodeFinder->find($stmts, function(Node $node) {
/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 10 milliseconds