Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/regression/186/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "VariableDeclaration",
12 "start":0,"end":23,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":23,"index":23}},
13 "declarations": [
14 {
15 "type": "VariableDeclarator",
16 "start":6,"end":22,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":22,"index":22}},
17 "id": {
18 "type": "Identifier",
19 "start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"x"},
20 "name": "x"
21 },
22 "init": {
23 "type": "ObjectExpression",
24 "start":10,"end":22,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":22,"index":22}},
25 "properties": [
26 {
27 "type": "ObjectProperty",
28 "start":11,"end":16,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":16,"index":16}},
29 "method": false,
30 "key": {
31 "type": "Identifier",
32 "start":11,"end":16,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":16,"index":16},"identifierName":"async"},
33 "name": "async"
34 },
35 "computed": false,
36 "shorthand": true,
37 "value": {
38 "type": "Identifier",
39 "start":11,"end":16,"loc":{"start":{"line":1,"column":11,"index":11},"end":{"line":1,"column":16,"index":16},"identifierName":"async"},
40 "name": "async"
41 },
42 "extra": {
43 "shorthand": true
44 }
45 },
46 {
47 "type": "ObjectProperty",
48 "start":18,"end":21,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":21,"index":21}},
49 "method": false,
50 "key": {
51 "type": "Identifier",
52 "start":18,"end":21,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":21,"index":21},"identifierName":"bar"},
53 "name": "bar"
54 },
55 "computed": false,
56 "shorthand": true,
57 "value": {
58 "type": "Identifier",
59 "start":18,"end":21,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":21,"index":21},"identifierName":"bar"},
60 "name": "bar"
61 },
62 "extra": {
63 "shorthand": true
64 }
65 }
66 ]
67 }
68 }
69 ],
70 "kind": "const"
71 }
72 ],
73 "directives": []
74 }
75 }