mirror of
https://github.com/danog/parser.git
synced 2024-12-02 17:38:16 +01:00
479f51913c
Signed-off-by: azjezz <azjezz@protonmail.com>
177 lines
4.6 KiB
Plaintext
177 lines
4.6 KiB
Plaintext
[
|
|
Try {
|
|
body: [],
|
|
catches: [
|
|
Catch {
|
|
types: Identifier(
|
|
Identifier {
|
|
start: (
|
|
5,
|
|
10,
|
|
),
|
|
name: "Exception",
|
|
end: (
|
|
5,
|
|
20,
|
|
),
|
|
},
|
|
),
|
|
var: Some(
|
|
Variable(
|
|
Variable {
|
|
start: (
|
|
5,
|
|
20,
|
|
),
|
|
name: "e",
|
|
end: (
|
|
5,
|
|
22,
|
|
),
|
|
},
|
|
),
|
|
),
|
|
body: [],
|
|
},
|
|
Catch {
|
|
types: Identifier(
|
|
Identifier {
|
|
start: (
|
|
7,
|
|
10,
|
|
),
|
|
name: "CustomException",
|
|
end: (
|
|
7,
|
|
26,
|
|
),
|
|
},
|
|
),
|
|
var: Some(
|
|
Variable(
|
|
Variable {
|
|
start: (
|
|
7,
|
|
26,
|
|
),
|
|
name: "e",
|
|
end: (
|
|
7,
|
|
28,
|
|
),
|
|
},
|
|
),
|
|
),
|
|
body: [],
|
|
},
|
|
],
|
|
finally: None,
|
|
},
|
|
Try {
|
|
body: [],
|
|
catches: [
|
|
Catch {
|
|
types: Identifier(
|
|
Identifier {
|
|
start: (
|
|
13,
|
|
10,
|
|
),
|
|
name: "Exception",
|
|
end: (
|
|
13,
|
|
20,
|
|
),
|
|
},
|
|
),
|
|
var: Some(
|
|
Variable(
|
|
Variable {
|
|
start: (
|
|
13,
|
|
20,
|
|
),
|
|
name: "e",
|
|
end: (
|
|
13,
|
|
22,
|
|
),
|
|
},
|
|
),
|
|
),
|
|
body: [],
|
|
},
|
|
],
|
|
finally: Some(
|
|
[],
|
|
),
|
|
},
|
|
Try {
|
|
body: [],
|
|
catches: [],
|
|
finally: Some(
|
|
[],
|
|
),
|
|
},
|
|
Try {
|
|
body: [],
|
|
catches: [
|
|
Catch {
|
|
types: Identifier(
|
|
Identifier {
|
|
start: (
|
|
25,
|
|
10,
|
|
),
|
|
name: "Exception",
|
|
end: (
|
|
25,
|
|
19,
|
|
),
|
|
},
|
|
),
|
|
var: None,
|
|
body: [],
|
|
},
|
|
],
|
|
finally: None,
|
|
},
|
|
Try {
|
|
body: [],
|
|
catches: [
|
|
Catch {
|
|
types: Identifier(
|
|
Identifier {
|
|
start: (
|
|
31,
|
|
10,
|
|
),
|
|
name: "Exception",
|
|
end: (
|
|
31,
|
|
20,
|
|
),
|
|
},
|
|
),
|
|
var: Some(
|
|
Variable(
|
|
Variable {
|
|
start: (
|
|
31,
|
|
20,
|
|
),
|
|
name: "e",
|
|
end: (
|
|
31,
|
|
22,
|
|
),
|
|
},
|
|
),
|
|
),
|
|
body: [],
|
|
},
|
|
],
|
|
finally: None,
|
|
},
|
|
]
|