mirror of
https://github.com/danog/parser.git
synced 2024-12-13 09:37:18 +01:00
9a2a903fb9
Signed-off-by: azjezz <azjezz@protonmail.com>
68 lines
1.7 KiB
Plaintext
68 lines
1.7 KiB
Plaintext
[
|
|
Function(
|
|
Function {
|
|
start: (
|
|
3,
|
|
1,
|
|
),
|
|
end: (
|
|
0,
|
|
0,
|
|
),
|
|
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: [
|
|
Global {
|
|
vars: [
|
|
Variable {
|
|
start: (
|
|
4,
|
|
12,
|
|
),
|
|
name: "a",
|
|
end: (
|
|
4,
|
|
14,
|
|
),
|
|
},
|
|
Variable {
|
|
start: (
|
|
4,
|
|
16,
|
|
),
|
|
name: "b",
|
|
end: (
|
|
4,
|
|
18,
|
|
),
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
),
|
|
]
|