Home
last modified time | relevance | path

Searched refs:NameResolver (Results 1 – 11 of 11) sorted by relevance

/PHP-Parser/test/PhpParser/NodeVisitor/
H A DNameResolverTest.php359 $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 DName_resolution.markdown8 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 DError_handling.markdown60 The `NameResolver` visitor also accepts an `ErrorHandler` as a constructor argument.
/PHP-Parser/bin/
H A Dphp-parse37 $traverser->addVisitor(new PhpParser\NodeVisitor\NameResolver);
/PHP-Parser/
H A DCONTRIBUTING.md31 `NodeVisitor\NameResolver`. Test it in `NodeVisitor\NameResolverTest`.
H A Dphpstan-baseline.neon136 path: lib/PhpParser/NodeVisitor/NameResolver.php
141 path: lib/PhpParser/NodeVisitor/NameResolver.php
146 path: lib/PhpParser/NodeVisitor/NameResolver.php
H A DCHANGELOG.md18 * 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 DUPGRADE-3.0.md147 * The `NameResolver` will now resolve unqualified function and constant names in the global
H A DUPGRADE-5.0.md465 $traverser->addVisitor(new NameResolver());
468 $traverser = new NodeTraverser(new NameResolver());
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown370 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 DNameResolver.php14 class NameResolver extends NodeVisitorAbstract { class

Completed in 23 milliseconds