Searched refs:TYPE_FUNCTION (Results 1 – 16 of 16) sorted by relevance
/PHP-Parser/test/PhpParser/ |
H A D | NameContextTest.php | 17 $nameContext->addAlias(new Name('Foo\fn'), 'fn', Use_::TYPE_FUNCTION); 47 [Use_::TYPE_FUNCTION, 'Foo\fn\bar', ['\Foo\fn\bar', 'Foo\fn\bar']], 48 [Use_::TYPE_FUNCTION, 'Foo\fn', ['\Foo\fn', 'Foo\fn', 'fn']], 49 [Use_::TYPE_FUNCTION, 'Foo\FN', ['\Foo\FN', 'Foo\FN', 'fn']],
|
/PHP-Parser/test/PhpParser/Builder/ |
H A D | UseTest.php | 25 $node = $this->createUseBuilder('foo\bar', Stmt\Use_::TYPE_FUNCTION)->as('foo')->getNode(); 28 ], Stmt\Use_::TYPE_FUNCTION), $node);
|
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | Use_.php | 18 public const TYPE_FUNCTION = 2; define in PhpParser\\Node\\Stmt\\Use_
|
/PHP-Parser/test/code/parser/stmt/namespace/ |
H A D | groupUseTrailingComma.test | 24 type: TYPE_FUNCTION (2)
|
H A D | groupUse.test | 72 type: TYPE_FUNCTION (2) 129 type: TYPE_FUNCTION (2)
|
H A D | alias.test | 97 type: TYPE_FUNCTION (2) 112 type: TYPE_FUNCTION (2)
|
/PHP-Parser/lib/PhpParser/ |
H A D | NameContext.php | 42 Stmt\Use_::TYPE_FUNCTION => [], 66 Stmt\Use_::TYPE_FUNCTION => 'function ',
|
H A D | BuilderFactory.php | 173 return new Builder\Use_($name, Use_::TYPE_FUNCTION);
|
H A D | NodeDumper.php | 226 Use_::TYPE_FUNCTION => 'TYPE_FUNCTION',
|
/PHP-Parser/test/PhpParser/NodeVisitor/ |
H A D | NameResolverTest.php | 447 ], Stmt\Use_::TYPE_FUNCTION),
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 145 $node->name = $this->resolveName($node->name, Stmt\Use_::TYPE_FUNCTION);
|
/PHP-Parser/test/code/parser/errorHandling/ |
H A D | recovery.test | 452 type: TYPE_FUNCTION (2) 605 type: TYPE_FUNCTION (2)
|
/PHP-Parser/grammar/ |
H A D | php.y | 264 T_FUNCTION { $$ = Stmt\Use_::TYPE_FUNCTION; }
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 775 return $type === Stmt\Use_::TYPE_FUNCTION ? 'function '
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 1378 $self->semValue = Stmt\Use_::TYPE_FUNCTION;
|
H A D | Php8.php | 1373 $self->semValue = Stmt\Use_::TYPE_FUNCTION;
|
Completed in 61 milliseconds