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