Searched refs:Enum_ (Results 1 – 14 of 14) sorted by relevance
/PHP-Parser/test/PhpParser/Builder/ |
H A D | EnumTest.php | 17 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 D | Enum_.php | 12 class Enum_ extends Declaration { class 109 return new Stmt\Enum_($this->name, [
|
/PHP-Parser/lib/PhpParser/Node/Stmt/ |
H A D | Enum_.php | 7 class Enum_ extends ClassLike { class
|
/PHP-Parser/lib/PhpParser/ |
H A D | BuilderFactory.php | 78 public function enum(string $name): Builder\Enum_ { 79 return new Builder\Enum_($name);
|
H A D | PrettyPrinterAbstract.php | 1530 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 D | ParserAbstract.php | 28 use PhpParser\Node\Stmt\Enum_; alias 1106 protected function checkEnum(Enum_ $node, int $namePos): void {
|
/PHP-Parser/test/PhpParser/NodeVisitor/ |
H A D | NameResolverTest.php | 374 new Stmt\Enum_('F'),
|
/PHP-Parser/test/PhpParser/ |
H A D | BuilderFactoryTest.php | 29 ['enum', Builder\Enum_::class],
|
/PHP-Parser/lib/PhpParser/NodeVisitor/ |
H A D | NameResolver.php | 88 } elseif ($node instanceof Stmt\Enum_) {
|
/PHP-Parser/grammar/ |
H A D | php.y | 493 …{ $$ = Stmt\Enum_[$3, ['scalarType' => $4, 'implements' => $5, 'stmts' => $7, 'attrGroups' => $1]];
|
/PHP-Parser/lib/PhpParser/PrettyPrinter/ |
H A D | Standard.php | 786 protected function pStmt_Enum(Stmt\Enum_ $node): string {
|
/PHP-Parser/ |
H A D | CHANGELOG.md | 373 * [PHP 8.1] Added support for enums. These are represented using the `Stmt\Enum_` and
|
/PHP-Parser/lib/PhpParser/Parser/ |
H A D | Php7.php | 1630 …$self->semValue = new Stmt\Enum_($self->semStack[$stackPos-(8-3)], ['scalarType' => $self->semStac…
|
H A D | Php8.php | 1625 …$self->semValue = new Stmt\Enum_($self->semStack[$stackPos-(8-3)], ['scalarType' => $self->semStac…
|
Completed in 63 milliseconds