parser/tests/0051/ast.txt
Saif Eddin Gmati b6c145f98e
fix: attributes support (#155)
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-04 16:12:23 +01:00

27 lines
558 B
Plaintext

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