mirror of
https://github.com/danog/parser.git
synced 2024-12-13 09:37:18 +01:00
eed02aa4e2
Signed-off-by: azjezz <azjezz@protonmail.com>
74 lines
2.0 KiB
Plaintext
74 lines
2.0 KiB
Plaintext
[
|
|
Function(
|
|
Function {
|
|
start: (
|
|
3,
|
|
1,
|
|
),
|
|
end: (
|
|
5,
|
|
1,
|
|
),
|
|
name: Identifier {
|
|
start: (
|
|
3,
|
|
10,
|
|
),
|
|
name: "foo",
|
|
end: (
|
|
3,
|
|
13,
|
|
),
|
|
},
|
|
attributes: [],
|
|
parameters: FunctionParameterList {
|
|
start: (
|
|
3,
|
|
13,
|
|
),
|
|
end: (
|
|
3,
|
|
16,
|
|
),
|
|
members: [],
|
|
},
|
|
return_type: None,
|
|
by_ref: false,
|
|
body: [
|
|
Static {
|
|
vars: [
|
|
StaticVar {
|
|
var: Variable {
|
|
start: (
|
|
4,
|
|
12,
|
|
),
|
|
name: "a",
|
|
end: (
|
|
4,
|
|
14,
|
|
),
|
|
},
|
|
default: None,
|
|
},
|
|
StaticVar {
|
|
var: Variable {
|
|
start: (
|
|
4,
|
|
16,
|
|
),
|
|
name: "b",
|
|
end: (
|
|
4,
|
|
18,
|
|
),
|
|
},
|
|
default: None,
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
),
|
|
]
|