parser/tests/0117/ast.txt
2022-11-30 14:38:07 +00:00

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,
},
},
],
},
]