mirror of
https://github.com/danog/parser.git
synced 2025-01-09 14:18:26 +01:00
9a2a903fb9
Signed-off-by: azjezz <azjezz@protonmail.com>
306 lines
8.6 KiB
Plaintext
306 lines
8.6 KiB
Plaintext
[
|
|
Class {
|
|
name: Identifier {
|
|
start: (
|
|
3,
|
|
7,
|
|
),
|
|
name: "Foo2",
|
|
end: (
|
|
3,
|
|
12,
|
|
),
|
|
},
|
|
attributes: [],
|
|
extends: None,
|
|
implements: [],
|
|
body: [
|
|
TraitUse {
|
|
traits: [
|
|
Identifier {
|
|
start: (
|
|
4,
|
|
9,
|
|
),
|
|
name: "B",
|
|
end: (
|
|
4,
|
|
11,
|
|
),
|
|
},
|
|
],
|
|
adaptations: [
|
|
Alias {
|
|
trait: None,
|
|
method: Identifier {
|
|
start: (
|
|
5,
|
|
9,
|
|
),
|
|
name: "foo",
|
|
end: (
|
|
5,
|
|
13,
|
|
),
|
|
},
|
|
alias: Identifier {
|
|
start: (
|
|
5,
|
|
26,
|
|
),
|
|
name: "bar",
|
|
end: (
|
|
5,
|
|
29,
|
|
),
|
|
},
|
|
visibility: Some(
|
|
Protected {
|
|
start: (
|
|
5,
|
|
16,
|
|
),
|
|
end: (
|
|
5,
|
|
26,
|
|
),
|
|
},
|
|
),
|
|
},
|
|
],
|
|
},
|
|
],
|
|
modifiers: ClassModifierGroup {
|
|
flags: [],
|
|
},
|
|
},
|
|
Class {
|
|
name: Identifier {
|
|
start: (
|
|
9,
|
|
7,
|
|
),
|
|
name: "Bar2",
|
|
end: (
|
|
9,
|
|
12,
|
|
),
|
|
},
|
|
attributes: [],
|
|
extends: None,
|
|
implements: [],
|
|
body: [
|
|
TraitUse {
|
|
traits: [
|
|
Identifier {
|
|
start: (
|
|
10,
|
|
9,
|
|
),
|
|
name: "B",
|
|
end: (
|
|
10,
|
|
10,
|
|
),
|
|
},
|
|
Identifier {
|
|
start: (
|
|
11,
|
|
9,
|
|
),
|
|
name: "C",
|
|
end: (
|
|
11,
|
|
11,
|
|
),
|
|
},
|
|
],
|
|
adaptations: [
|
|
Precedence {
|
|
trait: Some(
|
|
Identifier {
|
|
start: (
|
|
12,
|
|
13,
|
|
),
|
|
name: "B",
|
|
end: (
|
|
12,
|
|
14,
|
|
),
|
|
},
|
|
),
|
|
method: Identifier {
|
|
start: (
|
|
12,
|
|
16,
|
|
),
|
|
name: "foo",
|
|
end: (
|
|
12,
|
|
20,
|
|
),
|
|
},
|
|
insteadof: [
|
|
Identifier {
|
|
start: (
|
|
12,
|
|
30,
|
|
),
|
|
name: "C",
|
|
end: (
|
|
12,
|
|
31,
|
|
),
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
],
|
|
modifiers: ClassModifierGroup {
|
|
flags: [],
|
|
},
|
|
},
|
|
Class {
|
|
name: Identifier {
|
|
start: (
|
|
16,
|
|
7,
|
|
),
|
|
name: "Bar3",
|
|
end: (
|
|
16,
|
|
12,
|
|
),
|
|
},
|
|
attributes: [],
|
|
extends: None,
|
|
implements: [],
|
|
body: [
|
|
TraitUse {
|
|
traits: [
|
|
Identifier {
|
|
start: (
|
|
17,
|
|
9,
|
|
),
|
|
name: "B",
|
|
end: (
|
|
17,
|
|
11,
|
|
),
|
|
},
|
|
],
|
|
adaptations: [
|
|
Alias {
|
|
trait: Some(
|
|
Identifier {
|
|
start: (
|
|
17,
|
|
13,
|
|
),
|
|
name: "B",
|
|
end: (
|
|
17,
|
|
14,
|
|
),
|
|
},
|
|
),
|
|
method: Identifier {
|
|
start: (
|
|
17,
|
|
16,
|
|
),
|
|
name: "foo",
|
|
end: (
|
|
17,
|
|
20,
|
|
),
|
|
},
|
|
alias: Identifier {
|
|
start: (
|
|
17,
|
|
23,
|
|
),
|
|
name: "bar",
|
|
end: (
|
|
17,
|
|
26,
|
|
),
|
|
},
|
|
visibility: None,
|
|
},
|
|
],
|
|
},
|
|
],
|
|
modifiers: ClassModifierGroup {
|
|
flags: [],
|
|
},
|
|
},
|
|
Class {
|
|
name: Identifier {
|
|
start: (
|
|
20,
|
|
7,
|
|
),
|
|
name: "Bar4",
|
|
end: (
|
|
20,
|
|
12,
|
|
),
|
|
},
|
|
attributes: [],
|
|
extends: None,
|
|
implements: [],
|
|
body: [
|
|
TraitUse {
|
|
traits: [
|
|
Identifier {
|
|
start: (
|
|
21,
|
|
9,
|
|
),
|
|
name: "B",
|
|
end: (
|
|
21,
|
|
11,
|
|
),
|
|
},
|
|
],
|
|
adaptations: [
|
|
Alias {
|
|
trait: None,
|
|
method: Identifier {
|
|
start: (
|
|
21,
|
|
13,
|
|
),
|
|
name: "foo",
|
|
end: (
|
|
21,
|
|
17,
|
|
),
|
|
},
|
|
alias: Identifier {
|
|
start: (
|
|
21,
|
|
20,
|
|
),
|
|
name: "bar",
|
|
end: (
|
|
21,
|
|
23,
|
|
),
|
|
},
|
|
visibility: None,
|
|
},
|
|
],
|
|
},
|
|
],
|
|
modifiers: ClassModifierGroup {
|
|
flags: [],
|
|
},
|
|
},
|
|
]
|