Debian Codegraph @

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

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