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

5105 lines
126 KiB
JSON
Raw Normal View History

{
"type": "Script",
"span": {
"start": 0,
"end": 4880,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 6,
"end": 7,
"ctxt": 0
},
"value": "A",
"optional": false
},
"declare": false,
"span": {
"start": 0,
"end": 26,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 14,
"end": 24,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 14,
"end": 15,
"ctxt": 0
},
"value": "a",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 15,
"end": 23,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 17,
"end": 23,
"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": 33,
"end": 34,
"ctxt": 0
},
"value": "B",
"optional": false
},
"declare": false,
"span": {
"start": 27,
"end": 63,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "ClassProperty",
"span": {
"start": 51,
"end": 61,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 51,
"end": 52,
"ctxt": 0
},
"value": "b",
"optional": false
},
"value": null,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 52,
"end": 60,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 54,
"end": 60,
"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": 43,
"end": 44,
"ctxt": 0
},
"value": "A",
"optional": false
},
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
},
{
"type": "TsEnumDeclaration",
"span": {
"start": 64,
"end": 109,
"ctxt": 0
},
"declare": false,
"isConst": false,
"id": {
"type": "Identifier",
"span": {
"start": 69,
"end": 76,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"members": [
{
"type": "TsEnumMember",
"span": {
"start": 83,
"end": 88,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 83,
"end": 88,
"ctxt": 0
},
"value": "North",
"optional": false
},
"init": null
},
{
"type": "TsEnumMember",
"span": {
"start": 90,
"end": 95,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 90,
"end": 95,
"ctxt": 0
},
"value": "South",
"optional": false
},
"init": null
},
{
"type": "TsEnumMember",
"span": {
"start": 97,
"end": 101,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 97,
"end": 101,
"ctxt": 0
},
"value": "East",
"optional": false
},
"init": null
},
{
"type": "TsEnumMember",
"span": {
"start": 103,
"end": 107,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 103,
"end": 107,
"ctxt": 0
},
"value": "West",
"optional": false
},
"init": null
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 111,
"end": 184,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 115,
"end": 183,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 115,
"end": 123,
"ctxt": 0
},
"value": "numIndex",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 123,
"end": 148,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 125,
"end": 148,
"ctxt": 0
},
"members": [
{
"type": "TsIndexSignature",
"params": [
{
"type": "Identifier",
"span": {
"start": 128,
"end": 137,
"ctxt": 0
},
"value": "n",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 129,
"end": 137,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 131,
"end": 137,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 138,
"end": 146,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 140,
"end": 146,
"ctxt": 0
},
"kind": "string"
}
},
"readonly": false,
"static": false,
"span": {
"start": 127,
"end": 146,
"ctxt": 0
}
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 151,
"end": 183,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "NumericLiteral",
"span": {
"start": 153,
"end": 154,
"ctxt": 0
},
"value": 3.0
},
"value": {
"type": "StringLiteral",
"span": {
"start": 156,
"end": 163,
"ctxt": 0
},
"value": "three",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "StringLiteral",
"span": {
"start": 165,
"end": 172,
"ctxt": 0
},
"value": "three",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"value": {
"type": "StringLiteral",
"span": {
"start": 174,
"end": 181,
"ctxt": 0
},
"value": "three",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 185,
"end": 268,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 189,
"end": 267,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 189,
"end": 197,
"ctxt": 0
},
"value": "strIndex",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 197,
"end": 223,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 199,
"end": 223,
"ctxt": 0
},
"members": [
{
"type": "TsIndexSignature",
"params": [
{
"type": "Identifier",
"span": {
"start": 202,
"end": 211,
"ctxt": 0
},
"value": "n",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 203,
"end": 211,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 205,
"end": 211,
"ctxt": 0
},
"kind": "string"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 212,
"end": 221,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 214,
"end": 221,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 214,
"end": 221,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"typeParams": null
}
},
"readonly": false,
"static": false,
"span": {
"start": 201,
"end": 221,
"ctxt": 0
}
}
]
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 226,
"end": 267,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "StringLiteral",
"span": {
"start": 228,
"end": 231,
"ctxt": 0
},
"value": "N",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"value": {
"type": "MemberExpression",
"span": {
"start": 233,
"end": 246,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 233,
"end": 240,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 241,
"end": 246,
"ctxt": 0
},
"value": "North",
"optional": false
}
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "StringLiteral",
"span": {
"start": 248,
"end": 251,
"ctxt": 0
},
"value": "E",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"value": {
"type": "MemberExpression",
"span": {
"start": 253,
"end": 265,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 253,
"end": 260,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 261,
"end": 265,
"ctxt": 0
},
"value": "East",
"optional": false
}
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 269,
"end": 344,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 273,
"end": 343,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 273,
"end": 282,
"ctxt": 0
},
"value": "bothIndex",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 282,
"end": 343,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 288,
"end": 343,
"ctxt": 0
},
"members": [
{
"type": "TsIndexSignature",
"params": [
{
"type": "Identifier",
"span": {
"start": 299,
"end": 308,
"ctxt": 0
},
"value": "n",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 300,
"end": 308,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 302,
"end": 308,
"ctxt": 0
},
"kind": "string"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 309,
"end": 312,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 311,
"end": 312,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 311,
"end": 312,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeParams": null
}
},
"readonly": false,
"static": false,
"span": {
"start": 298,
"end": 313,
"ctxt": 0
}
},
{
"type": "TsIndexSignature",
"params": [
{
"type": "Identifier",
"span": {
"start": 323,
"end": 332,
"ctxt": 0
},
"value": "m",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 324,
"end": 332,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 326,
"end": 332,
"ctxt": 0
},
"kind": "number"
}
}
}
],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 333,
"end": 336,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 335,
"end": 336,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 335,
"end": 336,
"ctxt": 0
},
"value": "B",
"optional": false
},
"typeParams": null
}
},
"readonly": false,
"static": false,
"span": {
"start": 322,
"end": 337,
"ctxt": 0
}
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "FunctionDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 355,
"end": 362,
"ctxt": 0
},
"value": "noIndex",
"optional": false
},
"declare": false,
"params": [],
"decorators": [],
"span": {
"start": 346,
"end": 368,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 365,
"end": 368,
"ctxt": 0
},
"stmts": []
},
"generator": false,
"async": false,
"typeParameters": null,
"returnType": null
},
{
"type": "VariableDeclaration",
"span": {
"start": 370,
"end": 500,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 374,
"end": 499,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 374,
"end": 377,
"ctxt": 0
},
"value": "obj",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 380,
"end": 499,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "NumericLiteral",
"span": {
"start": 386,
"end": 388,
"ctxt": 0
},
"value": 10.0
},
"value": {
"type": "StringLiteral",
"span": {
"start": 390,
"end": 395,
"ctxt": 0
},
"value": "ten",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 401,
"end": 402,
"ctxt": 0
},
"value": "x",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 404,
"end": 411,
"ctxt": 0
},
"value": "hello",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 417,
"end": 418,
"ctxt": 0
},
"value": "y",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 420,
"end": 422,
"ctxt": 0
},
"value": 32.0
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 428,
"end": 429,
"ctxt": 0
},
"value": "z",
"optional": false
},
"value": {
"type": "ObjectExpression",
"span": {
"start": 431,
"end": 468,
"ctxt": 0
},
"properties": [
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 433,
"end": 434,
"ctxt": 0
},
"value": "n",
"optional": false
},
"value": {
"type": "StringLiteral",
"span": {
"start": 436,
"end": 443,
"ctxt": 0
},
"value": "world",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 445,
"end": 446,
"ctxt": 0
},
"value": "m",
"optional": false
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 448,
"end": 450,
"ctxt": 0
},
"value": 15.0
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "Identifier",
"span": {
"start": 452,
"end": 453,
"ctxt": 0
},
"value": "o",
"optional": false
},
"value": {
"type": "ArrowFunctionExpression",
"span": {
"start": 455,
"end": 466,
"ctxt": 0
},
"params": [],
"body": {
"type": "BooleanLiteral",
"span": {
"start": 461,
"end": 466,
"ctxt": 0
},
"value": false
},
"async": false,
"generator": false,
"typeParameters": null,
"returnType": null
}
}
]
}
},
{
"type": "KeyValueProperty",
"key": {
"type": "StringLiteral",
"span": {
"start": 474,
"end": 492,
"ctxt": 0
},
"value": "literal property",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 494,
"end": 497,
"ctxt": 0
},
"value": 100.0
}
}
]
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 501,
"end": 522,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 505,
"end": 521,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 505,
"end": 511,
"ctxt": 0
},
"value": "anyVar",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 511,
"end": 516,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 513,
"end": 516,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": {
"type": "ObjectExpression",
"span": {
"start": 519,
"end": 521,
"ctxt": 0
},
"properties": []
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 523,
"end": 559,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 527,
"end": 558,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 527,
"end": 541,
"ctxt": 0
},
"value": "stringOrNumber",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 541,
"end": 558,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 543,
"end": 558,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 543,
"end": 549,
"ctxt": 0
},
"kind": "string"
},
{
"type": "TsKeywordType",
"span": {
"start": 552,
"end": 558,
"ctxt": 0
},
"kind": "number"
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 560,
"end": 593,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 564,
"end": 592,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 564,
"end": 574,
"ctxt": 0
},
"value": "someObject",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 574,
"end": 592,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 576,
"end": 592,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 578,
"end": 590,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 578,
"end": 582,
"ctxt": 0
},
"value": "name",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 582,
"end": 590,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 584,
"end": 590,
"ctxt": 0
},
"kind": "string"
}
},
"typeParams": null
}
]
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 626,
"end": 636,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 626,
"end": 635,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 626,
"end": 631,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 626,
"end": 629,
"ctxt": 0
},
"value": "obj",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 630,
"end": 631,
"ctxt": 0
},
"value": "y",
"optional": false
}
},
"right": {
"type": "NumericLiteral",
"span": {
"start": 634,
"end": 635,
"ctxt": 0
},
"value": 4.0
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 680,
"end": 719,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 680,
"end": 718,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 680,
"end": 688,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 680,
"end": 686,
"ctxt": 0
},
"value": "anyVar",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 687,
"end": 688,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"right": {
"type": "AssignmentExpression",
"span": {
"start": 691,
"end": 718,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 691,
"end": 699,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 691,
"end": 697,
"ctxt": 0
},
"value": "anyVar",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 698,
"end": 699,
"ctxt": 0
},
"value": "y",
"optional": false
}
},
"right": {
"type": "AssignmentExpression",
"span": {
"start": 702,
"end": 718,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 702,
"end": 707,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 702,
"end": 705,
"ctxt": 0
},
"value": "obj",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 706,
"end": 707,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"right": {
"type": "MemberExpression",
"span": {
"start": 710,
"end": 718,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 710,
"end": 716,
"ctxt": 0
},
"value": "anyVar",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 717,
"end": 718,
"ctxt": 0
},
"value": "z",
"optional": false
}
}
}
}
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 771,
"end": 786,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 775,
"end": 785,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 775,
"end": 777,
"ctxt": 0
},
"value": "aa",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 780,
"end": 785,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 780,
"end": 783,
"ctxt": 0
},
"value": "obj",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 784,
"end": 785,
"ctxt": 0
},
"value": "x",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 863,
"end": 891,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 867,
"end": 890,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 867,
"end": 869,
"ctxt": 0
},
"value": "bb",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 872,
"end": 890,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 872,
"end": 875,
"ctxt": 0
},
"value": "obj",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 876,
"end": 890,
"ctxt": 0
},
"value": "hasOwnProperty",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 975,
"end": 992,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 979,
"end": 991,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 979,
"end": 981,
"ctxt": 0
},
"value": "cc",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 984,
"end": 991,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 984,
"end": 987,
"ctxt": 0
},
"value": "obj",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 988,
"end": 991,
"ctxt": 0
},
"value": "qqq",
"optional": false
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1109,
"end": 1142,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1113,
"end": 1141,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1113,
"end": 1115,
"ctxt": 0
},
"value": "dd",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1118,
"end": 1141,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1118,
"end": 1121,
"ctxt": 0
},
"value": "obj",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1121,
"end": 1141,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 1122,
"end": 1140,
"ctxt": 0
},
"value": "literal property",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1143,
"end": 1158,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1147,
"end": 1157,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1147,
"end": 1149,
"ctxt": 0
},
"value": "dd",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1149,
"end": 1157,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1151,
"end": 1157,
"ctxt": 0
},
"kind": "number"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1269,
"end": 1300,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1273,
"end": 1299,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1273,
"end": 1275,
"ctxt": 0
},
"value": "ee",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1278,
"end": 1299,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1278,
"end": 1281,
"ctxt": 0
},
"value": "obj",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1281,
"end": 1299,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 1282,
"end": 1298,
"ctxt": 0
},
"value": "wa wa wa wa wa",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1301,
"end": 1313,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1305,
"end": 1312,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1305,
"end": 1307,
"ctxt": 0
},
"value": "ee",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1307,
"end": 1312,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1309,
"end": 1312,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1429,
"end": 1448,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1433,
"end": 1447,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1433,
"end": 1435,
"ctxt": 0
},
"value": "ff",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1438,
"end": 1447,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1438,
"end": 1441,
"ctxt": 0
},
"value": "obj",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1441,
"end": 1447,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 1442,
"end": 1446,
"ctxt": 0
},
"value": "10",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1449,
"end": 1464,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1453,
"end": 1463,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1453,
"end": 1455,
"ctxt": 0
},
"value": "ff",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1455,
"end": 1463,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1457,
"end": 1463,
"ctxt": 0
},
"kind": "string"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1583,
"end": 1601,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1587,
"end": 1600,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1587,
"end": 1589,
"ctxt": 0
},
"value": "gg",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1592,
"end": 1600,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1592,
"end": 1595,
"ctxt": 0
},
"value": "obj",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1595,
"end": 1600,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 1596,
"end": 1599,
"ctxt": 0
},
"value": "1",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1602,
"end": 1614,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1606,
"end": 1613,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1606,
"end": 1608,
"ctxt": 0
},
"value": "gg",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1608,
"end": 1613,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1610,
"end": 1613,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1709,
"end": 1732,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1713,
"end": 1731,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1713,
"end": 1715,
"ctxt": 0
},
"value": "hh",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1718,
"end": 1731,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1718,
"end": 1726,
"ctxt": 0
},
"value": "numIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1726,
"end": 1731,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 1727,
"end": 1730,
"ctxt": 0
},
"value": 3.0
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1733,
"end": 1748,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1737,
"end": 1747,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1737,
"end": 1739,
"ctxt": 0
},
"value": "hh",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1739,
"end": 1747,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1741,
"end": 1747,
"ctxt": 0
},
"kind": "string"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1840,
"end": 1873,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1844,
"end": 1872,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1844,
"end": 1846,
"ctxt": 0
},
"value": "ii",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1849,
"end": 1872,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1849,
"end": 1857,
"ctxt": 0
},
"value": "numIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 1857,
"end": 1872,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 1858,
"end": 1871,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1858,
"end": 1865,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 1866,
"end": 1871,
"ctxt": 0
},
"value": "South",
"optional": false
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1874,
"end": 1889,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1878,
"end": 1888,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1878,
"end": 1880,
"ctxt": 0
},
"value": "ii",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 1880,
"end": 1888,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 1882,
"end": 1888,
"ctxt": 0
},
"kind": "string"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 1990,
"end": 2016,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 1994,
"end": 2015,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 1994,
"end": 1996,
"ctxt": 0
},
"value": "jj",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 1999,
"end": 2015,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 1999,
"end": 2007,
"ctxt": 0
},
"value": "numIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2007,
"end": 2015,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2008,
"end": 2014,
"ctxt": 0
},
"value": "anyVar",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2017,
"end": 2032,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2021,
"end": 2031,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2021,
"end": 2023,
"ctxt": 0
},
"value": "jj",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2023,
"end": 2031,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2025,
"end": 2031,
"ctxt": 0
},
"kind": "string"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2126,
"end": 2152,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2130,
"end": 2151,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2130,
"end": 2132,
"ctxt": 0
},
"value": "kk",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2135,
"end": 2151,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2135,
"end": 2143,
"ctxt": 0
},
"value": "numIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2143,
"end": 2151,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 2144,
"end": 2150,
"ctxt": 0
},
"value": "what",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2153,
"end": 2165,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2157,
"end": 2164,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2157,
"end": 2159,
"ctxt": 0
},
"value": "kk",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2159,
"end": 2164,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 2161,
"end": 2164,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2296,
"end": 2326,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2300,
"end": 2325,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2300,
"end": 2302,
"ctxt": 0
},
"value": "ll",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2305,
"end": 2325,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2305,
"end": 2313,
"ctxt": 0
},
"value": "numIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2313,
"end": 2325,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 2314,
"end": 2324,
"ctxt": 0
},
"value": "someObject",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2459,
"end": 2482,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2463,
"end": 2481,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2463,
"end": 2465,
"ctxt": 0
},
"value": "mm",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2468,
"end": 2481,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2468,
"end": 2476,
"ctxt": 0
},
"value": "strIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2476,
"end": 2481,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 2477,
"end": 2480,
"ctxt": 0
},
"value": "N",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2483,
"end": 2499,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2487,
"end": 2498,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2487,
"end": 2489,
"ctxt": 0
},
"value": "mm",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2489,
"end": 2498,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2491,
"end": 2498,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2491,
"end": 2498,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2500,
"end": 2526,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2504,
"end": 2525,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2504,
"end": 2507,
"ctxt": 0
},
"value": "mm2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2510,
"end": 2525,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2510,
"end": 2518,
"ctxt": 0
},
"value": "strIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2518,
"end": 2525,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 2519,
"end": 2524,
"ctxt": 0
},
"value": "zzz",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2527,
"end": 2544,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2531,
"end": 2543,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2531,
"end": 2534,
"ctxt": 0
},
"value": "mm2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2534,
"end": 2543,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2536,
"end": 2543,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2536,
"end": 2543,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2669,
"end": 2691,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2673,
"end": 2690,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2673,
"end": 2675,
"ctxt": 0
},
"value": "nn",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2678,
"end": 2690,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2678,
"end": 2686,
"ctxt": 0
},
"value": "strIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2686,
"end": 2690,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 2687,
"end": 2689,
"ctxt": 0
},
"value": 10.0
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2692,
"end": 2708,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2696,
"end": 2707,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2696,
"end": 2698,
"ctxt": 0
},
"value": "nn",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2698,
"end": 2707,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2700,
"end": 2707,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2700,
"end": 2707,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2830,
"end": 2862,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2834,
"end": 2861,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2834,
"end": 2836,
"ctxt": 0
},
"value": "oo",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 2839,
"end": 2861,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2839,
"end": 2847,
"ctxt": 0
},
"value": "strIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 2847,
"end": 2861,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 2848,
"end": 2860,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 2848,
"end": 2855,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 2856,
"end": 2860,
"ctxt": 0
},
"value": "East",
"optional": false
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 2863,
"end": 2879,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 2867,
"end": 2878,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 2867,
"end": 2869,
"ctxt": 0
},
"value": "oo",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 2869,
"end": 2878,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 2871,
"end": 2878,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 2871,
"end": 2878,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3010,
"end": 3039,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3014,
"end": 3038,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3014,
"end": 3016,
"ctxt": 0
},
"value": "pp",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3019,
"end": 3038,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3019,
"end": 3027,
"ctxt": 0
},
"value": "strIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 3027,
"end": 3038,
"ctxt": 0
},
"expression": {
"type": "TsTypeAssertion",
"span": {
"start": 3028,
"end": 3037,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 3033,
"end": 3037,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3029,
"end": 3032,
"ctxt": 0
},
"kind": "any"
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3040,
"end": 3056,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3044,
"end": 3055,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3044,
"end": 3046,
"ctxt": 0
},
"value": "pp",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3046,
"end": 3055,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 3048,
"end": 3055,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 3048,
"end": 3055,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3147,
"end": 3169,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3151,
"end": 3168,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3151,
"end": 3153,
"ctxt": 0
},
"value": "qq",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3156,
"end": 3168,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3156,
"end": 3163,
"ctxt": 0
},
"value": "noIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 3163,
"end": 3168,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 3164,
"end": 3167,
"ctxt": 0
},
"value": 123.0
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3170,
"end": 3182,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3174,
"end": 3181,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3174,
"end": 3176,
"ctxt": 0
},
"value": "qq",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3176,
"end": 3181,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3178,
"end": 3181,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3272,
"end": 3297,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3276,
"end": 3296,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3276,
"end": 3278,
"ctxt": 0
},
"value": "rr",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3281,
"end": 3296,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3281,
"end": 3288,
"ctxt": 0
},
"value": "noIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 3288,
"end": 3296,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 3289,
"end": 3295,
"ctxt": 0
},
"value": "zzzz",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3298,
"end": 3310,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3302,
"end": 3309,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3302,
"end": 3304,
"ctxt": 0
},
"value": "rr",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3304,
"end": 3309,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3306,
"end": 3309,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3398,
"end": 3430,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3402,
"end": 3429,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3402,
"end": 3404,
"ctxt": 0
},
"value": "ss",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3407,
"end": 3429,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3407,
"end": 3414,
"ctxt": 0
},
"value": "noIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 3414,
"end": 3429,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 3415,
"end": 3428,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3415,
"end": 3422,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 3423,
"end": 3428,
"ctxt": 0
},
"value": "South",
"optional": false
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3431,
"end": 3443,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3435,
"end": 3442,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3435,
"end": 3437,
"ctxt": 0
},
"value": "ss",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3437,
"end": 3442,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3439,
"end": 3442,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3540,
"end": 3568,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3544,
"end": 3567,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3544,
"end": 3546,
"ctxt": 0
},
"value": "tt",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3549,
"end": 3567,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3549,
"end": 3556,
"ctxt": 0
},
"value": "noIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 3556,
"end": 3567,
"ctxt": 0
},
"expression": {
"type": "TsTypeAssertion",
"span": {
"start": 3557,
"end": 3566,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 3562,
"end": 3566,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3558,
"end": 3561,
"ctxt": 0
},
"kind": "any"
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3569,
"end": 3581,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3573,
"end": 3580,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3573,
"end": 3575,
"ctxt": 0
},
"value": "tt",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3575,
"end": 3580,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3577,
"end": 3580,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3680,
"end": 3709,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3684,
"end": 3708,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3684,
"end": 3686,
"ctxt": 0
},
"value": "uu",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3689,
"end": 3708,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3689,
"end": 3696,
"ctxt": 0
},
"value": "noIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 3696,
"end": 3708,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 3697,
"end": 3707,
"ctxt": 0
},
"value": "someObject",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3840,
"end": 3861,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3844,
"end": 3860,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3844,
"end": 3846,
"ctxt": 0
},
"value": "vv",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 3849,
"end": 3860,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 3849,
"end": 3856,
"ctxt": 0
},
"value": "noIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 3856,
"end": 3860,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 3857,
"end": 3859,
"ctxt": 0
},
"value": 32.0
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3862,
"end": 3874,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3866,
"end": 3873,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3866,
"end": 3868,
"ctxt": 0
},
"value": "vv",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 3868,
"end": 3873,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 3870,
"end": 3873,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 3993,
"end": 4026,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 3997,
"end": 4025,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 3997,
"end": 3999,
"ctxt": 0
},
"value": "ww",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4002,
"end": 4025,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4002,
"end": 4011,
"ctxt": 0
},
"value": "bothIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 4011,
"end": 4025,
"ctxt": 0
},
"expression": {
"type": "MemberExpression",
"span": {
"start": 4012,
"end": 4024,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4012,
"end": 4019,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"property": {
"type": "Identifier",
"span": {
"start": 4020,
"end": 4024,
"ctxt": 0
},
"value": "East",
"optional": false
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4027,
"end": 4037,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4031,
"end": 4036,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4031,
"end": 4033,
"ctxt": 0
},
"value": "ww",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4033,
"end": 4036,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4035,
"end": 4036,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4035,
"end": 4036,
"ctxt": 0
},
"value": "B",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4165,
"end": 4195,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4169,
"end": 4194,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4169,
"end": 4171,
"ctxt": 0
},
"value": "xx",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4174,
"end": 4194,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4174,
"end": 4183,
"ctxt": 0
},
"value": "bothIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 4183,
"end": 4194,
"ctxt": 0
},
"expression": {
"type": "TsTypeAssertion",
"span": {
"start": 4184,
"end": 4193,
"ctxt": 0
},
"expression": {
"type": "NullLiteral",
"span": {
"start": 4189,
"end": 4193,
"ctxt": 0
}
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 4185,
"end": 4188,
"ctxt": 0
},
"kind": "any"
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4196,
"end": 4206,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4200,
"end": 4205,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4200,
"end": 4202,
"ctxt": 0
},
"value": "xx",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4202,
"end": 4205,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4204,
"end": 4205,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4204,
"end": 4205,
"ctxt": 0
},
"value": "B",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4327,
"end": 4353,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4331,
"end": 4352,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4331,
"end": 4333,
"ctxt": 0
},
"value": "yy",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4336,
"end": 4352,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4336,
"end": 4345,
"ctxt": 0
},
"value": "bothIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 4345,
"end": 4352,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 4346,
"end": 4351,
"ctxt": 0
},
"value": "foo",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4354,
"end": 4364,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4358,
"end": 4363,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4358,
"end": 4360,
"ctxt": 0
},
"value": "yy",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4360,
"end": 4363,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4362,
"end": 4363,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4362,
"end": 4363,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4493,
"end": 4519,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4497,
"end": 4518,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4497,
"end": 4499,
"ctxt": 0
},
"value": "zz",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4502,
"end": 4518,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4502,
"end": 4511,
"ctxt": 0
},
"value": "bothIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 4511,
"end": 4518,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 4512,
"end": 4517,
"ctxt": 0
},
"value": "1.0",
"hasEscape": false,
"kind": {
"type": "normal",
"containsQuote": true
}
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4520,
"end": 4530,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4524,
"end": 4529,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4524,
"end": 4526,
"ctxt": 0
},
"value": "zz",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4526,
"end": 4529,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4528,
"end": 4529,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4528,
"end": 4529,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4688,
"end": 4721,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4692,
"end": 4720,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4692,
"end": 4696,
"ctxt": 0
},
"value": "zzzz",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4699,
"end": 4720,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4699,
"end": 4708,
"ctxt": 0
},
"value": "bothIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 4708,
"end": 4720,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 4709,
"end": 4719,
"ctxt": 0
},
"value": "someObject",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4732,
"end": 4766,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4736,
"end": 4765,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4736,
"end": 4738,
"ctxt": 0
},
"value": "x1",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4741,
"end": 4765,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4741,
"end": 4749,
"ctxt": 0
},
"value": "numIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 4749,
"end": 4765,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 4750,
"end": 4764,
"ctxt": 0
},
"value": "stringOrNumber",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4767,
"end": 4779,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4771,
"end": 4778,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4771,
"end": 4773,
"ctxt": 0
},
"value": "x1",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4773,
"end": 4778,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 4775,
"end": 4778,
"ctxt": 0
},
"kind": "any"
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4781,
"end": 4815,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4785,
"end": 4814,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4785,
"end": 4787,
"ctxt": 0
},
"value": "x2",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4790,
"end": 4814,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4790,
"end": 4798,
"ctxt": 0
},
"value": "strIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 4798,
"end": 4814,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 4799,
"end": 4813,
"ctxt": 0
},
"value": "stringOrNumber",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4816,
"end": 4832,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4820,
"end": 4831,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4820,
"end": 4822,
"ctxt": 0
},
"value": "x2",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4822,
"end": 4831,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4824,
"end": 4831,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4824,
"end": 4831,
"ctxt": 0
},
"value": "Compass",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4834,
"end": 4869,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4838,
"end": 4868,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4838,
"end": 4840,
"ctxt": 0
},
"value": "x3",
"optional": false,
"typeAnnotation": null
},
"init": {
"type": "MemberExpression",
"span": {
"start": 4843,
"end": 4868,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 4843,
"end": 4852,
"ctxt": 0
},
"value": "bothIndex",
"optional": false
},
"property": {
"type": "Computed",
"span": {
"start": 4852,
"end": 4868,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 4853,
"end": 4867,
"ctxt": 0
},
"value": "stringOrNumber",
"optional": false
}
}
},
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 4870,
"end": 4880,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 4874,
"end": 4879,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 4874,
"end": 4876,
"ctxt": 0
},
"value": "x3",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 4876,
"end": 4879,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 4878,
"end": 4879,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 4878,
"end": 4879,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
}
],
"interpreter": null
}