mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
70 lines
2.6 KiB
JSON
70 lines
2.6 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":53,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":10,"index":53}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":53,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":5,"column":10,"index":53}},
|
|
"sourceType": "module",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "DeclareModule",
|
|
"start":0,"end":41,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":3,"column":1,"index":41}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":15,"end":16,"loc":{"start":{"line":1,"column":15,"index":15},"end":{"line":1,"column":16,"index":16},"identifierName":"A"},
|
|
"name": "A"
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":17,"end":41,"loc":{"start":{"line":1,"column":17,"index":17},"end":{"line":3,"column":1,"index":41}},
|
|
"body": [
|
|
{
|
|
"type": "DeclareClass",
|
|
"start":21,"end":39,"loc":{"start":{"line":2,"column":2,"index":21},"end":{"line":2,"column":20,"index":39}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":35,"end":36,"loc":{"start":{"line":2,"column":16,"index":35},"end":{"line":2,"column":17,"index":36},"identifierName":"X"},
|
|
"name": "X"
|
|
},
|
|
"typeParameters": null,
|
|
"extends": [],
|
|
"implements": [],
|
|
"mixins": [],
|
|
"body": {
|
|
"type": "ObjectTypeAnnotation",
|
|
"start":37,"end":39,"loc":{"start":{"line":2,"column":18,"index":37},"end":{"line":2,"column":20,"index":39}},
|
|
"callProperties": [],
|
|
"properties": [],
|
|
"indexers": [],
|
|
"internalSlots": [],
|
|
"exact": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"kind": "CommonJS"
|
|
},
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":43,"end":53,"loc":{"start":{"line":5,"column":0,"index":43},"end":{"line":5,"column":10,"index":53}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":49,"end":50,"loc":{"start":{"line":5,"column":6,"index":49},"end":{"line":5,"column":7,"index":50},"identifierName":"X"},
|
|
"name": "X"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":51,"end":53,"loc":{"start":{"line":5,"column":8,"index":51},"end":{"line":5,"column":10,"index":53}},
|
|
"body": []
|
|
}
|
|
}
|
|
],
|
|
"directives": [],
|
|
"extra": {
|
|
"topLevelAwait": false
|
|
}
|
|
}
|
|
}
|