Searched refs:traverse (Results 1 – 23 of 23) sorted by relevance
/PHP-Parser/test/PhpParser/ |
H A D | NodeTraverserTest.php | 22 $this->assertEquals($stmts, $traverser->traverse($stmts)); 55 $this->assertEquals([], $traverser->traverse([])); 166 $traverser->traverse([$strStart, $strMiddle, $strEnd]) 177 $this->assertEquals($stmts, $traverser->traverse($stmts)); 210 $this->assertEquals($stmts, $traverser->traverse($stmts)); 236 $resultStmts = $traverser->traverse($stmts); 271 $this->assertEquals($stmts, $traverser->traverse($stmts)); 284 $this->assertEquals($stmts, $traverser->traverse($stmts)); 361 $newStmts = $traverser->traverse($stmts); 412 $this->assertSame($stmts, $traverser->traverse($stmts)); [all …]
|
H A D | CodeParsingTest.php | 99 $traverser->traverse($stmts);
|
H A D | PrettyPrinterTest.php | 198 $newStmts = $traverser->traverse($oldStmts); 242 $newStmts = $traverser->traverse($oldStmts);
|
/PHP-Parser/test/PhpParser/NodeVisitor/ |
H A D | NameResolverTest.php | 361 $this->assertEquals($stmts, $traverser->traverse($stmts)); 380 $stmts = $traverser->traverse([new Stmt\Namespace_(new Name('NS'), $nsStmts)]); 389 $stmts = $traverser->traverse([new Stmt\Namespace_(null, $nsStmts)]); 413 $stmts = $traverser->traverse($stmts); 431 $traverser->traverse([$stmt]); 490 $stmts = $traverser->traverse($stmts); 519 $stmts = $traverser->traverse($stmts); 541 $stmts = $traverser->traverse($origStmts); 560 $traverser->traverse($origStmts); 575 return $traverser->traverse($stmts);
|
H A D | FirstFindingVisitorTest.php | 20 $traverser->traverse($stmts); 34 $traverser->traverse($stmts);
|
H A D | FindingVisitorTest.php | 22 $traverser->traverse($stmts); 42 $traverser->traverse($stmts);
|
H A D | ParentConnectingVisitorTest.php | 20 $ast = $traverser->traverse($ast);
|
H A D | NodeConnectingVisitorTest.php | 22 $ast = $traverser->traverse($ast);
|
/PHP-Parser/lib/PhpParser/ |
H A D | NodeFinder.php | 29 $traverser->traverse($nodes); 70 $traverser->traverse($nodes);
|
H A D | NodeTraverserInterface.php | 25 public function traverse(array $nodes): array; function
|
H A D | NodeTraverser.php | 67 public function traverse(array $nodes): array { function in PhpParser\\NodeTraverser
|
H A D | ParserAbstract.php | 209 $traverser->traverse($result);
|
/PHP-Parser/doc/component/ |
H A D | FAQ.markdown | 23 $ast = $traverser->traverse($ast); 45 $ast = $traverser->traverse($ast);
|
H A D | Name_resolution.markdown | 22 $stmts = $nodeTraverser->traverse($stmts);
|
H A D | Pretty_printing.markdown | 88 $newStmts = $traverser->traverse($oldStmts);
|
H A D | Walking_the_AST.markdown | 21 $modifiedStmts = $traverser->traverse($stmts); 262 $stmts = $traverser->traverse($stmts);
|
H A D | Lexer.markdown | 122 $stmts = $traverser->traverse($stmts);
|
/PHP-Parser/tools/fuzzing/ |
H A D | target.php | 108 $stmts = $traverser->traverse($stmts); 120 $printedStmts = $traverser->traverse($printedStmts);
|
/PHP-Parser/ |
H A D | README.md | 24 * Infrastructure to traverse and modify ASTs. 115 Let's traverse the AST and perform some kind of modification. For example, drop all function bodies: 133 $ast = $traverser->traverse($ast);
|
H A D | UPGRADE-5.0.md | 516 $newStmts = $traverser->traverse($oldStmts); 525 $newStmts = $traverser->traverse($oldStmts);
|
/PHP-Parser/bin/ |
H A D | php-parse | 91 $stmts = $traverser->traverse($stmts);
|
/PHP-Parser/test_old/ |
H A D | run.php | 187 $stmts = $cloningTraverser->traverse($origStmts);
|
/PHP-Parser/doc/ |
H A D | 2_Usage_of_basic_components.markdown | 300 // traverse 301 $stmts = $traverser->traverse($stmts); 433 // traverse 434 $stmts = $traverser->traverse($stmts);
|
Completed in 26 milliseconds