mirror of
https://github.com/hanzoai/babel.git
synced 2026-10-30 14:46:06 +00:00
48 lines
1.9 KiB
JSON
48 lines
1.9 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":39,"index":39}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":39,"index":39}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":0,"end":39,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":39,"index":39}},
|
|
"id": {
|
|
"type": "Placeholder",
|
|
"start":6,"end":12,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":12,"index":12}},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"start":8,"end":10,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":1,"column":10,"index":10},"identifierName":"ID"},
|
|
"name": "ID"
|
|
},
|
|
"expectedNode": "Identifier"
|
|
},
|
|
"superClass": {
|
|
"type": "Placeholder",
|
|
"start":21,"end":30,"loc":{"start":{"line":1,"column":21,"index":21},"end":{"line":1,"column":30,"index":30}},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"start":23,"end":28,"loc":{"start":{"line":1,"column":23,"index":23},"end":{"line":1,"column":28,"index":28},"identifierName":"SUPER"},
|
|
"name": "SUPER"
|
|
},
|
|
"expectedNode": "Expression"
|
|
},
|
|
"body": {
|
|
"type": "Placeholder",
|
|
"start":31,"end":39,"loc":{"start":{"line":1,"column":31,"index":31},"end":{"line":1,"column":39,"index":39}},
|
|
"name": {
|
|
"type": "Identifier",
|
|
"start":33,"end":37,"loc":{"start":{"line":1,"column":33,"index":33},"end":{"line":1,"column":37,"index":37},"identifierName":"BODY"},
|
|
"name": "BODY"
|
|
},
|
|
"expectedNode": "ClassBody"
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|