{ "type": "Script", "span": { "start": 110, "end": 232, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 110, "end": 121, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 114, "end": 120, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 114, "end": 115, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 115, "end": 120, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 117, "end": 120, "ctxt": 0 }, "kind": "any" } } }, "init": null, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 122, "end": 142, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 126, "end": 141, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 126, "end": 127, "ctxt": 0 }, "value": "a", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 130, "end": 141, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 130, "end": 131, "ctxt": 0 }, "value": "x", "optional": false }, "arguments": [], "typeArguments": { "type": "TsTypeParameterInstantiation", "span": { "start": 131, "end": 139, "ctxt": 0 }, "params": [ { "type": "TsKeywordType", "span": { "start": 132, "end": 138, "ctxt": 0 }, "kind": "number" } ] } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 143, "end": 170, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 147, "end": 169, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 147, "end": 148, "ctxt": 0 }, "value": "b", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 151, "end": 169, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 151, "end": 152, "ctxt": 0 }, "value": "x", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "StringLiteral", "span": { "start": 161, "end": 168, "ctxt": 0 }, "value": "hello", "raw": "'hello'" } } ], "typeArguments": { "type": "TsTypeParameterInstantiation", "span": { "start": 152, "end": 160, "ctxt": 0 }, "params": [ { "type": "TsKeywordType", "span": { "start": 153, "end": 159, "ctxt": 0 }, "kind": "string" } ] } }, "definite": false } ] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 178, "end": 179, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 172, "end": 196, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassProperty", "span": { "start": 182, "end": 194, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 182, "end": 185, "ctxt": 0 }, "value": "foo", "optional": false }, "value": null, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 185, "end": 193, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 187, "end": 193, "ctxt": 0 }, "kind": "string" } }, "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": "VariableDeclaration", "span": { "start": 197, "end": 213, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 201, "end": 212, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 201, "end": 202, "ctxt": 0 }, "value": "c", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 205, "end": 212, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 205, "end": 206, "ctxt": 0 }, "value": "x", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "Identifier", "span": { "start": 210, "end": 211, "ctxt": 0 }, "value": "x", "optional": false } } ], "typeArguments": { "type": "TsTypeParameterInstantiation", "span": { "start": 206, "end": 209, "ctxt": 0 }, "params": [ { "type": "TsTypeReference", "span": { "start": 207, "end": 208, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 207, "end": 208, "ctxt": 0 }, "value": "C", "optional": false }, "typeParams": null } ] } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 214, "end": 232, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 218, "end": 231, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 218, "end": 219, "ctxt": 0 }, "value": "d", "optional": false, "typeAnnotation": null }, "init": { "type": "CallExpression", "span": { "start": 222, "end": 231, "ctxt": 0 }, "callee": { "type": "Identifier", "span": { "start": 222, "end": 223, "ctxt": 0 }, "value": "x", "optional": false }, "arguments": [ { "spread": null, "expression": { "type": "Identifier", "span": { "start": 229, "end": 230, "ctxt": 0 }, "value": "x", "optional": false } } ], "typeArguments": { "type": "TsTypeParameterInstantiation", "span": { "start": 223, "end": 228, "ctxt": 0 }, "params": [ { "type": "TsKeywordType", "span": { "start": 224, "end": 227, "ctxt": 0 }, "kind": "any" } ] } }, "definite": false } ] } ], "interpreter": null }