2022-12-09 07:57:02 +01:00
|
|
|
[
|
|
|
|
Function(
|
|
|
|
Function {
|
|
|
|
start: (
|
|
|
|
3,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
3,
|
|
|
|
24,
|
|
|
|
),
|
2022-12-10 15:24:55 +01:00
|
|
|
name: SimpleIdentifier {
|
|
|
|
span: (
|
2022-12-09 07:57:02 +01:00
|
|
|
3,
|
|
|
|
10,
|
|
|
|
),
|
|
|
|
name: "true",
|
|
|
|
},
|
|
|
|
attributes: [],
|
|
|
|
parameters: FunctionParameterList {
|
|
|
|
start: (
|
|
|
|
3,
|
|
|
|
14,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
3,
|
|
|
|
16,
|
|
|
|
),
|
|
|
|
members: [],
|
|
|
|
},
|
|
|
|
return_type: Some(
|
|
|
|
Void,
|
|
|
|
),
|
|
|
|
by_ref: false,
|
|
|
|
body: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
Function(
|
|
|
|
Function {
|
|
|
|
start: (
|
|
|
|
4,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
4,
|
|
|
|
25,
|
|
|
|
),
|
2022-12-10 15:24:55 +01:00
|
|
|
name: SimpleIdentifier {
|
|
|
|
span: (
|
2022-12-09 07:57:02 +01:00
|
|
|
4,
|
|
|
|
10,
|
|
|
|
),
|
|
|
|
name: "false",
|
|
|
|
},
|
|
|
|
attributes: [],
|
|
|
|
parameters: FunctionParameterList {
|
|
|
|
start: (
|
|
|
|
4,
|
|
|
|
15,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
4,
|
|
|
|
17,
|
|
|
|
),
|
|
|
|
members: [],
|
|
|
|
},
|
|
|
|
return_type: Some(
|
|
|
|
Void,
|
|
|
|
),
|
|
|
|
by_ref: false,
|
|
|
|
body: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
Function(
|
|
|
|
Function {
|
|
|
|
start: (
|
|
|
|
5,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
5,
|
|
|
|
24,
|
|
|
|
),
|
2022-12-10 15:24:55 +01:00
|
|
|
name: SimpleIdentifier {
|
|
|
|
span: (
|
2022-12-09 07:57:02 +01:00
|
|
|
5,
|
|
|
|
10,
|
|
|
|
),
|
|
|
|
name: "null",
|
|
|
|
},
|
|
|
|
attributes: [],
|
|
|
|
parameters: FunctionParameterList {
|
|
|
|
start: (
|
|
|
|
5,
|
|
|
|
14,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
5,
|
|
|
|
16,
|
|
|
|
),
|
|
|
|
members: [],
|
|
|
|
},
|
|
|
|
return_type: Some(
|
|
|
|
Void,
|
|
|
|
),
|
|
|
|
by_ref: false,
|
|
|
|
body: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
Function(
|
|
|
|
Function {
|
|
|
|
start: (
|
|
|
|
6,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
6,
|
|
|
|
28,
|
|
|
|
),
|
2022-12-10 15:24:55 +01:00
|
|
|
name: SimpleIdentifier {
|
|
|
|
span: (
|
2022-12-09 07:57:02 +01:00
|
|
|
6,
|
|
|
|
10,
|
|
|
|
),
|
|
|
|
name: "readonly",
|
|
|
|
},
|
|
|
|
attributes: [],
|
|
|
|
parameters: FunctionParameterList {
|
|
|
|
start: (
|
|
|
|
6,
|
|
|
|
18,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
6,
|
|
|
|
20,
|
|
|
|
),
|
|
|
|
members: [],
|
|
|
|
},
|
|
|
|
return_type: Some(
|
|
|
|
Void,
|
|
|
|
),
|
|
|
|
by_ref: false,
|
|
|
|
body: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
Function(
|
|
|
|
Function {
|
|
|
|
start: (
|
|
|
|
7,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
7,
|
|
|
|
24,
|
|
|
|
),
|
2022-12-10 15:24:55 +01:00
|
|
|
name: SimpleIdentifier {
|
|
|
|
span: (
|
2022-12-09 07:57:02 +01:00
|
|
|
7,
|
|
|
|
10,
|
|
|
|
),
|
|
|
|
name: "self",
|
|
|
|
},
|
|
|
|
attributes: [],
|
|
|
|
parameters: FunctionParameterList {
|
|
|
|
start: (
|
|
|
|
7,
|
|
|
|
14,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
7,
|
|
|
|
16,
|
|
|
|
),
|
|
|
|
members: [],
|
|
|
|
},
|
|
|
|
return_type: Some(
|
|
|
|
Void,
|
|
|
|
),
|
|
|
|
by_ref: false,
|
|
|
|
body: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
Function(
|
|
|
|
Function {
|
|
|
|
start: (
|
|
|
|
8,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
8,
|
|
|
|
26,
|
|
|
|
),
|
2022-12-10 15:24:55 +01:00
|
|
|
name: SimpleIdentifier {
|
|
|
|
span: (
|
2022-12-09 07:57:02 +01:00
|
|
|
8,
|
|
|
|
10,
|
|
|
|
),
|
|
|
|
name: "parent",
|
|
|
|
},
|
|
|
|
attributes: [],
|
|
|
|
parameters: FunctionParameterList {
|
|
|
|
start: (
|
|
|
|
8,
|
|
|
|
16,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
8,
|
|
|
|
18,
|
|
|
|
),
|
|
|
|
members: [],
|
|
|
|
},
|
|
|
|
return_type: Some(
|
|
|
|
Void,
|
|
|
|
),
|
|
|
|
by_ref: false,
|
|
|
|
body: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
Function(
|
|
|
|
Function {
|
|
|
|
start: (
|
|
|
|
9,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
9,
|
|
|
|
24,
|
|
|
|
),
|
2022-12-10 15:24:55 +01:00
|
|
|
name: SimpleIdentifier {
|
|
|
|
span: (
|
2022-12-09 07:57:02 +01:00
|
|
|
9,
|
|
|
|
10,
|
|
|
|
),
|
|
|
|
name: "enum",
|
|
|
|
},
|
|
|
|
attributes: [],
|
|
|
|
parameters: FunctionParameterList {
|
|
|
|
start: (
|
|
|
|
9,
|
|
|
|
14,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
9,
|
|
|
|
16,
|
|
|
|
),
|
|
|
|
members: [],
|
|
|
|
},
|
|
|
|
return_type: Some(
|
|
|
|
Void,
|
|
|
|
),
|
|
|
|
by_ref: false,
|
|
|
|
body: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
Function(
|
|
|
|
Function {
|
|
|
|
start: (
|
|
|
|
10,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
10,
|
|
|
|
24,
|
|
|
|
),
|
2022-12-10 15:24:55 +01:00
|
|
|
name: SimpleIdentifier {
|
|
|
|
span: (
|
2022-12-09 07:57:02 +01:00
|
|
|
10,
|
|
|
|
10,
|
|
|
|
),
|
|
|
|
name: "from",
|
|
|
|
},
|
|
|
|
attributes: [],
|
|
|
|
parameters: FunctionParameterList {
|
|
|
|
start: (
|
|
|
|
10,
|
|
|
|
14,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
10,
|
|
|
|
16,
|
|
|
|
),
|
|
|
|
members: [],
|
|
|
|
},
|
|
|
|
return_type: Some(
|
|
|
|
Void,
|
|
|
|
),
|
|
|
|
by_ref: false,
|
|
|
|
body: [],
|
|
|
|
},
|
|
|
|
),
|
|
|
|
Expression {
|
|
|
|
expr: Call {
|
|
|
|
target: Identifier(
|
2022-12-10 15:24:55 +01:00
|
|
|
SimpleIdentifier(
|
|
|
|
SimpleIdentifier {
|
|
|
|
span: (
|
|
|
|
12,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
name: "true",
|
|
|
|
},
|
|
|
|
),
|
2022-12-09 07:57:02 +01:00
|
|
|
),
|
|
|
|
args: [],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Expression {
|
|
|
|
expr: Call {
|
|
|
|
target: Identifier(
|
2022-12-10 15:24:55 +01:00
|
|
|
SimpleIdentifier(
|
|
|
|
SimpleIdentifier {
|
|
|
|
span: (
|
|
|
|
13,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
name: "false",
|
|
|
|
},
|
|
|
|
),
|
2022-12-09 07:57:02 +01:00
|
|
|
),
|
|
|
|
args: [],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Expression {
|
|
|
|
expr: Call {
|
|
|
|
target: Identifier(
|
2022-12-10 15:24:55 +01:00
|
|
|
SimpleIdentifier(
|
|
|
|
SimpleIdentifier {
|
|
|
|
span: (
|
|
|
|
14,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
name: "null",
|
|
|
|
},
|
|
|
|
),
|
2022-12-09 07:57:02 +01:00
|
|
|
),
|
|
|
|
args: [],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Expression {
|
|
|
|
expr: Call {
|
|
|
|
target: Identifier(
|
2022-12-10 15:24:55 +01:00
|
|
|
SimpleIdentifier(
|
|
|
|
SimpleIdentifier {
|
|
|
|
span: (
|
|
|
|
15,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
name: "readonly",
|
|
|
|
},
|
|
|
|
),
|
2022-12-09 07:57:02 +01:00
|
|
|
),
|
|
|
|
args: [],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Expression {
|
|
|
|
expr: Call {
|
|
|
|
target: Identifier(
|
2022-12-10 15:24:55 +01:00
|
|
|
SimpleIdentifier(
|
|
|
|
SimpleIdentifier {
|
|
|
|
span: (
|
|
|
|
16,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
name: "self",
|
|
|
|
},
|
|
|
|
),
|
2022-12-09 07:57:02 +01:00
|
|
|
),
|
|
|
|
args: [],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Expression {
|
|
|
|
expr: Call {
|
|
|
|
target: Identifier(
|
2022-12-10 15:24:55 +01:00
|
|
|
SimpleIdentifier(
|
|
|
|
SimpleIdentifier {
|
|
|
|
span: (
|
|
|
|
17,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
name: "parent",
|
|
|
|
},
|
|
|
|
),
|
2022-12-09 07:57:02 +01:00
|
|
|
),
|
|
|
|
args: [],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Expression {
|
|
|
|
expr: Call {
|
|
|
|
target: Identifier(
|
2022-12-10 15:24:55 +01:00
|
|
|
SimpleIdentifier(
|
|
|
|
SimpleIdentifier {
|
|
|
|
span: (
|
|
|
|
18,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
name: "enum",
|
|
|
|
},
|
|
|
|
),
|
2022-12-09 07:57:02 +01:00
|
|
|
),
|
|
|
|
args: [],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
Expression {
|
|
|
|
expr: Call {
|
|
|
|
target: Identifier(
|
2022-12-10 15:24:55 +01:00
|
|
|
SimpleIdentifier(
|
|
|
|
SimpleIdentifier {
|
|
|
|
span: (
|
|
|
|
19,
|
|
|
|
1,
|
|
|
|
),
|
|
|
|
name: "from",
|
|
|
|
},
|
|
|
|
),
|
2022-12-09 07:57:02 +01:00
|
|
|
),
|
|
|
|
args: [],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
]
|