2022-11-30 15:38:07 +01:00
|
|
|
[
|
2022-12-09 22:05:03 +01:00
|
|
|
Class(
|
|
|
|
Class {
|
2022-12-05 17:53:41 +01:00
|
|
|
start: (
|
|
|
|
3,
|
2022-12-09 22:05:03 +01:00
|
|
|
1,
|
2022-12-05 17:53:41 +01:00
|
|
|
),
|
|
|
|
end: (
|
2022-12-09 22:05:03 +01:00
|
|
|
10,
|
|
|
|
1,
|
2022-12-05 17:53:41 +01:00
|
|
|
),
|
2022-12-09 22:05:03 +01:00
|
|
|
name: Identifier {
|
|
|
|
start: (
|
|
|
|
3,
|
|
|
|
7,
|
|
|
|
),
|
|
|
|
name: "foo",
|
|
|
|
end: (
|
|
|
|
3,
|
|
|
|
11,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
extends: None,
|
|
|
|
implements: None,
|
|
|
|
attributes: [],
|
|
|
|
members: [
|
|
|
|
Method(
|
|
|
|
Method {
|
2022-12-06 09:33:29 +01:00
|
|
|
start: (
|
|
|
|
4,
|
2022-12-09 22:05:03 +01:00
|
|
|
12,
|
2022-11-30 15:38:07 +01:00
|
|
|
),
|
2022-12-06 09:33:29 +01:00
|
|
|
end: (
|
|
|
|
9,
|
2022-12-09 22:05:03 +01:00
|
|
|
8,
|
2022-12-06 09:33:29 +01:00
|
|
|
),
|
2022-12-09 22:05:03 +01:00
|
|
|
name: Identifier {
|
|
|
|
start: (
|
|
|
|
4,
|
|
|
|
21,
|
|
|
|
),
|
|
|
|
name: "__construct",
|
|
|
|
end: (
|
|
|
|
4,
|
|
|
|
32,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
attributes: [],
|
|
|
|
parameters: MethodParameterList {
|
|
|
|
start: (
|
|
|
|
4,
|
|
|
|
32,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
9,
|
|
|
|
7,
|
|
|
|
),
|
|
|
|
members: [
|
|
|
|
MethodParameter {
|
2022-12-06 09:33:29 +01:00
|
|
|
start: (
|
|
|
|
5,
|
2022-12-09 22:05:03 +01:00
|
|
|
9,
|
2022-12-06 09:33:29 +01:00
|
|
|
),
|
|
|
|
end: (
|
|
|
|
5,
|
|
|
|
25,
|
|
|
|
),
|
2022-12-09 22:05:03 +01:00
|
|
|
name: Variable {
|
|
|
|
start: (
|
|
|
|
5,
|
|
|
|
23,
|
|
|
|
),
|
|
|
|
name: "a",
|
|
|
|
end: (
|
|
|
|
5,
|
|
|
|
25,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
attributes: [],
|
|
|
|
type: Some(
|
|
|
|
String,
|
|
|
|
),
|
|
|
|
variadic: false,
|
|
|
|
default: None,
|
|
|
|
modifiers: PromotedPropertyModifierGroup {
|
|
|
|
modifiers: [
|
|
|
|
Public {
|
|
|
|
start: (
|
|
|
|
5,
|
|
|
|
9,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
5,
|
|
|
|
16,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
by_ref: false,
|
2022-12-06 09:33:29 +01:00
|
|
|
},
|
2022-12-09 22:05:03 +01:00
|
|
|
MethodParameter {
|
2022-12-06 09:33:29 +01:00
|
|
|
start: (
|
|
|
|
6,
|
2022-12-09 22:05:03 +01:00
|
|
|
9,
|
2022-12-06 09:33:29 +01:00
|
|
|
),
|
|
|
|
end: (
|
|
|
|
6,
|
|
|
|
31,
|
|
|
|
),
|
2022-12-09 22:05:03 +01:00
|
|
|
name: Variable {
|
|
|
|
start: (
|
|
|
|
6,
|
|
|
|
29,
|
|
|
|
),
|
|
|
|
name: "b",
|
|
|
|
end: (
|
|
|
|
6,
|
|
|
|
31,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
attributes: [],
|
|
|
|
type: Some(
|
|
|
|
Integer,
|
|
|
|
),
|
|
|
|
variadic: false,
|
|
|
|
default: None,
|
|
|
|
modifiers: PromotedPropertyModifierGroup {
|
|
|
|
modifiers: [
|
|
|
|
Public {
|
|
|
|
start: (
|
|
|
|
6,
|
|
|
|
9,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
6,
|
|
|
|
16,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
Readonly {
|
|
|
|
start: (
|
|
|
|
6,
|
|
|
|
16,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
6,
|
|
|
|
25,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
by_ref: false,
|
2022-12-06 09:33:29 +01:00
|
|
|
},
|
2022-12-09 22:05:03 +01:00
|
|
|
MethodParameter {
|
2022-12-06 09:33:29 +01:00
|
|
|
start: (
|
|
|
|
7,
|
2022-12-09 22:05:03 +01:00
|
|
|
9,
|
2022-12-06 09:33:29 +01:00
|
|
|
),
|
|
|
|
end: (
|
|
|
|
7,
|
|
|
|
34,
|
|
|
|
),
|
2022-12-09 22:05:03 +01:00
|
|
|
name: Variable {
|
|
|
|
start: (
|
|
|
|
7,
|
|
|
|
32,
|
|
|
|
),
|
|
|
|
name: "c",
|
|
|
|
end: (
|
|
|
|
7,
|
|
|
|
34,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
attributes: [],
|
|
|
|
type: Some(
|
|
|
|
Float,
|
|
|
|
),
|
|
|
|
variadic: false,
|
|
|
|
default: None,
|
|
|
|
modifiers: PromotedPropertyModifierGroup {
|
|
|
|
modifiers: [
|
|
|
|
Public {
|
|
|
|
start: (
|
|
|
|
7,
|
|
|
|
9,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
7,
|
|
|
|
16,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
Readonly {
|
|
|
|
start: (
|
|
|
|
7,
|
|
|
|
16,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
7,
|
|
|
|
25,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
by_ref: true,
|
2022-12-06 09:33:29 +01:00
|
|
|
},
|
2022-12-09 22:05:03 +01:00
|
|
|
MethodParameter {
|
2022-12-06 09:33:29 +01:00
|
|
|
start: (
|
|
|
|
8,
|
2022-12-09 22:05:03 +01:00
|
|
|
9,
|
2022-12-06 09:33:29 +01:00
|
|
|
),
|
|
|
|
end: (
|
|
|
|
8,
|
|
|
|
15,
|
|
|
|
),
|
2022-12-09 22:05:03 +01:00
|
|
|
name: Variable {
|
|
|
|
start: (
|
|
|
|
8,
|
|
|
|
13,
|
|
|
|
),
|
|
|
|
name: "e",
|
|
|
|
end: (
|
|
|
|
8,
|
|
|
|
15,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
attributes: [],
|
|
|
|
type: None,
|
|
|
|
variadic: true,
|
|
|
|
default: None,
|
|
|
|
modifiers: PromotedPropertyModifierGroup {
|
|
|
|
modifiers: [],
|
|
|
|
},
|
|
|
|
by_ref: true,
|
2022-12-06 09:33:29 +01:00
|
|
|
},
|
2022-12-09 22:05:03 +01:00
|
|
|
],
|
|
|
|
},
|
|
|
|
body: Some(
|
|
|
|
[],
|
|
|
|
),
|
|
|
|
modifiers: MethodModifierGroup {
|
|
|
|
modifiers: [
|
|
|
|
Public {
|
|
|
|
start: (
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
4,
|
|
|
|
12,
|
|
|
|
),
|
2022-12-06 09:33:29 +01:00
|
|
|
},
|
2022-12-09 22:05:03 +01:00
|
|
|
],
|
|
|
|
},
|
|
|
|
return_type: None,
|
|
|
|
by_ref: false,
|
2022-11-30 15:38:07 +01:00
|
|
|
},
|
2022-12-09 22:05:03 +01:00
|
|
|
),
|
|
|
|
],
|
2022-12-06 09:33:29 +01:00
|
|
|
},
|
2022-12-09 22:05:03 +01:00
|
|
|
),
|
2022-11-30 15:38:07 +01:00
|
|
|
]
|