mirror of
https://github.com/danog/parser.git
synced 2024-11-27 04:14:55 +01:00
30 lines
648 B
Plaintext
30 lines
648 B
Plaintext
|
[
|
||
|
Function {
|
||
|
name: Identifier {
|
||
|
name: "foo",
|
||
|
},
|
||
|
params: [
|
||
|
Param {
|
||
|
name: Variable {
|
||
|
name: "b",
|
||
|
},
|
||
|
type: Some(
|
||
|
Union(
|
||
|
[
|
||
|
Integer,
|
||
|
Float,
|
||
|
],
|
||
|
),
|
||
|
),
|
||
|
variadic: false,
|
||
|
default: None,
|
||
|
flags: [],
|
||
|
by_ref: false,
|
||
|
},
|
||
|
],
|
||
|
body: [],
|
||
|
return_type: None,
|
||
|
by_ref: false,
|
||
|
},
|
||
|
]
|