Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-lexical-declaration/output.json

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