mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
79 lines
3.2 KiB
JSON
79 lines
3.2 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":1,"index":62}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":1,"index":62}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":0,"end":62,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":6,"column":1,"index":62}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":6,"end":7,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":7,"index":7},"identifierName":"C"},
|
|
"name": "C"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":8,"end":62,"loc":{"start":{"line":1,"column":8,"index":8},"end":{"line":6,"column":1,"index":62}},
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"start":12,"end":27,"loc":{"start":{"line":2,"column":2,"index":12},"end":{"line":2,"column":17,"index":27}},
|
|
"static": true,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":19,"end":22,"loc":{"start":{"line":2,"column":9,"index":19},"end":{"line":2,"column":12,"index":22},"identifierName":"foo"},
|
|
"name": "foo"
|
|
},
|
|
"computed": false,
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":25,"end":27,"loc":{"start":{"line":2,"column":15,"index":25},"end":{"line":2,"column":17,"index":27}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
},
|
|
{
|
|
"type": "StaticBlock",
|
|
"start":30,"end":60,"loc":{"start":{"line":3,"column":2,"index":30},"end":{"line":5,"column":3,"index":60}},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start":43,"end":56,"loc":{"start":{"line":4,"column":4,"index":43},"end":{"line":4,"column":17,"index":56}},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start":49,"end":55,"loc":{"start":{"line":4,"column":10,"index":49},"end":{"line":4,"column":16,"index":55}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":49,"end":50,"loc":{"start":{"line":4,"column":10,"index":49},"end":{"line":4,"column":11,"index":50},"identifierName":"C"},
|
|
"name": "C"
|
|
},
|
|
"init": {
|
|
"type": "ObjectExpression",
|
|
"start":53,"end":55,"loc":{"start":{"line":4,"column":14,"index":53},"end":{"line":4,"column":16,"index":55}},
|
|
"properties": []
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|