mirror of
https://github.com/danog/parser.git
synced 2024-12-15 10:26:56 +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,
|
||
|
},
|
||
|
]
|