89 lines
3.8 KiB
JSON
89 lines
3.8 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":45,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":45}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":45,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":45}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":0,"end":45,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":45}},
|
|
"expression": {
|
|
"type": "BinaryExpression",
|
|
"start":0,"end":45,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":45}},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"start":0,"end":1,"loc":{"start":{"line":1,"column":0},"end":{"line":1,"column":1},"identifierName":"x"},
|
|
"name": "x"
|
|
},
|
|
"operator": "|>",
|
|
"right": {
|
|
"type": "ClassExpression",
|
|
"start":5,"end":45,"loc":{"start":{"line":1,"column":5},"end":{"line":1,"column":45}},
|
|
"id": null,
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":11,"end":45,"loc":{"start":{"line":1,"column":11},"end":{"line":1,"column":45}},
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"start":13,"end":43,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":43}},
|
|
"static": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":13,"end":24,"loc":{"start":{"line":1,"column":13},"end":{"line":1,"column":24},"identifierName":"constructor"},
|
|
"name": "constructor"
|
|
},
|
|
"computed": false,
|
|
"kind": "constructor",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start":28,"end":43,"loc":{"start":{"line":1,"column":28},"end":{"line":1,"column":43}},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":30,"end":41,"loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":41}},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start":30,"end":40,"loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":40}},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start":30,"end":36,"loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":36}},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start":30,"end":34,"loc":{"start":{"line":1,"column":30},"end":{"line":1,"column":34}}
|
|
},
|
|
"computed": false,
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start":35,"end":36,"loc":{"start":{"line":1,"column":35},"end":{"line":1,"column":36},"identifierName":"x"},
|
|
"name": "x"
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TopicReference",
|
|
"start":39,"end":40,"loc":{"start":{"line":1,"column":39},"end":{"line":1,"column":40}}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |