Searched refs:addAlias (Results 1 – 4 of 4) sorted by relevance
/PHP-Parser/test/PhpParser/ |
H A D | NameContextTest.php | 15 $nameContext->addAlias(new Name('Foo'), 'Foo', Use_::TYPE_NORMAL); 16 $nameContext->addAlias(new Name('Foo\Bar'), 'Alias', Use_::TYPE_NORMAL); 17 $nameContext->addAlias(new Name('Foo\fn'), 'fn', Use_::TYPE_FUNCTION); 18 $nameContext->addAlias(new Name('Foo\CN'), 'CN', Use_::TYPE_CONSTANT);
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 60 $this->addAlias($use, $node->type, null); 64 $this->addAlias($use, $node->type, $node->prefix); 171 private function addAlias(Node\UseItem $use, int $type, ?Name $prefix = null): void { function in PhpParser\\NodeVisitor\\NameResolver 177 $this->nameContext->addAlias(
|
/PHP-Parser/lib/PhpParser/ |
H A D | NameContext.php | 55 … public function addAlias(Name $name, string $aliasName, int $type, array $errorAttrs = []): void { function in PhpParser\\NameContext
|
/PHP-Parser/doc/component/ |
H A D | Name_resolution.markdown | 68 public function addAlias(Name $name, string $aliasName, int $type, array $errorAttrs = []);
|
Completed in 13 milliseconds