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

30 lines
689 B
Plaintext

[
Function {
name: Identifier {
name: "foo",
},
attributes: [],
params: [],
body: [
Static {
vars: [
StaticVar {
var: Variable {
name: "a",
},
default: None,
},
StaticVar {
var: Variable {
name: "b",
},
default: None,
},
],
},
],
return_type: None,
by_ref: false,
},
]