mirror of
https://github.com/danog/parser.git
synced 2024-11-30 04:29:13 +01:00
b6c145f98e
Signed-off-by: azjezz <azjezz@protonmail.com>
47 lines
1.2 KiB
Plaintext
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: [],
|
|
},
|
|
]
|