parser/tests/0176/ast.txt

53 lines
1.2 KiB
Plaintext
Raw Normal View History

2022-12-02 23:16:27 +01:00
[
Function {
name: Identifier {
name: "foo",
},
attributes: [],
2022-12-02 23:16:27 +01:00
params: [
Param {
name: Variable {
name: "a",
},
attributes: [],
2022-12-02 23:16:27 +01:00
type: Some(
String,
),
variadic: false,
default: None,
flags: [],
by_ref: false,
},
Param {
name: Variable {
name: "bar",
},
attributes: [],
2022-12-02 23:16:27 +01:00
type: Some(
Integer,
),
variadic: false,
default: None,
flags: [],
by_ref: false,
},
Param {
name: Variable {
name: "baz",
},
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,
},
]