mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
95 lines
4.2 KiB
JSON
95 lines
4.2 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":55,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":47,"index":55}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":55,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":47,"index":55}},
|
|
"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"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":8,"end":55,"loc":{"start":{"line":3,"column":0,"index":8},"end":{"line":3,"column":47,"index":55}},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start":8,"end":54,"loc":{"start":{"line":3,"column":0,"index":8},"end":{"line":3,"column":46,"index":54}},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":8,"end":9,"loc":{"start":{"line":3,"column":0,"index":8},"end":{"line":3,"column":1,"index":9},"identifierName":"C"},
|
|
"name": "C"
|
|
},
|
|
"right": {
|
|
"type": "ClassExpression",
|
|
"start":12,"end":54,"loc":{"start":{"line":3,"column":4,"index":12},"end":{"line":3,"column":46,"index":54}},
|
|
"id": null,
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":18,"end":54,"loc":{"start":{"line":3,"column":10,"index":18},"end":{"line":3,"column":46,"index":54}},
|
|
"body": [
|
|
{
|
|
"type": "StaticBlock",
|
|
"start":20,"end":52,"loc":{"start":{"line":3,"column":12,"index":20},"end":{"line":3,"column":44,"index":52}},
|
|
"body": [
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":29,"end":50,"loc":{"start":{"line":3,"column":21,"index":29},"end":{"line":3,"column":42,"index":50}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":35,"end":36,"loc":{"start":{"line":3,"column":27,"index":35},"end":{"line":3,"column":28,"index":36},"identifierName":"D"},
|
|
"name": "D"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":37,"end":50,"loc":{"start":{"line":3,"column":29,"index":37},"end":{"line":3,"column":42,"index":50}},
|
|
"body": [
|
|
{
|
|
"type": "ClassProperty",
|
|
"start":39,"end":48,"loc":{"start":{"line":3,"column":31,"index":39},"end":{"line":3,"column":40,"index":48}},
|
|
"static": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":39,"end":40,"loc":{"start":{"line":3,"column":31,"index":39},"end":{"line":3,"column":32,"index":40},"identifierName":"x"},
|
|
"name": "x"
|
|
},
|
|
"computed": false,
|
|
"value": {
|
|
"type": "Identifier",
|
|
"start":43,"end":48,"loc":{"start":{"line":3,"column":35,"index":43},"end":{"line":3,"column":40,"index":48},"identifierName":"await"},
|
|
"name": "await"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|