parser/tests/fixtures/0118/ast.txt

76 lines
2.0 KiB
Plaintext
Raw Normal View History

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