parser/tests/fixtures/0056/ast.txt
2022-12-06 09:51:13 +01:00

99 lines
3.1 KiB
Plaintext

[
Function(
Function {
start: (
1,
7,
),
end: (
1,
33,
),
name: Identifier {
start: (
1,
16,
),
name: "foo",
end: (
1,
19,
),
},
attributes: [],
parameters: FunctionParameterList {
start: (
1,
19,
),
end: (
1,
32,
),
members: [
FunctionParameter {
start: (
1,
20,
),
end: (
1,
30,
),
name: Variable {
start: (
1,
28,
),
name: "b",
end: (
1,
30,
),
},
attributes: [],
type: Some(
Intersection(
[
Identifier(
Identifier {
start: (
1,
20,
),
name: "Foo",
end: (
1,
23,
),
},
),
Identifier(
Identifier {
start: (
1,
24,
),
name: "Bar",
end: (
1,
28,
),
},
),
],
),
),
variadic: false,
default: None,
by_ref: false,
},
],
},
return_type: None,
by_ref: false,
body: [],
},
),
]