2022-12-02 16:52:16 +01:00
|
|
|
[
|
|
|
|
Namespace {
|
2022-12-05 17:53:41 +01:00
|
|
|
name: Identifier {
|
|
|
|
start: (
|
|
|
|
3,
|
|
|
|
11,
|
|
|
|
),
|
|
|
|
name: "Foo\Bar",
|
|
|
|
end: (
|
|
|
|
3,
|
|
|
|
18,
|
|
|
|
),
|
|
|
|
},
|
2022-12-02 16:52:16 +01:00
|
|
|
body: [
|
|
|
|
Noop,
|
|
|
|
Class {
|
|
|
|
name: Identifier {
|
2022-12-05 17:53:41 +01:00
|
|
|
start: (
|
|
|
|
5,
|
|
|
|
13,
|
|
|
|
),
|
2022-12-02 16:52:16 +01:00
|
|
|
name: "Baz",
|
2022-12-05 17:53:41 +01:00
|
|
|
end: (
|
|
|
|
5,
|
|
|
|
17,
|
|
|
|
),
|
2022-12-02 16:52:16 +01:00
|
|
|
},
|
2022-12-04 16:12:23 +01:00
|
|
|
attributes: [],
|
2022-12-02 16:52:16 +01:00
|
|
|
extends: None,
|
|
|
|
implements: [],
|
|
|
|
body: [
|
|
|
|
Method {
|
|
|
|
name: Identifier {
|
2022-12-05 17:53:41 +01:00
|
|
|
start: (
|
|
|
|
6,
|
|
|
|
22,
|
|
|
|
),
|
2022-12-02 16:52:16 +01:00
|
|
|
name: "__construct",
|
2022-12-05 17:53:41 +01:00
|
|
|
end: (
|
|
|
|
6,
|
|
|
|
33,
|
|
|
|
),
|
2022-12-02 16:52:16 +01:00
|
|
|
},
|
2022-12-04 16:12:23 +01:00
|
|
|
attributes: [],
|
2022-12-02 16:52:16 +01:00
|
|
|
params: [
|
|
|
|
Param {
|
|
|
|
name: Variable {
|
2022-12-05 17:53:41 +01:00
|
|
|
start: (
|
|
|
|
7,
|
|
|
|
34,
|
|
|
|
),
|
2022-12-02 16:52:16 +01:00
|
|
|
name: "name",
|
2022-12-05 17:53:41 +01:00
|
|
|
end: (
|
|
|
|
7,
|
|
|
|
40,
|
|
|
|
),
|
2022-12-02 16:52:16 +01:00
|
|
|
},
|
2022-12-04 16:12:23 +01:00
|
|
|
attributes: [],
|
2022-12-02 16:52:16 +01:00
|
|
|
type: Some(
|
|
|
|
String,
|
|
|
|
),
|
|
|
|
variadic: false,
|
|
|
|
default: Some(
|
|
|
|
LiteralString {
|
|
|
|
value: "foo",
|
|
|
|
},
|
|
|
|
),
|
|
|
|
flags: [
|
|
|
|
Public,
|
|
|
|
Readonly,
|
|
|
|
],
|
|
|
|
by_ref: false,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
body: [],
|
|
|
|
flags: [
|
|
|
|
Public,
|
|
|
|
],
|
|
|
|
return_type: None,
|
|
|
|
by_ref: false,
|
|
|
|
},
|
|
|
|
],
|
|
|
|
flags: [
|
|
|
|
Final,
|
|
|
|
],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
]
|