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