parser/tests/0024/ast.txt

97 lines
2.1 KiB
Plaintext
Raw Normal View History

[
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,
},
]