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>
68 lines
1.7 KiB
Plaintext
68 lines
1.7 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: [
|
|
Global {
|
|
vars: [
|
|
Variable {
|
|
start: (
|
|
4,
|
|
12,
|
|
),
|
|
name: "a",
|
|
end: (
|
|
4,
|
|
14,
|
|
),
|
|
},
|
|
Variable {
|
|
start: (
|
|
4,
|
|
16,
|
|
),
|
|
name: "b",
|
|
end: (
|
|
4,
|
|
18,
|
|
),
|
|
},
|
|
],
|
|
},
|
|
],
|
|
},
|
|
),
|
|
]
|