parser/tests/fixtures/0207/ast.txt

90 lines
3.0 KiB
Plaintext
Raw Normal View History

[
Class(
Class {
start: (
3,
1,
),
end: (
7,
1,
),
name: SimpleIdentifier {
span: (
3,
7,
),
name: "foo",
},
extends: None,
implements: None,
attributes: [],
members: [
TraitUsage(
TraitUsage {
traits: [
SimpleIdentifier {
span: (
4,
9,
),
name: "a",
},
SimpleIdentifier {
span: (
4,
12,
),
name: "b",
},
SimpleIdentifier {
span: (
4,
15,
),
name: "c",
},
],
adaptations: [
Precedence {
trait: Some(
SimpleIdentifier {
span: (
5,
9,
),
name: "a",
},
),
method: SimpleIdentifier {
span: (
5,
12,
),
name: "s",
},
insteadof: [
SimpleIdentifier {
span: (
5,
24,
),
name: "b",
},
SimpleIdentifier {
span: (
5,
27,
),
name: "c",
},
],
},
],
},
),
],
},
),
]