mirror of
https://github.com/danog/parser.git
synced 2024-12-02 17:38:16 +01:00
479f51913c
Signed-off-by: azjezz <azjezz@protonmail.com>
111 lines
3.2 KiB
Plaintext
111 lines
3.2 KiB
Plaintext
[
|
|
Class {
|
|
name: Identifier {
|
|
start: (
|
|
3,
|
|
7,
|
|
),
|
|
name: "foo",
|
|
end: (
|
|
3,
|
|
11,
|
|
),
|
|
},
|
|
attributes: [],
|
|
extends: None,
|
|
implements: [],
|
|
body: [
|
|
TraitUse {
|
|
traits: [
|
|
Identifier {
|
|
start: (
|
|
4,
|
|
9,
|
|
),
|
|
name: "a",
|
|
end: (
|
|
4,
|
|
10,
|
|
),
|
|
},
|
|
Identifier {
|
|
start: (
|
|
4,
|
|
12,
|
|
),
|
|
name: "b",
|
|
end: (
|
|
4,
|
|
13,
|
|
),
|
|
},
|
|
Identifier {
|
|
start: (
|
|
4,
|
|
15,
|
|
),
|
|
name: "c",
|
|
end: (
|
|
4,
|
|
17,
|
|
),
|
|
},
|
|
],
|
|
adaptations: [
|
|
Precedence {
|
|
trait: Some(
|
|
Identifier {
|
|
start: (
|
|
5,
|
|
9,
|
|
),
|
|
name: "a",
|
|
end: (
|
|
5,
|
|
10,
|
|
),
|
|
},
|
|
),
|
|
method: Identifier {
|
|
start: (
|
|
5,
|
|
12,
|
|
),
|
|
name: "s",
|
|
end: (
|
|
5,
|
|
14,
|
|
),
|
|
},
|
|
insteadof: [
|
|
Identifier {
|
|
start: (
|
|
5,
|
|
24,
|
|
),
|
|
name: "b",
|
|
end: (
|
|
5,
|
|
25,
|
|
),
|
|
},
|
|
Identifier {
|
|
start: (
|
|
5,
|
|
27,
|
|
),
|
|
name: "c",
|
|
end: (
|
|
5,
|
|
28,
|
|
),
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
],
|
|
flags: [],
|
|
},
|
|
]
|