Debian Codegraph @

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

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