{ "type": "Script", "span": { "start": 0, "end": 413, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 0, "end": 11, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 4, "end": 10, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 4, "end": 5, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 8, "end": 10, "ctxt": 0 }, "properties": [] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 12, "end": 33, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 16, "end": 32, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 16, "end": 17, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": null }, "init": { "type": "ObjectExpression", "span": { "start": 20, "end": 32, "ctxt": 0 }, "properties": [ { "type": "KeyValueProperty", "key": { "type": "Identifier", "span": { "start": 21, "end": 24, "ctxt": 0 }, "value": "foo", "optional": false }, "value": { "type": "StringLiteral", "span": { "start": 26, "end": 31, "ctxt": 0 }, "value": "bar", "raw": "\"bar\"" } } ] }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 34, "end": 48, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 38, "end": 47, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 38, "end": 39, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 39, "end": 47, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 41, "end": 47, "ctxt": 0 }, "kind": "object" } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 49, "end": 55, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 49, "end": 54, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 49, "end": 50, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 53, "end": 54, "ctxt": 0 }, "value": "a", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 56, "end": 62, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 56, "end": 61, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 56, "end": 57, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 60, "end": 61, "ctxt": 0 }, "value": "a", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 79, "end": 85, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 79, "end": 84, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 79, "end": 80, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 83, "end": 84, "ctxt": 0 }, "value": "x", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 86, "end": 92, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 86, "end": 91, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 86, "end": 87, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 90, "end": 91, "ctxt": 0 }, "value": "y", "optional": false } } }, { "type": "VariableDeclaration", "span": { "start": 94, "end": 106, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 98, "end": 105, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 98, "end": 99, "ctxt": 0 }, "value": "n", "optional": false, "typeAnnotation": null }, "init": { "type": "NumericLiteral", "span": { "start": 102, "end": 105, "ctxt": 0 }, "value": 123.0 }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 107, "end": 120, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 111, "end": 119, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 111, "end": 112, "ctxt": 0 }, "value": "b", "optional": false, "typeAnnotation": null }, "init": { "type": "BooleanLiteral", "span": { "start": 115, "end": 119, "ctxt": 0 }, "value": true }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 121, "end": 136, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 125, "end": 135, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 125, "end": 126, "ctxt": 0 }, "value": "s", "optional": false, "typeAnnotation": null }, "init": { "type": "StringLiteral", "span": { "start": 129, "end": 135, "ctxt": 0 }, "value": "fooo", "raw": "\"fooo\"" }, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 138, "end": 144, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 138, "end": 143, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 138, "end": 139, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 142, "end": 143, "ctxt": 0 }, "value": "n", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 161, "end": 167, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 161, "end": 166, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 161, "end": 162, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 165, "end": 166, "ctxt": 0 }, "value": "b", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 184, "end": 190, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 184, "end": 189, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 184, "end": 185, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 188, "end": 189, "ctxt": 0 }, "value": "s", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 208, "end": 214, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 208, "end": 213, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 208, "end": 209, "ctxt": 0 }, "value": "n", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 212, "end": 213, "ctxt": 0 }, "value": "a", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 231, "end": 237, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 231, "end": 236, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 231, "end": 232, "ctxt": 0 }, "value": "b", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 235, "end": 236, "ctxt": 0 }, "value": "a", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 254, "end": 260, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 254, "end": 259, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 254, "end": 255, "ctxt": 0 }, "value": "s", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 258, "end": 259, "ctxt": 0 }, "value": "a", "optional": false } } }, { "type": "VariableDeclaration", "span": { "start": 278, "end": 303, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 282, "end": 302, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 282, "end": 288, "ctxt": 0 }, "value": "numObj", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 288, "end": 296, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 290, "end": 296, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 290, "end": 296, "ctxt": 0 }, "value": "Number", "optional": false }, "typeParams": null } } }, "init": { "type": "NumericLiteral", "span": { "start": 299, "end": 302, "ctxt": 0 }, "value": 123.0 }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 304, "end": 332, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 308, "end": 331, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 308, "end": 315, "ctxt": 0 }, "value": "boolObj", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 315, "end": 324, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 317, "end": 324, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 317, "end": 324, "ctxt": 0 }, "value": "Boolean", "optional": false }, "typeParams": null } } }, "init": { "type": "BooleanLiteral", "span": { "start": 327, "end": 331, "ctxt": 0 }, "value": true }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 333, "end": 363, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 337, "end": 362, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 337, "end": 343, "ctxt": 0 }, "value": "strObj", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 343, "end": 351, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 345, "end": 351, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 345, "end": 351, "ctxt": 0 }, "value": "String", "optional": false }, "typeParams": null } } }, "init": { "type": "StringLiteral", "span": { "start": 354, "end": 362, "ctxt": 0 }, "value": "string", "raw": "\"string\"" }, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 365, "end": 376, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 365, "end": 375, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 365, "end": 366, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 369, "end": 375, "ctxt": 0 }, "value": "numObj", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 383, "end": 395, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 383, "end": 394, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 383, "end": 384, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 387, "end": 394, "ctxt": 0 }, "value": "boolObj", "optional": false } } }, { "type": "ExpressionStatement", "span": { "start": 402, "end": 413, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 402, "end": 412, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 402, "end": 403, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 406, "end": 412, "ctxt": 0 }, "value": "strObj", "optional": false } } } ], "interpreter": null }