mirror of
https://github.com/danog/parser.git
synced 2024-12-03 09:57:45 +01:00
6a6d4d0e5f
Signed-off-by: azjezz <azjezz@protonmail.com>
65 lines
2.0 KiB
Plaintext
65 lines
2.0 KiB
Plaintext
[
|
|
Expression {
|
|
expr: Closure(
|
|
Closure {
|
|
start: (
|
|
3,
|
|
1,
|
|
),
|
|
end: (
|
|
5,
|
|
1,
|
|
),
|
|
attributes: [],
|
|
parameters: FunctionParameterList {
|
|
start: (
|
|
3,
|
|
10,
|
|
),
|
|
end: (
|
|
3,
|
|
13,
|
|
),
|
|
members: [],
|
|
},
|
|
return_ty: None,
|
|
uses: [],
|
|
by_ref: false,
|
|
body: [
|
|
If {
|
|
condition: Variable(
|
|
SimpleVariable(
|
|
SimpleVariable {
|
|
span: (
|
|
4,
|
|
9,
|
|
),
|
|
name: "foo",
|
|
},
|
|
),
|
|
),
|
|
then: [
|
|
Expression {
|
|
expr: Variable(
|
|
SimpleVariable(
|
|
SimpleVariable {
|
|
span: (
|
|
4,
|
|
15,
|
|
),
|
|
name: "bar",
|
|
},
|
|
),
|
|
),
|
|
},
|
|
],
|
|
else_ifs: [],
|
|
else: None,
|
|
},
|
|
],
|
|
static: false,
|
|
},
|
|
),
|
|
},
|
|
]
|