mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
58 lines
2.2 KiB
JSON
58 lines
2.2 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":48,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":48,"index":48}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":48,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":48,"index":48}},
|
|
"sourceType": "module",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":0,"end":48,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":48,"index":48}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":6,"end":9,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":9,"index":9},"identifierName":"Foo"},
|
|
"name": "Foo"
|
|
},
|
|
"superClass": {
|
|
"type": "ClassExpression",
|
|
"start":18,"end":45,"loc":{"start":{"line":1,"column":18,"index":18},"end":{"line":1,"column":45,"index":45}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":24,"end":27,"loc":{"start":{"line":1,"column":24,"index":24},"end":{"line":1,"column":27,"index":27},"identifierName":"Bar"},
|
|
"name": "Bar"
|
|
},
|
|
"superClass": null,
|
|
"implements": [
|
|
{
|
|
"type": "ClassImplements",
|
|
"start":39,"end":42,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":42,"index":42}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":39,"end":42,"loc":{"start":{"line":1,"column":39,"index":39},"end":{"line":1,"column":42,"index":42},"identifierName":"Bat"},
|
|
"name": "Bat"
|
|
},
|
|
"typeParameters": null
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":43,"end":45,"loc":{"start":{"line":1,"column":43,"index":43},"end":{"line":1,"column":45,"index":45}},
|
|
"body": []
|
|
}
|
|
},
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":46,"end":48,"loc":{"start":{"line":1,"column":46,"index":46},"end":{"line":1,"column":48,"index":48}},
|
|
"body": []
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"extra": {
|
|
"topLevelAwait": false
|
|
}
|
|
}
|
|
}
|