Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/let/let-block-with-newline/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":39}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":39}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "IfStatement",
12 "start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":1,"index":39}},
13 "test": {
14 "type": "BooleanLiteral",
15 "start":4,"end":9,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":9,"index":9}},
16 "value": false
17 },
18 "consequent": {
19 "type": "BlockStatement",
20 "start":11,"end":39,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":4,"column":1,"index":39}},
21 "body": [
22 {
23 "type": "LabeledStatement",
24 "start":17,"end":23,"loc":{"start":{"line":2,"column":4,"index":17},"end":{"line":2,"column":10,"index":23}},
25 "body": {
26 "type": "ExpressionStatement",
27 "start":20,"end":23,"loc":{"start":{"line":2,"column":7,"index":20},"end":{"line":2,"column":10,"index":23}},
28 "expression": {
29 "type": "Identifier",
30 "start":20,"end":23,"loc":{"start":{"line":2,"column":7,"index":20},"end":{"line":2,"column":10,"index":23},"identifierName":"let"},
31 "name": "let"
32 }
33 },
34 "label": {
35 "type": "Identifier",
36 "start":17,"end":18,"loc":{"start":{"line":2,"column":4,"index":17},"end":{"line":2,"column":5,"index":18},"identifierName":"L"},
37 "name": "L"
38 },
39 "trailingComments": [
40 {
41 "type": "CommentLine",
42 "value": " ASI",
43 "start":24,"end":30,"loc":{"start":{"line":2,"column":11,"index":24},"end":{"line":2,"column":17,"index":30}}
44 }
45 ]
46 },
47 {
48 "type": "BlockStatement",
49 "start":35,"end":37,"loc":{"start":{"line":3,"column":4,"index":35},"end":{"line":3,"column":6,"index":37}},
50 "body": [],
51 "directives": [],
52 "leadingComments": [
53 {
54 "type": "CommentLine",
55 "value": " ASI",
56 "start":24,"end":30,"loc":{"start":{"line":2,"column":11,"index":24},"end":{"line":2,"column":17,"index":30}}
57 }
58 ]
59 }
60 ],
61 "directives": []
62 },
63 "alternate": null
64 }
65 ],
66 "directives": []
67 },
68 "comments": [
69 {
70 "type": "CommentLine",
71 "value": " ASI",
72 "start":24,"end":30,"loc":{"start":{"line":2,"column":11,"index":24},"end":{"line":2,"column":17,"index":30}}
73 }
74 ]
75 }