Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":4,"index":16}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":4,"index":16}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":4,"index":16}},
13 "expression": {
14 "type": "BinaryExpression",
15 "start":0,"end":16,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":4,"index":16}},
16 "left": {
17 "type": "Identifier",
18 "start":0,"end":3,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":3,"index":3},"identifierName":"foo"},
19 "name": "foo",
20 "trailingComments": [
21 {
22 "type": "CommentLine",
23 "value": "bar",
24 "start":4,"end":11,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":11,"index":11}}
25 }
26 ]
27 },
28 "operator": "+",
29 "right": {
30 "type": "Identifier",
31 "start":13,"end":16,"loc":{"start":{"line":2,"column":1,"index":13},"end":{"line":2,"column":4,"index":16},"identifierName":"baz"},
32 "name": "baz"
33 }
34 }
35 }
36 ],
37 "directives": []
38 },
39 "comments": [
40 {
41 "type": "CommentLine",
42 "value": "bar",
43 "start":4,"end":11,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":11,"index":11}}
44 }
45 ]
46 }