mirror of
https://github.com/danog/parser.git
synced 2024-12-12 09:09:37 +01:00
28 lines
600 B
Plaintext
28 lines
600 B
Plaintext
[
|
|
BackedEnum {
|
|
name: Identifier {
|
|
name: "Foo",
|
|
},
|
|
implements: [],
|
|
backed_type: Int,
|
|
body: [
|
|
BackedEnumCase {
|
|
name: Identifier {
|
|
name: "Bar",
|
|
},
|
|
value: LiteralInteger {
|
|
i: 2,
|
|
},
|
|
},
|
|
BackedEnumCase {
|
|
name: Identifier {
|
|
name: "Baz",
|
|
},
|
|
value: LiteralInteger {
|
|
i: 4,
|
|
},
|
|
},
|
|
],
|
|
},
|
|
]
|