2021-01-15 13:30:44 +03:00
|
|
|
{
|
|
|
|
"type": "Script",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1,
|
2023-02-23 10:55:58 +03:00
|
|
|
"end": 4018,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "ClassDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 7,
|
|
|
|
"end": 12,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Shape",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1,
|
|
|
|
"end": 95,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "ClassProperty",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 19,
|
|
|
|
"end": 32,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 19,
|
|
|
|
"end": 23,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "name",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 23,
|
|
|
|
"end": 31,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 25,
|
|
|
|
"end": 31,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"isStatic": false,
|
|
|
|
"decorators": [],
|
|
|
|
"accessibility": null,
|
|
|
|
"isAbstract": false,
|
|
|
|
"isOptional": false,
|
2021-04-06 20:06:18 +03:00
|
|
|
"isOverride": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"readonly": false,
|
|
|
|
"declare": false,
|
|
|
|
"definite": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ClassProperty",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 37,
|
|
|
|
"end": 51,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 37,
|
|
|
|
"end": 42,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "width",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 42,
|
|
|
|
"end": 50,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 44,
|
|
|
|
"end": 50,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"isStatic": false,
|
|
|
|
"decorators": [],
|
|
|
|
"accessibility": null,
|
|
|
|
"isAbstract": false,
|
|
|
|
"isOptional": false,
|
2021-04-06 20:06:18 +03:00
|
|
|
"isOverride": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"readonly": false,
|
|
|
|
"declare": false,
|
|
|
|
"definite": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ClassProperty",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 56,
|
|
|
|
"end": 71,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 56,
|
|
|
|
"end": 62,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "height",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 62,
|
|
|
|
"end": 70,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 64,
|
|
|
|
"end": 70,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"isStatic": false,
|
|
|
|
"decorators": [],
|
|
|
|
"accessibility": null,
|
|
|
|
"isAbstract": false,
|
|
|
|
"isOptional": false,
|
2021-04-06 20:06:18 +03:00
|
|
|
"isOverride": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"readonly": false,
|
|
|
|
"declare": false,
|
|
|
|
"definite": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ClassProperty",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 76,
|
|
|
|
"end": 93,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 76,
|
|
|
|
"end": 83,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "visible",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 83,
|
|
|
|
"end": 92,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 85,
|
|
|
|
"end": 92,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"isStatic": false,
|
|
|
|
"decorators": [],
|
|
|
|
"accessibility": null,
|
|
|
|
"isAbstract": false,
|
|
|
|
"isOptional": false,
|
2021-04-06 20:06:18 +03:00
|
|
|
"isOverride": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"readonly": false,
|
|
|
|
"declare": false,
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"superClass": null,
|
|
|
|
"isAbstract": false,
|
|
|
|
"typeParams": null,
|
|
|
|
"superTypeParams": null,
|
|
|
|
"implements": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 97,
|
|
|
|
"end": 137,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 102,
|
|
|
|
"end": 112,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Dictionary",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 112,
|
|
|
|
"end": 115,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 113,
|
|
|
|
"end": 114,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 113,
|
|
|
|
"end": 114,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": null,
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 118,
|
|
|
|
"end": 136,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "TsIndexSignature",
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 121,
|
|
|
|
"end": 130,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 122,
|
|
|
|
"end": 130,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 124,
|
|
|
|
"end": 130,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 131,
|
|
|
|
"end": 134,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 133,
|
|
|
|
"end": 134,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 133,
|
|
|
|
"end": 134,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"readonly": false,
|
2021-04-04 05:43:13 +03:00
|
|
|
"static": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 120,
|
|
|
|
"end": 134,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 139,
|
|
|
|
"end": 159,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 144,
|
|
|
|
"end": 147,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T00",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 150,
|
|
|
|
"end": 158,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 156,
|
|
|
|
"end": 158,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 156,
|
|
|
|
"end": 158,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K0",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 171,
|
|
|
|
"end": 195,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 176,
|
|
|
|
"end": 179,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T01",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 182,
|
|
|
|
"end": 194,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 188,
|
|
|
|
"end": 194,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 188,
|
|
|
|
"end": 194,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Object",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 196,
|
|
|
|
"end": 226,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 201,
|
|
|
|
"end": 204,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T02",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 207,
|
|
|
|
"end": 225,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 213,
|
|
|
|
"end": 225,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 219,
|
|
|
|
"end": 225,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 219,
|
|
|
|
"end": 225,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Object",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 227,
|
|
|
|
"end": 263,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 232,
|
|
|
|
"end": 235,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T03",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 238,
|
|
|
|
"end": 262,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 244,
|
|
|
|
"end": 262,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 250,
|
|
|
|
"end": 262,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 256,
|
|
|
|
"end": 262,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 256,
|
|
|
|
"end": 262,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Object",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 264,
|
|
|
|
"end": 306,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 269,
|
|
|
|
"end": 272,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T04",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 275,
|
|
|
|
"end": 305,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 281,
|
|
|
|
"end": 305,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 287,
|
|
|
|
"end": 305,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 293,
|
|
|
|
"end": 305,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 299,
|
|
|
|
"end": 305,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 299,
|
|
|
|
"end": 305,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Object",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 307,
|
|
|
|
"end": 355,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 312,
|
|
|
|
"end": 315,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T05",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 318,
|
|
|
|
"end": 354,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 324,
|
|
|
|
"end": 354,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 330,
|
|
|
|
"end": 354,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 336,
|
|
|
|
"end": 354,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 342,
|
|
|
|
"end": 354,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 348,
|
|
|
|
"end": 354,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 348,
|
|
|
|
"end": 354,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Object",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 356,
|
|
|
|
"end": 410,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 361,
|
|
|
|
"end": 364,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T06",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 367,
|
|
|
|
"end": 409,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 373,
|
|
|
|
"end": 409,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 379,
|
|
|
|
"end": 409,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 385,
|
|
|
|
"end": 409,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 391,
|
|
|
|
"end": 409,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 397,
|
|
|
|
"end": 409,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 403,
|
|
|
|
"end": 409,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 403,
|
|
|
|
"end": 409,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Object",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 412,
|
|
|
|
"end": 437,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 417,
|
|
|
|
"end": 420,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T10",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 423,
|
|
|
|
"end": 436,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 423,
|
|
|
|
"end": 428,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 423,
|
|
|
|
"end": 428,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Shape",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 429,
|
|
|
|
"end": 435,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 429,
|
|
|
|
"end": 435,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "name",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"name\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 438,
|
|
|
|
"end": 462,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 443,
|
|
|
|
"end": 446,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T11",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 449,
|
|
|
|
"end": 461,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 449,
|
|
|
|
"end": 454,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 449,
|
|
|
|
"end": 454,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Shape",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 455,
|
|
|
|
"end": 460,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 455,
|
|
|
|
"end": 460,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "foo",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"foo\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 473,
|
|
|
|
"end": 506,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 478,
|
|
|
|
"end": 481,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T12",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 484,
|
|
|
|
"end": 505,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 484,
|
|
|
|
"end": 489,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 484,
|
|
|
|
"end": 489,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Shape",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 490,
|
|
|
|
"end": 504,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 490,
|
|
|
|
"end": 496,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 490,
|
|
|
|
"end": 496,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "name",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"name\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 499,
|
|
|
|
"end": 504,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 499,
|
|
|
|
"end": 504,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "foo",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"foo\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 517,
|
|
|
|
"end": 539,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 522,
|
|
|
|
"end": 525,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T13",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 528,
|
|
|
|
"end": 538,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 528,
|
|
|
|
"end": 533,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 528,
|
|
|
|
"end": 533,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Shape",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 534,
|
|
|
|
"end": 537,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 550,
|
|
|
|
"end": 575,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 555,
|
|
|
|
"end": 558,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T14",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 561,
|
|
|
|
"end": 574,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 561,
|
|
|
|
"end": 566,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 561,
|
|
|
|
"end": 566,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Shape",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 567,
|
|
|
|
"end": 573,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 586,
|
|
|
|
"end": 611,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 591,
|
|
|
|
"end": 594,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T15",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 597,
|
|
|
|
"end": 610,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 597,
|
|
|
|
"end": 602,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 597,
|
|
|
|
"end": 602,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Shape",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 603,
|
|
|
|
"end": 609,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 622,
|
|
|
|
"end": 648,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 627,
|
|
|
|
"end": 630,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T16",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 633,
|
|
|
|
"end": 647,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 633,
|
|
|
|
"end": 638,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 633,
|
|
|
|
"end": 638,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Shape",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 639,
|
|
|
|
"end": 646,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 659,
|
|
|
|
"end": 682,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 664,
|
|
|
|
"end": 667,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T17",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 670,
|
|
|
|
"end": 681,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 670,
|
|
|
|
"end": 675,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 670,
|
|
|
|
"end": 675,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Shape",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 676,
|
|
|
|
"end": 680,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "void"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 693,
|
|
|
|
"end": 721,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 698,
|
|
|
|
"end": 701,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T18",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 704,
|
|
|
|
"end": 720,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 704,
|
|
|
|
"end": 709,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 704,
|
|
|
|
"end": 709,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Shape",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 710,
|
|
|
|
"end": 719,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "undefined"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 732,
|
|
|
|
"end": 764,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 737,
|
|
|
|
"end": 740,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T19",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 743,
|
|
|
|
"end": 763,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 743,
|
|
|
|
"end": 748,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 743,
|
|
|
|
"end": 748,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Shape",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 749,
|
|
|
|
"end": 762,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 751,
|
|
|
|
"end": 760,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 751,
|
|
|
|
"end": 752,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 752,
|
|
|
|
"end": 760,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 754,
|
|
|
|
"end": 760,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 775,
|
|
|
|
"end": 809,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 780,
|
|
|
|
"end": 783,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T20",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 786,
|
|
|
|
"end": 808,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 786,
|
|
|
|
"end": 791,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 786,
|
|
|
|
"end": 791,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Shape",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 792,
|
|
|
|
"end": 807,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 792,
|
|
|
|
"end": 798,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 801,
|
|
|
|
"end": 807,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 820,
|
|
|
|
"end": 854,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 825,
|
|
|
|
"end": 828,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T21",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 831,
|
|
|
|
"end": 853,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 831,
|
|
|
|
"end": 836,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 831,
|
|
|
|
"end": 836,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Shape",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsIntersectionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 837,
|
|
|
|
"end": 852,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 837,
|
|
|
|
"end": 843,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 846,
|
|
|
|
"end": 852,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 855,
|
|
|
|
"end": 890,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 860,
|
|
|
|
"end": 863,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T22",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 866,
|
|
|
|
"end": 889,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 866,
|
|
|
|
"end": 871,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 866,
|
|
|
|
"end": 871,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Shape",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 872,
|
|
|
|
"end": 888,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 872,
|
|
|
|
"end": 878,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 881,
|
|
|
|
"end": 888,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 902,
|
|
|
|
"end": 932,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 907,
|
|
|
|
"end": 910,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T30",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 913,
|
|
|
|
"end": 931,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsArrayType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 913,
|
|
|
|
"end": 921,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"elemType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 913,
|
|
|
|
"end": 919,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 922,
|
|
|
|
"end": 930,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 922,
|
|
|
|
"end": 930,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "length",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"length\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 933,
|
|
|
|
"end": 961,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 938,
|
|
|
|
"end": 941,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T31",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 944,
|
|
|
|
"end": 960,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsArrayType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 944,
|
|
|
|
"end": 952,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"elemType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 944,
|
|
|
|
"end": 950,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 953,
|
|
|
|
"end": 959,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 962,
|
|
|
|
"end": 990,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 967,
|
|
|
|
"end": 970,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T32",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 973,
|
|
|
|
"end": 989,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsArrayType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 973,
|
|
|
|
"end": 981,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"elemType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 973,
|
|
|
|
"end": 979,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 982,
|
|
|
|
"end": 988,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1001,
|
|
|
|
"end": 1030,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1006,
|
|
|
|
"end": 1009,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T33",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1012,
|
|
|
|
"end": 1029,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsArrayType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1012,
|
|
|
|
"end": 1020,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"elemType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1012,
|
|
|
|
"end": 1018,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1021,
|
|
|
|
"end": 1028,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1042,
|
|
|
|
"end": 1077,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1047,
|
|
|
|
"end": 1050,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T40",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1053,
|
|
|
|
"end": 1076,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1053,
|
|
|
|
"end": 1071,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1053,
|
|
|
|
"end": 1063,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Dictionary",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1063,
|
|
|
|
"end": 1071,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1064,
|
|
|
|
"end": 1070,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1072,
|
|
|
|
"end": 1075,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1078,
|
|
|
|
"end": 1116,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1083,
|
|
|
|
"end": 1086,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T41",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1089,
|
|
|
|
"end": 1115,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1089,
|
|
|
|
"end": 1107,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1089,
|
|
|
|
"end": 1099,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Dictionary",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1099,
|
|
|
|
"end": 1107,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1100,
|
|
|
|
"end": 1106,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1108,
|
|
|
|
"end": 1114,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1117,
|
|
|
|
"end": 1155,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1122,
|
|
|
|
"end": 1125,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T42",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1128,
|
|
|
|
"end": 1154,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1128,
|
|
|
|
"end": 1146,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1128,
|
|
|
|
"end": 1138,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Dictionary",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1138,
|
|
|
|
"end": 1146,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1139,
|
|
|
|
"end": 1145,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1147,
|
|
|
|
"end": 1153,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1156,
|
|
|
|
"end": 1195,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1161,
|
|
|
|
"end": 1164,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T43",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1167,
|
|
|
|
"end": 1194,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1167,
|
|
|
|
"end": 1185,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1167,
|
|
|
|
"end": 1177,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Dictionary",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1177,
|
|
|
|
"end": 1185,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1178,
|
|
|
|
"end": 1184,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1186,
|
|
|
|
"end": 1193,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1207,
|
|
|
|
"end": 1227,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1212,
|
|
|
|
"end": 1215,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T50",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1218,
|
|
|
|
"end": 1226,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1218,
|
|
|
|
"end": 1221,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1222,
|
|
|
|
"end": 1225,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1228,
|
|
|
|
"end": 1251,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1233,
|
|
|
|
"end": 1236,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T51",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1239,
|
|
|
|
"end": 1250,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1239,
|
|
|
|
"end": 1242,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1243,
|
|
|
|
"end": 1249,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1252,
|
|
|
|
"end": 1275,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1257,
|
|
|
|
"end": 1260,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T52",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1263,
|
|
|
|
"end": 1274,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1263,
|
|
|
|
"end": 1266,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1267,
|
|
|
|
"end": 1273,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1276,
|
|
|
|
"end": 1300,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1281,
|
|
|
|
"end": 1284,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T53",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1287,
|
|
|
|
"end": 1299,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1287,
|
|
|
|
"end": 1290,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1291,
|
|
|
|
"end": 1298,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1312,
|
|
|
|
"end": 1338,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1317,
|
|
|
|
"end": 1320,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T60",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1323,
|
|
|
|
"end": 1337,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1323,
|
|
|
|
"end": 1325,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"members": []
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1326,
|
|
|
|
"end": 1336,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1326,
|
|
|
|
"end": 1336,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "toString",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"toString\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1339,
|
|
|
|
"end": 1365,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1344,
|
|
|
|
"end": 1347,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T61",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1350,
|
|
|
|
"end": 1364,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTupleType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1350,
|
|
|
|
"end": 1352,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"elemTypes": []
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1353,
|
|
|
|
"end": 1363,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1353,
|
|
|
|
"end": 1363,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "toString",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"toString\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1367,
|
|
|
|
"end": 1393,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "let",
|
|
|
|
"declare": true,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1379,
|
|
|
|
"end": 1392,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1379,
|
|
|
|
"end": 1383,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "cond",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1383,
|
|
|
|
"end": 1392,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1385,
|
|
|
|
"end": 1392,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": null,
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1404,
|
|
|
|
"end": 1415,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "getProperty",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1438,
|
|
|
|
"end": 1444,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1438,
|
|
|
|
"end": 1444,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "obj",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1441,
|
|
|
|
"end": 1444,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1443,
|
|
|
|
"end": 1444,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1443,
|
|
|
|
"end": 1444,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1446,
|
|
|
|
"end": 1452,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1446,
|
|
|
|
"end": 1452,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "key",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1449,
|
|
|
|
"end": 1452,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1451,
|
|
|
|
"end": 1452,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1451,
|
|
|
|
"end": 1452,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1395,
|
|
|
|
"end": 1478,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1454,
|
|
|
|
"end": 1478,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "ReturnStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1460,
|
|
|
|
"end": 1476,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"argument": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1467,
|
|
|
|
"end": 1475,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1467,
|
|
|
|
"end": 1470,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "obj",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "Computed",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1470,
|
|
|
|
"end": 1475,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1471,
|
|
|
|
"end": 1474,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "key",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1415,
|
|
|
|
"end": 1437,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1416,
|
|
|
|
"end": 1417,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1416,
|
|
|
|
"end": 1417,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": null,
|
|
|
|
"default": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1419,
|
|
|
|
"end": 1436,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1419,
|
|
|
|
"end": 1420,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1429,
|
|
|
|
"end": 1436,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1435,
|
|
|
|
"end": 1436,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1435,
|
|
|
|
"end": 1436,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"returnType": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1489,
|
|
|
|
"end": 1500,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "setProperty",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1523,
|
|
|
|
"end": 1529,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1523,
|
|
|
|
"end": 1529,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "obj",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1526,
|
|
|
|
"end": 1529,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1528,
|
|
|
|
"end": 1529,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1528,
|
|
|
|
"end": 1529,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1531,
|
|
|
|
"end": 1537,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1531,
|
|
|
|
"end": 1537,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "key",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1534,
|
|
|
|
"end": 1537,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1536,
|
|
|
|
"end": 1537,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1536,
|
|
|
|
"end": 1537,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1539,
|
|
|
|
"end": 1550,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1539,
|
|
|
|
"end": 1550,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "value",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1544,
|
|
|
|
"end": 1550,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1546,
|
|
|
|
"end": 1550,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1546,
|
|
|
|
"end": 1547,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1546,
|
|
|
|
"end": 1547,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1548,
|
|
|
|
"end": 1549,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1548,
|
|
|
|
"end": 1549,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1480,
|
|
|
|
"end": 1577,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1552,
|
|
|
|
"end": 1577,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1558,
|
|
|
|
"end": 1575,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1558,
|
|
|
|
"end": 1574,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1558,
|
|
|
|
"end": 1566,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1558,
|
|
|
|
"end": 1561,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "obj",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "Computed",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1561,
|
|
|
|
"end": 1566,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1562,
|
|
|
|
"end": 1565,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "key",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1569,
|
|
|
|
"end": 1574,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "value",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1500,
|
|
|
|
"end": 1522,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1501,
|
|
|
|
"end": 1502,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1501,
|
|
|
|
"end": 1502,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": null,
|
|
|
|
"default": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1504,
|
|
|
|
"end": 1521,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1504,
|
|
|
|
"end": 1505,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1514,
|
|
|
|
"end": 1521,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1520,
|
|
|
|
"end": 1521,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1520,
|
|
|
|
"end": 1521,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"returnType": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1588,
|
|
|
|
"end": 1591,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "f10",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1592,
|
|
|
|
"end": 1604,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1592,
|
|
|
|
"end": 1604,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "shape",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1597,
|
|
|
|
"end": 1604,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1599,
|
|
|
|
"end": 1604,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1599,
|
|
|
|
"end": 1604,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Shape",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1579,
|
|
|
|
"end": 1921,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1606,
|
|
|
|
"end": 1921,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1612,
|
|
|
|
"end": 1648,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "let",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1616,
|
|
|
|
"end": 1647,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1616,
|
|
|
|
"end": 1618,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x1",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "CallExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1621,
|
|
|
|
"end": 1647,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"callee": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1621,
|
|
|
|
"end": 1632,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "getProperty",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1633,
|
|
|
|
"end": 1638,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "shape",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1640,
|
|
|
|
"end": 1646,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "name",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"name\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"typeArguments": null
|
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1653,
|
|
|
|
"end": 1689,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "let",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1657,
|
|
|
|
"end": 1688,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1657,
|
|
|
|
"end": 1659,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x2",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "CallExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1662,
|
|
|
|
"end": 1688,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"callee": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1662,
|
|
|
|
"end": 1673,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "getProperty",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1674,
|
|
|
|
"end": 1679,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "shape",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1681,
|
|
|
|
"end": 1687,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "size",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"size\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"typeArguments": null
|
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1704,
|
|
|
|
"end": 1756,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "let",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1708,
|
|
|
|
"end": 1755,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1708,
|
|
|
|
"end": 1710,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x3",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "CallExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1713,
|
|
|
|
"end": 1755,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"callee": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1713,
|
|
|
|
"end": 1724,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "getProperty",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1725,
|
|
|
|
"end": 1730,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "shape",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "ConditionalExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1732,
|
|
|
|
"end": 1754,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1732,
|
|
|
|
"end": 1736,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "cond",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"consequent": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1739,
|
|
|
|
"end": 1745,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "name",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"name\""
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"alternate": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1748,
|
|
|
|
"end": 1754,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "size",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"size\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"typeArguments": null
|
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1771,
|
|
|
|
"end": 1811,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "CallExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1771,
|
|
|
|
"end": 1810,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"callee": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1771,
|
|
|
|
"end": 1782,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "setProperty",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1783,
|
|
|
|
"end": 1788,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "shape",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1790,
|
|
|
|
"end": 1796,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "name",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"name\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1798,
|
|
|
|
"end": 1809,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "rectangle",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"rectangle\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"typeArguments": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1816,
|
|
|
|
"end": 1847,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "CallExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1816,
|
|
|
|
"end": 1846,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"callee": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1816,
|
|
|
|
"end": 1827,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "setProperty",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1828,
|
|
|
|
"end": 1833,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "shape",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1835,
|
|
|
|
"end": 1841,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "size",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"size\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1843,
|
|
|
|
"end": 1845,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 10.0,
|
|
|
|
"raw": "10"
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"typeArguments": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1862,
|
|
|
|
"end": 1909,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "CallExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1862,
|
|
|
|
"end": 1908,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"callee": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1862,
|
|
|
|
"end": 1873,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "setProperty",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"arguments": [
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1874,
|
|
|
|
"end": 1879,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "shape",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "ConditionalExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1881,
|
|
|
|
"end": 1903,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1881,
|
|
|
|
"end": 1885,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "cond",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"consequent": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1888,
|
|
|
|
"end": 1894,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "name",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"name\""
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"alternate": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1897,
|
|
|
|
"end": 1903,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "size",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"size\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1905,
|
|
|
|
"end": 1907,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 10.0,
|
|
|
|
"raw": "10"
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"typeArguments": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": null,
|
|
|
|
"returnType": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1932,
|
|
|
|
"end": 1935,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "f20",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1942,
|
|
|
|
"end": 1950,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1942,
|
|
|
|
"end": 1950,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1943,
|
|
|
|
"end": 1950,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1945,
|
|
|
|
"end": 1950,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1945,
|
|
|
|
"end": 1946,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1945,
|
|
|
|
"end": 1946,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1949,
|
|
|
|
"end": 1950,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1949,
|
|
|
|
"end": 1950,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "U",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1952,
|
|
|
|
"end": 1960,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1952,
|
|
|
|
"end": 1960,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1953,
|
|
|
|
"end": 1960,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIntersectionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1955,
|
|
|
|
"end": 1960,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1955,
|
|
|
|
"end": 1956,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1955,
|
|
|
|
"end": 1956,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1959,
|
|
|
|
"end": 1960,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1959,
|
|
|
|
"end": 1960,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "U",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1962,
|
|
|
|
"end": 1979,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1962,
|
|
|
|
"end": 1979,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k1",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1964,
|
|
|
|
"end": 1979,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1966,
|
|
|
|
"end": 1979,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsParenthesizedType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1972,
|
|
|
|
"end": 1979,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1973,
|
|
|
|
"end": 1978,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1973,
|
|
|
|
"end": 1974,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1973,
|
|
|
|
"end": 1974,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1977,
|
|
|
|
"end": 1978,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1977,
|
|
|
|
"end": 1978,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "U",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1981,
|
|
|
|
"end": 2002,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1981,
|
|
|
|
"end": 2002,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k2",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1983,
|
|
|
|
"end": 2002,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIntersectionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1985,
|
|
|
|
"end": 2002,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1985,
|
|
|
|
"end": 1992,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1991,
|
|
|
|
"end": 1992,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1991,
|
|
|
|
"end": 1992,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1995,
|
|
|
|
"end": 2002,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2001,
|
|
|
|
"end": 2002,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2001,
|
|
|
|
"end": 2002,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "U",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2004,
|
|
|
|
"end": 2021,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2004,
|
|
|
|
"end": 2021,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k3",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2006,
|
|
|
|
"end": 2021,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2008,
|
|
|
|
"end": 2021,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsParenthesizedType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2014,
|
|
|
|
"end": 2021,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIntersectionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2015,
|
|
|
|
"end": 2020,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2015,
|
|
|
|
"end": 2016,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2015,
|
|
|
|
"end": 2016,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2019,
|
|
|
|
"end": 2020,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2019,
|
|
|
|
"end": 2020,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "U",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2023,
|
|
|
|
"end": 2044,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2023,
|
|
|
|
"end": 2044,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k4",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2025,
|
|
|
|
"end": 2044,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2027,
|
|
|
|
"end": 2044,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2027,
|
|
|
|
"end": 2034,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2033,
|
|
|
|
"end": 2034,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2033,
|
|
|
|
"end": 2034,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2037,
|
|
|
|
"end": 2044,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2043,
|
|
|
|
"end": 2044,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2043,
|
|
|
|
"end": 2044,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "U",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1923,
|
|
|
|
"end": 2358,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2046,
|
|
|
|
"end": 2358,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2052,
|
|
|
|
"end": 2058,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2052,
|
|
|
|
"end": 2057,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2052,
|
|
|
|
"end": 2053,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "Computed",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2053,
|
|
|
|
"end": 2057,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2054,
|
|
|
|
"end": 2056,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k1",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2063,
|
|
|
|
"end": 2069,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2063,
|
|
|
|
"end": 2068,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2063,
|
|
|
|
"end": 2064,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "Computed",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2064,
|
|
|
|
"end": 2068,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2065,
|
|
|
|
"end": 2067,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k2",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2074,
|
|
|
|
"end": 2080,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2074,
|
|
|
|
"end": 2079,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2074,
|
|
|
|
"end": 2075,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "Computed",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2075,
|
|
|
|
"end": 2079,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2076,
|
|
|
|
"end": 2078,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k3",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2095,
|
|
|
|
"end": 2101,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2095,
|
|
|
|
"end": 2100,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2095,
|
|
|
|
"end": 2096,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "Computed",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2096,
|
|
|
|
"end": 2100,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2097,
|
|
|
|
"end": 2099,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k4",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2117,
|
|
|
|
"end": 2123,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2117,
|
|
|
|
"end": 2122,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2117,
|
|
|
|
"end": 2118,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "Computed",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2118,
|
|
|
|
"end": 2122,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2119,
|
|
|
|
"end": 2121,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k1",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2128,
|
|
|
|
"end": 2134,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2128,
|
|
|
|
"end": 2133,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2128,
|
|
|
|
"end": 2129,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "Computed",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2129,
|
|
|
|
"end": 2133,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2130,
|
|
|
|
"end": 2132,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k2",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2139,
|
|
|
|
"end": 2145,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2139,
|
|
|
|
"end": 2144,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2139,
|
|
|
|
"end": 2140,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "Computed",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2140,
|
|
|
|
"end": 2144,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2141,
|
|
|
|
"end": 2143,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k3",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2150,
|
|
|
|
"end": 2156,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2150,
|
|
|
|
"end": 2155,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2150,
|
|
|
|
"end": 2151,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "Computed",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2151,
|
|
|
|
"end": 2155,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2152,
|
|
|
|
"end": 2154,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k4",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2162,
|
|
|
|
"end": 2170,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2162,
|
|
|
|
"end": 2169,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2162,
|
|
|
|
"end": 2164,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k1",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2167,
|
|
|
|
"end": 2169,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k2",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2175,
|
|
|
|
"end": 2183,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2175,
|
|
|
|
"end": 2182,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2175,
|
|
|
|
"end": 2177,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k1",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2180,
|
|
|
|
"end": 2182,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k3",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2198,
|
|
|
|
"end": 2206,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2198,
|
|
|
|
"end": 2205,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2198,
|
|
|
|
"end": 2200,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k1",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2203,
|
|
|
|
"end": 2205,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k4",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2222,
|
|
|
|
"end": 2230,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2222,
|
|
|
|
"end": 2229,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2222,
|
|
|
|
"end": 2224,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k2",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2227,
|
|
|
|
"end": 2229,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k1",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2235,
|
|
|
|
"end": 2243,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2235,
|
|
|
|
"end": 2242,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2235,
|
|
|
|
"end": 2237,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k2",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2240,
|
|
|
|
"end": 2242,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k3",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2258,
|
|
|
|
"end": 2266,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2258,
|
|
|
|
"end": 2265,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2258,
|
|
|
|
"end": 2260,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k2",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2263,
|
|
|
|
"end": 2265,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k4",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2282,
|
|
|
|
"end": 2290,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2282,
|
|
|
|
"end": 2289,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2282,
|
|
|
|
"end": 2284,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k3",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2287,
|
|
|
|
"end": 2289,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k1",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2295,
|
|
|
|
"end": 2303,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2295,
|
|
|
|
"end": 2302,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2295,
|
|
|
|
"end": 2297,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k3",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2300,
|
|
|
|
"end": 2302,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k2",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2308,
|
|
|
|
"end": 2316,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2308,
|
|
|
|
"end": 2315,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2308,
|
|
|
|
"end": 2310,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k3",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2313,
|
|
|
|
"end": 2315,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k4",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2322,
|
|
|
|
"end": 2330,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2322,
|
|
|
|
"end": 2329,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2322,
|
|
|
|
"end": 2324,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k4",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2327,
|
|
|
|
"end": 2329,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k1",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2335,
|
|
|
|
"end": 2343,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2335,
|
|
|
|
"end": 2342,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2335,
|
|
|
|
"end": 2337,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k4",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2340,
|
|
|
|
"end": 2342,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k2",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2348,
|
|
|
|
"end": 2356,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2348,
|
|
|
|
"end": 2355,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2348,
|
|
|
|
"end": 2350,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k4",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2353,
|
|
|
|
"end": 2355,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k3",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1935,
|
|
|
|
"end": 1941,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1936,
|
|
|
|
"end": 1937,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1936,
|
|
|
|
"end": 1937,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": null,
|
|
|
|
"default": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1939,
|
|
|
|
"end": 1940,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1939,
|
|
|
|
"end": 1940,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "U",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": null,
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"returnType": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2390,
|
|
|
|
"end": 2392,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "f3",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2463,
|
|
|
|
"end": 2467,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2463,
|
|
|
|
"end": 2467,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "t",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2464,
|
|
|
|
"end": 2467,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2466,
|
|
|
|
"end": 2467,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2466,
|
|
|
|
"end": 2467,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2469,
|
|
|
|
"end": 2473,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2469,
|
|
|
|
"end": 2473,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2470,
|
|
|
|
"end": 2473,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2472,
|
|
|
|
"end": 2473,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2472,
|
|
|
|
"end": 2473,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2475,
|
|
|
|
"end": 2483,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2475,
|
|
|
|
"end": 2483,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "tk",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2477,
|
|
|
|
"end": 2483,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2479,
|
|
|
|
"end": 2483,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2479,
|
|
|
|
"end": 2480,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2479,
|
|
|
|
"end": 2480,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2481,
|
|
|
|
"end": 2482,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2481,
|
|
|
|
"end": 2482,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2485,
|
|
|
|
"end": 2489,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2485,
|
|
|
|
"end": 2489,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "u",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2486,
|
|
|
|
"end": 2489,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2488,
|
|
|
|
"end": 2489,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2488,
|
|
|
|
"end": 2489,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "U",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2491,
|
|
|
|
"end": 2495,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2491,
|
|
|
|
"end": 2495,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "j",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2492,
|
|
|
|
"end": 2495,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2494,
|
|
|
|
"end": 2495,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2494,
|
|
|
|
"end": 2495,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "J",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2497,
|
|
|
|
"end": 2505,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2497,
|
|
|
|
"end": 2505,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "uk",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2499,
|
|
|
|
"end": 2505,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2501,
|
|
|
|
"end": 2505,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2501,
|
|
|
|
"end": 2502,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2501,
|
|
|
|
"end": 2502,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "U",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2503,
|
|
|
|
"end": 2504,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2503,
|
|
|
|
"end": 2504,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2507,
|
|
|
|
"end": 2515,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2507,
|
|
|
|
"end": 2515,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "tj",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2509,
|
|
|
|
"end": 2515,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2511,
|
|
|
|
"end": 2515,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2511,
|
|
|
|
"end": 2512,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2511,
|
|
|
|
"end": 2512,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2513,
|
|
|
|
"end": 2514,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2513,
|
|
|
|
"end": 2514,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "J",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2517,
|
|
|
|
"end": 2525,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2517,
|
|
|
|
"end": 2525,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "uj",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2519,
|
|
|
|
"end": 2525,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2521,
|
|
|
|
"end": 2525,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2521,
|
|
|
|
"end": 2522,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2521,
|
|
|
|
"end": 2522,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "U",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2523,
|
|
|
|
"end": 2524,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2523,
|
|
|
|
"end": 2524,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "J",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2381,
|
|
|
|
"end": 2888,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2533,
|
|
|
|
"end": 2888,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "ForInStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2539,
|
|
|
|
"end": 2743,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"left": {
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2544,
|
|
|
|
"end": 2551,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "let",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2548,
|
|
|
|
"end": 2551,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2548,
|
|
|
|
"end": 2551,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "key",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": null,
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2555,
|
|
|
|
"end": 2556,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "t",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2558,
|
|
|
|
"end": 2743,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2568,
|
|
|
|
"end": 2575,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2568,
|
|
|
|
"end": 2575,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2568,
|
|
|
|
"end": 2571,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "key",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2574,
|
|
|
|
"end": 2575,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2605,
|
|
|
|
"end": 2612,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2605,
|
|
|
|
"end": 2612,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2605,
|
|
|
|
"end": 2606,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2609,
|
|
|
|
"end": 2612,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "key",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2646,
|
|
|
|
"end": 2658,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2646,
|
|
|
|
"end": 2657,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2646,
|
|
|
|
"end": 2652,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2646,
|
|
|
|
"end": 2647,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "t",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "Computed",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2647,
|
|
|
|
"end": 2652,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2648,
|
|
|
|
"end": 2651,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "key",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2655,
|
|
|
|
"end": 2657,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "tk",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2694,
|
|
|
|
"end": 2706,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2694,
|
|
|
|
"end": 2705,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2694,
|
|
|
|
"end": 2696,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "tk",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2699,
|
|
|
|
"end": 2705,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2699,
|
|
|
|
"end": 2700,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "t",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "Computed",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2700,
|
|
|
|
"end": 2705,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2701,
|
|
|
|
"end": 2704,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "key",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2748,
|
|
|
|
"end": 2756,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2748,
|
|
|
|
"end": 2755,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2748,
|
|
|
|
"end": 2750,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "tk",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2753,
|
|
|
|
"end": 2755,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "uk",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2761,
|
|
|
|
"end": 2769,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2761,
|
|
|
|
"end": 2768,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2761,
|
|
|
|
"end": 2763,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "uk",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2766,
|
|
|
|
"end": 2768,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "tk",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2784,
|
|
|
|
"end": 2792,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2784,
|
|
|
|
"end": 2791,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2784,
|
|
|
|
"end": 2786,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "tj",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2789,
|
|
|
|
"end": 2791,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "uj",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2797,
|
|
|
|
"end": 2805,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2797,
|
|
|
|
"end": 2804,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2797,
|
|
|
|
"end": 2799,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "uj",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2802,
|
|
|
|
"end": 2804,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "tj",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2820,
|
|
|
|
"end": 2828,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2820,
|
|
|
|
"end": 2827,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2820,
|
|
|
|
"end": 2822,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "tk",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2825,
|
|
|
|
"end": 2827,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "tj",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2833,
|
|
|
|
"end": 2841,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2833,
|
|
|
|
"end": 2840,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2833,
|
|
|
|
"end": 2835,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "tj",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2838,
|
|
|
|
"end": 2840,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "tk",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2856,
|
|
|
|
"end": 2864,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2856,
|
|
|
|
"end": 2863,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2856,
|
|
|
|
"end": 2858,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "tk",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2861,
|
|
|
|
"end": 2863,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "uj",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2869,
|
|
|
|
"end": 2877,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2869,
|
|
|
|
"end": 2876,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2869,
|
|
|
|
"end": 2871,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "uj",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2874,
|
|
|
|
"end": 2876,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "tk",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2392,
|
|
|
|
"end": 2457,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2393,
|
|
|
|
"end": 2394,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2393,
|
|
|
|
"end": 2394,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": null,
|
|
|
|
"default": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2396,
|
|
|
|
"end": 2430,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2396,
|
|
|
|
"end": 2397,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2406,
|
|
|
|
"end": 2430,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2406,
|
|
|
|
"end": 2413,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Extract",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2413,
|
|
|
|
"end": 2430,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2414,
|
|
|
|
"end": 2421,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2420,
|
|
|
|
"end": 2421,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2420,
|
|
|
|
"end": 2421,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2423,
|
|
|
|
"end": 2429,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2432,
|
|
|
|
"end": 2443,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2432,
|
|
|
|
"end": 2433,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "U",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2442,
|
|
|
|
"end": 2443,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2442,
|
|
|
|
"end": 2443,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2445,
|
|
|
|
"end": 2456,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2445,
|
|
|
|
"end": 2446,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "J",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2455,
|
|
|
|
"end": 2456,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2455,
|
|
|
|
"end": 2456,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"returnType": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2526,
|
|
|
|
"end": 2532,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2528,
|
|
|
|
"end": 2532,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "void"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2943,
|
|
|
|
"end": 2945,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "f4",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2984,
|
|
|
|
"end": 2994,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2984,
|
|
|
|
"end": 2994,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2985,
|
|
|
|
"end": 2994,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2987,
|
|
|
|
"end": 2994,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2993,
|
|
|
|
"end": 2994,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2993,
|
|
|
|
"end": 2994,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2934,
|
|
|
|
"end": 3046,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2996,
|
|
|
|
"end": 3046,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3002,
|
|
|
|
"end": 3009,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3002,
|
|
|
|
"end": 3008,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3002,
|
|
|
|
"end": 3003,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3006,
|
|
|
|
"end": 3008,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 42.0,
|
|
|
|
"raw": "42"
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3023,
|
|
|
|
"end": 3035,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3023,
|
|
|
|
"end": 3034,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3023,
|
|
|
|
"end": 3024,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3027,
|
|
|
|
"end": 3034,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "hello",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"hello\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2945,
|
|
|
|
"end": 2983,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2946,
|
|
|
|
"end": 2982,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2946,
|
|
|
|
"end": 2947,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": {
|
|
|
|
"type": "TsMappedType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2956,
|
|
|
|
"end": 2982,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": null,
|
|
|
|
"typeParam": {
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2959,
|
|
|
|
"end": 2971,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2959,
|
|
|
|
"end": 2960,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2964,
|
|
|
|
"end": 2971,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2970,
|
|
|
|
"end": 2971,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2970,
|
|
|
|
"end": 2971,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
},
|
|
|
|
"nameType": null,
|
|
|
|
"optional": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2974,
|
|
|
|
"end": 2980,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"returnType": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3070,
|
|
|
|
"end": 3179,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3075,
|
|
|
|
"end": 3088,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "UndefinedKeys",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3088,
|
|
|
|
"end": 3119,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3089,
|
|
|
|
"end": 3118,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3089,
|
|
|
|
"end": 3090,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3099,
|
|
|
|
"end": 3118,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3099,
|
|
|
|
"end": 3105,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Record",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3105,
|
|
|
|
"end": 3118,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3106,
|
|
|
|
"end": 3112,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3114,
|
|
|
|
"end": 3117,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsMappedType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3122,
|
|
|
|
"end": 3178,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": null,
|
|
|
|
"typeParam": {
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3127,
|
|
|
|
"end": 3139,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3127,
|
|
|
|
"end": 3128,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3132,
|
|
|
|
"end": 3139,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3138,
|
|
|
|
"end": 3139,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3138,
|
|
|
|
"end": 3139,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
},
|
|
|
|
"nameType": null,
|
|
|
|
"optional": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsConditionalType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3142,
|
|
|
|
"end": 3176,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"checkType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3142,
|
|
|
|
"end": 3151,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "undefined"
|
|
|
|
},
|
|
|
|
"extendsType": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3160,
|
|
|
|
"end": 3164,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3160,
|
|
|
|
"end": 3161,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3160,
|
|
|
|
"end": 3161,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3162,
|
|
|
|
"end": 3163,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3162,
|
|
|
|
"end": 3163,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"trueType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3167,
|
|
|
|
"end": 3168,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3167,
|
|
|
|
"end": 3168,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"falseType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3171,
|
|
|
|
"end": 3176,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "never"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3181,
|
|
|
|
"end": 3229,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3186,
|
|
|
|
"end": 3192,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "MyType",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3195,
|
|
|
|
"end": 3229,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3196,
|
|
|
|
"end": 3206,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3196,
|
|
|
|
"end": 3197,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "a",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3197,
|
|
|
|
"end": 3205,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3199,
|
|
|
|
"end": 3205,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3207,
|
|
|
|
"end": 3228,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3207,
|
|
|
|
"end": 3208,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "b",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3208,
|
|
|
|
"end": 3228,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3210,
|
|
|
|
"end": 3228,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3210,
|
|
|
|
"end": 3216,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3219,
|
|
|
|
"end": 3228,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "undefined"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3231,
|
|
|
|
"end": 3268,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3236,
|
|
|
|
"end": 3243,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Result1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3246,
|
|
|
|
"end": 3267,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3246,
|
|
|
|
"end": 3259,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "UndefinedKeys",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3259,
|
|
|
|
"end": 3267,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3260,
|
|
|
|
"end": 3266,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3260,
|
|
|
|
"end": 3266,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "MyType",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3270,
|
|
|
|
"end": 3299,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3276,
|
|
|
|
"end": 3298,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3276,
|
|
|
|
"end": 3278,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "a1",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3278,
|
|
|
|
"end": 3292,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3280,
|
|
|
|
"end": 3292,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3280,
|
|
|
|
"end": 3287,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3280,
|
|
|
|
"end": 3287,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Result1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3288,
|
|
|
|
"end": 3291,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3288,
|
|
|
|
"end": 3291,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "a",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "'a'"
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3295,
|
|
|
|
"end": 3298,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "a",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "'a'"
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3310,
|
|
|
|
"end": 3339,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3316,
|
|
|
|
"end": 3338,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3316,
|
|
|
|
"end": 3318,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "b1",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3318,
|
|
|
|
"end": 3332,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3320,
|
|
|
|
"end": 3332,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3320,
|
|
|
|
"end": 3327,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3320,
|
|
|
|
"end": 3327,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Result1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3328,
|
|
|
|
"end": 3331,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3328,
|
|
|
|
"end": 3331,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "b",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "'b'"
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3335,
|
|
|
|
"end": 3338,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "b",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "'b'"
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3350,
|
|
|
|
"end": 3355,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "test1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3406,
|
|
|
|
"end": 3410,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3406,
|
|
|
|
"end": 3410,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "t",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3407,
|
|
|
|
"end": 3410,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3409,
|
|
|
|
"end": 3410,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3409,
|
|
|
|
"end": 3410,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3412,
|
|
|
|
"end": 3416,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3412,
|
|
|
|
"end": 3416,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3413,
|
|
|
|
"end": 3416,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3415,
|
|
|
|
"end": 3416,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3415,
|
|
|
|
"end": 3416,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3341,
|
|
|
|
"end": 3507,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3418,
|
|
|
|
"end": 3507,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3424,
|
|
|
|
"end": 3434,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3424,
|
|
|
|
"end": 3433,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3424,
|
|
|
|
"end": 3428,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3424,
|
|
|
|
"end": 3425,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "t",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "Computed",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3425,
|
|
|
|
"end": 3428,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3426,
|
|
|
|
"end": 3427,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3431,
|
|
|
|
"end": 3433,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 42.0,
|
|
|
|
"raw": "42"
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3449,
|
|
|
|
"end": 3464,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3449,
|
|
|
|
"end": 3463,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3449,
|
|
|
|
"end": 3453,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3449,
|
|
|
|
"end": 3450,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "t",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "Computed",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3450,
|
|
|
|
"end": 3453,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3451,
|
|
|
|
"end": 3452,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3456,
|
|
|
|
"end": 3463,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "hello",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"hello\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3479,
|
|
|
|
"end": 3495,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3479,
|
|
|
|
"end": 3494,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3479,
|
|
|
|
"end": 3483,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3479,
|
|
|
|
"end": 3480,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "t",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "Computed",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3480,
|
|
|
|
"end": 3483,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3481,
|
|
|
|
"end": 3482,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "k",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "ArrayExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3486,
|
|
|
|
"end": 3494,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"elements": [
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3487,
|
|
|
|
"end": 3489,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 10.0,
|
|
|
|
"raw": "10"
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"spread": null,
|
|
|
|
"expression": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3491,
|
|
|
|
"end": 3493,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 20.0,
|
|
|
|
"raw": "20"
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3355,
|
|
|
|
"end": 3405,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3356,
|
|
|
|
"end": 3385,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3356,
|
|
|
|
"end": 3357,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3366,
|
|
|
|
"end": 3385,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3366,
|
|
|
|
"end": 3372,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Record",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3372,
|
|
|
|
"end": 3385,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3373,
|
|
|
|
"end": 3379,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3381,
|
|
|
|
"end": 3384,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3387,
|
|
|
|
"end": 3404,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3387,
|
|
|
|
"end": 3388,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3397,
|
|
|
|
"end": 3404,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3403,
|
|
|
|
"end": 3404,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3403,
|
|
|
|
"end": 3404,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"returnType": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3540,
|
|
|
|
"end": 3543,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "f30",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"params": [],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3531,
|
|
|
|
"end": 3629,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3568,
|
|
|
|
"end": 3629,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3574,
|
|
|
|
"end": 3627,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "let",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3578,
|
|
|
|
"end": 3626,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3578,
|
|
|
|
"end": 3579,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3579,
|
|
|
|
"end": 3616,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3581,
|
|
|
|
"end": 3616,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3581,
|
|
|
|
"end": 3613,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3581,
|
|
|
|
"end": 3588,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Partial",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3588,
|
|
|
|
"end": 3613,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3589,
|
|
|
|
"end": 3612,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3589,
|
|
|
|
"end": 3595,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Record",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3595,
|
|
|
|
"end": 3612,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3596,
|
|
|
|
"end": 3603,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3602,
|
|
|
|
"end": 3603,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3602,
|
|
|
|
"end": 3603,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3605,
|
|
|
|
"end": 3611,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3614,
|
|
|
|
"end": 3615,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3614,
|
|
|
|
"end": 3615,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3619,
|
|
|
|
"end": 3626,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "hello",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"hello\""
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3543,
|
|
|
|
"end": 3565,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3544,
|
|
|
|
"end": 3545,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3544,
|
|
|
|
"end": 3545,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": null,
|
|
|
|
"default": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3547,
|
|
|
|
"end": 3564,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3547,
|
|
|
|
"end": 3548,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3557,
|
|
|
|
"end": 3564,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3563,
|
|
|
|
"end": 3564,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3563,
|
|
|
|
"end": 3564,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"returnType": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3640,
|
|
|
|
"end": 3643,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "f31",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"params": [],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3631,
|
|
|
|
"end": 3783,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3668,
|
|
|
|
"end": 3783,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3674,
|
|
|
|
"end": 3781,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "let",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3678,
|
|
|
|
"end": 3780,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3678,
|
|
|
|
"end": 3679,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3679,
|
|
|
|
"end": 3770,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3681,
|
|
|
|
"end": 3770,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3681,
|
|
|
|
"end": 3767,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3681,
|
|
|
|
"end": 3688,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Partial",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3688,
|
|
|
|
"end": 3767,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3689,
|
|
|
|
"end": 3766,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3689,
|
|
|
|
"end": 3696,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Partial",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3696,
|
|
|
|
"end": 3766,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3697,
|
|
|
|
"end": 3765,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3697,
|
|
|
|
"end": 3704,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Partial",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3704,
|
|
|
|
"end": 3765,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3705,
|
|
|
|
"end": 3764,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3705,
|
|
|
|
"end": 3712,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Partial",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3712,
|
|
|
|
"end": 3764,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3713,
|
|
|
|
"end": 3763,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3713,
|
|
|
|
"end": 3720,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Partial",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3720,
|
|
|
|
"end": 3763,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3721,
|
|
|
|
"end": 3762,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3721,
|
|
|
|
"end": 3728,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Partial",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3728,
|
|
|
|
"end": 3762,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3729,
|
|
|
|
"end": 3761,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3729,
|
|
|
|
"end": 3736,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Partial",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3736,
|
|
|
|
"end": 3761,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3737,
|
|
|
|
"end": 3760,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3737,
|
|
|
|
"end": 3743,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Record",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3743,
|
|
|
|
"end": 3760,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3744,
|
|
|
|
"end": 3751,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3750,
|
|
|
|
"end": 3751,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3750,
|
|
|
|
"end": 3751,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3753,
|
|
|
|
"end": 3759,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3768,
|
|
|
|
"end": 3769,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3768,
|
|
|
|
"end": 3769,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3773,
|
|
|
|
"end": 3780,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "hello",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"hello\""
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3643,
|
|
|
|
"end": 3665,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3644,
|
|
|
|
"end": 3645,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3644,
|
|
|
|
"end": 3645,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": null,
|
|
|
|
"default": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3647,
|
|
|
|
"end": 3664,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3647,
|
|
|
|
"end": 3648,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "K",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2023-01-10 08:08:29 +03:00
|
|
|
"const": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3657,
|
|
|
|
"end": 3664,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3663,
|
|
|
|
"end": 3664,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3663,
|
|
|
|
"end": 3664,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"returnType": null
|
2023-02-23 10:55:58 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ClassDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 3813,
|
|
|
|
"end": 3817,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Test",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"span": {
|
|
|
|
"start": 3807,
|
|
|
|
"end": 4018,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "ClassProperty",
|
|
|
|
"span": {
|
|
|
|
"start": 3856,
|
|
|
|
"end": 3865,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 3856,
|
|
|
|
"end": 3861,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "testy",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 3861,
|
|
|
|
"end": 3864,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
|
|
|
"start": 3863,
|
|
|
|
"end": 3864,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 3863,
|
|
|
|
"end": 3864,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"isStatic": false,
|
|
|
|
"decorators": [],
|
|
|
|
"accessibility": null,
|
|
|
|
"isAbstract": false,
|
|
|
|
"isOptional": false,
|
|
|
|
"isOverride": false,
|
|
|
|
"readonly": false,
|
|
|
|
"declare": false,
|
|
|
|
"definite": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Constructor",
|
|
|
|
"span": {
|
|
|
|
"start": 3869,
|
|
|
|
"end": 3912,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 3869,
|
|
|
|
"end": 3880,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "constructor",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
|
|
|
"start": 3881,
|
|
|
|
"end": 3885,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 3881,
|
|
|
|
"end": 3885,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "t",
|
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 3882,
|
|
|
|
"end": 3885,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
|
|
|
"start": 3884,
|
|
|
|
"end": 3885,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 3884,
|
|
|
|
"end": 3885,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
|
|
|
"start": 3887,
|
|
|
|
"end": 3912,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
|
|
|
"start": 3893,
|
|
|
|
"end": 3908,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
|
|
|
"start": 3893,
|
|
|
|
"end": 3907,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
|
|
|
"start": 3893,
|
|
|
|
"end": 3903,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "ThisExpression",
|
|
|
|
"span": {
|
|
|
|
"start": 3893,
|
|
|
|
"end": 3897,
|
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 3898,
|
|
|
|
"end": 3903,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "testy",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 3906,
|
|
|
|
"end": 3907,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "t",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"accessibility": null,
|
|
|
|
"isOptional": false
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ClassMethod",
|
|
|
|
"span": {
|
|
|
|
"start": 3916,
|
|
|
|
"end": 4016,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 3923,
|
|
|
|
"end": 3924,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "t",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"function": {
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
|
|
|
"start": 3925,
|
|
|
|
"end": 3937,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 3925,
|
|
|
|
"end": 3937,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "key",
|
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 3928,
|
|
|
|
"end": 3937,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
|
|
|
"start": 3930,
|
|
|
|
"end": 3937,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
|
|
|
"start": 3936,
|
|
|
|
"end": 3937,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 3936,
|
|
|
|
"end": 3937,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
|
|
|
"start": 3916,
|
|
|
|
"end": 4016,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
|
|
|
"start": 3947,
|
|
|
|
"end": 4016,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
|
|
|
"start": 3953,
|
|
|
|
"end": 3974,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
|
|
|
"start": 3953,
|
|
|
|
"end": 3973,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "+=",
|
|
|
|
"left": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
|
|
|
"start": 3953,
|
|
|
|
"end": 3968,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
|
|
|
"start": 3953,
|
|
|
|
"end": 3963,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "ThisExpression",
|
|
|
|
"span": {
|
|
|
|
"start": 3953,
|
|
|
|
"end": 3957,
|
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 3958,
|
|
|
|
"end": 3963,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "testy",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Computed",
|
|
|
|
"span": {
|
|
|
|
"start": 3963,
|
|
|
|
"end": 3968,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 3964,
|
|
|
|
"end": 3967,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "key",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 3972,
|
|
|
|
"end": 3973,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": 1.0,
|
|
|
|
"raw": "1"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ReturnStatement",
|
|
|
|
"span": {
|
|
|
|
"start": 3989,
|
|
|
|
"end": 4012,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"argument": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
|
|
|
"start": 3996,
|
|
|
|
"end": 4011,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
|
|
|
"start": 3996,
|
|
|
|
"end": 4006,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "ThisExpression",
|
|
|
|
"span": {
|
|
|
|
"start": 3996,
|
|
|
|
"end": 4000,
|
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 4001,
|
|
|
|
"end": 4006,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "testy",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Computed",
|
|
|
|
"span": {
|
|
|
|
"start": 4006,
|
|
|
|
"end": 4011,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 4007,
|
|
|
|
"end": 4010,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "key",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": null,
|
|
|
|
"returnType": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 3938,
|
|
|
|
"end": 3946,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 3940,
|
|
|
|
"end": 3946,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"kind": "method",
|
|
|
|
"isStatic": false,
|
|
|
|
"accessibility": "public",
|
|
|
|
"isAbstract": false,
|
|
|
|
"isOptional": false,
|
|
|
|
"isOverride": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"superClass": null,
|
|
|
|
"isAbstract": false,
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 3817,
|
|
|
|
"end": 3851,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
|
|
|
"start": 3818,
|
|
|
|
"end": 3850,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 3818,
|
|
|
|
"end": 3819,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"in": false,
|
|
|
|
"out": false,
|
|
|
|
"const": false,
|
|
|
|
"constraint": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
|
|
|
"start": 3828,
|
|
|
|
"end": 3850,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 3828,
|
|
|
|
"end": 3834,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Record",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
|
|
|
"start": 3834,
|
|
|
|
"end": 3850,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 3835,
|
|
|
|
"end": 3841,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 3843,
|
|
|
|
"end": 3849,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"superTypeParams": null,
|
|
|
|
"implements": []
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"interpreter": null
|
|
|
|
}
|