parser/tests/fixtures/0057/ast.txt

85 lines
2.6 KiB
Plaintext
Raw Normal View History

[
Function {
name: Identifier {
start: (
1,
16,
),
name: "foo",
end: (
1,
19,
),
},
attributes: [],
params: [
Param {
name: Variable {
start: (
1,
32,
),
name: "b",
end: (
1,
34,
),
},
attributes: [],
type: Some(
Intersection(
[
Identifier(
Identifier {
start: (
1,
20,
),
name: "Foo",
end: (
1,
23,
),
},
),
Identifier(
Identifier {
start: (
1,
24,
),
name: "Bar",
end: (
1,
27,
),
},
),
Identifier(
Identifier {
start: (
1,
28,
),
name: "Baz",
end: (
1,
32,
),
},
),
],
),
),
variadic: false,
default: None,
flags: [],
by_ref: false,
},
],
body: [],
return_type: None,
by_ref: false,
},
]