parser/tests/fixtures/0117/ast.txt

53 lines
1.2 KiB
Plaintext
Raw Normal View History

[
BackedEnum {
name: Identifier {
start: (
3,
6,
),
name: "Foo",
end: (
3,
9,
),
},
attributes: [],
implements: [],
backed_type: Int,
body: [
BackedEnumCase {
name: Identifier {
start: (
4,
10,
),
name: "Bar",
end: (
4,
14,
),
},
value: LiteralInteger {
i: 2,
},
},
BackedEnumCase {
name: Identifier {
start: (
5,
10,
),
name: "Baz",
end: (
5,
14,
),
},
value: LiteralInteger {
i: 4,
},
},
],
},
]