swc/crates/swc_ecma_parser/tests/tsc/propertyAccess.json

5039 lines
124 KiB
JSON

{
"type": "Script",
"span": {
"start": 1,
"end": 4881,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 7,
"end": 8,
"ctxt": 0
},
"value": "A",
"optional": false
},
"declare": false,
"span": {
"start": 1,
"end": 27,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 15,
"end": 25,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 15,
"end": 16,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 16,
"end": 24,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 18,
"end": 24,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 34,
"end": 35,
"ctxt": 0
},
"value": "B",
"optional": false
},
"declare": false,
"span": {
"start": 28,
"end": 64,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 52,
"end": 62,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 52,
"end": 53,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 53,
"end": 61,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 55,
"end": 61,
"ctxt": 0
},
"kind": "number"
}
},
"isStatic": false,
"decorators": [],
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"declare": false,
"definite": false
}
],
"superClass": {
"type": "Identifier",
"span": {
"start": 44,
"end": 45,
"ctxt": 0
},
"value": "A",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "TsEnumDeclaration",
"span": {
"start": 65,
"end": 110,
"ctxt": 0
},
"declare": false,
"isConst": false,
"id": {
"type": "Identifier",
"span": {
"start": 70,
"end": 77,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"members": [
{
"type": "TsEnumMember",
"span": {
"start": 84,
"end": 89,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 84,
"end": 89,
"ctxt": 0
},
"value": "North",
"optional": false
},
"init": null
},
{
"type": "TsEnumMember",
"span": {
"start": 91,
"end": 96,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 91,
"end": 96,
"ctxt": 0
},
"value": "South",
"optional": false
},
"init": null
},
{
"type": "TsEnumMember",
"span": {
"start": 98,
"end": 102,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 98,
"end": 102,
"ctxt": 0
},
"value": "East",
"optional": false
},
"init": null
},
{
"type": "TsEnumMember",
"span": {
"start": 104,
"end": 108,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 104,
"end": 108,
"ctxt": 0
},
"value": "West",
"optional": false
},
"init": null
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 112,
"end": 185,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 116,
"end": 184,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 116,
"end": 124,
"ctxt": 0
},
"value": "numIndex",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 124,
"end": 149,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 126,
"end": 149,
"ctxt": 0
},
"members": [
{
"type": "TsIndexSignature",
"params": [
{
"type": "Identifier",
"span": {
"start": 129,
"end": 138,
"ctxt": 0
},
"value": "n",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 130,
"end": 138,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 132,
"end": 138,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 139,
"end": 147,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 141,
"end": 147,
"ctxt": 0
},
"kind": "string"
}
},
"readonly": false,
"static": false,
"span": {
"start": 128,
"end": 147,
"ctxt": 0
}
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 152,
"end": 184,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "NumericLiteral",
"span": {
"start": 154,
"end": 155,
"ctxt": 0
},
"value": 3.0,
"raw": "3"
},
"value": {
"type": "StringLiteral",
"span": {
"start": 157,
"end": 164,
"ctxt": 0
},
"value": "three",
"raw": "'three'"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "StringLiteral",
"span": {
"start": 166,
"end": 173,
"ctxt": 0
},
"value": "three",
"raw": "'three'"
},
"value": {
"type": "StringLiteral",
"span": {
"start": 175,
"end": 182,
"ctxt": 0
},
"value": "three",
"raw": "'three'"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 186,
"end": 269,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 190,
"end": 268,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 190,
"end": 198,
"ctxt": 0
},
"value": "strIndex",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 198,
"end": 224,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 200,
"end": 224,
"ctxt": 0
},
"members": [
{
"type": "TsIndexSignature",
"params": [
{
"type": "Identifier",
"span": {
"start": 203,
"end": 212,
"ctxt": 0
},
"value": "n",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 204,
"end": 212,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 206,
"end": 212,
"ctxt": 0
},
"kind": "string"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 213,
"end": 222,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 215,
"end": 222,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 215,
"end": 222,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"typeParams": null
}
},
"readonly": false,
"static": false,
"span": {
"start": 202,
"end": 222,
"ctxt": 0
}
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 227,
"end": 268,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "StringLiteral",
"span": {
"start": 229,
"end": 232,
"ctxt": 0
},
"value": "N",
"raw": "'N'"
},
"value": {
"type": "MemberExpression",
"span": {
"start": 234,
"end": 247,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 234,
"end": 241,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 242,
"end": 247,
"ctxt": 0
},
"value": "North",
"optional": false
}
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "StringLiteral",
"span": {
"start": 249,
"end": 252,
"ctxt": 0
},
"value": "E",
"raw": "'E'"
},
"value": {
"type": "MemberExpression",
"span": {
"start": 254,
"end": 266,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 254,
"end": 261,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 262,
"end": 266,
"ctxt": 0
},
"value": "East",
"optional": false
}
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 270,
"end": 345,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 274,
"end": 344,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 274,
"end": 283,
"ctxt": 0
},
"value": "bothIndex",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 283,
"end": 344,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 289,
"end": 344,
"ctxt": 0
},
"members": [
{
"type": "TsIndexSignature",
"params": [
{
"type": "Identifier",
"span": {
"start": 300,
"end": 309,
"ctxt": 0
},
"value": "n",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 301,
"end": 309,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 303,
"end": 309,
"ctxt": 0
},
"kind": "string"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 310,
"end": 313,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 312,
"end": 313,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 312,
"end": 313,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeParams": null
}
},
"readonly": false,
"static": false,
"span": {
"start": 299,
"end": 314,
"ctxt": 0
}
},
{
"type": "TsIndexSignature",
"params": [
{
"type": "Identifier",
"span": {
"start": 324,
"end": 333,
"ctxt": 0
},
"value": "m",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 325,
"end": 333,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 327,
"end": 333,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 334,
"end": 337,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 336,
"end": 337,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 336,
"end": 337,
"ctxt": 0
},
"value": "B",
"optional": false
},
"typeParams": null
}
},
"readonly": false,
"static": false,
"span": {
"start": 323,
"end": 338,
"ctxt": 0
}
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 356,
"end": 363,
"ctxt": 0
},
"value": "noIndex",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 347,
"end": 369,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 366,
"end": 369,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "VariableDeclaration",
"span": {
"start": 371,
"end": 501,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 375,
"end": 500,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 375,
"end": 378,
"ctxt": 0
},
"value": "obj",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 381,
"end": 500,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "NumericLiteral",
"span": {
"start": 387,
"end": 389,
"ctxt": 0
},
"value": 10.0,
"raw": "10"
},
"value": {
"type": "StringLiteral",
"span": {
"start": 391,
"end": 396,
"ctxt": 0
},
"value": "ten",
"raw": "'ten'"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 402,
"end": 403,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 405,
"end": 412,
"ctxt": 0
},
"value": "hello",
"raw": "'hello'"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 418,
"end": 419,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 421,
"end": 423,
"ctxt": 0
},
"value": 32.0,
"raw": "32"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 429,
"end": 430,
"ctxt": 0
},
"value": "z",
"optional": false
},
"value": {
"type": "ObjectExpression",
"span": {
"start": 432,
"end": 469,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 434,
"end": 435,
"ctxt": 0
},
"value": "n",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 437,
"end": 444,
"ctxt": 0
},
"value": "world",
"raw": "'world'"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 446,
"end": 447,
"ctxt": 0
},
"value": "m",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 449,
"end": 451,
"ctxt": 0
},
"value": 15.0,
"raw": "15"
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 453,
"end": 454,
"ctxt": 0
},
"value": "o",
"optional": false
},
"value": {
"type": "ArrowFunctionExpression",
"span": {
"start": 456,
"end": 467,
"ctxt": 0
},
"params": [],
"body": {
"type": "BooleanLiteral",
"span": {
"start": 462,
"end": 467,
"ctxt": 0
},
"value": false
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
]
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "StringLiteral",
"span": {
"start": 475,
"end": 493,
"ctxt": 0
},
"value": "literal property",
"raw": "'literal property'"
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 495,
"end": 498,
"ctxt": 0
},
"value": 100.0,
"raw": "100"
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 502,
"end": 523,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 506,
"end": 522,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 506,
"end": 512,
"ctxt": 0
},
"value": "anyVar",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 512,
"end": 517,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 514,
"end": 517,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 520,
"end": 522,
"ctxt": 0
},
"properties": []
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 524,
"end": 560,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 528,
"end": 559,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 528,
"end": 542,
"ctxt": 0
},
"value": "stringOrNumber",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 542,
"end": 559,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 544,
"end": 559,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 544,
"end": 550,
"ctxt": 0
},
"kind": "string"
},
{
"type": "TsKeywordType",
"span": {
"start": 553,
"end": 559,
"ctxt": 0
},
"kind": "number"
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 561,
"end": 594,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 565,
"end": 593,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 565,
"end": 575,
"ctxt": 0
},
"value": "someObject",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 575,
"end": 593,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 577,
"end": 593,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 579,
"end": 591,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 579,
"end": 583,
"ctxt": 0
},
"value": "name",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 583,
"end": 591,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 585,
"end": 591,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 627,
"end": 637,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 627,
"end": 636,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 627,
"end": 632,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 627,
"end": 630,
"ctxt": 0
},
"value": "obj",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 631,
"end": 632,
"ctxt": 0
},
"value": "y",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 635,
"end": 636,
"ctxt": 0
},
"value": 4.0,
"raw": "4"
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 681,
"end": 720,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 681,
"end": 719,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 681,
"end": 689,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 681,
"end": 687,
"ctxt": 0
},
"value": "anyVar",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 688,
"end": 689,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"right": {
"type": "AssignmentExpression",
"span": {
"start": 692,
"end": 719,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 692,
"end": 700,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 692,
"end": 698,
"ctxt": 0
},
"value": "anyVar",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 699,
"end": 700,
"ctxt": 0
},
"value": "y",
"optional": false
}
},
"right": {
"type": "AssignmentExpression",
"span": {
"start": 703,
"end": 719,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 703,
"end": 708,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 703,
"end": 706,
"ctxt": 0
},
"value": "obj",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 707,
"end": 708,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"right": {
"type": "MemberExpression",
"span": {
"start": 711,
"end": 719,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 711,
"end": 717,
"ctxt": 0
},
"value": "anyVar",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 718,
"end": 719,
"ctxt": 0
},
"value": "z",
"optional": false
}
}
}
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 772,
"end": 787,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 776,
"end": 786,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 776,
"end": 778,
"ctxt": 0
},
"value": "aa",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 781,
"end": 786,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 781,
"end": 784,
"ctxt": 0
},
"value": "obj",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 785,
"end": 786,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 864,
"end": 892,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 868,
"end": 891,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 868,
"end": 870,
"ctxt": 0
},
"value": "bb",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 873,
"end": 891,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 873,
"end": 876,
"ctxt": 0
},
"value": "obj",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 877,
"end": 891,
"ctxt": 0
},
"value": "hasOwnProperty",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 976,
"end": 993,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 980,
"end": 992,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 980,
"end": 982,
"ctxt": 0
},
"value": "cc",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 985,
"end": 992,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 985,
"end": 988,
"ctxt": 0
},
"value": "obj",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 989,
"end": 992,
"ctxt": 0
},
"value": "qqq",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1110,
"end": 1143,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1114,
"end": 1142,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1114,
"end": 1116,
"ctxt": 0
},
"value": "dd",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1119,
"end": 1142,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1119,
"end": 1122,
"ctxt": 0
},
"value": "obj",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1122,
"end": 1142,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 1123,
"end": 1141,
"ctxt": 0
},
"value": "literal property",
"raw": "'literal property'"
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1144,
"end": 1159,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1148,
"end": 1158,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1148,
"end": 1150,
"ctxt": 0
},
"value": "dd",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1150,
"end": 1158,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1152,
"end": 1158,
"ctxt": 0
},
"kind": "number"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1270,
"end": 1301,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1274,
"end": 1300,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1274,
"end": 1276,
"ctxt": 0
},
"value": "ee",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1279,
"end": 1300,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1279,
"end": 1282,
"ctxt": 0
},
"value": "obj",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1282,
"end": 1300,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 1283,
"end": 1299,
"ctxt": 0
},
"value": "wa wa wa wa wa",
"raw": "'wa wa wa wa wa'"
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1302,
"end": 1314,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1306,
"end": 1313,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1306,
"end": 1308,
"ctxt": 0
},
"value": "ee",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1308,
"end": 1313,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1310,
"end": 1313,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1430,
"end": 1449,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1434,
"end": 1448,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1434,
"end": 1436,
"ctxt": 0
},
"value": "ff",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1439,
"end": 1448,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1439,
"end": 1442,
"ctxt": 0
},
"value": "obj",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1442,
"end": 1448,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 1443,
"end": 1447,
"ctxt": 0
},
"value": "10",
"raw": "'10'"
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1450,
"end": 1465,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1454,
"end": 1464,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1454,
"end": 1456,
"ctxt": 0
},
"value": "ff",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1456,
"end": 1464,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1458,
"end": 1464,
"ctxt": 0
},
"kind": "string"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1584,
"end": 1602,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1588,
"end": 1601,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1588,
"end": 1590,
"ctxt": 0
},
"value": "gg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1593,
"end": 1601,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1593,
"end": 1596,
"ctxt": 0
},
"value": "obj",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1596,
"end": 1601,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 1597,
"end": 1600,
"ctxt": 0
},
"value": "1",
"raw": "'1'"
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1603,
"end": 1615,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1607,
"end": 1614,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1607,
"end": 1609,
"ctxt": 0
},
"value": "gg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1609,
"end": 1614,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1611,
"end": 1614,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1710,
"end": 1733,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1714,
"end": 1732,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1714,
"end": 1716,
"ctxt": 0
},
"value": "hh",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1719,
"end": 1732,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1719,
"end": 1727,
"ctxt": 0
},
"value": "numIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1727,
"end": 1732,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1728,
"end": 1731,
"ctxt": 0
},
"value": 3.0,
"raw": "3.0"
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1734,
"end": 1749,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1738,
"end": 1748,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1738,
"end": 1740,
"ctxt": 0
},
"value": "hh",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1740,
"end": 1748,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1742,
"end": 1748,
"ctxt": 0
},
"kind": "string"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1841,
"end": 1874,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1845,
"end": 1873,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1845,
"end": 1847,
"ctxt": 0
},
"value": "ii",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1850,
"end": 1873,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1850,
"end": 1858,
"ctxt": 0
},
"value": "numIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1858,
"end": 1873,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 1859,
"end": 1872,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1859,
"end": 1866,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1867,
"end": 1872,
"ctxt": 0
},
"value": "South",
"optional": false
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1875,
"end": 1890,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1879,
"end": 1889,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1879,
"end": 1881,
"ctxt": 0
},
"value": "ii",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1881,
"end": 1889,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1883,
"end": 1889,
"ctxt": 0
},
"kind": "string"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1991,
"end": 2017,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1995,
"end": 2016,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1995,
"end": 1997,
"ctxt": 0
},
"value": "jj",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2000,
"end": 2016,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2000,
"end": 2008,
"ctxt": 0
},
"value": "numIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2008,
"end": 2016,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2009,
"end": 2015,
"ctxt": 0
},
"value": "anyVar",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2018,
"end": 2033,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2022,
"end": 2032,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2022,
"end": 2024,
"ctxt": 0
},
"value": "jj",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2024,
"end": 2032,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2026,
"end": 2032,
"ctxt": 0
},
"kind": "string"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2127,
"end": 2153,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2131,
"end": 2152,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2131,
"end": 2133,
"ctxt": 0
},
"value": "kk",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2136,
"end": 2152,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2136,
"end": 2144,
"ctxt": 0
},
"value": "numIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2144,
"end": 2152,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 2145,
"end": 2151,
"ctxt": 0
},
"value": "what",
"raw": "'what'"
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2154,
"end": 2166,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2158,
"end": 2165,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2158,
"end": 2160,
"ctxt": 0
},
"value": "kk",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2160,
"end": 2165,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2162,
"end": 2165,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2297,
"end": 2327,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2301,
"end": 2326,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2301,
"end": 2303,
"ctxt": 0
},
"value": "ll",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2306,
"end": 2326,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2306,
"end": 2314,
"ctxt": 0
},
"value": "numIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2314,
"end": 2326,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2315,
"end": 2325,
"ctxt": 0
},
"value": "someObject",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2460,
"end": 2483,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2464,
"end": 2482,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2464,
"end": 2466,
"ctxt": 0
},
"value": "mm",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2469,
"end": 2482,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2469,
"end": 2477,
"ctxt": 0
},
"value": "strIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2477,
"end": 2482,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 2478,
"end": 2481,
"ctxt": 0
},
"value": "N",
"raw": "'N'"
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2484,
"end": 2500,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2488,
"end": 2499,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2488,
"end": 2490,
"ctxt": 0
},
"value": "mm",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2490,
"end": 2499,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2492,
"end": 2499,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2492,
"end": 2499,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2501,
"end": 2527,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2505,
"end": 2526,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2505,
"end": 2508,
"ctxt": 0
},
"value": "mm2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2511,
"end": 2526,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2511,
"end": 2519,
"ctxt": 0
},
"value": "strIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2519,
"end": 2526,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 2520,
"end": 2525,
"ctxt": 0
},
"value": "zzz",
"raw": "'zzz'"
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2528,
"end": 2545,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2532,
"end": 2544,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2532,
"end": 2535,
"ctxt": 0
},
"value": "mm2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2535,
"end": 2544,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2537,
"end": 2544,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2537,
"end": 2544,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2670,
"end": 2692,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2674,
"end": 2691,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2674,
"end": 2676,
"ctxt": 0
},
"value": "nn",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2679,
"end": 2691,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2679,
"end": 2687,
"ctxt": 0
},
"value": "strIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2687,
"end": 2691,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2688,
"end": 2690,
"ctxt": 0
},
"value": 10.0,
"raw": "10"
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2693,
"end": 2709,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2697,
"end": 2708,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2697,
"end": 2699,
"ctxt": 0
},
"value": "nn",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2699,
"end": 2708,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2701,
"end": 2708,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2701,
"end": 2708,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2831,
"end": 2863,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2835,
"end": 2862,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2835,
"end": 2837,
"ctxt": 0
},
"value": "oo",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2840,
"end": 2862,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2840,
"end": 2848,
"ctxt": 0
},
"value": "strIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2848,
"end": 2862,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 2849,
"end": 2861,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2849,
"end": 2856,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 2857,
"end": 2861,
"ctxt": 0
},
"value": "East",
"optional": false
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2864,
"end": 2880,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2868,
"end": 2879,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2868,
"end": 2870,
"ctxt": 0
},
"value": "oo",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2870,
"end": 2879,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2872,
"end": 2879,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2872,
"end": 2879,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3011,
"end": 3040,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3015,
"end": 3039,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3015,
"end": 3017,
"ctxt": 0
},
"value": "pp",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3020,
"end": 3039,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3020,
"end": 3028,
"ctxt": 0
},
"value": "strIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 3028,
"end": 3039,
"ctxt": 0
},
"expression": {
"type": "TsTypeAssertion",
"span": {
"start": 3029,
"end": 3038,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 3034,
"end": 3038,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3030,
"end": 3033,
"ctxt": 0
},
"kind": "any"
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3041,
"end": 3057,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3045,
"end": 3056,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3045,
"end": 3047,
"ctxt": 0
},
"value": "pp",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3047,
"end": 3056,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3049,
"end": 3056,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3049,
"end": 3056,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3148,
"end": 3170,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3152,
"end": 3169,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3152,
"end": 3154,
"ctxt": 0
},
"value": "qq",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3157,
"end": 3169,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3157,
"end": 3164,
"ctxt": 0
},
"value": "noIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 3164,
"end": 3169,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 3165,
"end": 3168,
"ctxt": 0
},
"value": 123.0,
"raw": "123"
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3171,
"end": 3183,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3175,
"end": 3182,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3175,
"end": 3177,
"ctxt": 0
},
"value": "qq",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3177,
"end": 3182,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3179,
"end": 3182,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3273,
"end": 3298,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3277,
"end": 3297,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3277,
"end": 3279,
"ctxt": 0
},
"value": "rr",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3282,
"end": 3297,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3282,
"end": 3289,
"ctxt": 0
},
"value": "noIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 3289,
"end": 3297,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 3290,
"end": 3296,
"ctxt": 0
},
"value": "zzzz",
"raw": "'zzzz'"
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3299,
"end": 3311,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3303,
"end": 3310,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3303,
"end": 3305,
"ctxt": 0
},
"value": "rr",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3305,
"end": 3310,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3307,
"end": 3310,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3399,
"end": 3431,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3403,
"end": 3430,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3403,
"end": 3405,
"ctxt": 0
},
"value": "ss",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3408,
"end": 3430,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3408,
"end": 3415,
"ctxt": 0
},
"value": "noIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 3415,
"end": 3430,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 3416,
"end": 3429,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3416,
"end": 3423,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 3424,
"end": 3429,
"ctxt": 0
},
"value": "South",
"optional": false
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3432,
"end": 3444,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3436,
"end": 3443,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3436,
"end": 3438,
"ctxt": 0
},
"value": "ss",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3438,
"end": 3443,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3440,
"end": 3443,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3541,
"end": 3569,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3545,
"end": 3568,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3545,
"end": 3547,
"ctxt": 0
},
"value": "tt",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3550,
"end": 3568,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3550,
"end": 3557,
"ctxt": 0
},
"value": "noIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 3557,
"end": 3568,
"ctxt": 0
},
"expression": {
"type": "TsTypeAssertion",
"span": {
"start": 3558,
"end": 3567,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 3563,
"end": 3567,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3559,
"end": 3562,
"ctxt": 0
},
"kind": "any"
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3570,
"end": 3582,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3574,
"end": 3581,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3574,
"end": 3576,
"ctxt": 0
},
"value": "tt",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3576,
"end": 3581,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3578,
"end": 3581,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3681,
"end": 3710,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3685,
"end": 3709,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3685,
"end": 3687,
"ctxt": 0
},
"value": "uu",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3690,
"end": 3709,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3690,
"end": 3697,
"ctxt": 0
},
"value": "noIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 3697,
"end": 3709,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 3698,
"end": 3708,
"ctxt": 0
},
"value": "someObject",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3841,
"end": 3862,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3845,
"end": 3861,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3845,
"end": 3847,
"ctxt": 0
},
"value": "vv",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3850,
"end": 3861,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3850,
"end": 3857,
"ctxt": 0
},
"value": "noIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 3857,
"end": 3861,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 3858,
"end": 3860,
"ctxt": 0
},
"value": 32.0,
"raw": "32"
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3863,
"end": 3875,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3867,
"end": 3874,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3867,
"end": 3869,
"ctxt": 0
},
"value": "vv",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3869,
"end": 3874,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3871,
"end": 3874,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3994,
"end": 4027,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3998,
"end": 4026,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3998,
"end": 4000,
"ctxt": 0
},
"value": "ww",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4003,
"end": 4026,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4003,
"end": 4012,
"ctxt": 0
},
"value": "bothIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 4012,
"end": 4026,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 4013,
"end": 4025,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4013,
"end": 4020,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 4021,
"end": 4025,
"ctxt": 0
},
"value": "East",
"optional": false
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4028,
"end": 4038,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4032,
"end": 4037,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4032,
"end": 4034,
"ctxt": 0
},
"value": "ww",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4034,
"end": 4037,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4036,
"end": 4037,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4036,
"end": 4037,
"ctxt": 0
},
"value": "B",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4166,
"end": 4196,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4170,
"end": 4195,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4170,
"end": 4172,
"ctxt": 0
},
"value": "xx",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4175,
"end": 4195,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4175,
"end": 4184,
"ctxt": 0
},
"value": "bothIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 4184,
"end": 4195,
"ctxt": 0
},
"expression": {
"type": "TsTypeAssertion",
"span": {
"start": 4185,
"end": 4194,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 4190,
"end": 4194,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 4186,
"end": 4189,
"ctxt": 0
},
"kind": "any"
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4197,
"end": 4207,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4201,
"end": 4206,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4201,
"end": 4203,
"ctxt": 0
},
"value": "xx",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4203,
"end": 4206,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4205,
"end": 4206,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4205,
"end": 4206,
"ctxt": 0
},
"value": "B",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4328,
"end": 4354,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4332,
"end": 4353,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4332,
"end": 4334,
"ctxt": 0
},
"value": "yy",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4337,
"end": 4353,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4337,
"end": 4346,
"ctxt": 0
},
"value": "bothIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 4346,
"end": 4353,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 4347,
"end": 4352,
"ctxt": 0
},
"value": "foo",
"raw": "'foo'"
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4355,
"end": 4365,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4359,
"end": 4364,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4359,
"end": 4361,
"ctxt": 0
},
"value": "yy",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4361,
"end": 4364,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4363,
"end": 4364,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4363,
"end": 4364,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4494,
"end": 4520,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4498,
"end": 4519,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4498,
"end": 4500,
"ctxt": 0
},
"value": "zz",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4503,
"end": 4519,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4503,
"end": 4512,
"ctxt": 0
},
"value": "bothIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 4512,
"end": 4519,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 4513,
"end": 4518,
"ctxt": 0
},
"value": "1.0",
"raw": "'1.0'"
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4521,
"end": 4531,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4525,
"end": 4530,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4525,
"end": 4527,
"ctxt": 0
},
"value": "zz",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4527,
"end": 4530,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4529,
"end": 4530,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4529,
"end": 4530,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4689,
"end": 4722,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4693,
"end": 4721,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4693,
"end": 4697,
"ctxt": 0
},
"value": "zzzz",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4700,
"end": 4721,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4700,
"end": 4709,
"ctxt": 0
},
"value": "bothIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 4709,
"end": 4721,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 4710,
"end": 4720,
"ctxt": 0
},
"value": "someObject",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4733,
"end": 4767,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4737,
"end": 4766,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4737,
"end": 4739,
"ctxt": 0
},
"value": "x1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4742,
"end": 4766,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4742,
"end": 4750,
"ctxt": 0
},
"value": "numIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 4750,
"end": 4766,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 4751,
"end": 4765,
"ctxt": 0
},
"value": "stringOrNumber",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4768,
"end": 4780,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4772,
"end": 4779,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4772,
"end": 4774,
"ctxt": 0
},
"value": "x1",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4774,
"end": 4779,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 4776,
"end": 4779,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4782,
"end": 4816,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4786,
"end": 4815,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4786,
"end": 4788,
"ctxt": 0
},
"value": "x2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4791,
"end": 4815,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4791,
"end": 4799,
"ctxt": 0
},
"value": "strIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 4799,
"end": 4815,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 4800,
"end": 4814,
"ctxt": 0
},
"value": "stringOrNumber",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4817,
"end": 4833,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4821,
"end": 4832,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4821,
"end": 4823,
"ctxt": 0
},
"value": "x2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4823,
"end": 4832,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4825,
"end": 4832,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4825,
"end": 4832,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4835,
"end": 4870,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4839,
"end": 4869,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4839,
"end": 4841,
"ctxt": 0
},
"value": "x3",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4844,
"end": 4869,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4844,
"end": 4853,
"ctxt": 0
},
"value": "bothIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 4853,
"end": 4869,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 4854,
"end": 4868,
"ctxt": 0
},
"value": "stringOrNumber",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4871,
"end": 4881,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4875,
"end": 4880,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4875,
"end": 4877,
"ctxt": 0
},
"value": "x3",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4877,
"end": 4880,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4879,
"end": 4880,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4879,
"end": 4880,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
}
],
"interpreter": null
}