parser/tests/fixtures/0050/ast.txt
Saif Eddin Gmati 9a2a903fb9
chore: refactor ast (#162)
Signed-off-by: azjezz <azjezz@protonmail.com>
2022-12-06 09:33:29 +01:00

68 lines
1.7 KiB
Plaintext

[
Function(
Function {
start: (
1,
7,
),
end: (
0,
0,
),
name: Identifier {
start: (
1,
16,
),
name: "foo",
end: (
1,
19,
),
},
attributes: [],
parameters: FunctionParameterList {
start: (
1,
19,
),
end: (
1,
29,
),
members: [
FunctionParameter {
start: (
1,
20,
),
end: (
1,
27,
),
name: Variable {
start: (
1,
23,
),
name: "bar",
end: (
1,
27,
),
},
attributes: [],
type: None,
variadic: true,
default: None,
by_ref: false,
},
],
},
return_type: None,
by_ref: false,
body: [],
},
),
]