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