parser/tests/0177/ast.txt
2022-12-04 08:56:53 +00:00

49 lines
1.1 KiB
Plaintext

[
Function {
name: Identifier {
name: "foo",
},
params: [
Param {
name: Variable {
name: "a",
},
type: Some(
String,
),
variadic: false,
default: None,
flags: [],
by_ref: false,
},
Param {
name: Variable {
name: "bar",
},
type: Some(
Integer,
),
variadic: false,
default: None,
flags: [],
by_ref: false,
},
Param {
name: Variable {
name: "baz",
},
type: Some(
Float,
),
variadic: false,
default: None,
flags: [],
by_ref: false,
},
],
body: [],
return_type: None,
by_ref: false,
},
]