Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/yield/in-plain-function/output.json

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