Home
last modified time | relevance | path

Searched refs:TYPE_CONSTANT (Results 1 – 14 of 14) sorted by relevance

/PHP-Parser/test/PhpParser/
H A DNameContextTest.php18 $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 DUseTest.php30 $node = $this->createUseBuilder('foo\BAR', Stmt\Use_::TYPE_CONSTANT)->as('FOO')->getNode();
33 ], Stmt\Use_::TYPE_CONSTANT), $node);
/PHP-Parser/lib/PhpParser/
H A DNameContext.php43 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 DBuilderFactory.php184 return new Builder\Use_($name, Use_::TYPE_CONSTANT);
H A DNodeDumper.php227 Use_::TYPE_CONSTANT => 'TYPE_CONSTANT',
/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DUse_.php20 public const TYPE_CONSTANT = 3; define in PhpParser\\Node\\Stmt\\Use_
/PHP-Parser/test/code/parser/stmt/namespace/
H A DgroupUse.test94 type: TYPE_CONSTANT (3)
136 type: TYPE_CONSTANT (3)
H A Dalias.test126 type: TYPE_CONSTANT (3)
138 type: TYPE_CONSTANT (3)
/PHP-Parser/test/PhpParser/NodeVisitor/
H A DNameResolverTest.php454 ], Stmt\Use_::TYPE_CONSTANT),
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php148 $node->name = $this->resolveName($node->name, Stmt\Use_::TYPE_CONSTANT);
/PHP-Parser/grammar/
H A Dphp.y265 | T_CONST { $$ = Stmt\Use_::TYPE_CONSTANT; }
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php776 : ($type === Stmt\Use_::TYPE_CONSTANT ? 'const ' : '');
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php1381 $self->semValue = Stmt\Use_::TYPE_CONSTANT;
H A DPhp8.php1376 $self->semValue = Stmt\Use_::TYPE_CONSTANT;

Completed in 92 milliseconds