Home
last modified time | relevance | path

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

/PHP-Parser/test/PhpParser/Builder/
H A DEnumTest.php17 return new Enum_($class);
27 new Stmt\Enum_('SomeEnum', [
44 new Stmt\Enum_('Test', [
69 new Stmt\Enum_('Test', [
87 new Stmt\Enum_('Test', [], [
100 new Stmt\Enum_('Test', [], [
121 new Stmt\Enum_('ATTR_GROUP', [
/PHP-Parser/lib/PhpParser/Builder/
H A DEnum_.php12 class Enum_ extends Declaration { class
109 return new Stmt\Enum_($this->name, [
/PHP-Parser/lib/PhpParser/Node/Stmt/
H A DEnum_.php7 class Enum_ extends ClassLike { class
/PHP-Parser/lib/PhpParser/
H A DBuilderFactory.php78 public function enum(string $name): Builder\Enum_ {
79 return new Builder\Enum_($name);
H A DPrettyPrinterAbstract.php1530 Stmt\Enum_::class . '->implements' => ', ',
1558 Stmt\Enum_::class . '->stmts' => "\n",
1577 Stmt\Enum_::class . '->attrGroups' => "\n",
1624 Stmt\Enum_::class . '->implements' => [null, ' implements ', ''],
H A DParserAbstract.php28 use PhpParser\Node\Stmt\Enum_; alias
1106 protected function checkEnum(Enum_ $node, int $namePos): void {
/PHP-Parser/test/PhpParser/NodeVisitor/
H A DNameResolverTest.php374 new Stmt\Enum_('F'),
/PHP-Parser/test/PhpParser/
H A DBuilderFactoryTest.php29 ['enum', Builder\Enum_::class],
/PHP-Parser/lib/PhpParser/NodeVisitor/
H A DNameResolver.php88 } elseif ($node instanceof Stmt\Enum_) {
/PHP-Parser/grammar/
H A Dphp.y493 …{ $$ = Stmt\Enum_[$3, ['scalarType' => $4, 'implements' => $5, 'stmts' => $7, 'attrGroups' => $1]];
/PHP-Parser/lib/PhpParser/PrettyPrinter/
H A DStandard.php786 protected function pStmt_Enum(Stmt\Enum_ $node): string {
/PHP-Parser/
H A DCHANGELOG.md373 * [PHP 8.1] Added support for enums. These are represented using the `Stmt\Enum_` and
/PHP-Parser/lib/PhpParser/Parser/
H A DPhp7.php1630 …$self->semValue = new Stmt\Enum_($self->semStack[$stackPos-(8-3)], ['scalarType' => $self->semStac…
H A DPhp8.php1625 …$self->semValue = new Stmt\Enum_($self->semStack[$stackPos-(8-3)], ['scalarType' => $self->semStac…

Completed in 63 milliseconds