parser/tests/fixtures/0051/ast.txt

70 lines
1.8 KiB
Plaintext
Raw Normal View History

[
Function(
Function {
start: (
1,
7,
),
end: (
1,
37,
),
name: Identifier {
start: (
1,
16,
),
name: "foo",
end: (
1,
19,
),
},
attributes: [],
parameters: FunctionParameterList {
start: (
1,
19,
),
end: (
1,
36,
),
members: [
FunctionParameter {
start: (
1,
20,
),
end: (
1,
34,
),
name: Variable {
start: (
1,
30,
),
name: "bar",
end: (
1,
34,
),
},
attributes: [],
type: Some(
String,
),
variadic: true,
default: None,
by_ref: false,
},
],
},
return_type: None,
by_ref: false,
body: [],
},
),
]