Debian Codegraph @

packages/babel-parser/test/fixtures/esprima/es2015-yield/invalid-yield-expression/output.json

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