parser/tests/fixtures/0117/ast.txt
Saif Eddin Gmati 5127b2116d
chore: refactor interface ast (#187)
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-09 14:42:46 +01:00

88 lines
2.3 KiB
Plaintext

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