parser/tests/fixtures/0177/ast.txt

126 lines
3.6 KiB
Plaintext
Raw Normal View History

2022-12-02 23:16:27 +01:00
[
Function(
Function {
start: (
3,
1,
),
end: (
0,
0,
),
name: Identifier {
start: (
3,
10,
2022-12-02 23:16:27 +01:00
),
name: "foo",
end: (
3,
13,
2022-12-02 23:16:27 +01:00
),
},
attributes: [],
parameters: FunctionParameterList {
start: (
3,
13,
2022-12-02 23:16:27 +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: (
7,
1,
),
name: Variable {
start: (
6,
11,
),
name: "baz",
end: (
7,
1,
),
},
attributes: [],
type: Some(
Float,
),
variadic: false,
default: None,
by_ref: false,
},
],
2022-12-02 23:16:27 +01:00
},
return_type: None,
by_ref: false,
body: [],
},
),
2022-12-02 23:16:27 +01:00
]