Files

68 lines
2.7 KiB
JSON

{
"type": "File",
"start":0,"end":41,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":41}},
"program": {
"type": "Program",
"start":0,"end":41,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":41}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "ClassDeclaration",
"start":0,"end":41,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":41}},
"id": {
"type": "Identifier",
"start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"C"},
"name": "C"
},
"superClass": null,
"body": {
"type": "ClassBody",
"start":8,"end":41,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":3,"column":1,"index":41}},
"body": [
{
"type": "ClassProperty",
"start":12,"end":39,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":29,"index":39}},
"static": false,
"key": {
"type": "Identifier",
"start":12,"end":13,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":3,"index":13},"identifierName":"p"},
"name": "p"
},
"computed": false,
"value": {
"type": "ArrowFunctionExpression",
"start":16,"end":38,"loc":{"start":{"line":2,"column":6,"index":16},"end":{"line":2,"column":28,"index":38}},
"id": null,
"generator": false,
"async": true,
"params": [],
"body": {
"type": "AwaitExpression",
"start":28,"end":38,"loc":{"start":{"line":2,"column":18,"index":28},"end":{"line":2,"column":28,"index":38}},
"argument": {
"type": "UnaryExpression",
"start":34,"end":38,"loc":{"start":{"line":2,"column":24,"index":34},"end":{"line":2,"column":28,"index":38}},
"operator": "+",
"prefix": true,
"argument": {
"type": "NumericLiteral",
"start":36,"end":38,"loc":{"start":{"line":2,"column":26,"index":36},"end":{"line":2,"column":28,"index":38}},
"extra": {
"rawValue": 42,
"raw": "42"
},
"value": 42
}
}
}
}
}
]
}
}
],
"directives": []
}
}