mirror of
https://github.com/danog/parser.git
synced 2024-11-26 20:04:57 +01:00
558ce71563
Co-authored-by: Ryan Chandler <ryangjchandler@gmail.com> closes https://github.com/ryangjchandler/php-parser-rs/issues/130
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,
|
|
},
|
|
]
|