{ "type": "Module", "span": { "start": 137, "end": 500, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 137, "end": 290, "ctxt": 0 }, "declaration": { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 150, "end": 157, "ctxt": 0 }, "value": "Element", "optional": false }, "declare": false, "span": { "start": 144, "end": 290, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 197, "end": 235, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 201, "end": 212, "ctxt": 0 }, "value": "textContent", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 197, "end": 235, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 215, "end": 235, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 221, "end": 231, "ctxt": 0 }, "argument": { "type": "StringLiteral", "span": { "start": 229, "end": 231, "ctxt": 0 }, "value": "", "raw": "''" } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "getter", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 238, "end": 259, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 242, "end": 253, "ctxt": 0 }, "value": "textContent", "optional": false }, "function": { "params": [ { "type": "Parameter", "span": { "start": 254, "end": 255, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 254, "end": 255, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 238, "end": 259, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 257, "end": 259, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "setter", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 262, "end": 288, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 262, "end": 271, "ctxt": 0 }, "value": "cloneNode", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 262, "end": 288, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 274, "end": 288, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 276, "end": 287, "ctxt": 0 }, "argument": { "type": "ThisExpression", "span": { "start": 283, "end": 287, "ctxt": 0 } } } ] }, "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": [] } }, { "type": "ExportDeclaration", "span": { "start": 291, "end": 334, "ctxt": 0 }, "declaration": { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 304, "end": 315, "ctxt": 0 }, "value": "HTMLElement", "optional": false }, "declare": false, "span": { "start": 298, "end": 334, "ctxt": 0 }, "decorators": [], "body": [], "superClass": { "type": "Identifier", "span": { "start": 324, "end": 331, "ctxt": 0 }, "value": "Element", "optional": false }, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } }, { "type": "ExportDeclaration", "span": { "start": 335, "end": 500, "ctxt": 0 }, "declaration": { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 348, "end": 359, "ctxt": 0 }, "value": "TextElement", "optional": false }, "declare": false, "span": { "start": 342, "end": 500, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 384, "end": 428, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 388, "end": 397, "ctxt": 0 }, "value": "innerHTML", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 384, "end": 428, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 400, "end": 428, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 402, "end": 426, "ctxt": 0 }, "argument": { "type": "MemberExpression", "span": { "start": 409, "end": 425, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 409, "end": 413, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 414, "end": 425, "ctxt": 0 }, "value": "textContent", "optional": false } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "getter", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 431, "end": 479, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 435, "end": 444, "ctxt": 0 }, "value": "innerHTML", "optional": false }, "function": { "params": [ { "type": "Parameter", "span": { "start": 445, "end": 449, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 445, "end": 449, "ctxt": 0 }, "value": "html", "optional": false, "typeAnnotation": null } } ], "decorators": [], "span": { "start": 431, "end": 479, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 451, "end": 479, "ctxt": 0 }, "stmts": [ { "type": "ExpressionStatement", "span": { "start": 453, "end": 477, "ctxt": 0 }, "expression": { "type": "AssignmentExpression", "span": { "start": 453, "end": 476, "ctxt": 0 }, "operator": "=", "left": { "type": "MemberExpression", "span": { "start": 453, "end": 469, "ctxt": 0 }, "object": { "type": "ThisExpression", "span": { "start": 453, "end": 457, "ctxt": 0 } }, "property": { "type": "Identifier", "span": { "start": 458, "end": 469, "ctxt": 0 }, "value": "textContent", "optional": false } }, "right": { "type": "Identifier", "span": { "start": 472, "end": 476, "ctxt": 0 }, "value": "html", "optional": false } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "setter", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false }, { "type": "ClassMethod", "span": { "start": 482, "end": 498, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 482, "end": 490, "ctxt": 0 }, "value": "toString", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 482, "end": 498, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 493, "end": 498, "ctxt": 0 }, "stmts": [] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": { "type": "Identifier", "span": { "start": 368, "end": 379, "ctxt": 0 }, "value": "HTMLElement", "optional": false }, "isAbstract": false, "typeParams": null, "superTypeParams": null, "implements": [] } } ], "interpreter": null }