parser/tests/fixtures/0176/ast.txt

85 lines
2.0 KiB
Plaintext
Raw Normal View History

2022-12-02 23:16:27 +01:00
[
Function {
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: [],
2022-12-02 23:16:27 +01:00
params: [
Param {
name: Variable {
start: (
4,
12,
),
2022-12-02 23:16:27 +01:00
name: "a",
end: (
4,
14,
),
2022-12-02 23:16:27 +01:00
},
attributes: [],
2022-12-02 23:16:27 +01:00
type: Some(
String,
),
variadic: false,
default: None,
flags: [],
by_ref: false,
},
Param {
name: Variable {
start: (
5,
9,
),
2022-12-02 23:16:27 +01:00
name: "bar",
end: (
5,
13,
),
2022-12-02 23:16:27 +01:00
},
attributes: [],
2022-12-02 23:16:27 +01:00
type: Some(
Integer,
),
variadic: false,
default: None,
flags: [],
by_ref: false,
},
Param {
name: Variable {
start: (
6,
11,
),
2022-12-02 23:16:27 +01:00
name: "baz",
end: (
6,
15,
),
2022-12-02 23:16:27 +01:00
},
attributes: [],
2022-12-02 23:16:27 +01:00
type: Some(
Float,
),
variadic: false,
default: None,
flags: [],
by_ref: false,
},
],
body: [],
return_type: None,
by_ref: false,
},
]