Debian Codegraph @

packages/babel-parser/test/fixtures/es2015/yield/yield-identifier-inside-async-call-inside-function-inside-params-of-generator/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":49,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":49,"index":49}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":49,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":49,"index":49}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "FunctionDeclaration",
12 "start":0,"end":48,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":48,"index":48}},
13 "id": {
14 "type": "Identifier",
15 "start":10,"end":11,"loc":{"start":{"line":1,"column":10,"index":10},"end":{"line":1,"column":11,"index":11},"identifierName":"g"},
16 "name": "g"
17 },
18 "generator": true,
19 "async": false,
20 "params": [
21 {
22 "type": "AssignmentPattern",
23 "start":13,"end":44,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":44,"index":44}},
24 "left": {
25 "type": "Identifier",
26 "start":13,"end":14,"loc":{"start":{"line":1,"column":13,"index":13},"end":{"line":1,"column":14,"index":14},"identifierName":"x"},
27 "name": "x"
28 },
29 "right": {
30 "type": "FunctionExpression",
31 "start":17,"end":44,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":1,"column":44,"index":44}},
32 "id": null,
33 "generator": false,
34 "async": false,
35 "params": [],
36 "body": {
37 "type": "BlockStatement",
38 "start":28,"end":44,"loc":{"start":{"line":1,"column":28,"index":28},"end":{"line":1,"column":44,"index":44}},
39 "body": [
40 {
41 "type": "ExpressionStatement",
42 "start":30,"end":42,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":42,"index":42}},
43 "expression": {
44 "type": "CallExpression",
45 "start":30,"end":42,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":42,"index":42}},
46 "callee": {
47 "type": "Identifier",
48 "start":30,"end":35,"loc":{"start":{"line":1,"column":30,"index":30},"end":{"line":1,"column":35,"index":35},"identifierName":"async"},
49 "name": "async"
50 },
51 "arguments": [
52 {
53 "type": "Identifier",
54 "start":36,"end":41,"loc":{"start":{"line":1,"column":36,"index":36},"end":{"line":1,"column":41,"index":41},"identifierName":"yield"},
55 "name": "yield"
56 }
57 ]
58 }
59 }
60 ],
61 "directives": []
62 }
63 }
64 }
65 ],
66 "body": {
67 "type": "BlockStatement",
68 "start":46,"end":48,"loc":{"start":{"line":1,"column":46,"index":46},"end":{"line":1,"column":48,"index":48}},
69 "body": [],
70 "directives": []
71 }
72 },
73 {
74 "type": "EmptyStatement",
75 "start":48,"end":49,"loc":{"start":{"line":1,"column":48,"index":48},"end":{"line":1,"column":49,"index":49}}
76 }
77 ],
78 "directives": []
79 }
80 }