Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/generators/invalid-escape-yield/output.json

raw symbols SCIP
1 {
2 "type": "File",
3 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
4 "errors": [
5 "SyntaxError: Can not use 'yield' as identifier inside a generator. (1:16)"
6 ],
7 "program": {
8 "type": "Program",
9 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
10 "sourceType": "script",
11 "interpreter": null,
12 "body": [
13 {
14 "type": "ExpressionStatement",
15 "start":0,"end":30,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":30,"index":30}},
16 "expression": {
17 "type": "FunctionExpression",
18 "start":1,"end":29,"loc":{"start":{"line":1,"column":1,"index":1},"end":{"line":1,"column":29,"index":29}},
19 "id": null,
20 "generator": true,
21 "async": false,
22 "params": [],
23 "body": {
24 "type": "BlockStatement",
25 "start":14,"end":29,"loc":{"start":{"line":1,"column":14,"index":14},"end":{"line":1,"column":29,"index":29}},
26 "body": [
27 {
28 "type": "ExpressionStatement",
29 "start":16,"end":27,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":27,"index":27}},
30 "expression": {
31 "type": "Identifier",
32 "start":16,"end":26,"loc":{"start":{"line":1,"column":16,"index":16},"end":{"line":1,"column":26,"index":26},"identifierName":"yield"},
33 "name": "yield"
34 }
35 }
36 ],
37 "directives": []
38 },
39 "extra": {
40 "parenthesized": true,
41 "parenStart": 0
42 }
43 }
44 }
45 ],
46 "directives": []
47 }
48 }