parser/tests/0176/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

53 lines
1.2 KiB
Plaintext

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