parser/tests/0117/ast.txt
Saif Eddin Gmati b6c145f98e
fix: attributes support (#155)
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-04 16:12:23 +01:00

29 lines
624 B
Plaintext

[
BackedEnum {
name: Identifier {
name: "Foo",
},
attributes: [],
implements: [],
backed_type: Int,
body: [
BackedEnumCase {
name: Identifier {
name: "Bar",
},
value: LiteralInteger {
i: 2,
},
},
BackedEnumCase {
name: Identifier {
name: "Baz",
},
value: LiteralInteger {
i: 4,
},
},
],
},
]