mirror of
https://github.com/danog/parser.git
synced 2025-01-10 06:38:30 +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,
|
|
},
|
|
]
|