878 lines
23 KiB
JSON
878 lines
23 KiB
JSON
{
|
|
"type": "File",
|
|
"start": 0,
|
|
"end": 311,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 1
|
|
}
|
|
},
|
|
"program": {
|
|
"type": "Program",
|
|
"start": 0,
|
|
"end": 311,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 1
|
|
}
|
|
},
|
|
"sourceType": "script",
|
|
"interpreter": null,
|
|
"body": [
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"start": 0,
|
|
"end": 311,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 1
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 6,
|
|
"end": 7,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 7
|
|
},
|
|
"identifierName": "A"
|
|
},
|
|
"name": "A"
|
|
},
|
|
"superClass": null,
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start": 8,
|
|
"end": 311,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 1
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 12,
|
|
"end": 23,
|
|
"loc": {
|
|
"start": {
|
|
"line": 2,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"column": 7
|
|
}
|
|
},
|
|
"static": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 12,
|
|
"end": 15,
|
|
"loc": {
|
|
"start": {
|
|
"line": 2,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 2,
|
|
"column": 5
|
|
},
|
|
"identifierName": "get"
|
|
},
|
|
"name": "get"
|
|
},
|
|
"computed": false,
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 21,
|
|
"end": 23,
|
|
"loc": {
|
|
"start": {
|
|
"line": 3,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"column": 7
|
|
}
|
|
},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 27,
|
|
"end": 38,
|
|
"loc": {
|
|
"start": {
|
|
"line": 5,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"column": 7
|
|
}
|
|
},
|
|
"static": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 27,
|
|
"end": 30,
|
|
"loc": {
|
|
"start": {
|
|
"line": 5,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 5,
|
|
"column": 5
|
|
},
|
|
"identifierName": "set"
|
|
},
|
|
"name": "set"
|
|
},
|
|
"computed": false,
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 36,
|
|
"end": 38,
|
|
"loc": {
|
|
"start": {
|
|
"line": 6,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"column": 7
|
|
}
|
|
},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 42,
|
|
"end": 56,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 9,
|
|
"column": 7
|
|
}
|
|
},
|
|
"kind": "method",
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 42,
|
|
"end": 48,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 8
|
|
},
|
|
"identifierName": "static"
|
|
},
|
|
"name": "static"
|
|
},
|
|
"static": false,
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 54,
|
|
"end": 56,
|
|
"loc": {
|
|
"start": {
|
|
"line": 9,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 9,
|
|
"column": 7
|
|
}
|
|
},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 60,
|
|
"end": 73,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 7
|
|
}
|
|
},
|
|
"static": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 60,
|
|
"end": 65,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 7
|
|
},
|
|
"identifierName": "async"
|
|
},
|
|
"name": "async"
|
|
},
|
|
"computed": false,
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 71,
|
|
"end": 73,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 7
|
|
}
|
|
},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 78,
|
|
"end": 91,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 7
|
|
}
|
|
},
|
|
"static": false,
|
|
"key": {
|
|
"type": "StringLiteral",
|
|
"start": 78,
|
|
"end": 83,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 7
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "get",
|
|
"raw": "'get'"
|
|
},
|
|
"value": "get"
|
|
},
|
|
"computed": false,
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 89,
|
|
"end": 91,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 7
|
|
}
|
|
},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 95,
|
|
"end": 108,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 7
|
|
}
|
|
},
|
|
"static": false,
|
|
"key": {
|
|
"type": "StringLiteral",
|
|
"start": 95,
|
|
"end": 100,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 7
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "set",
|
|
"raw": "'set'"
|
|
},
|
|
"value": "set"
|
|
},
|
|
"computed": false,
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 106,
|
|
"end": 108,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 7
|
|
}
|
|
},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 112,
|
|
"end": 127,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 7
|
|
}
|
|
},
|
|
"static": false,
|
|
"key": {
|
|
"type": "StringLiteral",
|
|
"start": 112,
|
|
"end": 119,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 9
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "async",
|
|
"raw": "'async'"
|
|
},
|
|
"value": "async"
|
|
},
|
|
"computed": false,
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 125,
|
|
"end": 127,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 7
|
|
}
|
|
},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 132,
|
|
"end": 152,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 7
|
|
}
|
|
},
|
|
"static": true,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 141,
|
|
"end": 144,
|
|
"loc": {
|
|
"start": {
|
|
"line": 26,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 26,
|
|
"column": 5
|
|
},
|
|
"identifierName": "get"
|
|
},
|
|
"name": "get"
|
|
},
|
|
"computed": false,
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 150,
|
|
"end": 152,
|
|
"loc": {
|
|
"start": {
|
|
"line": 27,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 7
|
|
}
|
|
},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 156,
|
|
"end": 176,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 7
|
|
}
|
|
},
|
|
"static": true,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 165,
|
|
"end": 168,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 5
|
|
},
|
|
"identifierName": "set"
|
|
},
|
|
"name": "set"
|
|
},
|
|
"computed": false,
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 174,
|
|
"end": 176,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 7
|
|
}
|
|
},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 180,
|
|
"end": 203,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 7
|
|
}
|
|
},
|
|
"static": true,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 189,
|
|
"end": 195,
|
|
"loc": {
|
|
"start": {
|
|
"line": 34,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 34,
|
|
"column": 8
|
|
},
|
|
"identifierName": "static"
|
|
},
|
|
"name": "static"
|
|
},
|
|
"computed": false,
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 201,
|
|
"end": 203,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 7
|
|
}
|
|
},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 207,
|
|
"end": 229,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 7
|
|
}
|
|
},
|
|
"static": true,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 216,
|
|
"end": 221,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 7
|
|
},
|
|
"identifierName": "async"
|
|
},
|
|
"name": "async"
|
|
},
|
|
"computed": false,
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 227,
|
|
"end": 229,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 7
|
|
}
|
|
},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 233,
|
|
"end": 251,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 7
|
|
}
|
|
},
|
|
"static": true,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 242,
|
|
"end": 243,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 3
|
|
},
|
|
"identifierName": "a"
|
|
},
|
|
"name": "a"
|
|
},
|
|
"computed": false,
|
|
"kind": "method",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 249,
|
|
"end": 251,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 7
|
|
}
|
|
},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 256,
|
|
"end": 275,
|
|
"loc": {
|
|
"start": {
|
|
"line": 46,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 7
|
|
}
|
|
},
|
|
"static": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 262,
|
|
"end": 267,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 7
|
|
},
|
|
"identifierName": "async"
|
|
},
|
|
"name": "async"
|
|
},
|
|
"computed": false,
|
|
"kind": "get",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 273,
|
|
"end": 275,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 7
|
|
}
|
|
},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 280,
|
|
"end": 309,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 7
|
|
}
|
|
},
|
|
"static": true,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 295,
|
|
"end": 301,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 2
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 8
|
|
},
|
|
"identifierName": "static"
|
|
},
|
|
"name": "static"
|
|
},
|
|
"computed": false,
|
|
"kind": "get",
|
|
"id": null,
|
|
"generator": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 307,
|
|
"end": 309,
|
|
"loc": {
|
|
"start": {
|
|
"line": 54,
|
|
"column": 5
|
|
},
|
|
"end": {
|
|
"line": 54,
|
|
"column": 7
|
|
}
|
|
},
|
|
"body": [],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
} |