Searched refs:NameResolver (Results 1 – 11 of 11) sorted by relevance
/PHP-Parser/test/PhpParser/NodeVisitor/ |
H A D | NameResolverTest.php | 359 $traverser->addVisitor(new NameResolver()); 378 $traverser->addVisitor(new NameResolver()); 412 $traverser->addVisitor(new NameResolver()); 430 $traverser->addVisitor(new NameResolver()); 488 $traverser->addVisitor(new NameResolver()); 517 $traverser->addVisitor(new NameResolver()); 530 $traverser->addVisitor(new NameResolver(null, ['preserveOriginalNames' => true])); 549 $traverser->addVisitor(new NameResolver(null, ['replaceNodes' => false])); 572 $traverser->addVisitor(new NameResolver());
|
/PHP-Parser/doc/component/ |
H A D | Name_resolution.markdown | 8 visitor (NameResolver) based on it. 10 The NameResolver visitor 13 The `NameResolver` visitor can (and for nearly all uses of the AST, should) be applied to resolve n… 17 $nameResolver = new PhpParser\NodeVisitor\NameResolver; 41 $nameResolver = new PhpParser\NodeVisitor\NameResolver(null, [
|
H A D | Error_handling.markdown | 60 The `NameResolver` visitor also accepts an `ErrorHandler` as a constructor argument.
|
/PHP-Parser/bin/ |
H A D | php-parse | 37 $traverser->addVisitor(new PhpParser\NodeVisitor\NameResolver);
|
/PHP-Parser/ |
H A D | CONTRIBUTING.md | 31 `NodeVisitor\NameResolver`. Test it in `NodeVisitor\NameResolverTest`.
|
H A D | phpstan-baseline.neon | 136 path: lib/PhpParser/NodeVisitor/NameResolver.php 141 path: lib/PhpParser/NodeVisitor/NameResolver.php 146 path: lib/PhpParser/NodeVisitor/NameResolver.php
|
H A D | CHANGELOG.md | 18 * Resolve names in `PropertyHook`s in the `NameResolver`. 305 * The `namespacedName` property populated by the `NameResolver` is now declared on relevant nodes, 364 * `NameResolver` now handles enums. 770 * Added `replaceNodes` option to `NameResolver`, defaulting to true. If this option is disabled, 778 * Added `NameContext` class, which encapsulates the `NameResolver` logic independently of the actual 946 * Added `preserveOriginalNames` option to `NameResolver`. If this option is enabled, an 995 `NameResolver::__construct()`. 996 * The `NameResolver` now adds a `namespacedName` attribute on name nodes that cannot be statically
|
H A D | UPGRADE-3.0.md | 147 * The `NameResolver` will now resolve unqualified function and constant names in the global
|
H A D | UPGRADE-5.0.md | 465 $traverser->addVisitor(new NameResolver()); 468 $traverser = new NodeTraverser(new NameResolver());
|
/PHP-Parser/doc/ |
H A D | 2_Usage_of_basic_components.markdown | 370 The NameResolver node visitor 373 One visitor that is already bundled with the package is `PhpParser\NodeVisitor\NameResolver`. This … 382 The `NameResolver` takes care of that and resolves names as far as possible. 389 Additionally, the `NameResolver` adds a `namespacedName` subnode to class, function and constant 409 use PhpParser\NodeVisitor\NameResolver; 418 $traverser->addVisitor(new NameResolver); // we will need resolved names 466 The above code profits from the fact that the `NameResolver` already resolved all names as far as
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 14 class NameResolver extends NodeVisitorAbstract { class
|
Completed in 23 milliseconds