Home
last modified time | relevance | path

Searched refs:namespacedName (Results 1 – 12 of 12) sorted by relevance

/PHP-Parser/test/PhpParser/NodeVisitor/
H A DNameResolverTest.php381 $this->assertSame('NS\\A', (string) $stmts[0]->stmts[0]->namespacedName);
382 $this->assertSame('NS\\B', (string) $stmts[0]->stmts[1]->namespacedName);
383 $this->assertSame('NS\\C', (string) $stmts[0]->stmts[2]->namespacedName);
385 $this->assertSame('NS\\E', (string) $stmts[0]->stmts[4]->namespacedName);
386 $this->assertNull($stmts[0]->stmts[5]->class->namespacedName);
390 $this->assertSame('A', (string) $stmts[0]->stmts[0]->namespacedName);
391 $this->assertSame('B', (string) $stmts[0]->stmts[1]->namespacedName);
392 $this->assertSame('C', (string) $stmts[0]->stmts[2]->namespacedName);
394 $this->assertSame('E', (string) $stmts[0]->stmts[4]->namespacedName);
395 $this->assertNull($stmts[0]->stmts[5]->class->namespacedName);
[all …]
/PHP-Parser/lib/PhpParser/Node/
H A DConst_.php14 public ?Name $namespacedName; variable in PhpParser\\Node\\Const_
/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DFunction_.php23 public ?Node\Name $namespacedName; variable in PhpParser\\Node\\Stmt\\Function_
H A DClassLike.php17 public ?Node\Name $namespacedName; variable in PhpParser\\Node\\Stmt\\ClassLike
/PHP-Parser/doc/component/
H A DName_resolution.markdown28 `namespacedName` property added, which contains the function/class/etc name including the
35 such names are left unresolved. Additionally, a `namespacedName` **attribute** is added to the
53 `resolvedName` attribute will not be present, and instead a `namespacedName` attribute is added.
H A DJSON_representation.markdown117 "namespacedName": null
H A DWalking_the_AST.markdown242 $node->namespacedName->toString() === 'Foo\Bar\Baz'
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php79 $node->namespacedName = null;
257 $node->namespacedName = Name::concat(
/PHP-Parser/doc/
H A D2_Usage_of_basic_components.markdown389 Additionally, the `NameResolver` adds a `namespacedName` subnode to class, function and constant
488 $node->name = str_replace('\\', '_', $node->namespacedName->toString());
491 $const->name = str_replace('\\', '_', $const->namespacedName->toString());
515 $node->name = str_replace('\\', '_', $node->namespacedName->toString();
518 $const->name = str_replace('\\', '_', $const->namespacedName->toString());
/PHP-Parser/
H A Dphpstan-baseline.neon144 message: "#^Access to an undefined property PhpParser\\\\Node\\:\\:\\$namespacedName\\.$#"
H A DUPGRADE-3.0.md149 `\foo()`. For names where no static resolution is possible, a `namespacedName` attribute is
H A DCHANGELOG.md305 * The `namespacedName` property populated by the `NameResolver` is now declared on relevant nodes,
996 * The `NameResolver` now adds a `namespacedName` attribute on name nodes that cannot be statically

Completed in 22 milliseconds