Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":2,"index":39}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":4,"column":2,"index":39}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":37,"end":39,"loc":{"start":{"line":4,"column":0,"index":37},"end":{"line":4,"column":2,"index":39}},
13 "expression": {
14 "type": "NumericLiteral",
15 "start":37,"end":39,"loc":{"start":{"line":4,"column":0,"index":37},"end":{"line":4,"column":2,"index":39}},
16 "extra": {
17 "rawValue": 42,
18 "raw": "42"
19 },
20 "value": 42
21 },
22 "leadingComments": [
23 {
24 "type": "CommentLine",
25 "value": " Hello, world!",
26 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":16,"index":16}}
27 },
28 {
29 "type": "CommentLine",
30 "value": " Another hello",
31 "start":18,"end":36,"loc":{"start":{"line":3,"column":0,"index":18},"end":{"line":3,"column":18,"index":36}}
32 }
33 ]
34 }
35 ],
36 "directives": []
37 },
38 "comments": [
39 {
40 "type": "CommentLine",
41 "value": " Hello, world!",
42 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":16,"index":16}}
43 },
44 {
45 "type": "CommentLine",
46 "value": " Another hello",
47 "start":18,"end":36,"loc":{"start":{"line":3,"column":0,"index":18},"end":{"line":3,"column":18,"index":36}}
48 }
49 ]
50 }