mirror of
https://github.com/danog/parser.git
synced 2024-12-12 09:09:37 +01:00
eed02aa4e2
Signed-off-by: azjezz <azjezz@protonmail.com>
126 lines
3.6 KiB
Plaintext
126 lines
3.6 KiB
Plaintext
[
|
|
Function(
|
|
Function {
|
|
start: (
|
|
3,
|
|
1,
|
|
),
|
|
end: (
|
|
7,
|
|
4,
|
|
),
|
|
name: Identifier {
|
|
start: (
|
|
3,
|
|
10,
|
|
),
|
|
name: "foo",
|
|
end: (
|
|
3,
|
|
13,
|
|
),
|
|
},
|
|
attributes: [],
|
|
parameters: FunctionParameterList {
|
|
start: (
|
|
3,
|
|
13,
|
|
),
|
|
end: (
|
|
7,
|
|
3,
|
|
),
|
|
members: [
|
|
FunctionParameter {
|
|
start: (
|
|
4,
|
|
5,
|
|
),
|
|
end: (
|
|
4,
|
|
14,
|
|
),
|
|
name: Variable {
|
|
start: (
|
|
4,
|
|
12,
|
|
),
|
|
name: "a",
|
|
end: (
|
|
4,
|
|
14,
|
|
),
|
|
},
|
|
attributes: [],
|
|
type: Some(
|
|
String,
|
|
),
|
|
variadic: false,
|
|
default: None,
|
|
by_ref: false,
|
|
},
|
|
FunctionParameter {
|
|
start: (
|
|
5,
|
|
5,
|
|
),
|
|
end: (
|
|
5,
|
|
13,
|
|
),
|
|
name: Variable {
|
|
start: (
|
|
5,
|
|
9,
|
|
),
|
|
name: "bar",
|
|
end: (
|
|
5,
|
|
13,
|
|
),
|
|
},
|
|
attributes: [],
|
|
type: Some(
|
|
Integer,
|
|
),
|
|
variadic: false,
|
|
default: None,
|
|
by_ref: false,
|
|
},
|
|
FunctionParameter {
|
|
start: (
|
|
6,
|
|
5,
|
|
),
|
|
end: (
|
|
7,
|
|
1,
|
|
),
|
|
name: Variable {
|
|
start: (
|
|
6,
|
|
11,
|
|
),
|
|
name: "baz",
|
|
end: (
|
|
7,
|
|
1,
|
|
),
|
|
},
|
|
attributes: [],
|
|
type: Some(
|
|
Float,
|
|
),
|
|
variadic: false,
|
|
default: None,
|
|
by_ref: false,
|
|
},
|
|
],
|
|
},
|
|
return_type: None,
|
|
by_ref: false,
|
|
body: [],
|
|
},
|
|
),
|
|
]
|