mirror of
https://github.com/danog/parser.git
synced 2024-12-02 09:27:50 +01:00
43 lines
1.2 KiB
Plaintext
43 lines
1.2 KiB
Plaintext
[
|
|
Function {
|
|
name: Identifier {
|
|
name: "foo",
|
|
},
|
|
params: [
|
|
Param {
|
|
name: Variable {
|
|
name: "b",
|
|
},
|
|
type: Some(
|
|
Intersection(
|
|
[
|
|
Identifier(
|
|
Identifier {
|
|
name: "Foo",
|
|
},
|
|
),
|
|
Identifier(
|
|
Identifier {
|
|
name: "Bar",
|
|
},
|
|
),
|
|
Identifier(
|
|
Identifier {
|
|
name: "Baz",
|
|
},
|
|
),
|
|
],
|
|
),
|
|
),
|
|
variadic: false,
|
|
default: None,
|
|
flags: [],
|
|
by_ref: false,
|
|
},
|
|
],
|
|
body: [],
|
|
return_type: None,
|
|
by_ref: false,
|
|
},
|
|
]
|