Home
last modified time | relevance | path

Searched refs:traverse (Results 1 – 23 of 23) sorted by relevance

/PHP-Parser/test/PhpParser/
H A DNodeTraverserTest.php22 $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 DCodeParsingTest.php99 $traverser->traverse($stmts);
H A DPrettyPrinterTest.php198 $newStmts = $traverser->traverse($oldStmts);
242 $newStmts = $traverser->traverse($oldStmts);
/PHP-Parser/test/PhpParser/NodeVisitor/
H A DNameResolverTest.php361 $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 DFirstFindingVisitorTest.php20 $traverser->traverse($stmts);
34 $traverser->traverse($stmts);
H A DFindingVisitorTest.php22 $traverser->traverse($stmts);
42 $traverser->traverse($stmts);
H A DParentConnectingVisitorTest.php20 $ast = $traverser->traverse($ast);
H A DNodeConnectingVisitorTest.php22 $ast = $traverser->traverse($ast);
/PHP-Parser/lib/PhpParser/
H A DNodeFinder.php29 $traverser->traverse($nodes);
70 $traverser->traverse($nodes);
H A DNodeTraverserInterface.php25 public function traverse(array $nodes): array; function
H A DNodeTraverser.php67 public function traverse(array $nodes): array { function in PhpParser\\NodeTraverser
H A DParserAbstract.php209 $traverser->traverse($result);
/PHP-Parser/doc/component/
H A DFAQ.markdown23 $ast = $traverser->traverse($ast);
45 $ast = $traverser->traverse($ast);
H A DName_resolution.markdown22 $stmts = $nodeTraverser->traverse($stmts);
H A DPretty_printing.markdown88 $newStmts = $traverser->traverse($oldStmts);
H A DWalking_the_AST.markdown21 $modifiedStmts = $traverser->traverse($stmts);
262 $stmts = $traverser->traverse($stmts);
H A DLexer.markdown122 $stmts = $traverser->traverse($stmts);
/PHP-Parser/tools/fuzzing/
H A Dtarget.php108 $stmts = $traverser->traverse($stmts);
120 $printedStmts = $traverser->traverse($printedStmts);
/PHP-Parser/
H A DREADME.md24 * 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 DUPGRADE-5.0.md516 $newStmts = $traverser->traverse($oldStmts);
525 $newStmts = $traverser->traverse($oldStmts);
/PHP-Parser/bin/
H A Dphp-parse91 $stmts = $traverser->traverse($stmts);
/PHP-Parser/test_old/
H A Drun.php187 $stmts = $cloningTraverser->traverse($origStmts);
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown300 // traverse
301 $stmts = $traverser->traverse($stmts);
433 // traverse
434 $stmts = $traverser->traverse($stmts);

Completed in 43 milliseconds