Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/let/let-as-identifier-strict-fail/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":21,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":7,"index":21}},
4 "errors": [
5 "SyntaxError: Unexpected reserved word 'let'. (2:0)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":21,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":7,"index":21}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":14,"end":21,"loc":{"start":{"line":2,"column":0,"index":14},"end":{"line":2,"column":7,"index":21}},
16 "expression": {
17 "type": "BinaryExpression",
18 "start":14,"end":21,"loc":{"start":{"line":2,"column":0,"index":14},"end":{"line":2,"column":7,"index":21}},
19 "left": {
20 "type": "Identifier",
21 "start":14,"end":17,"loc":{"start":{"line":2,"column":0,"index":14},"end":{"line":2,"column":3,"index":17},"identifierName":"let"},
22 "name": "let"
23 },
24 "operator": "+",
25 "right": {
26 "type": "NumericLiteral",
27 "start":20,"end":21,"loc":{"start":{"line":2,"column":6,"index":20},"end":{"line":2,"column":7,"index":21}},
28 "extra": {
29 "rawValue": 1,
30 "raw": "1"
31 },
32 "value": 1
33 }
34 }
35 }
36 ],
37 "directives": [
38 {
39 "type": "Directive",
40 "start":0,"end":13,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":13,"index":13}},
41 "value": {
42 "type": "DirectiveLiteral",
43 "start":0,"end":12,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":12,"index":12}},
44 "extra": {
45 "rawValue": "use strict",
46 "raw": "\"use strict\"",
47 "expressionValue": "use strict"
48 },
49 "value": "use strict"
50 }
51 }
52 ]
53 }
54 }