Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/let/let-at-binding-list-fail-1/output.json

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