Debian Codegraph @

packages/babel-parser/test/fixtures/estree/directives/interleaved-comments/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":39,"loc":{"start":{"line":1,"column":0},"end":{"line":4,"column":13}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":39,"loc":{"start":{"line":1,"column":0},"end":{"line":4,"column":13}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":6,"end":19,"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":13}},
13 "trailingComments": [
14 {
15 "type": "CommentLine",
16 "value": " 2;",
17 "start":20,"end":25,"loc":{"start":{"line":3,"column":0,"index":20},"end":{"line":3,"column":5,"index":25}}
18 }
19 ],
20 "leadingComments": [
21 {
22 "type": "CommentLine",
23 "value": " 1;",
24 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}}
25 }
26 ],
27 "directive": "use strict",
28 "expression": {
29 "type": "Literal",
30 "start":6,"end":18,"loc":{"start":{"line":2,"column":0},"end":{"line":2,"column":12}},
31 "value": "use strict",
32 "raw": "\"use strict\""
33 }
34 },
35 {
36 "type": "ExpressionStatement",
37 "start":26,"end":39,"loc":{"start":{"line":4,"column":0},"end":{"line":4,"column":13}},
38 "leadingComments": [
39 {
40 "type": "CommentLine",
41 "value": " 2;",
42 "start":20,"end":25,"loc":{"start":{"line":3,"column":0,"index":20},"end":{"line":3,"column":5,"index":25}}
43 }
44 ],
45 "directive": "use strict",
46 "expression": {
47 "type": "Literal",
48 "start":26,"end":38,"loc":{"start":{"line":4,"column":0},"end":{"line":4,"column":12}},
49 "value": "use strict",
50 "raw": "\"use strict\""
51 }
52 }
53 ]
54 },
55 "comments": [
56 {
57 "type": "CommentLine",
58 "value": " 1;",
59 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}}
60 },
61 {
62 "type": "CommentLine",
63 "value": " 2;",
64 "start":20,"end":25,"loc":{"start":{"line":3,"column":0,"index":20},"end":{"line":3,"column":5,"index":25}}
65 }
66 ]
67 }