Searched refs:TYPE_CONSTANT (Results 1 – 14 of 14) sorted by relevance
/PHP-Parser/test/PhpParser/ |
H A D | NameContextTest.php | 18 $nameContext->addAlias(new Name('Foo\CN'), 'CN', Use_::TYPE_CONSTANT); 50 [Use_::TYPE_CONSTANT, 'Foo\CN\BAR', ['\Foo\CN\BAR', 'Foo\CN\BAR']], 51 [Use_::TYPE_CONSTANT, 'Foo\CN', ['\Foo\CN', 'Foo\CN', 'CN']], 52 [Use_::TYPE_CONSTANT, 'foo\CN', ['\foo\CN', 'Foo\CN', 'CN']], 53 [Use_::TYPE_CONSTANT, 'foo\cn', ['\foo\cn', 'Foo\cn']], 59 [Use_::TYPE_CONSTANT, 'true', ['\true', 'true']], 60 [Use_::TYPE_CONSTANT, 'false', ['\false', 'false']], 61 [Use_::TYPE_CONSTANT, 'null', ['\null', 'null']],
|
/PHP-Parser/test/PhpParser/Builder/ |
H A D | UseTest.php | 30 $node = $this->createUseBuilder('foo\BAR', Stmt\Use_::TYPE_CONSTANT)->as('FOO')->getNode(); 33 ], Stmt\Use_::TYPE_CONSTANT), $node);
|
/PHP-Parser/lib/PhpParser/ |
H A D | NameContext.php | 43 Stmt\Use_::TYPE_CONSTANT => [], 57 if ($type === Stmt\Use_::TYPE_CONSTANT) { 67 Stmt\Use_::TYPE_CONSTANT => 'const ', 187 if ($type === Stmt\Use_::TYPE_CONSTANT) { 241 $checkName = $type === Stmt\Use_::TYPE_CONSTANT ? $firstPart : strtolower($firstPart); 257 if ($type === Stmt\Use_::TYPE_CONSTANT) {
|
H A D | BuilderFactory.php | 184 return new Builder\Use_($name, Use_::TYPE_CONSTANT);
|
H A D | NodeDumper.php | 227 Use_::TYPE_CONSTANT => 'TYPE_CONSTANT',
|
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | Use_.php | 20 public const TYPE_CONSTANT = 3; define in PhpParser\\Node\\Stmt\\Use_
|
/PHP-Parser/test/code/parser/stmt/namespace/ |
H A D | groupUse.test | 94 type: TYPE_CONSTANT (3) 136 type: TYPE_CONSTANT (3)
|
H A D | alias.test | 126 type: TYPE_CONSTANT (3) 138 type: TYPE_CONSTANT (3)
|
/PHP-Parser/test/PhpParser/NodeVisitor/ |
H A D | NameResolverTest.php | 454 ], Stmt\Use_::TYPE_CONSTANT),
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 148 $node->name = $this->resolveName($node->name, Stmt\Use_::TYPE_CONSTANT);
|
/PHP-Parser/grammar/ |
H A D | php.y | 265 | T_CONST { $$ = Stmt\Use_::TYPE_CONSTANT; }
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 776 : ($type === Stmt\Use_::TYPE_CONSTANT ? 'const ' : '');
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 1381 $self->semValue = Stmt\Use_::TYPE_CONSTANT;
|
H A D | Php8.php | 1376 $self->semValue = Stmt\Use_::TYPE_CONSTANT;
|
Completed in 92 milliseconds