parser/tests/fixtures/0024/ast.txt

259 lines
6.9 KiB
Plaintext
Raw Normal View History

[
Try(
TryBlock {
start: (
3,
1,
),
end: (
11,
1,
),
body: [],
catches: [
CatchBlock {
start: (
5,
3,
),
end: (
7,
3,
),
types: Identifier(
SimpleIdentifier {
span: (
5,
10,
),
name: "Exception",
},
),
var: Some(
Variable(
SimpleVariable(
SimpleVariable {
span: (
5,
20,
),
name: "e",
},
),
),
),
body: [],
},
CatchBlock {
start: (
7,
3,
),
end: (
11,
1,
),
types: Identifier(
SimpleIdentifier {
span: (
7,
10,
),
name: "CustomException",
},
),
var: Some(
Variable(
SimpleVariable(
SimpleVariable {
span: (
7,
26,
),
name: "e",
},
),
),
),
body: [],
},
],
finally: None,
},
),
Try(
TryBlock {
start: (
11,
1,
),
end: (
19,
1,
),
body: [],
catches: [
CatchBlock {
start: (
13,
3,
),
end: (
15,
3,
),
types: Identifier(
SimpleIdentifier {
span: (
13,
10,
),
name: "Exception",
},
),
var: Some(
Variable(
SimpleVariable(
SimpleVariable {
span: (
13,
20,
),
name: "e",
},
),
),
),
body: [],
},
],
finally: Some(
FinallyBlock {
start: (
15,
3,
),
end: (
19,
1,
),
body: [],
},
),
},
),
Try(
TryBlock {
start: (
19,
1,
),
end: (
23,
1,
),
body: [],
catches: [],
finally: Some(
FinallyBlock {
start: (
21,
3,
),
end: (
23,
1,
),
body: [],
},
),
},
),
Try(
TryBlock {
start: (
23,
1,
),
end: (
29,
1,
),
body: [],
catches: [
CatchBlock {
start: (
25,
3,
),
end: (
29,
1,
),
types: Identifier(
SimpleIdentifier {
span: (
25,
10,
),
name: "Exception",
},
),
var: None,
body: [],
},
],
finally: None,
},
),
Try(
TryBlock {
start: (
29,
1,
),
end: (
0,
0,
),
body: [],
catches: [
CatchBlock {
start: (
31,
3,
),
end: (
0,
0,
),
types: Identifier(
SimpleIdentifier {
span: (
31,
10,
),
name: "Exception",
},
),
var: Some(
Variable(
SimpleVariable(
SimpleVariable {
span: (
31,
20,
),
name: "e",
},
),
),
),
body: [],
},
],
finally: None,
},
),
]