{ "type": "Script", "span": { "start": 1, "end": 175, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 1, "end": 45, "ctxt": 0 }, "kind": "var", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 13, "end": 44, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 13, "end": 14, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 14, "end": 44, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 16, "end": 44, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 16, "end": 25, "ctxt": 0 }, "value": "Uppercase", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 25, "end": 44, "ctxt": 0 }, "params": [ { "type": "TsTypeReference", "span": { "start": 26, "end": 43, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 26, "end": 35, "ctxt": 0 }, "value": "Lowercase", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 35, "end": 43, "ctxt": 0 }, "params": [ { "type": "TsKeywordType", "span": { "start": 36, "end": 42, "ctxt": 0 }, "kind": "string" } ] } } ] } } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 55, "end": 63, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 55, "end": 62, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 55, "end": 56, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "StringLiteral", "span": { "start": 59, "end": 62, "ctxt": 0 }, "value": "A", "raw": "\"A\"" } } }, { "type": "ExpressionStatement", "span": { "start": 72, "end": 80, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 72, "end": 79, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 72, "end": 73, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "right": { "type": "StringLiteral", "span": { "start": 76, "end": 79, "ctxt": 0 }, "value": "a", "raw": "\"a\"" } } }, { "type": "VariableDeclaration", "span": { "start": 82, "end": 131, "ctxt": 0 }, "kind": "var", "declare": true, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 94, "end": 130, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 94, "end": 95, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 95, "end": 130, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 97, "end": 130, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 97, "end": 106, "ctxt": 0 }, "value": "Uppercase", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 106, "end": 130, "ctxt": 0 }, "params": [ { "type": "TsTypeReference", "span": { "start": 107, "end": 129, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 107, "end": 116, "ctxt": 0 }, "value": "Lowercase", "optional": false }, "typeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 116, "end": 129, "ctxt": 0 }, "params": [ { "type": "TsLiteralType", "span": { "start": 117, "end": 128, "ctxt": 0 }, "literal": { "type": "TemplateLiteral", "span": { "start": 117, "end": 128, "ctxt": 0 }, "types": [ { "type": "TsKeywordType", "span": { "start": 120, "end": 126, "ctxt": 0 }, "kind": "number" } ], "quasis": [ { "type": "TemplateElement", "span": { "start": 118, "end": 118, "ctxt": 0 }, "tail": false, "cooked": "", "raw": "" }, { "type": "TemplateElement", "span": { "start": 127, "end": 127, "ctxt": 0 }, "tail": true, "cooked": "", "raw": "" } ] } } ] } } ] } } } }, "init": null, "definite": false } ] }, { "type": "ExpressionStatement", "span": { "start": 141, "end": 149, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 141, "end": 148, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 141, "end": 142, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": null }, "right": { "type": "StringLiteral", "span": { "start": 145, "end": 148, "ctxt": 0 }, "value": "1", "raw": "\"1\"" } } }, { "type": "ExpressionStatement", "span": { "start": 158, "end": 166, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 158, "end": 165, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 158, "end": 159, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": null }, "right": { "type": "StringLiteral", "span": { "start": 162, "end": 165, "ctxt": 0 }, "value": "a", "raw": "\"a\"" } } }, { "type": "ExpressionStatement", "span": { "start": 167, "end": 175, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 167, "end": 174, "ctxt": 0 }, "operator": "=", "left": { "type": "Identifier", "span": { "start": 167, "end": 168, "ctxt": 0 }, "value": "y", "optional": false, "typeAnnotation": null }, "right": { "type": "StringLiteral", "span": { "start": 171, "end": 174, "ctxt": 0 }, "value": "A", "raw": "\"A\"" } } } ], "interpreter": null }