Debian Codegraph @

packages/babel-parser/test/fixtures/core/uncategorised/281/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "TryStatement",
12 "start":0,"end":38,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":38,"index":38}},
13 "block": {
14 "type": "BlockStatement",
15 "start":4,"end":17,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":17,"index":17}},
16 "body": [
17 {
18 "type": "ExpressionStatement",
19 "start":6,"end":15,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":15,"index":15}},
20 "expression": {
21 "type": "CallExpression",
22 "start":6,"end":14,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":14,"index":14}},
23 "callee": {
24 "type": "Identifier",
25 "start":6,"end":12,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":12,"index":12},"identifierName":"doThat"},
26 "name": "doThat"
27 },
28 "arguments": []
29 }
30 }
31 ],
32 "directives": []
33 },
34 "handler": {
35 "type": "CatchClause",
36 "start":18,"end":38,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":38,"index":38}},
37 "param": {
38 "type": "Identifier",
39 "start":25,"end":26,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":26,"index":26},"identifierName":"e"},
40 "name": "e"
41 },
42 "body": {
43 "type": "BlockStatement",
44 "start":28,"end":38,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":38,"index":38}},
45 "body": [
46 {
47 "type": "ExpressionStatement",
48 "start":30,"end":36,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":36,"index":36}},
49 "expression": {
50 "type": "CallExpression",
51 "start":30,"end":36,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":36,"index":36}},
52 "callee": {
53 "type": "Identifier",
54 "start":30,"end":33,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":33,"index":33},"identifierName":"say"},
55 "name": "say"
56 },
57 "arguments": [
58 {
59 "type": "Identifier",
60 "start":34,"end":35,"loc":{"start":{"line":1,"column":34,"index":34},"end":{"line":1,"column":35,"index":35},"identifierName":"e"},
61 "name": "e"
62 }
63 ]
64 }
65 }
66 ],
67 "directives": []
68 }
69 },
70 "finalizer": null
71 }
72 ],
73 "directives": []
74 }
75 }