parser/tests/fixtures/0024/ast.txt

177 lines
4.6 KiB
Plaintext
Raw Normal View History

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