Files

96 lines
4.2 KiB
JSON

{
"type": "File",
"start":0,"end":97,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":1,"index":97}},
"program": {
"type": "Program",
"start":0,"end":97,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":1,"index":97}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ExpressionStatement",
"start":0,"end":97,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":1,"index":97}},
"expression": {
"type": "ArrowFunctionExpression",
"start":0,"end":97,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":1,"index":97}},
"id": null,
"generator": false,
"async": true,
"params": [],
"body": {
"type": "BlockStatement",
"start":12,"end":97,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":6,"column":1,"index":97}},
"body": [
{
"type": "ClassDeclaration",
"start":16,"end":95,"loc":{"start":{"line":2,"column":2,"index":16},"end":{"line":5,"column":3,"index":95}},
"id": {
"type": "Identifier",
"start":22,"end":23,"loc":{"start":{"line":2,"column":8,"index":22},"end":{"line":2,"column":9,"index":23},"identifierName":"C"},
"name": "C"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start":24,"end":95,"loc":{"start":{"line":2,"column":10,"index":24},"end":{"line":5,"column":3,"index":95}},
"body": [
{
"type": "ClassPrivateProperty",
"start":75,"end":91,"loc":{"start":{"line":4,"column":4,"index":75},"end":{"line":4,"column":20,"index":91}},
"static": false,
"key": {
"type": "PrivateName",
"start":75,"end":77,"loc":{"start":{"line":4,"column":4,"index":75},"end":{"line":4,"column":6,"index":77}},
"id": {
"type": "Identifier",
"start":76,"end":77,"loc":{"start":{"line":4,"column":5,"index":76},"end":{"line":4,"column":6,"index":77},"identifierName":"p"},
"name": "p"
}
},
"value": {
"type": "BinaryExpression",
"start":80,"end":90,"loc":{"start":{"line":4,"column":9,"index":80},"end":{"line":4,"column":19,"index":90}},
"left": {
"type": "Identifier",
"start":80,"end":85,"loc":{"start":{"line":4,"column":9,"index":80},"end":{"line":4,"column":14,"index":85},"identifierName":"await"},
"name": "await"
},
"operator": "+",
"right": {
"type": "NumericLiteral",
"start":88,"end":90,"loc":{"start":{"line":4,"column":17,"index":88},"end":{"line":4,"column":19,"index":90}},
"extra": {
"rawValue": 42,
"raw": "42"
},
"value": 42
}
},
"leadingComments": [
{
"type": "CommentLine",
"value": " here await is an identifier reference",
"start":30,"end":70,"loc":{"start":{"line":3,"column":4,"index":30},"end":{"line":3,"column":44,"index":70}}
}
]
}
]
}
}
],
"directives": []
}
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentLine",
"value": " here await is an identifier reference",
"start":30,"end":70,"loc":{"start":{"line":3,"column":4,"index":30},"end":{"line":3,"column":44,"index":70}}
}
]
}