Debian Codegraph @

packages/babel-parser/test/fixtures/experimental/async-do-expressions/asi-async-and-do-while/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":14,"index":32}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":14,"index":32}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5}},
13 "expression": {
14 "type": "Identifier",
15 "start":0,"end":5,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":5,"index":5},"identifierName":"async"},
16 "name": "async"
17 }
18 },
19 {
20 "type": "DoWhileStatement",
21 "start":6,"end":32,"loc":{"start":{"line":2,"column":0,"index":6},"end":{"line":5,"column":14,"index":32}},
22 "body": {
23 "type": "BlockStatement",
24 "start":9,"end":17,"loc":{"start":{"line":2,"column":3,"index":9},"end":{"line":4,"column":1,"index":17}},
25 "body": [
26 {
27 "type": "ExpressionStatement",
28 "start":13,"end":15,"loc":{"start":{"line":3,"column":2,"index":13},"end":{"line":3,"column":4,"index":15}},
29 "expression": {
30 "type": "NumericLiteral",
31 "start":13,"end":15,"loc":{"start":{"line":3,"column":2,"index":13},"end":{"line":3,"column":4,"index":15}},
32 "extra": {
33 "rawValue": 42,
34 "raw": "42"
35 },
36 "value": 42
37 }
38 }
39 ],
40 "directives": []
41 },
42 "test": {
43 "type": "BooleanLiteral",
44 "start":25,"end":30,"loc":{"start":{"line":5,"column":7,"index":25},"end":{"line":5,"column":12,"index":30}},
45 "value": false
46 }
47 }
48 ],
49 "directives": []
50 }
51 }