parser/tests/0207/ast.txt

47 lines
1.2 KiB
Plaintext
Raw Normal View History

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