Searched refs:NodeTraverser (Results 1 – 25 of 27) sorted by relevance
12
/PHP-Parser/test/PhpParser/ |
H A D | NodeTraverserTest.php | 19 $traverser = new NodeTraverser(); 87 $traverser = new NodeTraverser(); 111 $traverser = new NodeTraverser(); 136 $traverser = new NodeTraverser(); 161 $traverser = new NodeTraverser(); 176 $traverser = new NodeTraverser(); 206 $traverser = new NodeTraverser(); 232 $traverser = new NodeTraverser(); 269 $traverser = new NodeTraverser(); 282 $traverser = new NodeTraverser(); [all …]
|
H A D | CodeParsingTest.php | 70 $traverser = new NodeTraverser(new class () extends NodeVisitorAbstract {
|
H A D | PrettyPrinterTest.php | 193 $traverser = new NodeTraverser(new NodeVisitor\CloningVisitor()); 231 $traverser = new NodeTraverser(new NodeVisitor\CloningVisitor());
|
/PHP-Parser/test/PhpParser/NodeVisitor/ |
H A D | FirstFindingVisitorTest.php | 7 use PhpParser\NodeTraverser; alias 11 $traverser = new NodeTraverser(); 25 $traverser = new NodeTraverser();
|
H A D | ParentConnectingVisitorTest.php | 7 use PhpParser\NodeTraverser; alias 16 $traverser = new NodeTraverser();
|
H A D | FindingVisitorTest.php | 7 use PhpParser\NodeTraverser; alias 11 $traverser = new NodeTraverser(); 31 $traverser = new NodeTraverser();
|
H A D | NameResolverTest.php | 358 $traverser = new PhpParser\NodeTraverser(); 377 $traverser = new PhpParser\NodeTraverser(); 411 $traverser = new PhpParser\NodeTraverser(); 429 $traverser = new PhpParser\NodeTraverser(); 487 $traverser = new PhpParser\NodeTraverser(); 516 $traverser = new PhpParser\NodeTraverser(); 529 $traverser = new PhpParser\NodeTraverser(); 548 $traverser = new PhpParser\NodeTraverser(); 571 $traverser = new PhpParser\NodeTraverser();
|
H A D | NodeConnectingVisitorTest.php | 9 use PhpParser\NodeTraverser; alias 18 $traverser = new NodeTraverser();
|
/PHP-Parser/doc/component/ |
H A D | FAQ.markdown | 13 use PhpParser\NodeTraverser; 19 $traverser = new NodeTraverser(new ParentConnectingVisitor); 35 use PhpParser\NodeTraverser; 41 $traverser = new NodeTraverser(new NodeConnectingVisitor);
|
H A D | Walking_the_AST.markdown | 9 use PhpParser\{Node, NodeTraverser, NodeVisitorAbstract}; 11 $traverser = new NodeTraverser; 24 Visitors can be either passed to the `NodeTraverser` constructor, or added using `addVisitor()`: 27 $traverser = new NodeTraverser($visitor1, $visitor2, $visitor3); 30 $traverser = new NodeTraverser(); 259 $traverser = new NodeTraverser; 296 $traverserA = new NodeTraverser; 298 $traverserB = new NodeTraverser;
|
H A D | Pretty_printing.markdown | 80 use PhpParser\{NodeTraverser, NodeVisitor, ParserFactory, PrettyPrinter}; 87 $traverser = new NodeTraverser(new NodeVisitor\CloningVisitor());
|
H A D | Name_resolution.markdown | 18 $nodeTraverser = new PhpParser\NodeTraverser;
|
H A D | Lexer.markdown | 117 $traverser = new PhpParser\NodeTraverser($visitor);
|
/PHP-Parser/lib/PhpParser/ |
H A D | NodeFinder.php | 28 $traverser = new NodeTraverser($visitor); 69 $traverser = new NodeTraverser($visitor);
|
H A D | NodeTraverser.php | 5 class NodeTraverser implements NodeTraverserInterface { class
|
/PHP-Parser/ |
H A D | phpstan-baseline.neon | 124 …message: "#^Method PhpParser\\\\NodeTraverser\\:\\:traverseArray\\(\\) has parameter \\$nodes with… 126 path: lib/PhpParser/NodeTraverser.php 129 …message: "#^Method PhpParser\\\\NodeTraverser\\:\\:traverseArray\\(\\) return type has no value ty… 131 path: lib/PhpParser/NodeTraverser.php
|
H A D | UPGRADE-5.0.md | 451 Additionally, the special `NodeVisitor` return values have been moved from `NodeTraverser` to `Node… 454 PhpParser\NodeTraverser::REMOVE_NODE -> PhpParser\NodeVisitor::REMOVE_NODE 455 PhpParser\NodeTraverser::DONT_TRAVERSE_CHILDREN -> PhpParser\NodeVisitor::DONT_TRAVERSE_CHILDREN 456 PhpParser\NodeTraverser::DONT_TRAVERSE_CURRENT_AND_CHILDREN -> PhpParser\NodeVisitor::DONT_TRAVERSE… 457 PhpParser\NodeTraverser::STOP_TRAVERSAL -> PhpParser\NodeVisitor::STOP_TRAVERSAL 460 Visitors can now also be passed directly to the `NodeTraverser` constructor: 464 $traverser = new NodeTraverser(); 468 $traverser = new NodeTraverser(new NameResolver()); 514 $traverser = new NodeTraverser(); 524 $traverser = new NodeTraverser(new NodeVisitor\CloningVisitor());
|
H A D | UPGRADE-4.0.md | 67 * The `NodeTraverser` no longer accepts `false` as a return value from a `leaveNode()` method. 68 `NodeTraverser::REMOVE_NODE` should be returned instead.
|
H A D | README.md | 120 use PhpParser\NodeTraverser; 123 $traverser = new NodeTraverser();
|
H A D | UPGRADE-2.0.md | 66 * The `NodeTraverser` no longer clones nodes by default. If you want to restore the old behavior,
|
H A D | CHANGELOG.md | 131 * Visitors can now be passed directly to the `NodeTraverser` constructor. A separate call to 176 * Moved `NodeTraverser::REMOVE_NODE` etc. to `NodeVisitor::REMOVE_NODE`. The old constants are still 654 * Added `DONT_TRAVERSE_CURRENT_AND_CHILDREN` to `NodeTraverser` to skip both traversal of child 815 * The `NodeTraverser` no longer accepts `false` as a return value from a `leaveNode()` method. 816 `NodeTraverser::REMOVE_NODE` should be returned instead. 1018 * Removed support for node cloning in the `NodeTraverser`. 1233 * The `NodeTraverser` no longer clones nodes by default. The old behavior can be restored by
|
/PHP-Parser/bin/ |
H A D | php-parse | 36 $traverser = new PhpParser\NodeTraverser();
|
/PHP-Parser/tools/fuzzing/ |
H A D | target.php | 100 $traverser = new PhpParser\NodeTraverser();
|
/PHP-Parser/test_old/ |
H A D | run.php | 146 $cloningTraverser = new PhpParser\NodeTraverser;
|
/PHP-Parser/doc/ |
H A D | 2_Usage_of_basic_components.markdown | 280 structure of a program using this `PhpParser\NodeTraverser` looks like this: 283 use PhpParser\NodeTraverser; 288 $traverser = new NodeTraverser; 408 use PhpParser\NodeTraverser; 415 $traverser = new NodeTraverser;
|
Completed in 28 milliseconds
12