Searched refs:namespacedName (Results 1 – 12 of 12) sorted by relevance
/PHP-Parser/test/PhpParser/NodeVisitor/ |
H A D | NameResolverTest.php | 381 $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 D | Const_.php | 14 public ?Name $namespacedName; variable in PhpParser\\Node\\Const_
|
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | Function_.php | 23 public ?Node\Name $namespacedName; variable in PhpParser\\Node\\Stmt\\Function_
|
H A D | ClassLike.php | 17 public ?Node\Name $namespacedName; variable in PhpParser\\Node\\Stmt\\ClassLike
|
/PHP-Parser/doc/component/ |
H A D | Name_resolution.markdown | 28 `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 D | JSON_representation.markdown | 117 "namespacedName": null
|
H A D | Walking_the_AST.markdown | 242 $node->namespacedName->toString() === 'Foo\Bar\Baz'
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 79 $node->namespacedName = null; 257 $node->namespacedName = Name::concat(
|
/PHP-Parser/doc/ |
H A D | 2_Usage_of_basic_components.markdown | 389 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 D | phpstan-baseline.neon | 144 message: "#^Access to an undefined property PhpParser\\\\Node\\:\\:\\$namespacedName\\.$#"
|
H A D | UPGRADE-3.0.md | 149 `\foo()`. For names where no static resolution is possible, a `namespacedName` attribute is
|
H A D | CHANGELOG.md | 305 * 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