Home
last modified time | relevance | path

Searched refs:enum (Results 1 – 9 of 9) sorted by relevance

/PHP-Parser/test/code/formatPreservation/
H A Denum.test4 enum X: int
10 enum X
14 enum X {
22 enum X {
28 enum X
38 enum X
50 enum X {
58 enum X {
81 enum X
88 enum X
[all …]
/PHP-Parser/test/code/prettyPrinter/stmt/
H A Denum.test5 enum A implements B
13 enum B: int {
18 enum C: string implements D {
22 enum D: \Foo\Bar {}
24 enum A implements B
32 enum B : int
37 enum C : string implements D
41 enum D : \Foo\Bar
/PHP-Parser/test/PhpParser/Builder/
H A DEnumTest.php82 $enum = $this->createEnumBuilder('Test')
92 $enum
95 $enum = $this->createEnumBuilder('Test')
105 $enum
116 $enum = $this->createEnumBuilder('ATTR_GROUP')
126 $enum
/PHP-Parser/test/code/parser/stmt/class/
H A Denum.test5 enum A {
8 enum B implements Bar, Baz {
10 enum C: int implements Bar {
H A Denum_with_string.test5 enum Suit: string
/PHP-Parser/test/fixtures/
H A DSuit.php3 enum Suit {
/PHP-Parser/lib/PhpParser/
H A DBuilderFactory.php78 public function enum(string $name): Builder\Enum_ { function in PhpParser\\BuilderFactory
/PHP-Parser/doc/component/
H A DAST_builders.markdown20 * properties, class constants and enum cases
/PHP-Parser/
H A DCHANGELOG.md38 * Added support for passing enum values to various builder methods, like `BuilderFactory::val()`.
300 * Added builders for enums and enum cases.
313 * Support reserved keywords as enum cases.
365 * `PrettyPrinter` now prints backing enum type.

Completed in 11 milliseconds