Debian Codegraph @

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

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