Debian Codegraph @

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

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