mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
112 lines
5.2 KiB
JSON
112 lines
5.2 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":81,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":1,"index":81}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":81,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":1,"index":81}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":0,"end":81,"loc":{"start":{"line":1,"column":0,"index":0},"end":{"line":7,"column":1,"index":81}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":6,"end":11,"loc":{"start":{"line":1,"column":6,"index":6},"end":{"line":1,"column":11,"index":11},"identifierName":"Thing"},
|
|
"name": "Thing"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":12,"end":81,"loc":{"start":{"line":1,"column":12,"index":12},"end":{"line":7,"column":1,"index":81}},
|
|
"body": [
|
|
{
|
|
"type": "ClassPrivateProperty",
|
|
"start":16,"end":26,"loc":{"start":{"line":2,"column":2,"index":16},"end":{"line":2,"column":12,"index":26}},
|
|
"static": false,
|
|
"key": {
|
|
"type": "PrivateName",
|
|
"start":16,"end":25,"loc":{"start":{"line":2,"column":2,"index":16},"end":{"line":2,"column":11,"index":25}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":17,"end":25,"loc":{"start":{"line":2,"column":3,"index":17},"end":{"line":2,"column":11,"index":25},"identifierName":"property"},
|
|
"name": "property"
|
|
}
|
|
},
|
|
"value": null
|
|
},
|
|
{
|
|
"type": "ClassPrivateMethod",
|
|
"start":30,"end":79,"loc":{"start":{"line":4,"column":2,"index":30},"end":{"line":6,"column":3,"index":79}},
|
|
"static": false,
|
|
"key": {
|
|
"type": "PrivateName",
|
|
"start":30,"end":37,"loc":{"start":{"line":4,"column":2,"index":30},"end":{"line":4,"column":9,"index":37}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":31,"end":37,"loc":{"start":{"line":4,"column":3,"index":31},"end":{"line":4,"column":9,"index":37},"identifierName":"method"},
|
|
"name": "method"
|
|
}
|
|
},
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":41,"end":79,"loc":{"start":{"line":4,"column":13,"index":41},"end":{"line":6,"column":3,"index":79}},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":47,"end":75,"loc":{"start":{"line":5,"column":4,"index":47},"end":{"line":5,"column":32,"index":75}},
|
|
"expression": {
|
|
"type": "BinaryExpression",
|
|
"start":47,"end":74,"loc":{"start":{"line":5,"column":4,"index":47},"end":{"line":5,"column":31,"index":74}},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":47,"end":52,"loc":{"start":{"line":5,"column":4,"index":47},"end":{"line":5,"column":9,"index":52},"identifierName":"value"},
|
|
"name": "value"
|
|
},
|
|
"operator": "|>",
|
|
"right": {
|
|
"type": "BinaryExpression",
|
|
"start":56,"end":74,"loc":{"start":{"line":5,"column":13,"index":56},"end":{"line":5,"column":31,"index":74}},
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start":56,"end":70,"loc":{"start":{"line":5,"column":13,"index":56},"end":{"line":5,"column":27,"index":70}},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start":56,"end":60,"loc":{"start":{"line":5,"column":13,"index":56},"end":{"line":5,"column":17,"index":60}}
|
|
},
|
|
"computed": false,
|
|
"property": {
|
|
"type": "PrivateName",
|
|
"start":61,"end":70,"loc":{"start":{"line":5,"column":18,"index":61},"end":{"line":5,"column":27,"index":70}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":62,"end":70,"loc":{"start":{"line":5,"column":19,"index":62},"end":{"line":5,"column":27,"index":70},"identifierName":"property"},
|
|
"name": "property"
|
|
}
|
|
}
|
|
},
|
|
"operator": "+",
|
|
"right": {
|
|
"type": "TopicReference",
|
|
"start":73,"end":74,"loc":{"start":{"line":5,"column":30,"index":73},"end":{"line":5,"column":31,"index":74}}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|