Home
last modified time | relevance | path

Searched refs:findInstanceOf (Results 1 – 3 of 3) sorted by relevance

/PHP-Parser/test/PhpParser/
H A DNodeFinderTest.php35 $this->assertSame($vars, $finder->findInstanceOf($stmts, Expr\Variable::class));
36 $this->assertSame($vars, $finder->findInstanceOf($stmts[0], Expr\Variable::class));
37 $this->assertSame([], $finder->findInstanceOf($stmts, Expr\BinaryOp\Mul::class));
/PHP-Parser/lib/PhpParser/
H A DNodeFinder.php44 public function findInstanceOf($nodes, string $class): array { function in PhpParser\\NodeFinder
/PHP-Parser/doc/component/
H A DWalking_the_AST.markdown333 $classes = $nodeFinder->findInstanceOf($stmts, Node\Stmt\Class_::class);

Completed in 11 milliseconds