mirror of
https://github.com/danog/parser.git
synced 2024-12-12 09:09:37 +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: [],
|
|
},
|
|
]
|