Debian Codegraph @

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

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":24,"index":24}},
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":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":24,"index":24}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "VariableDeclaration",
15 "start":0,"end":24,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":24,"index":24}},
16 "declarations": [
17 {
18 "type": "VariableDeclarator",
19 "start":6,"end":23,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":23,"index":23}},
20 "id": {
21 "type": "ObjectPattern",
22 "start":6,"end":18,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":18,"index":18}},
23 "properties": [
24 {
25 "type": "ObjectProperty",
26 "start":8,"end":16,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":16,"index":16}},
27 "key": {
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 "computed": false,
33 "method": false,
34 "shorthand": true,
35 "value": {
36 "type": "AssignmentPattern",
37 "start":8,"end":16,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":16,"index":16}},
38 "left": {
39 "type": "Identifier",
40 "start":8,"end":11,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":11,"index":11},"identifierName":"let"},
41 "name": "let"
42 },
43 "right": {
44 "type": "NumericLiteral",
45 "start":14,"end":16,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":16,"index":16}},
46 "extra": {
47 "rawValue": 10,
48 "raw": "10"
49 },
50 "value": 10
51 }
52 },
53 "extra": {
54 "shorthand": true
55 }
56 }
57 ]
58 },
59 "init": {
60 "type": "ObjectExpression",
61 "start":21,"end":23,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":23,"index":23}},
62 "properties": []
63 }
64 }
65 ],
66 "kind": "const"
67 }
68 ],
69 "directives": []
70 }
71 }