Home
last modified time | relevance | path

Searched refs:TYPE_FUNCTION (Results 1 – 16 of 16) sorted by relevance

/PHP-Parser/test/PhpParser/
H A DNameContextTest.php17 $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 DUseTest.php25 $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 DUse_.php18 public const TYPE_FUNCTION = 2; define in PhpParser\\Node\\Stmt\\Use_
/PHP-Parser/test/code/parser/stmt/namespace/
H A DgroupUseTrailingComma.test24 type: TYPE_FUNCTION (2)
H A DgroupUse.test72 type: TYPE_FUNCTION (2)
129 type: TYPE_FUNCTION (2)
H A Dalias.test97 type: TYPE_FUNCTION (2)
112 type: TYPE_FUNCTION (2)
/PHP-Parser/lib/PhpParser/
H A DNameContext.php42 Stmt\Use_::TYPE_FUNCTION => [],
66 Stmt\Use_::TYPE_FUNCTION => 'function ',
H A DBuilderFactory.php173 return new Builder\Use_($name, Use_::TYPE_FUNCTION);
H A DNodeDumper.php226 Use_::TYPE_FUNCTION => 'TYPE_FUNCTION',
/PHP-Parser/test/PhpParser/NodeVisitor/
H A DNameResolverTest.php447 ], Stmt\Use_::TYPE_FUNCTION),
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php145 $node->name = $this->resolveName($node->name, Stmt\Use_::TYPE_FUNCTION);
/PHP-Parser/test/code/parser/errorHandling/
H A Drecovery.test452 type: TYPE_FUNCTION (2)
605 type: TYPE_FUNCTION (2)
/PHP-Parser/grammar/
H A Dphp.y264 T_FUNCTION { $$ = Stmt\Use_::TYPE_FUNCTION; }
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php775 return $type === Stmt\Use_::TYPE_FUNCTION ? 'function '
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php1378 $self->semValue = Stmt\Use_::TYPE_FUNCTION;
H A DPhp8.php1373 $self->semValue = Stmt\Use_::TYPE_FUNCTION;

Completed in 61 milliseconds