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

32 lines
704 B
Plaintext

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