parser/tests/fixtures/0118/ast.txt
Saif Eddin Gmati 9a2a903fb9
chore: refactor ast (#162)
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-06 09:33:29 +01:00

76 lines
2.0 KiB
Plaintext

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