2022-12-02 23:16:27 +01:00
|
|
|
[
|
2022-12-06 09:33:29 +01:00
|
|
|
Function(
|
|
|
|
Function {
|
2022-12-05 17:53:41 +01:00
|
|
|
start: (
|
|
|
|
3,
|
2022-12-06 09:33:29 +01:00
|
|
|
1,
|
2022-12-05 17:53:41 +01:00
|
|
|
),
|
|
|
|
end: (
|
2022-12-06 09:51:13 +01:00
|
|
|
7,
|
|
|
|
4,
|
2022-12-05 17:53:41 +01:00
|
|
|
),
|
2022-12-06 09:33:29 +01:00
|
|
|
name: Identifier {
|
|
|
|
start: (
|
|
|
|
3,
|
|
|
|
10,
|
2022-12-02 23:16:27 +01:00
|
|
|
),
|
2022-12-06 09:33:29 +01:00
|
|
|
name: "foo",
|
|
|
|
end: (
|
|
|
|
3,
|
|
|
|
13,
|
2022-12-02 23:16:27 +01:00
|
|
|
),
|
|
|
|
},
|
2022-12-06 09:33:29 +01:00
|
|
|
attributes: [],
|
|
|
|
parameters: FunctionParameterList {
|
|
|
|
start: (
|
|
|
|
3,
|
|
|
|
13,
|
2022-12-02 23:16:27 +01:00
|
|
|
),
|
2022-12-06 09:33:29 +01:00
|
|
|
end: (
|
|
|
|
7,
|
|
|
|
3,
|
|
|
|
),
|
|
|
|
members: [
|
|
|
|
FunctionParameter {
|
|
|
|
start: (
|
|
|
|
4,
|
|
|
|
5,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
4,
|
|
|
|
14,
|
|
|
|
),
|
|
|
|
name: Variable {
|
|
|
|
start: (
|
|
|
|
4,
|
|
|
|
12,
|
|
|
|
),
|
|
|
|
name: "a",
|
|
|
|
end: (
|
|
|
|
4,
|
|
|
|
14,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
attributes: [],
|
|
|
|
type: Some(
|
|
|
|
String,
|
|
|
|
),
|
|
|
|
variadic: false,
|
|
|
|
default: None,
|
|
|
|
by_ref: false,
|
|
|
|
},
|
|
|
|
FunctionParameter {
|
|
|
|
start: (
|
|
|
|
5,
|
|
|
|
5,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
5,
|
|
|
|
13,
|
|
|
|
),
|
|
|
|
name: Variable {
|
|
|
|
start: (
|
|
|
|
5,
|
|
|
|
9,
|
|
|
|
),
|
|
|
|
name: "bar",
|
|
|
|
end: (
|
|
|
|
5,
|
|
|
|
13,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
attributes: [],
|
|
|
|
type: Some(
|
|
|
|
Integer,
|
|
|
|
),
|
|
|
|
variadic: false,
|
|
|
|
default: None,
|
|
|
|
by_ref: false,
|
|
|
|
},
|
|
|
|
FunctionParameter {
|
|
|
|
start: (
|
|
|
|
6,
|
|
|
|
5,
|
|
|
|
),
|
|
|
|
end: (
|
|
|
|
6,
|
|
|
|
15,
|
|
|
|
),
|
|
|
|
name: Variable {
|
|
|
|
start: (
|
|
|
|
6,
|
|
|
|
11,
|
|
|
|
),
|
|
|
|
name: "baz",
|
|
|
|
end: (
|
|
|
|
6,
|
|
|
|
15,
|
|
|
|
),
|
|
|
|
},
|
|
|
|
attributes: [],
|
|
|
|
type: Some(
|
|
|
|
Float,
|
|
|
|
),
|
|
|
|
variadic: false,
|
|
|
|
default: None,
|
|
|
|
by_ref: false,
|
|
|
|
},
|
|
|
|
],
|
2022-12-02 23:16:27 +01:00
|
|
|
},
|
2022-12-06 09:33:29 +01:00
|
|
|
return_type: None,
|
|
|
|
by_ref: false,
|
|
|
|
body: [],
|
|
|
|
},
|
|
|
|
),
|
2022-12-02 23:16:27 +01:00
|
|
|
]
|