Files

101 lines
4.0 KiB
JSON

{
"type": "File",
"start":0,"end":72,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":37,"index":72}},
"program": {
"type": "Program",
"start":0,"end":72,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":37,"index":72}},
"sourceType": "script",
"interpreter": null,
"body": [
{
"type": "VariableDeclaration",
"start":0,"end":6,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":6,"index":6}},
"declarations": [
{
"type": "VariableDeclarator",
"start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5}},
"id": {
"type": "Identifier",
"start":4,"end":5,"loc":{"start":{"line":1,"column":4,"index":4},"end":{"line":1,"column":5,"index":5},"identifierName":"C"},
"name": "C"
},
"init": null
}
],
"kind": "var",
"trailingComments": [
{
"type": "CommentLine",
"value": " await in body is allowed",
"start":7,"end":34,"loc":{"start":{"line":2,"column":0,"index":7},"end":{"line":2,"column":27,"index":34}}
}
]
},
{
"type": "ExpressionStatement",
"start":35,"end":72,"loc":{"start":{"line":3,"column":0,"index":35},"end":{"line":3,"column":37,"index":72}},
"expression": {
"type": "AssignmentExpression",
"start":35,"end":71,"loc":{"start":{"line":3,"column":0,"index":35},"end":{"line":3,"column":36,"index":71}},
"operator": "=",
"left": {
"type": "Identifier",
"start":35,"end":36,"loc":{"start":{"line":3,"column":0,"index":35},"end":{"line":3,"column":1,"index":36},"identifierName":"C"},
"name": "C"
},
"right": {
"type": "ClassExpression",
"start":39,"end":71,"loc":{"start":{"line":3,"column":4,"index":39},"end":{"line":3,"column":36,"index":71}},
"id": null,
"superClass": null,
"body": {
"type": "ClassBody",
"start":45,"end":71,"loc":{"start":{"line":3,"column":10,"index":45},"end":{"line":3,"column":36,"index":71}},
"body": [
{
"type": "StaticBlock",
"start":47,"end":69,"loc":{"start":{"line":3,"column":12,"index":47},"end":{"line":3,"column":34,"index":69}},
"body": [
{
"type": "ExpressionStatement",
"start":56,"end":67,"loc":{"start":{"line":3,"column":21,"index":56},"end":{"line":3,"column":32,"index":67}},
"expression": {
"type": "ArrowFunctionExpression",
"start":56,"end":67,"loc":{"start":{"line":3,"column":21,"index":56},"end":{"line":3,"column":32,"index":67}},
"id": null,
"generator": false,
"async": false,
"params": [],
"body": {
"type": "Identifier",
"start":62,"end":67,"loc":{"start":{"line":3,"column":27,"index":62},"end":{"line":3,"column":32,"index":67},"identifierName":"await"},
"name": "await"
}
}
}
]
}
]
}
}
},
"leadingComments": [
{
"type": "CommentLine",
"value": " await in body is allowed",
"start":7,"end":34,"loc":{"start":{"line":2,"column":0,"index":7},"end":{"line":2,"column":27,"index":34}}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentLine",
"value": " await in body is allowed",
"start":7,"end":34,"loc":{"start":{"line":2,"column":0,"index":7},"end":{"line":2,"column":27,"index":34}}
}
]
}