{ "type": "Script", "span": { "start": 0, "end": 74, "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": "a", "optional": false, "typeAnnotation": null }, "init": { "type": "NumericLiteral", "span": { "start": 8, "end": 10, "ctxt": 0 }, "value": 20.0 }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 12, "end": 32, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 16, "end": 31, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 16, "end": 17, "ctxt": 0 }, "value": "b", "optional": false, "typeAnnotation": null }, "init": { "type": "TsAsExpression", "span": { "start": 20, "end": 31, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 20, "end": 21, "ctxt": 0 }, "value": "a", "optional": false }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 25, "end": 31, "ctxt": 0 }, "kind": "string" } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 33, "end": 50, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 37, "end": 49, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 37, "end": 39, "ctxt": 0 }, "value": "as", "optional": false, "typeAnnotation": null }, "init": { "type": "StringLiteral", "span": { "start": 42, "end": 49, "ctxt": 0 }, "value": "hello", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 51, "end": 74, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 55, "end": 73, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 55, "end": 58, "ctxt": 0 }, "value": "as1", "optional": false, "typeAnnotation": null }, "init": { "type": "TsAsExpression", "span": { "start": 61, "end": 73, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 61, "end": 63, "ctxt": 0 }, "value": "as", "optional": false }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 67, "end": 73, "ctxt": 0 }, "kind": "string" } }, "definite": false } ] } ], "interpreter": null }