Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-strict-formal-parameter/output.json

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