mirror of
https://github.com/danog/parser.git
synced 2025-01-07 05:08:23 +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,
|
||
|
},
|
||
|
]
|