94 lines
3.8 KiB
JSON
94 lines
3.8 KiB
JSON
{
|
|
"type": "File",
|
|
"start":0,"end":69,"loc":{"start":{"line":1,"column":0},"end":{"line":6,"column":1}},
|
|
"program": {
|
|
"type": "Program",
|
|
"start":0,"end":69,"loc":{"start":{"line":1,"column":0},"end":{"line":6,"column":1}},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start":0,"end":69,"loc":{"start":{"line":1,"column":0},"end":{"line":6,"column":1}},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start":6,"end":7,"loc":{"start":{"line":1,"column":6},"end":{"line":1,"column":7},"identifierName":"C"},
|
|
"name": "C"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start":8,"end":69,"loc":{"start":{"line":1,"column":8},"end":{"line":6,"column":1}},
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"start":12,"end":27,"loc":{"start":{"line":2,"column":2},"end":{"line":2,"column":17}},
|
|
"static": true,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start":19,"end":22,"loc":{"start":{"line":2,"column":9},"end":{"line":2,"column":12},"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},"end":{"line":2,"column":17}},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
},
|
|
{
|
|
"type": "StaticBlock",
|
|
"start":30,"end":67,"loc":{"start":{"line":3,"column":2},"end":{"line":5,"column":3}},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start":43,"end":63,"loc":{"start":{"line":4,"column":4},"end":{"line":4,"column":24}},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start":43,"end":62,"loc":{"start":{"line":4,"column":4},"end":{"line":4,"column":23}},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start":43,"end":51,"loc":{"start":{"line":4,"column":4},"end":{"line":4,"column":12}},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start":43,"end":47,"loc":{"start":{"line":4,"column":4},"end":{"line":4,"column":8}}
|
|
},
|
|
"computed": false,
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start":48,"end":51,"loc":{"start":{"line":4,"column":9},"end":{"line":4,"column":12},"identifierName":"bar"},
|
|
"name": "bar"
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"start":54,"end":62,"loc":{"start":{"line":4,"column":15},"end":{"line":4,"column":23}},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start":54,"end":58,"loc":{"start":{"line":4,"column":15},"end":{"line":4,"column":19}}
|
|
},
|
|
"computed": false,
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start":59,"end":62,"loc":{"start":{"line":4,"column":20},"end":{"line":4,"column":23},"identifierName":"foo"},
|
|
"name": "foo"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |