mirror of
https://github.com/danog/parser.git
synced 2025-01-09 22:28:33 +01:00
32 lines
723 B
Plaintext
32 lines
723 B
Plaintext
|
[
|
||
|
Function {
|
||
|
name: Identifier {
|
||
|
name: "foo",
|
||
|
},
|
||
|
params: [
|
||
|
Param {
|
||
|
name: Variable {
|
||
|
name: "b",
|
||
|
},
|
||
|
type: Some(
|
||
|
Union(
|
||
|
[
|
||
|
String,
|
||
|
Array,
|
||
|
Iterable,
|
||
|
Callable,
|
||
|
],
|
||
|
),
|
||
|
),
|
||
|
variadic: false,
|
||
|
default: None,
|
||
|
flags: [],
|
||
|
by_ref: false,
|
||
|
},
|
||
|
],
|
||
|
body: [],
|
||
|
return_type: None,
|
||
|
by_ref: false,
|
||
|
},
|
||
|
]
|