parser/tests/fixtures/0189/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: (
3,
1,
),
end: (
0,
0,
),
name: Identifier {
start: (
3,
10,
),
name: "foo",
end: (
3,
13,
),
},
attributes: [],
parameters: FunctionParameterList {
start: (
3,
13,
),
end: (
3,
16,
),
members: [],
},
return_type: None,
by_ref: false,
body: [
Global {
vars: [
Variable {
start: (
4,
12,
),
name: "a",
end: (
4,
14,
),
},
Variable {
start: (
4,
16,
),
name: "b",
end: (
4,
18,
),
},
],
},
],
},
),
]