parser/tests/0207/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

47 lines
1.2 KiB
Plaintext

[
Class {
name: Identifier {
name: "foo",
},
attributes: [],
extends: None,
implements: [],
body: [
TraitUse {
traits: [
Identifier {
name: "a",
},
Identifier {
name: "b",
},
Identifier {
name: "c",
},
],
adaptations: [
Precedence {
trait: Some(
Identifier {
name: "a",
},
),
method: Identifier {
name: "s",
},
insteadof: [
Identifier {
name: "b",
},
Identifier {
name: "c",
},
],
},
],
},
],
flags: [],
},
]