Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":12,"index":24}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":12,"index":24}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":11,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":11,"index":11}},
13 "expression": {
14 "type": "AssignmentExpression",
15 "start":0,"end":10,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":10,"index":10}},
16 "operator": "=",
17 "left": {
18 "type": "Identifier",
19 "start":0,"end":1,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":1,"index":1},"identifierName":"x"},
20 "name": "x"
21 },
22 "right": {
23 "type": "BinaryExpression",
24 "start":4,"end":10,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":10,"index":10}},
25 "left": {
26 "type": "UpdateExpression",
27 "start":4,"end":7,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":7,"index":7}},
28 "operator": "--",
29 "prefix": false,
30 "argument": {
31 "type": "Identifier",
32 "start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"y"},
33 "name": "y"
34 }
35 },
36 "operator": ">",
37 "right": {
38 "type": "NumericLiteral",
39 "start":8,"end":10,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":10,"index":10}},
40 "extra": {
41 "rawValue": 10,
42 "raw": "10"
43 },
44 "value": 10
45 }
46 }
47 },
48 "trailingComments": [
49 {
50 "type": "CommentLine",
51 "value": " nothing",
52 "start":13,"end":24,"loc":{"start":{"line":2,"column":1,"index":13},"end":{"line":2,"column":12,"index":24}}
53 }
54 ]
55 }
56 ],
57 "directives": []
58 },
59 "comments": [
60 {
61 "type": "CommentLine",
62 "value": " nothing",
63 "start":13,"end":24,"loc":{"start":{"line":2,"column":1,"index":13},"end":{"line":2,"column":12,"index":24}}
64 }
65 ]
66 }