{ "type": "Script", "span": { "start": 17, "end": 168, "ctxt": 0 }, "body": [ { "type": "VariableDeclaration", "span": { "start": 17, "end": 43, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 21, "end": 42, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 21, "end": 31, "ctxt": 0 }, "value": "methodName", "optional": false, "typeAnnotation": null }, "init": { "type": "StringLiteral", "span": { "start": 34, "end": 42, "ctxt": 0 }, "value": "method", "raw": "\"method\"" }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 44, "end": 74, "ctxt": 0 }, "kind": "var", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 48, "end": 73, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 48, "end": 60, "ctxt": 0 }, "value": "accessorName", "optional": false, "typeAnnotation": null }, "init": { "type": "StringLiteral", "span": { "start": 63, "end": 73, "ctxt": 0 }, "value": "accessor", "raw": "\"accessor\"" }, "definite": false } ] }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 81, "end": 82, "ctxt": 0 }, "value": "C", "optional": false }, "declare": false, "span": { "start": 75, "end": 168, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 89, "end": 113, "ctxt": 0 }, "key": { "type": "Computed", "span": { "start": 89, "end": 101, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 90, "end": 100, "ctxt": 0 }, "value": "methodName", "optional": false } }, "function": { "params": [ { "type": "Parameter", "span": { "start": 102, "end": 111, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 102, "end": 111, "ctxt": 0 }, "value": "v", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 103, "end": 111, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 105, "end": 111, "ctxt": 0 }, "kind": "string" } } } } ], "decorators": [], "span": { "start": 89, "end": 113, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 118, "end": 133, "ctxt": 0 }, "key": { "type": "Computed", "span": { "start": 118, "end": 130, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 119, "end": 129, "ctxt": 0 }, "value": "methodName", "optional": false } }, "function": { "params": [], "decorators": [], "span": { "start": 118, "end": 133, "ctxt": 0 }, "body": null, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 138, "end": 166, "ctxt": 0 }, "key": { "type": "Computed", "span": { "start": 138, "end": 150, "ctxt": 0 }, "expression": { "type": "Identifier", "span": { "start": 139, "end": 149, "ctxt": 0 }, "value": "methodName", "optional": false } }, "function": { "params": [ { "type": "Parameter", "span": { "start": 151, "end": 161, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 151, "end": 161, "ctxt": 0 }, "value": "v", "optional": true, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 153, "end": 161, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 155, "end": 161, "ctxt": 0 }, "kind": "string" } } } } ], "decorators": [], "span": { "start": 138, "end": 166, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 163, "end": 166, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": null, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } ], "interpreter": null }