mirror of
https://github.com/danog/parser.git
synced 2024-11-27 04:14:55 +01:00
97 lines
2.1 KiB
Plaintext
97 lines
2.1 KiB
Plaintext
|
[
|
||
|
Try {
|
||
|
body: [],
|
||
|
catches: [
|
||
|
Catch {
|
||
|
types: Identifier(
|
||
|
Identifier {
|
||
|
name: "Exception",
|
||
|
},
|
||
|
),
|
||
|
var: Some(
|
||
|
Variable {
|
||
|
name: "e",
|
||
|
},
|
||
|
),
|
||
|
body: [],
|
||
|
},
|
||
|
Catch {
|
||
|
types: Identifier(
|
||
|
Identifier {
|
||
|
name: "CustomException",
|
||
|
},
|
||
|
),
|
||
|
var: Some(
|
||
|
Variable {
|
||
|
name: "e",
|
||
|
},
|
||
|
),
|
||
|
body: [],
|
||
|
},
|
||
|
],
|
||
|
finally: None,
|
||
|
},
|
||
|
Try {
|
||
|
body: [],
|
||
|
catches: [
|
||
|
Catch {
|
||
|
types: Identifier(
|
||
|
Identifier {
|
||
|
name: "Exception",
|
||
|
},
|
||
|
),
|
||
|
var: Some(
|
||
|
Variable {
|
||
|
name: "e",
|
||
|
},
|
||
|
),
|
||
|
body: [],
|
||
|
},
|
||
|
],
|
||
|
finally: Some(
|
||
|
[],
|
||
|
),
|
||
|
},
|
||
|
Try {
|
||
|
body: [],
|
||
|
catches: [],
|
||
|
finally: Some(
|
||
|
[],
|
||
|
),
|
||
|
},
|
||
|
Try {
|
||
|
body: [],
|
||
|
catches: [
|
||
|
Catch {
|
||
|
types: Identifier(
|
||
|
Identifier {
|
||
|
name: "Exception",
|
||
|
},
|
||
|
),
|
||
|
var: None,
|
||
|
body: [],
|
||
|
},
|
||
|
],
|
||
|
finally: None,
|
||
|
},
|
||
|
Try {
|
||
|
body: [],
|
||
|
catches: [
|
||
|
Catch {
|
||
|
types: Identifier(
|
||
|
Identifier {
|
||
|
name: "Exception",
|
||
|
},
|
||
|
),
|
||
|
var: Some(
|
||
|
Variable {
|
||
|
name: "e",
|
||
|
},
|
||
|
),
|
||
|
body: [],
|
||
|
},
|
||
|
],
|
||
|
finally: None,
|
||
|
},
|
||
|
]
|