Home
last modified time | relevance | path

Searched refs:TYPE_NORMAL (Results 1 – 19 of 19) sorted by relevance

/PHP-Parser/test/PhpParser/
H A DNameContextTest.php15 $nameContext->addAlias(new Name('Foo'), 'Foo', Use_::TYPE_NORMAL);
37 [Use_::TYPE_NORMAL, 'Test', ['\Test']],
38 [Use_::TYPE_NORMAL, 'Test\Namespaced', ['\Test\Namespaced']],
39 [Use_::TYPE_NORMAL, 'NS\Test', ['\NS\Test', 'Test']],
40 [Use_::TYPE_NORMAL, 'ns\Test', ['\ns\Test', 'Test']],
41 [Use_::TYPE_NORMAL, 'NS\Foo\Bar', ['\NS\Foo\Bar']],
42 [Use_::TYPE_NORMAL, 'ns\foo\Bar', ['\ns\foo\Bar']],
43 [Use_::TYPE_NORMAL, 'Foo', ['\Foo', 'Foo']],
55 [Use_::TYPE_NORMAL, 'self', ['self']],
56 [Use_::TYPE_NORMAL, 'parent', ['parent']],
[all …]
/PHP-Parser/test/code/parser/stmt/namespace/
H A DgroupUse.test19 type: TYPE_NORMAL (1)
34 type: TYPE_NORMAL (1)
41 type: TYPE_NORMAL (1)
56 type: TYPE_NORMAL (1)
63 type: TYPE_NORMAL (1)
122 type: TYPE_NORMAL (1)
H A Dalias.test21 type: TYPE_NORMAL (1)
33 type: TYPE_NORMAL (1)
47 type: TYPE_NORMAL (1)
68 type: TYPE_NORMAL (1)
83 type: TYPE_NORMAL (1)
H A DgroupUseErrors.test17 type: TYPE_NORMAL (1)
35 type: TYPE_NORMAL (1)
52 type: TYPE_NORMAL (1)
H A DinvalidName.test8 type: TYPE_NORMAL (1)
28 type: TYPE_NORMAL (1)
H A DgroupUsePositions.test15 type: TYPE_NORMAL (1)
H A DgroupUseTrailingComma.test15 type: TYPE_NORMAL (1)
/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DUse_.php16 public const TYPE_NORMAL = 1; define in PhpParser\\Node\\Stmt\\Use_
34 … public function __construct(array $uses, int $type = self::TYPE_NORMAL, array $attributes = []) {
H A DGroupUse.php27 …public function __construct(Name $prefix, array $uses, int $type = Use_::TYPE_NORMAL, array $attri…
/PHP-Parser/lib/PhpParser/
H A DNameContext.php41 Stmt\Use_::TYPE_NORMAL => [],
65 Stmt\Use_::TYPE_NORMAL => '',
103 if ($type === Stmt\Use_::TYPE_NORMAL && $name->isSpecialClassName()) {
123 if ($type !== Stmt\Use_::TYPE_NORMAL && $name->isUnqualified()) {
145 return $this->getResolvedName($name, Stmt\Use_::TYPE_NORMAL);
159 if ($type === Stmt\Use_::TYPE_NORMAL) {
178 foreach ($this->origAliases[Stmt\Use_::TYPE_NORMAL] as $alias => $orig) {
235 if (isset($this->aliases[Stmt\Use_::TYPE_NORMAL][$checkName])) {
236 $alias = $this->aliases[Stmt\Use_::TYPE_NORMAL][$checkName];
H A DBuilderFactory.php162 return new Builder\Use_($name, Use_::TYPE_NORMAL);
H A DNodeDumper.php225 Use_::TYPE_NORMAL => 'TYPE_NORMAL',
/PHP-Parser/test/PhpParser/Builder/
H A DUseTest.php10 protected function createUseBuilder($name, $type = Stmt\Use_::TYPE_NORMAL) {
/PHP-Parser/test/code/parser/errorHandling/
H A Drecovery.test440 type: TYPE_NORMAL (1)
470 type: TYPE_NORMAL (1)
596 type: TYPE_NORMAL (1)
620 type: TYPE_NORMAL (1)
/PHP-Parser/test/PhpParser/NodeVisitor/
H A DNameResolverTest.php440 ], Stmt\Use_::TYPE_NORMAL),
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php253 return $this->resolveName($name, Stmt\Use_::TYPE_NORMAL);
/PHP-Parser/grammar/
H A Dphp.y257 …USE use_declarations semi { $$ = Stmt\Use_[$2, Stmt\Use_::TYPE_NORMAL]; }
319 …prefixed_use_declaration { $$ = $1; $$->type = Stmt\Use_::TYPE_NORMAL; }
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php1368 …>semValue = new Stmt\Use_($self->semStack[$stackPos-(3-2)], Stmt\Use_::TYPE_NORMAL, $self->getAttr…
1423 …$self->semValue = $self->semStack[$stackPos-(1-1)]; $self->semValue->type = Stmt\Use_::TYPE_NORMAL;
H A DPhp8.php1363 …>semValue = new Stmt\Use_($self->semStack[$stackPos-(3-2)], Stmt\Use_::TYPE_NORMAL, $self->getAttr…
1418 …$self->semValue = $self->semStack[$stackPos-(1-1)]; $self->semValue->type = Stmt\Use_::TYPE_NORMAL;

Completed in 34 milliseconds