Lines Matching refs:to
4 Since the introduction of namespaces in PHP 5.3, literal names in PHP code are subject to a
13 The `NameResolver` visitor can (and for nearly all uses of the AST, should) be applied to resolve n…
14 to their fully-qualified form, to the degree that this is possible.
33 a namespace `Foo`, a call to `strlen()` may either refer to the namespaced `\Foo\strlen()`, or
34 the global `\strlen()`. Because PHP-Parser does not have the necessary context to decide this,
35 such names are left unresolved. Additionally, a `namespacedName` **attribute** is added to the
51 `resolvedName` attribute will be added to each name, which contains the resolved (fully qualified)
55 The `replaceNodes` attribute is useful if you wish to perform modifications on the AST, as you
56 probably do not wish the resulting code to have fully resolved names as a side-effect.
81 Next to name resolution, the `NameContext` also supports the reverse operation of finding a short
84 The name context is intended to be used for name resolution operations outside the AST itself, such
87 independent context and explicitly feed `Namespace` and `Use` nodes to it.