Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}},
4 "errors": [
5 "SyntaxError: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. (1:8)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "VariableDeclaration",
15 "start":0,"end":18,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":18,"index":18}},
16 "declarations": [
17 {
18 "type": "VariableDeclarator",
19 "start":4,"end":17,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":17,"index":17}},
20 "id": {
21 "type": "ArrayPattern",
22 "start":4,"end":12,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":12,"index":12}},
23 "elements": [
24 {
25 "type": "RestElement",
26 "start":5,"end":11,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":11,"index":11}},
27 "argument": {
28 "type": "Identifier",
29 "start":8,"end":11,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":11,"index":11},"identifierName":"let"},
30 "name": "let"
31 }
32 }
33 ]
34 },
35 "init": {
36 "type": "ArrayExpression",
37 "start":15,"end":17,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":17,"index":17}},
38 "elements": []
39 }
40 }
41 ],
42 "kind": "let"
43 }
44 ],
45 "directives": []
46 }
47 }