Debian Codegraph @

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

raw
1 {
2 "type": "File",
3 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":15,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":15,"index":15}},
13 "expression": {
14 "type": "AssignmentExpression",
15 "start":1,"end":14,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":14,"index":14}},
16 "operator": "=",
17 "left": {
18 "type": "ObjectPattern",
19 "start":1,"end":8,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":8,"index":8}},
20 "properties": [
21 {
22 "type": "ObjectProperty",
23 "start":2,"end":7,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":7,"index":7}},
24 "method": false,
25 "key": {
26 "type": "Identifier",
27 "start":2,"end":3,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":3,"index":3},"identifierName":"x"},
28 "name": "x"
29 },
30 "computed": false,
31 "shorthand": true,
32 "value": {
33 "type": "AssignmentPattern",
34 "start":2,"end":7,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":7,"index":7}},
35 "left": {
36 "type": "Identifier",
37 "start":2,"end":3,"loc":{"start":{"line":1,"column":2,"index":2},"end":{"line":1,"column":3,"index":3},"identifierName":"x"},
38 "name": "x"
39 },
40 "right": {
41 "type": "NumericLiteral",
42 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7}},
43 "extra": {
44 "rawValue": 0,
45 "raw": "0"
46 },
47 "value": 0
48 }
49 },
50 "extra": {
51 "shorthand": true
52 }
53 }
54 ]
55 },
56 "right": {
57 "type": "Identifier",
58 "start":11,"end":14,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":14,"index":14},"identifierName":"obj"},
59 "name": "obj"
60 },
61 "extra": {
62 "parenthesized": true,
63 "parenStart": 0
64 }
65 }
66 }
67 ],
68 "directives": []
69 }
70 }