Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":8,"index":32}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":8,"index":32}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "BlockStatement",
12 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":8,"index":32}},
13 "body": [
14 {
15 "type": "ThrowStatement",
16 "start":2,"end":13,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":13,"index":13}},
17 "argument": {
18 "type": "Identifier",
19 "start":8,"end":13,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":13,"index":13},"identifierName":"error"},
20 "name": "error"
21 },
22 "trailingComments": [
23 {
24 "type": "CommentLine",
25 "value": " Comment",
26 "start":13,"end":23,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":23,"index":23}}
27 }
28 ]
29 },
30 {
31 "type": "ExpressionStatement",
32 "start":24,"end":30,"loc":{"start":{"line":2,"column":0,"index":24},"end":{"line":2,"column":6,"index":30}},
33 "expression": {
34 "type": "Identifier",
35 "start":24,"end":29,"loc":{"start":{"line":2,"column":0,"index":24},"end":{"line":2,"column":5,"index":29},"identifierName":"error"},
36 "name": "error"
37 },
38 "leadingComments": [
39 {
40 "type": "CommentLine",
41 "value": " Comment",
42 "start":13,"end":23,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":23,"index":23}}
43 }
44 ]
45 }
46 ],
47 "directives": []
48 }
49 ],
50 "directives": []
51 },
52 "comments": [
53 {
54 "type": "CommentLine",
55 "value": " Comment",
56 "start":13,"end":23,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":23,"index":23}}
57 }
58 ]
59 }