Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/uncategorised/61/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
13 "expression": {
14 "type": "AssignmentExpression",
15 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
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": "ObjectExpression",
24 "start":4,"end":12,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":12,"index":12}},
25 "properties": [
26 {
27 "type": "ObjectProperty",
28 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7}},
29 "method": false,
30 "key": {
31 "type": "Identifier",
32 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"y"},
33 "name": "y"
34 },
35 "computed": false,
36 "shorthand": true,
37 "value": {
38 "type": "Identifier",
39 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"y"},
40 "name": "y"
41 },
42 "extra": {
43 "shorthand": true
44 }
45 },
46 {
47 "type": "ObjectProperty",
48 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10}},
49 "method": false,
50 "key": {
51 "type": "Identifier",
52 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"z"},
53 "name": "z"
54 },
55 "computed": false,
56 "shorthand": true,
57 "value": {
58 "type": "Identifier",
59 "start":9,"end":10,"loc":{"start":{"line":1,"column":9,"index":9},"end":{"line":1,"column":10,"index":10},"identifierName":"z"},
60 "name": "z"
61 },
62 "extra": {
63 "shorthand": true
64 }
65 }
66 ]
67 }
68 }
69 }
70 ],
71 "directives": []
72 }
73 }