{ "type": "Script", "span": { "start": 0, "end": 39, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 0, "end": 12, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 4, "end": 11, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 4, "end": 5, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 5, "end": 11, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 7, "end": 11, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 7, "end": 11, "ctxt": 0 }, "value": "bool", "optional": false }, "typeParams": null } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 13, "end": 32, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 17, "end": 31, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 17, "end": 18, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 18, "end": 27, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 20, "end": 27, "ctxt": 0 }, "kind": "boolean" } } }, "init": { "type": "Identifier", "span": { "start": 30, "end": 31, "ctxt": 0 }, "value": "x", "optional": false }, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 33, "end": 39, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 33, "end": 38, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 33, "end": 34, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "Identifier", "span": { "start": 37, "end": 38, "ctxt": 0 }, "value": "a", "optional": false } } } ], "interpreter": null }