parser/tests/fixtures/0118/ast.txt
2022-12-06 11:54:12 +01:00

76 lines
2.0 KiB
Plaintext

[
UnitEnum(
UnitEnum {
start: (
3,
1,
),
end: (
6,
1,
),
name: Identifier {
start: (
3,
6,
),
name: "Foo",
end: (
3,
10,
),
},
attributes: [],
implements: [],
members: [
Case(
UnitEnumCase {
start: (
4,
5,
),
end: (
4,
13,
),
name: Identifier {
start: (
4,
10,
),
name: "Bar",
end: (
4,
13,
),
},
},
),
Case(
UnitEnumCase {
start: (
5,
5,
),
end: (
5,
13,
),
name: Identifier {
start: (
5,
10,
),
name: "Baz",
end: (
5,
13,
),
},
},
),
],
},
),
]