Debian Codegraph @

tests/fixtures/ecma-version/8/not-strict/async-yield.result.js

raw
1 export default {
2 "type": "Program",
3 "loc": {
4 "start": {
5 "line": 1,
6 "column": 0
7 },
8 "end": {
9 "line": 1,
10 "column": 17
11 }
12 },
13 "range": [
14 0,
15 17
16 ],
17 "body": [
18 {
19 "type": "ExpressionStatement",
20 "loc": {
21 "start": {
22 "line": 1,
23 "column": 0
24 },
25 "end": {
26 "line": 1,
27 "column": 17
28 }
29 },
30 "range": [
31 0,
32 17
33 ],
34 "expression": {
35 "type": "ArrowFunctionExpression",
36 "loc": {
37 "start": {
38 "line": 1,
39 "column": 0
40 },
41 "end": {
42 "line": 1,
43 "column": 16
44 }
45 },
46 "range": [
47 0,
48 16
49 ],
50 "id": null,
51 "generator": false,
52 "expression": true,
53 "async": true,
54 "params": [
55 {
56 "type": "Identifier",
57 "loc": {
58 "start": {
59 "line": 1,
60 "column": 6
61 },
62 "end": {
63 "line": 1,
64 "column": 11
65 }
66 },
67 "range": [
68 6,
69 11
70 ],
71 "name": "yield"
72 }
73 ],
74 "body": {
75 "type": "Literal",
76 "loc": {
77 "start": {
78 "line": 1,
79 "column": 15
80 },
81 "end": {
82 "line": 1,
83 "column": 16
84 }
85 },
86 "range": [
87 15,
88 16
89 ],
90 "value": 1,
91 "raw": "1"
92 }
93 }
94 }
95 ],
96 "sourceType": "script",
97 "tokens": [
98 {
99 "type": "Identifier",
100 "value": "async",
101 "loc": {
102 "start": {
103 "line": 1,
104 "column": 0
105 },
106 "end": {
107 "line": 1,
108 "column": 5
109 }
110 },
111 "range": [
112 0,
113 5
114 ]
115 },
116 {
117 "type": "Keyword",
118 "value": "yield",
119 "loc": {
120 "start": {
121 "line": 1,
122 "column": 6
123 },
124 "end": {
125 "line": 1,
126 "column": 11
127 }
128 },
129 "range": [
130 6,
131 11
132 ]
133 },
134 {
135 "type": "Punctuator",
136 "value": "=>",
137 "loc": {
138 "start": {
139 "line": 1,
140 "column": 12
141 },
142 "end": {
143 "line": 1,
144 "column": 14
145 }
146 },
147 "range": [
148 12,
149 14
150 ]
151 },
152 {
153 "type": "Numeric",
154 "value": "1",
155 "loc": {
156 "start": {
157 "line": 1,
158 "column": 15
159 },
160 "end": {
161 "line": 1,
162 "column": 16
163 }
164 },
165 "range": [
166 15,
167 16
168 ]
169 },
170 {
171 "type": "Punctuator",
172 "value": ";",
173 "loc": {
174 "start": {
175 "line": 1,
176 "column": 16
177 },
178 "end": {
179 "line": 1,
180 "column": 17
181 }
182 },
183 "range": [
184 16,
185 17
186 ]
187 }
188 ]
189 }