2021-01-15 13:30:44 +03:00
|
|
|
{
|
|
|
|
"type": "Script",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 54,
|
|
|
|
"end": 3591,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 54,
|
|
|
|
"end": 101,
|
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": 59,
|
|
|
|
"end": 75,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "CheckBooleanOnly",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 75,
|
|
|
|
"end": 94,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 76,
|
|
|
|
"end": 93,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 76,
|
|
|
|
"end": 77,
|
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,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 86,
|
|
|
|
"end": 93,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 97,
|
|
|
|
"end": 100,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 152,
|
|
|
|
"end": 204,
|
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": 157,
|
|
|
|
"end": 163,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T_ERR1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 166,
|
|
|
|
"end": 203,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 166,
|
|
|
|
"end": 182,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "CheckBooleanOnly",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 182,
|
|
|
|
"end": 203,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 183,
|
|
|
|
"end": 202,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 183,
|
|
|
|
"end": 190,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 193,
|
|
|
|
"end": 202,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "undefined"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsEnumDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 206,
|
|
|
|
"end": 235,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"isConst": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 211,
|
|
|
|
"end": 223,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "NumericEnum1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "TsEnumMember",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 226,
|
|
|
|
"end": 227,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 226,
|
|
|
|
"end": 227,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "A",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"init": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsEnumMember",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 229,
|
|
|
|
"end": 230,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 229,
|
|
|
|
"end": 230,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "B",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"init": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsEnumMember",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 232,
|
|
|
|
"end": 233,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 232,
|
|
|
|
"end": 233,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "C",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"init": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsEnumDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 236,
|
|
|
|
"end": 278,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"isConst": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 241,
|
|
|
|
"end": 253,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "NumericEnum2",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "TsEnumMember",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 256,
|
|
|
|
"end": 261,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 256,
|
|
|
|
"end": 257,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "A",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 260,
|
|
|
|
"end": 261,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 0.0,
|
|
|
|
"raw": "0"
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsEnumMember",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 263,
|
|
|
|
"end": 268,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 263,
|
|
|
|
"end": 264,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "B",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 267,
|
|
|
|
"end": 268,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 1.0,
|
|
|
|
"raw": "1"
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsEnumMember",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 271,
|
|
|
|
"end": 276,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 271,
|
|
|
|
"end": 272,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "C",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 275,
|
|
|
|
"end": 276,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 2.0,
|
|
|
|
"raw": "2"
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsEnumDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 279,
|
|
|
|
"end": 323,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"isConst": false,
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 284,
|
|
|
|
"end": 295,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "StringEnum1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "TsEnumMember",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 298,
|
|
|
|
"end": 309,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 298,
|
|
|
|
"end": 299,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "A",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 302,
|
|
|
|
"end": 309,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Alpha",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"Alpha\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsEnumMember",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 311,
|
|
|
|
"end": 321,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 311,
|
|
|
|
"end": 312,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "B",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 315,
|
|
|
|
"end": 321,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Beta",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"Beta\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 325,
|
|
|
|
"end": 372,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": true,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 339,
|
|
|
|
"end": 371,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 339,
|
|
|
|
"end": 345,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
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": 345,
|
|
|
|
"end": 371,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 347,
|
|
|
|
"end": 371,
|
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": 350,
|
|
|
|
"end": 359,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "s",
|
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": 351,
|
|
|
|
"end": 359,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 353,
|
|
|
|
"end": 359,
|
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": 360,
|
|
|
|
"end": 369,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 362,
|
|
|
|
"end": 369,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": 349,
|
|
|
|
"end": 369,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": null,
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 407,
|
|
|
|
"end": 441,
|
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": 413,
|
|
|
|
"end": 440,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 413,
|
|
|
|
"end": 415,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "e1",
|
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": 415,
|
|
|
|
"end": 424,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 417,
|
|
|
|
"end": 424,
|
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": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 427,
|
|
|
|
"end": 440,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 427,
|
|
|
|
"end": 433,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"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": 433,
|
|
|
|
"end": 440,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 434,
|
|
|
|
"end": 439,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "foo",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"foo\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 442,
|
|
|
|
"end": 473,
|
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": 448,
|
|
|
|
"end": 472,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 448,
|
|
|
|
"end": 450,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "e2",
|
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": 450,
|
|
|
|
"end": 459,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 452,
|
|
|
|
"end": 459,
|
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": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 462,
|
|
|
|
"end": 472,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 462,
|
|
|
|
"end": 468,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 469,
|
|
|
|
"end": 472,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "bar",
|
|
|
|
"optional": false
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 474,
|
|
|
|
"end": 504,
|
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": 480,
|
|
|
|
"end": 503,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 480,
|
|
|
|
"end": 482,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "e3",
|
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": 482,
|
|
|
|
"end": 491,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 484,
|
|
|
|
"end": 491,
|
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": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 494,
|
|
|
|
"end": 503,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 494,
|
|
|
|
"end": 500,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"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": 500,
|
|
|
|
"end": 503,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 501,
|
|
|
|
"end": 502,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 0.0,
|
|
|
|
"raw": "0"
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 505,
|
|
|
|
"end": 554,
|
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": 511,
|
|
|
|
"end": 553,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 511,
|
|
|
|
"end": 513,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "e4",
|
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": 513,
|
|
|
|
"end": 522,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 515,
|
|
|
|
"end": 522,
|
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": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 525,
|
|
|
|
"end": 553,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 525,
|
|
|
|
"end": 531,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"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": 531,
|
|
|
|
"end": 553,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "TsAsExpression",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 532,
|
|
|
|
"end": 552,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 532,
|
|
|
|
"end": 533,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 0.0,
|
|
|
|
"raw": "0"
|
2022-01-10 16:54:42 +03:00
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 537,
|
|
|
|
"end": 552,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 537,
|
|
|
|
"end": 543,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 546,
|
|
|
|
"end": 552,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 555,
|
|
|
|
"end": 603,
|
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": 561,
|
|
|
|
"end": 602,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 561,
|
|
|
|
"end": 563,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "e5",
|
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": 563,
|
|
|
|
"end": 572,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 565,
|
|
|
|
"end": 572,
|
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": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 575,
|
|
|
|
"end": 602,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 575,
|
|
|
|
"end": 581,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"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": 581,
|
|
|
|
"end": 602,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "TsAsExpression",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 582,
|
|
|
|
"end": 601,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 582,
|
|
|
|
"end": 583,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 0.0,
|
|
|
|
"raw": "0"
|
2022-01-10 16:54:42 +03:00
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 587,
|
|
|
|
"end": 601,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 587,
|
|
|
|
"end": 593,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
{
|
|
|
|
"type": "TsLiteralType",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 596,
|
|
|
|
"end": 597,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"literal": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 596,
|
|
|
|
"end": 597,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 0.0,
|
|
|
|
"raw": "0"
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
{
|
|
|
|
"type": "TsLiteralType",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 600,
|
|
|
|
"end": 601,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"literal": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 600,
|
|
|
|
"end": 601,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 1.0,
|
|
|
|
"raw": "1"
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
]
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 604,
|
|
|
|
"end": 643,
|
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": 610,
|
|
|
|
"end": 642,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 610,
|
|
|
|
"end": 612,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "e6",
|
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": 612,
|
|
|
|
"end": 621,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 614,
|
|
|
|
"end": 621,
|
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": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 624,
|
|
|
|
"end": 642,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 624,
|
|
|
|
"end": 630,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"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": 630,
|
|
|
|
"end": 642,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "TsAsExpression",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 631,
|
|
|
|
"end": 641,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 631,
|
|
|
|
"end": 632,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 0.0,
|
|
|
|
"raw": "0"
|
2022-01-10 16:54:42 +03:00
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 636,
|
|
|
|
"end": 641,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsLiteralType",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 636,
|
|
|
|
"end": 637,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"literal": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 636,
|
|
|
|
"end": 637,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 0.0,
|
|
|
|
"raw": "0"
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
{
|
|
|
|
"type": "TsLiteralType",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 640,
|
|
|
|
"end": 641,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"literal": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 640,
|
|
|
|
"end": 641,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 1.0,
|
|
|
|
"raw": "1"
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
]
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 644,
|
|
|
|
"end": 695,
|
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": 650,
|
|
|
|
"end": 694,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 650,
|
|
|
|
"end": 652,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "e7",
|
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": 652,
|
|
|
|
"end": 661,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 654,
|
|
|
|
"end": 661,
|
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": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 664,
|
|
|
|
"end": 694,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 664,
|
|
|
|
"end": 670,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"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": 670,
|
|
|
|
"end": 694,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "TsAsExpression",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 671,
|
|
|
|
"end": 693,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 671,
|
|
|
|
"end": 676,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "foo",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"foo\""
|
2022-01-10 16:54:42 +03:00
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 680,
|
|
|
|
"end": 693,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsLiteralType",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 680,
|
|
|
|
"end": 685,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 680,
|
|
|
|
"end": 685,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "foo",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"foo\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
{
|
|
|
|
"type": "TsLiteralType",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 688,
|
|
|
|
"end": 693,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 688,
|
|
|
|
"end": 693,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "baz",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"baz\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
]
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 696,
|
|
|
|
"end": 739,
|
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": 702,
|
|
|
|
"end": 738,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 702,
|
|
|
|
"end": 704,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "e8",
|
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": 704,
|
|
|
|
"end": 713,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 706,
|
|
|
|
"end": 713,
|
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": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 716,
|
|
|
|
"end": 738,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 716,
|
|
|
|
"end": 722,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"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": 722,
|
|
|
|
"end": 738,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 723,
|
|
|
|
"end": 737,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 723,
|
|
|
|
"end": 735,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "NumericEnum1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 736,
|
|
|
|
"end": 737,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "A",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 740,
|
|
|
|
"end": 783,
|
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": 746,
|
|
|
|
"end": 782,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 746,
|
|
|
|
"end": 748,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "e9",
|
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": 748,
|
|
|
|
"end": 757,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 750,
|
|
|
|
"end": 757,
|
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": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 760,
|
|
|
|
"end": 782,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 760,
|
|
|
|
"end": 766,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"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": 766,
|
|
|
|
"end": 782,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 767,
|
|
|
|
"end": 781,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 767,
|
|
|
|
"end": 779,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "NumericEnum2",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 780,
|
|
|
|
"end": 781,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "A",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 784,
|
|
|
|
"end": 827,
|
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": 790,
|
|
|
|
"end": 826,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 790,
|
|
|
|
"end": 793,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "e10",
|
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": 793,
|
|
|
|
"end": 802,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 795,
|
|
|
|
"end": 802,
|
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": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 805,
|
|
|
|
"end": 826,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 805,
|
|
|
|
"end": 811,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"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": 811,
|
|
|
|
"end": 826,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 812,
|
|
|
|
"end": 825,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 812,
|
|
|
|
"end": 823,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "StringEnum1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 824,
|
|
|
|
"end": 825,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "A",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 828,
|
|
|
|
"end": 886,
|
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": 834,
|
|
|
|
"end": 885,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 834,
|
|
|
|
"end": 837,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "e11",
|
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": 837,
|
|
|
|
"end": 846,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 839,
|
|
|
|
"end": 846,
|
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": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 849,
|
|
|
|
"end": 885,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 849,
|
|
|
|
"end": 855,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"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": 855,
|
|
|
|
"end": 885,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "TsAsExpression",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 856,
|
|
|
|
"end": 884,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 856,
|
|
|
|
"end": 869,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 856,
|
|
|
|
"end": 867,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "StringEnum1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 868,
|
|
|
|
"end": 869,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "A",
|
|
|
|
"optional": false
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 873,
|
|
|
|
"end": 884,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 873,
|
|
|
|
"end": 884,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "StringEnum1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 887,
|
|
|
|
"end": 947,
|
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": 893,
|
|
|
|
"end": 946,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 893,
|
|
|
|
"end": 896,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "e12",
|
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": 896,
|
|
|
|
"end": 905,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 898,
|
|
|
|
"end": 905,
|
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": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 908,
|
|
|
|
"end": 946,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 908,
|
|
|
|
"end": 914,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"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": 914,
|
|
|
|
"end": 946,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "TsAsExpression",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 915,
|
|
|
|
"end": 945,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 915,
|
|
|
|
"end": 929,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 915,
|
|
|
|
"end": 927,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "NumericEnum1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 928,
|
|
|
|
"end": 929,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "A",
|
|
|
|
"optional": false
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 933,
|
|
|
|
"end": 945,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 933,
|
|
|
|
"end": 945,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "NumericEnum1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 948,
|
|
|
|
"end": 1008,
|
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": 954,
|
|
|
|
"end": 1007,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 954,
|
|
|
|
"end": 957,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "e13",
|
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": 957,
|
|
|
|
"end": 966,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 959,
|
|
|
|
"end": 966,
|
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": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 969,
|
|
|
|
"end": 1007,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 969,
|
|
|
|
"end": 975,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"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": 975,
|
|
|
|
"end": 1007,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "TsAsExpression",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 976,
|
|
|
|
"end": 1006,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 976,
|
|
|
|
"end": 990,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 976,
|
|
|
|
"end": 988,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "NumericEnum2",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 989,
|
|
|
|
"end": 990,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "A",
|
|
|
|
"optional": false
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 994,
|
|
|
|
"end": 1006,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 994,
|
|
|
|
"end": 1006,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "NumericEnum2",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1009,
|
|
|
|
"end": 1050,
|
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": 1015,
|
|
|
|
"end": 1049,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1015,
|
|
|
|
"end": 1018,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "e14",
|
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": 1018,
|
|
|
|
"end": 1027,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1020,
|
|
|
|
"end": 1027,
|
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": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1030,
|
|
|
|
"end": 1049,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1030,
|
|
|
|
"end": 1036,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"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": 1036,
|
|
|
|
"end": 1049,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "TsAsExpression",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1037,
|
|
|
|
"end": 1048,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "NullLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1037,
|
|
|
|
"end": 1041,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1045,
|
|
|
|
"end": 1048,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1068,
|
|
|
|
"end": 1115,
|
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": 1074,
|
|
|
|
"end": 1114,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1074,
|
|
|
|
"end": 1077,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "ok1",
|
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": 1077,
|
|
|
|
"end": 1098,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1079,
|
|
|
|
"end": 1098,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1079,
|
|
|
|
"end": 1086,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1089,
|
|
|
|
"end": 1098,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "undefined"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1101,
|
|
|
|
"end": 1114,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1101,
|
|
|
|
"end": 1107,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"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": 1107,
|
|
|
|
"end": 1114,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1108,
|
|
|
|
"end": 1113,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "foo",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"foo\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1116,
|
|
|
|
"end": 1160,
|
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": 1122,
|
|
|
|
"end": 1159,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"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": "ok2",
|
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": 1125,
|
|
|
|
"end": 1146,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1127,
|
|
|
|
"end": 1146,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1127,
|
|
|
|
"end": 1134,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1137,
|
|
|
|
"end": 1146,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "undefined"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1149,
|
|
|
|
"end": 1159,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1149,
|
|
|
|
"end": 1155,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1156,
|
|
|
|
"end": 1159,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "bar",
|
|
|
|
"optional": false
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1162,
|
|
|
|
"end": 1217,
|
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": 1167,
|
|
|
|
"end": 1172,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T_OK1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1175,
|
|
|
|
"end": 1216,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1175,
|
|
|
|
"end": 1191,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "CheckBooleanOnly",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1191,
|
|
|
|
"end": 1216,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1192,
|
|
|
|
"end": 1215,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsParenthesizedType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1192,
|
|
|
|
"end": 1207,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeQuery",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1193,
|
|
|
|
"end": 1206,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"exprName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1200,
|
|
|
|
"end": 1206,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"optional": false
|
2022-02-20 18:51:31 +03:00
|
|
|
},
|
|
|
|
"typeArguments": null
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1208,
|
|
|
|
"end": 1214,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1218,
|
|
|
|
"end": 1272,
|
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": 1223,
|
|
|
|
"end": 1228,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T_OK2",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1231,
|
|
|
|
"end": 1271,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1231,
|
|
|
|
"end": 1247,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "CheckBooleanOnly",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1247,
|
|
|
|
"end": 1271,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1248,
|
|
|
|
"end": 1270,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsParenthesizedType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1248,
|
|
|
|
"end": 1263,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeQuery",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1249,
|
|
|
|
"end": 1262,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"exprName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1256,
|
|
|
|
"end": 1262,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"optional": false
|
2022-02-20 18:51:31 +03:00
|
|
|
},
|
|
|
|
"typeArguments": null
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1264,
|
|
|
|
"end": 1269,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1264,
|
|
|
|
"end": 1269,
|
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": 1273,
|
|
|
|
"end": 1335,
|
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": 1278,
|
|
|
|
"end": 1283,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T_OK3",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1286,
|
|
|
|
"end": 1334,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1286,
|
|
|
|
"end": 1302,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "CheckBooleanOnly",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1302,
|
|
|
|
"end": 1334,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1303,
|
|
|
|
"end": 1333,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsParenthesizedType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1303,
|
|
|
|
"end": 1318,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeQuery",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1304,
|
|
|
|
"end": 1317,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"exprName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1311,
|
|
|
|
"end": 1317,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"optional": false
|
2022-02-20 18:51:31 +03:00
|
|
|
},
|
|
|
|
"typeArguments": null
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1319,
|
|
|
|
"end": 1332,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1319,
|
|
|
|
"end": 1324,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1319,
|
|
|
|
"end": 1324,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "bar",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"bar\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsLiteralType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1327,
|
|
|
|
"end": 1332,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"literal": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1327,
|
|
|
|
"end": 1332,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "baz",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"baz\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1336,
|
|
|
|
"end": 1391,
|
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": 1341,
|
|
|
|
"end": 1346,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T_OK4",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1349,
|
|
|
|
"end": 1390,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1349,
|
|
|
|
"end": 1365,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "CheckBooleanOnly",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1365,
|
|
|
|
"end": 1390,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1366,
|
|
|
|
"end": 1389,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsParenthesizedType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1366,
|
|
|
|
"end": 1381,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeQuery",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1367,
|
|
|
|
"end": 1380,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"exprName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1374,
|
|
|
|
"end": 1380,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"optional": false
|
2022-02-20 18:51:31 +03:00
|
|
|
},
|
|
|
|
"typeArguments": null
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1382,
|
|
|
|
"end": 1388,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeAliasDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1392,
|
|
|
|
"end": 1444,
|
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": 1397,
|
|
|
|
"end": 1402,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T_OK5",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1405,
|
|
|
|
"end": 1443,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1405,
|
|
|
|
"end": 1421,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "CheckBooleanOnly",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1421,
|
|
|
|
"end": 1443,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsIndexedAccessType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1422,
|
|
|
|
"end": 1442,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"objectType": {
|
|
|
|
"type": "TsParenthesizedType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1422,
|
|
|
|
"end": 1437,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeQuery",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1423,
|
|
|
|
"end": 1436,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"exprName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1430,
|
|
|
|
"end": 1436,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"optional": false
|
2022-02-20 18:51:31 +03:00
|
|
|
},
|
|
|
|
"typeArguments": null
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"indexType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1438,
|
|
|
|
"end": 1441,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1502,
|
|
|
|
"end": 1528,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1502,
|
|
|
|
"end": 1527,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1502,
|
|
|
|
"end": 1515,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1502,
|
|
|
|
"end": 1508,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"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": 1508,
|
|
|
|
"end": 1515,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1509,
|
|
|
|
"end": 1514,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "baz",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"baz\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1518,
|
|
|
|
"end": 1527,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "undefined",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1529,
|
|
|
|
"end": 1552,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1529,
|
|
|
|
"end": 1551,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1529,
|
|
|
|
"end": 1539,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1529,
|
|
|
|
"end": 1535,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1536,
|
|
|
|
"end": 1539,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "qua",
|
|
|
|
"optional": false
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1542,
|
|
|
|
"end": 1551,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "undefined",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1553,
|
|
|
|
"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": 1553,
|
|
|
|
"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": 1553,
|
|
|
|
"end": 1562,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1553,
|
|
|
|
"end": 1559,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"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": 1559,
|
|
|
|
"end": 1562,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1560,
|
|
|
|
"end": 1561,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 0.0,
|
|
|
|
"raw": "0"
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1565,
|
|
|
|
"end": 1574,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "undefined",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1576,
|
|
|
|
"end": 1608,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1576,
|
|
|
|
"end": 1607,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1576,
|
|
|
|
"end": 1595,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1576,
|
|
|
|
"end": 1582,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"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": 1582,
|
|
|
|
"end": 1595,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "TsAsExpression",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1583,
|
|
|
|
"end": 1594,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "NullLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1583,
|
|
|
|
"end": 1587,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1591,
|
|
|
|
"end": 1594,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1598,
|
|
|
|
"end": 1607,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "undefined",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1644,
|
|
|
|
"end": 1691,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": true,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1658,
|
|
|
|
"end": 1690,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1658,
|
|
|
|
"end": 1664,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "numMap",
|
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": 1664,
|
|
|
|
"end": 1690,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1666,
|
|
|
|
"end": 1690,
|
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": 1669,
|
|
|
|
"end": 1678,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "s",
|
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": 1670,
|
|
|
|
"end": 1678,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1672,
|
|
|
|
"end": 1678,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
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": 1679,
|
|
|
|
"end": 1688,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1681,
|
|
|
|
"end": 1688,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": 1668,
|
|
|
|
"end": 1688,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": null,
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1721,
|
|
|
|
"end": 1756,
|
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": 1727,
|
|
|
|
"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": 1727,
|
|
|
|
"end": 1734,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "num_ok1",
|
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": 1734,
|
|
|
|
"end": 1743,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1736,
|
|
|
|
"end": 1743,
|
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": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1746,
|
|
|
|
"end": 1755,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1746,
|
|
|
|
"end": 1752,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "numMap",
|
|
|
|
"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": 1752,
|
|
|
|
"end": 1755,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1753,
|
|
|
|
"end": 1754,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 0.0,
|
|
|
|
"raw": "0"
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1757,
|
|
|
|
"end": 1802,
|
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": 1763,
|
|
|
|
"end": 1801,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1763,
|
|
|
|
"end": 1770,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "num_ok2",
|
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": 1770,
|
|
|
|
"end": 1779,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1772,
|
|
|
|
"end": 1779,
|
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": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1782,
|
|
|
|
"end": 1801,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1782,
|
|
|
|
"end": 1788,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "numMap",
|
|
|
|
"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": 1788,
|
|
|
|
"end": 1801,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "TsAsExpression",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1789,
|
|
|
|
"end": 1800,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1789,
|
|
|
|
"end": 1790,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 0.0,
|
|
|
|
"raw": "0"
|
2022-01-10 16:54:42 +03:00
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1794,
|
|
|
|
"end": 1800,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1803,
|
|
|
|
"end": 1847,
|
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": 1809,
|
|
|
|
"end": 1846,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1809,
|
|
|
|
"end": 1816,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "num_ok3",
|
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": 1816,
|
|
|
|
"end": 1825,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1818,
|
|
|
|
"end": 1825,
|
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": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1828,
|
|
|
|
"end": 1846,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1828,
|
|
|
|
"end": 1834,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "numMap",
|
|
|
|
"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": 1834,
|
|
|
|
"end": 1846,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
2022-01-10 16:54:42 +03:00
|
|
|
"type": "TsAsExpression",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1835,
|
|
|
|
"end": 1845,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1835,
|
|
|
|
"end": 1836,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 0.0,
|
|
|
|
"raw": "0"
|
2022-01-10 16:54:42 +03:00
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1840,
|
|
|
|
"end": 1845,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsLiteralType",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1840,
|
|
|
|
"end": 1841,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"literal": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1840,
|
|
|
|
"end": 1841,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 0.0,
|
|
|
|
"raw": "0"
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
{
|
|
|
|
"type": "TsLiteralType",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1844,
|
|
|
|
"end": 1845,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"literal": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1844,
|
|
|
|
"end": 1845,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 1.0,
|
|
|
|
"raw": "1"
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
]
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1848,
|
|
|
|
"end": 1896,
|
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": 1854,
|
|
|
|
"end": 1895,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1854,
|
|
|
|
"end": 1861,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "num_ok4",
|
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": 1861,
|
|
|
|
"end": 1870,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1863,
|
|
|
|
"end": 1870,
|
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": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1873,
|
|
|
|
"end": 1895,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1873,
|
|
|
|
"end": 1879,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "numMap",
|
|
|
|
"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": 1879,
|
|
|
|
"end": 1895,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1880,
|
|
|
|
"end": 1894,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1880,
|
|
|
|
"end": 1892,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "NumericEnum1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1893,
|
|
|
|
"end": 1894,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "A",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1897,
|
|
|
|
"end": 1945,
|
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": 1903,
|
|
|
|
"end": 1944,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1903,
|
|
|
|
"end": 1910,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "num_ok5",
|
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": 1910,
|
|
|
|
"end": 1919,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1912,
|
|
|
|
"end": 1919,
|
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": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1922,
|
|
|
|
"end": 1944,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1922,
|
|
|
|
"end": 1928,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "numMap",
|
|
|
|
"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": 1928,
|
|
|
|
"end": 1944,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
2021-01-15 13:30:44 +03:00
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1929,
|
|
|
|
"end": 1943,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1929,
|
|
|
|
"end": 1941,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "NumericEnum2",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1942,
|
|
|
|
"end": 1943,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "A",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
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": 1968,
|
|
|
|
"end": 1976,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "generic1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2013,
|
|
|
|
"end": 2019,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2013,
|
|
|
|
"end": 2019,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "arg",
|
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": 2016,
|
|
|
|
"end": 2019,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2018,
|
|
|
|
"end": 2019,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2018,
|
|
|
|
"end": 2019,
|
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": 1959,
|
|
|
|
"end": 2077,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2030,
|
|
|
|
"end": 2077,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "ReturnStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2056,
|
|
|
|
"end": 2075,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"argument": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2063,
|
|
|
|
"end": 2074,
|
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": 2066,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "arg",
|
|
|
|
"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": 2066,
|
|
|
|
"end": 2074,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2067,
|
|
|
|
"end": 2073,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "blah",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"blah\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
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": 1976,
|
|
|
|
"end": 2012,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1977,
|
|
|
|
"end": 2011,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"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": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": {
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1987,
|
|
|
|
"end": 2011,
|
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": 1990,
|
|
|
|
"end": 1999,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "s",
|
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": 1991,
|
|
|
|
"end": 1999,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 1993,
|
|
|
|
"end": 1999,
|
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": 2000,
|
|
|
|
"end": 2009,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2002,
|
|
|
|
"end": 2009,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": 1989,
|
|
|
|
"end": 2009,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"returnType": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2020,
|
|
|
|
"end": 2029,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2022,
|
|
|
|
"end": 2029,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2087,
|
|
|
|
"end": 2095,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "generic2",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2132,
|
|
|
|
"end": 2138,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2132,
|
|
|
|
"end": 2138,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "arg",
|
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": 2135,
|
|
|
|
"end": 2138,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2137,
|
|
|
|
"end": 2138,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2137,
|
|
|
|
"end": 2138,
|
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": 2078,
|
|
|
|
"end": 2194,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2149,
|
|
|
|
"end": 2194,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "ReturnStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2172,
|
|
|
|
"end": 2192,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"argument": {
|
|
|
|
"type": "TsNonNullExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2179,
|
|
|
|
"end": 2191,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2179,
|
|
|
|
"end": 2190,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2179,
|
|
|
|
"end": 2182,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "arg",
|
|
|
|
"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": 2182,
|
|
|
|
"end": 2190,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2183,
|
|
|
|
"end": 2189,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "blah",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"blah\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
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": 2095,
|
|
|
|
"end": 2131,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2096,
|
|
|
|
"end": 2130,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2096,
|
|
|
|
"end": 2097,
|
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,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": {
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2106,
|
|
|
|
"end": 2130,
|
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": 2109,
|
|
|
|
"end": 2118,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "s",
|
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": 2110,
|
|
|
|
"end": 2118,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2112,
|
|
|
|
"end": 2118,
|
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": 2119,
|
|
|
|
"end": 2128,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2121,
|
|
|
|
"end": 2128,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": 2108,
|
|
|
|
"end": 2128,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"returnType": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2139,
|
|
|
|
"end": 2148,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2141,
|
|
|
|
"end": 2148,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2204,
|
|
|
|
"end": 2212,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "generic3",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2231,
|
|
|
|
"end": 2237,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2231,
|
|
|
|
"end": 2237,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "arg",
|
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": 2234,
|
|
|
|
"end": 2237,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2236,
|
|
|
|
"end": 2237,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2236,
|
|
|
|
"end": 2237,
|
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": 2195,
|
|
|
|
"end": 2295,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2248,
|
|
|
|
"end": 2295,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "ReturnStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2274,
|
|
|
|
"end": 2293,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"argument": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2281,
|
|
|
|
"end": 2292,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2281,
|
|
|
|
"end": 2287,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMap",
|
|
|
|
"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": 2287,
|
|
|
|
"end": 2292,
|
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": 2288,
|
|
|
|
"end": 2291,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "arg",
|
|
|
|
"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": 2212,
|
|
|
|
"end": 2230,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2213,
|
|
|
|
"end": 2229,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2213,
|
|
|
|
"end": 2214,
|
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,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2223,
|
|
|
|
"end": 2229,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"returnType": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2238,
|
|
|
|
"end": 2247,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2240,
|
|
|
|
"end": 2247,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2343,
|
|
|
|
"end": 2420,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": true,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2357,
|
|
|
|
"end": 2419,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2357,
|
|
|
|
"end": 2361,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "obj1",
|
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": 2361,
|
|
|
|
"end": 2419,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2363,
|
|
|
|
"end": 2419,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2365,
|
|
|
|
"end": 2375,
|
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": 2365,
|
|
|
|
"end": 2366,
|
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": 2366,
|
|
|
|
"end": 2374,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2368,
|
|
|
|
"end": 2374,
|
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": 2376,
|
|
|
|
"end": 2386,
|
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": 2376,
|
|
|
|
"end": 2377,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2377,
|
|
|
|
"end": 2385,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2379,
|
|
|
|
"end": 2385,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsIndexSignature",
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2388,
|
|
|
|
"end": 2399,
|
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": 2391,
|
|
|
|
"end": 2399,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2393,
|
|
|
|
"end": 2399,
|
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": 2400,
|
|
|
|
"end": 2417,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2402,
|
|
|
|
"end": 2417,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2402,
|
|
|
|
"end": 2408,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2411,
|
|
|
|
"end": 2417,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": 2387,
|
|
|
|
"end": 2417,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": null,
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2421,
|
|
|
|
"end": 2431,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2421,
|
|
|
|
"end": 2430,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2421,
|
|
|
|
"end": 2425,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "obj1",
|
|
|
|
"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": 2425,
|
|
|
|
"end": 2430,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2426,
|
|
|
|
"end": 2429,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"x\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2432,
|
|
|
|
"end": 2446,
|
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": 2438,
|
|
|
|
"end": 2445,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2438,
|
|
|
|
"end": 2439,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2442,
|
|
|
|
"end": 2445,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"y\""
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2447,
|
|
|
|
"end": 2455,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2447,
|
|
|
|
"end": 2454,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2447,
|
|
|
|
"end": 2451,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "obj1",
|
|
|
|
"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": 2451,
|
|
|
|
"end": 2454,
|
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": 2452,
|
|
|
|
"end": 2453,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2456,
|
|
|
|
"end": 2469,
|
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": 2460,
|
|
|
|
"end": 2468,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2460,
|
|
|
|
"end": 2462,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "yy",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2465,
|
|
|
|
"end": 2468,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"y\""
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2470,
|
|
|
|
"end": 2479,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2470,
|
|
|
|
"end": 2478,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2470,
|
|
|
|
"end": 2474,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "obj1",
|
|
|
|
"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": 2474,
|
|
|
|
"end": 2478,
|
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": 2475,
|
|
|
|
"end": 2477,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "yy",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2480,
|
|
|
|
"end": 2492,
|
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": 2484,
|
|
|
|
"end": 2491,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2484,
|
|
|
|
"end": 2485,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "z",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2488,
|
|
|
|
"end": 2491,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "z",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"z\""
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2493,
|
|
|
|
"end": 2501,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2493,
|
|
|
|
"end": 2500,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2493,
|
|
|
|
"end": 2497,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "obj1",
|
|
|
|
"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": 2497,
|
|
|
|
"end": 2500,
|
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": 2498,
|
|
|
|
"end": 2499,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "z",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2527,
|
|
|
|
"end": 2605,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": true,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2541,
|
|
|
|
"end": 2604,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2541,
|
|
|
|
"end": 2552,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMapUnion",
|
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": 2552,
|
|
|
|
"end": 2604,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2554,
|
|
|
|
"end": 2604,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2554,
|
|
|
|
"end": 2578,
|
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": 2557,
|
|
|
|
"end": 2566,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "s",
|
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": 2558,
|
|
|
|
"end": 2566,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2560,
|
|
|
|
"end": 2566,
|
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": 2567,
|
|
|
|
"end": 2576,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2569,
|
|
|
|
"end": 2576,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": 2556,
|
|
|
|
"end": 2576,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2581,
|
|
|
|
"end": 2604,
|
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": 2584,
|
|
|
|
"end": 2593,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "s",
|
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": 2585,
|
|
|
|
"end": 2593,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2587,
|
|
|
|
"end": 2593,
|
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": 2594,
|
|
|
|
"end": 2602,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2596,
|
|
|
|
"end": 2602,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": 2583,
|
|
|
|
"end": 2602,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": null,
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2622,
|
|
|
|
"end": 2670,
|
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": 2628,
|
|
|
|
"end": 2669,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2628,
|
|
|
|
"end": 2630,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "f1",
|
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": 2630,
|
|
|
|
"end": 2648,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsUnionType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2632,
|
|
|
|
"end": 2648,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"types": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2632,
|
|
|
|
"end": 2639,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "boolean"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2642,
|
|
|
|
"end": 2648,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2651,
|
|
|
|
"end": 2669,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2651,
|
|
|
|
"end": 2662,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "strMapUnion",
|
|
|
|
"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": 2662,
|
|
|
|
"end": 2669,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2663,
|
|
|
|
"end": 2668,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "foo",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"foo\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2699,
|
|
|
|
"end": 2730,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": true,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2713,
|
|
|
|
"end": 2729,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2713,
|
|
|
|
"end": 2714,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "s",
|
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": 2714,
|
|
|
|
"end": 2729,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2716,
|
|
|
|
"end": 2729,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "unique",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2723,
|
|
|
|
"end": 2729,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "symbol"
|
|
|
|
}
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": null,
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2731,
|
|
|
|
"end": 2772,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": true,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2745,
|
|
|
|
"end": 2771,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2745,
|
|
|
|
"end": 2754,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "symbolMap",
|
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": 2754,
|
|
|
|
"end": 2771,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2756,
|
|
|
|
"end": 2771,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2758,
|
|
|
|
"end": 2769,
|
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": 2759,
|
|
|
|
"end": 2760,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "s",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": true,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2761,
|
|
|
|
"end": 2769,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2763,
|
|
|
|
"end": 2769,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": null,
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2773,
|
|
|
|
"end": 2806,
|
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": 2779,
|
|
|
|
"end": 2805,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2779,
|
|
|
|
"end": 2782,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "e15",
|
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": 2782,
|
|
|
|
"end": 2790,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2784,
|
|
|
|
"end": 2790,
|
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
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2793,
|
|
|
|
"end": 2805,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2793,
|
|
|
|
"end": 2802,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "symbolMap",
|
|
|
|
"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": 2802,
|
|
|
|
"end": 2805,
|
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": 2803,
|
|
|
|
"end": 2804,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "s",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2820,
|
|
|
|
"end": 2845,
|
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": 2844,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2820,
|
|
|
|
"end": 2832,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2820,
|
|
|
|
"end": 2829,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "symbolMap",
|
|
|
|
"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": 2829,
|
|
|
|
"end": 2832,
|
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": 2830,
|
|
|
|
"end": 2831,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "s",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2835,
|
|
|
|
"end": 2844,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "undefined",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2882,
|
|
|
|
"end": 2939,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": true,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2896,
|
|
|
|
"end": 2938,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2896,
|
|
|
|
"end": 2915,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "nonEmptyStringArray",
|
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": 2915,
|
|
|
|
"end": 2938,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTupleType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2917,
|
|
|
|
"end": 2938,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"elemTypes": [
|
|
|
|
{
|
|
|
|
"type": "TsTupleElement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2918,
|
|
|
|
"end": 2924,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"label": null,
|
|
|
|
"ty": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2918,
|
|
|
|
"end": 2924,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTupleElement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2926,
|
|
|
|
"end": 2937,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"label": null,
|
|
|
|
"ty": {
|
|
|
|
"type": "TsRestType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2926,
|
|
|
|
"end": 2937,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsArrayType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2929,
|
|
|
|
"end": 2937,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"elemType": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2929,
|
|
|
|
"end": 2935,
|
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
|
|
|
},
|
|
|
|
"init": null,
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2940,
|
|
|
|
"end": 2991,
|
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": 2946,
|
|
|
|
"end": 2990,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2946,
|
|
|
|
"end": 2957,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "variadicOk1",
|
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": 2957,
|
|
|
|
"end": 2965,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2959,
|
|
|
|
"end": 2965,
|
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
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2968,
|
|
|
|
"end": 2990,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2968,
|
|
|
|
"end": 2987,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "nonEmptyStringArray",
|
|
|
|
"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": 2987,
|
|
|
|
"end": 2990,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 2988,
|
|
|
|
"end": 2989,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 0.0,
|
|
|
|
"raw": "0"
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3006,
|
|
|
|
"end": 3060,
|
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": 3012,
|
|
|
|
"end": 3059,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3012,
|
|
|
|
"end": 3026,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "variadicError1",
|
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": 3026,
|
|
|
|
"end": 3034,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3028,
|
|
|
|
"end": 3034,
|
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
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3037,
|
|
|
|
"end": 3059,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3037,
|
|
|
|
"end": 3056,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "nonEmptyStringArray",
|
|
|
|
"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": 3056,
|
|
|
|
"end": 3059,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-01-10 16:54:42 +03:00
|
|
|
"expression": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3057,
|
|
|
|
"end": 3058,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 1.0,
|
|
|
|
"raw": "1"
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3100,
|
|
|
|
"end": 3150,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": true,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3114,
|
|
|
|
"end": 3149,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3114,
|
|
|
|
"end": 3123,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "myRecord1",
|
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": 3123,
|
|
|
|
"end": 3149,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3125,
|
|
|
|
"end": 3149,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3127,
|
|
|
|
"end": 3137,
|
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": 3127,
|
|
|
|
"end": 3128,
|
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": 3128,
|
|
|
|
"end": 3136,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3130,
|
|
|
|
"end": 3136,
|
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": 3138,
|
|
|
|
"end": 3147,
|
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": 3138,
|
|
|
|
"end": 3139,
|
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": 3139,
|
|
|
|
"end": 3147,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3141,
|
|
|
|
"end": 3147,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": null,
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3151,
|
|
|
|
"end": 3224,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": true,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3165,
|
|
|
|
"end": 3223,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3165,
|
|
|
|
"end": 3174,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "myRecord2",
|
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": 3174,
|
|
|
|
"end": 3223,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3176,
|
|
|
|
"end": 3223,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3178,
|
|
|
|
"end": 3188,
|
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": 3178,
|
|
|
|
"end": 3179,
|
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": 3179,
|
|
|
|
"end": 3187,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3181,
|
|
|
|
"end": 3187,
|
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": 3189,
|
|
|
|
"end": 3199,
|
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": 3189,
|
|
|
|
"end": 3190,
|
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": 3190,
|
|
|
|
"end": 3198,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3192,
|
|
|
|
"end": 3198,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsIndexSignature",
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3201,
|
|
|
|
"end": 3212,
|
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": 3204,
|
|
|
|
"end": 3212,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3206,
|
|
|
|
"end": 3212,
|
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": 3213,
|
|
|
|
"end": 3221,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3215,
|
|
|
|
"end": 3221,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": 3200,
|
|
|
|
"end": 3221,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": null,
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3225,
|
|
|
|
"end": 3310,
|
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": 3231,
|
|
|
|
"end": 3309,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3231,
|
|
|
|
"end": 3234,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "fn1",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "ArrowFunctionExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3237,
|
|
|
|
"end": 3309,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3274,
|
|
|
|
"end": 3282,
|
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": 3277,
|
|
|
|
"end": 3282,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3279,
|
|
|
|
"end": 3282,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3279,
|
|
|
|
"end": 3282,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Key",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"body": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3295,
|
|
|
|
"end": 3309,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3295,
|
|
|
|
"end": 3304,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "myRecord1",
|
|
|
|
"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": 3304,
|
|
|
|
"end": 3309,
|
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": 3305,
|
|
|
|
"end": 3308,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "key",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"async": false,
|
|
|
|
"generator": false,
|
|
|
|
"typeParameters": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3237,
|
|
|
|
"end": 3273,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3238,
|
|
|
|
"end": 3272,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3238,
|
|
|
|
"end": 3241,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Key",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3250,
|
|
|
|
"end": 3272,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeQuery",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3256,
|
|
|
|
"end": 3272,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"exprName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3263,
|
|
|
|
"end": 3272,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "myRecord1",
|
|
|
|
"optional": false
|
2022-02-20 18:51:31 +03:00
|
|
|
},
|
|
|
|
"typeArguments": null
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"returnType": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3283,
|
|
|
|
"end": 3291,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3285,
|
|
|
|
"end": 3291,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3324,
|
|
|
|
"end": 3409,
|
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": 3330,
|
|
|
|
"end": 3408,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3330,
|
|
|
|
"end": 3333,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "fn2",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "ArrowFunctionExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3336,
|
|
|
|
"end": 3408,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3373,
|
|
|
|
"end": 3381,
|
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": 3376,
|
|
|
|
"end": 3381,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3378,
|
|
|
|
"end": 3381,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3378,
|
|
|
|
"end": 3381,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Key",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"body": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3394,
|
|
|
|
"end": 3408,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3394,
|
|
|
|
"end": 3403,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "myRecord2",
|
|
|
|
"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": 3403,
|
|
|
|
"end": 3408,
|
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": 3404,
|
|
|
|
"end": 3407,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "key",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"async": false,
|
|
|
|
"generator": false,
|
|
|
|
"typeParameters": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3336,
|
|
|
|
"end": 3372,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3337,
|
|
|
|
"end": 3371,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3337,
|
|
|
|
"end": 3340,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Key",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3349,
|
|
|
|
"end": 3371,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeQuery",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3355,
|
|
|
|
"end": 3371,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"exprName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3362,
|
|
|
|
"end": 3371,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "myRecord1",
|
|
|
|
"optional": false
|
2022-02-20 18:51:31 +03:00
|
|
|
},
|
|
|
|
"typeArguments": null
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"returnType": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3382,
|
|
|
|
"end": 3390,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3384,
|
|
|
|
"end": 3390,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3423,
|
|
|
|
"end": 3591,
|
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": 3429,
|
|
|
|
"end": 3590,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3429,
|
|
|
|
"end": 3432,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "fn3",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "ArrowFunctionExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3435,
|
|
|
|
"end": 3590,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3472,
|
|
|
|
"end": 3480,
|
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": 3475,
|
|
|
|
"end": 3480,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3477,
|
|
|
|
"end": 3480,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3477,
|
|
|
|
"end": 3480,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Key",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3485,
|
|
|
|
"end": 3590,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3491,
|
|
|
|
"end": 3518,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "AssignmentExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3491,
|
|
|
|
"end": 3517,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"operator": "=",
|
|
|
|
"left": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3491,
|
|
|
|
"end": 3505,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3491,
|
|
|
|
"end": 3500,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "myRecord2",
|
|
|
|
"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": 3500,
|
|
|
|
"end": 3505,
|
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": 3501,
|
|
|
|
"end": 3504,
|
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": 3508,
|
|
|
|
"end": 3517,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "undefined",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3539,
|
|
|
|
"end": 3572,
|
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": 3545,
|
|
|
|
"end": 3571,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3545,
|
|
|
|
"end": 3546,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "v",
|
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": 3546,
|
|
|
|
"end": 3554,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3548,
|
|
|
|
"end": 3554,
|
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
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3557,
|
|
|
|
"end": 3571,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3557,
|
|
|
|
"end": 3566,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "myRecord2",
|
|
|
|
"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": 3566,
|
|
|
|
"end": 3571,
|
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": 3567,
|
|
|
|
"end": 3570,
|
2022-01-10 16:54:42 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "key",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"async": false,
|
|
|
|
"generator": false,
|
|
|
|
"typeParameters": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3435,
|
|
|
|
"end": 3471,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3436,
|
|
|
|
"end": 3470,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3436,
|
|
|
|
"end": 3439,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Key",
|
|
|
|
"optional": false
|
|
|
|
},
|
2022-03-23 17:36:37 +03:00
|
|
|
"in": false,
|
|
|
|
"out": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"constraint": {
|
|
|
|
"type": "TsTypeOperator",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3448,
|
|
|
|
"end": 3470,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"op": "keyof",
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeQuery",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3454,
|
|
|
|
"end": 3470,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"exprName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
2022-05-11 19:14:42 +03:00
|
|
|
"start": 3461,
|
|
|
|
"end": 3470,
|
2021-01-15 13:30:44 +03:00
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "myRecord2",
|
|
|
|
"optional": false
|
2022-02-20 18:51:31 +03:00
|
|
|
},
|
|
|
|
"typeArguments": null
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"returnType": null
|
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"interpreter": null
|
|
|
|
}
|