mirror of
https://github.com/danog/parser.git
synced 2024-12-12 09:09:37 +01:00
c93634a62b
Signed-off-by: azjezz <azjezz@protonmail.com> Signed-off-by: azjezz <azjezz@protonmail.com>
100 lines
3.4 KiB
Plaintext
100 lines
3.4 KiB
Plaintext
[
|
|
Namespace {
|
|
name: Identifier {
|
|
start: (
|
|
3,
|
|
11,
|
|
),
|
|
name: "Foo\Bar",
|
|
end: (
|
|
3,
|
|
18,
|
|
),
|
|
},
|
|
body: [
|
|
Noop(
|
|
(
|
|
3,
|
|
18,
|
|
),
|
|
),
|
|
Class(
|
|
Class {
|
|
start: (
|
|
5,
|
|
7,
|
|
),
|
|
end: (
|
|
7,
|
|
1,
|
|
),
|
|
name: Identifier {
|
|
start: (
|
|
5,
|
|
13,
|
|
),
|
|
name: "Baz",
|
|
end: (
|
|
5,
|
|
17,
|
|
),
|
|
},
|
|
extends: None,
|
|
implements: None,
|
|
attributes: [],
|
|
members: [
|
|
Property(
|
|
Property {
|
|
attributes: [],
|
|
type: Some(
|
|
String,
|
|
),
|
|
modifiers: PropertyModifierGroup {
|
|
modifiers: [
|
|
Public {
|
|
start: (
|
|
6,
|
|
6,
|
|
),
|
|
end: (
|
|
6,
|
|
13,
|
|
),
|
|
},
|
|
Readonly {
|
|
start: (
|
|
6,
|
|
13,
|
|
),
|
|
end: (
|
|
6,
|
|
22,
|
|
),
|
|
},
|
|
],
|
|
},
|
|
entries: [
|
|
PropertyEntry {
|
|
variable: Variable {
|
|
start: (
|
|
6,
|
|
29,
|
|
),
|
|
name: "foo",
|
|
end: (
|
|
6,
|
|
33,
|
|
),
|
|
},
|
|
value: None,
|
|
},
|
|
],
|
|
},
|
|
),
|
|
],
|
|
},
|
|
),
|
|
],
|
|
},
|
|
]
|