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

47 lines
1.1 KiB
Plaintext

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