Debian Codegraph @

packages/babel-parser/test/fixtures/es2017/async-functions/context-division-after-expression/output.json

raw
1 {
2 "type": "File",
3 "start":0,"end":34,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":6,"index":34}},
4 "program": {
5 "type": "Program",
6 "start":0,"end":34,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":6,"index":34}},
7 "sourceType": "script",
8 "interpreter": null,
9 "body": [
10 {
11 "type": "ExpressionStatement",
12 "start":0,"end":34,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":6,"index":34}},
13 "expression": {
14 "type": "BinaryExpression",
15 "start":0,"end":34,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":6,"index":34}},
16 "left": {
17 "type": "BinaryExpression",
18 "start":0,"end":32,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":2,"column":4,"index":32}},
19 "left": {
20 "type": "UnaryExpression",
21 "start":0,"end":27,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":27,"index":27}},
22 "operator": "void",
23 "prefix": true,
24 "argument": {
25 "type": "FunctionExpression",
26 "start":5,"end":27,"loc":{"start":{"line":1,"column":5,"index":5},"end":{"line":1,"column":27,"index":27}},
27 "id": {
28 "type": "Identifier",
29 "start":20,"end":22,"loc":{"start":{"line":1,"column":20,"index":20},"end":{"line":1,"column":22,"index":22},"identifierName":"fn"},
30 "name": "fn"
31 },
32 "generator": false,
33 "async": true,
34 "params": [],
35 "body": {
36 "type": "BlockStatement",
37 "start":25,"end":27,"loc":{"start":{"line":1,"column":25,"index":25},"end":{"line":1,"column":27,"index":27}},
38 "body": [],
39 "directives": []
40 }
41 }
42 },
43 "operator": "/",
44 "right": {
45 "type": "Identifier",
46 "start":29,"end":32,"loc":{"start":{"line":2,"column":1,"index":29},"end":{"line":2,"column":4,"index":32},"identifierName":"foo"},
47 "name": "foo"
48 }
49 },
50 "operator": "/",
51 "right": {
52 "type": "Identifier",
53 "start":33,"end":34,"loc":{"start":{"line":2,"column":5,"index":33},"end":{"line":2,"column":6,"index":34},"identifierName":"g"},
54 "name": "g"
55 }
56 }
57 }
58 ],
59 "directives": []
60 }
61 }