{ "type": "Module", "span": { "start": 20, "end": 866, "ctxt": 0 }, "body": [ { "type": "ExportDeclaration", "span": { "start": 20, "end": 54, "ctxt": 0 }, "declaration": { "type": "VariableDeclaration", "span": { "start": 27, "end": 54, "ctxt": 0 }, "kind": "const", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 33, "end": 53, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 33, "end": 38, "ctxt": 0 }, "value": "texts", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 38, "end": 48, "ctxt": 0 }, "typeAnnotation": { "type": "TsArrayType", "span": { "start": 40, "end": 48, "ctxt": 0 }, "elemType": { "type": "TsKeywordType", "span": { "start": 40, "end": 46, "ctxt": 0 }, "kind": "string" } } } }, "init": { "type": "ArrayExpression", "span": { "start": 51, "end": 53, "ctxt": 0 }, "elements": [] }, "definite": false } ] } }, { "type": "ExpressionStatement", "span": { "start": 79, "end": 95, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 79, "end": 94, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 79, "end": 89, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 79, "end": 84, "ctxt": 0 }, "value": "texts", "optional": false }, "property": { "type": "Identifier", "span": { "start": 85, "end": 89, "ctxt": 0 }, "value": "push", "optional": false } }, "arguments": [ { "spread": null, "expression": { "type": "NumericLiteral", "span": { "start": 90, "end": 93, "ctxt": 0 }, "value": 100.0 } } ], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 126, "end": 142, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 126, "end": 141, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 126, "end": 136, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 126, "end": 131, "ctxt": 0 }, "value": "texts", "optional": false }, "property": { "type": "Identifier", "span": { "start": 132, "end": 136, "ctxt": 0 }, "value": "push", "optional": false } }, "arguments": [ { "spread": null, "expression": { "type": "NumericLiteral", "span": { "start": 137, "end": 140, "ctxt": 0 }, "value": 100.0 } } ], "typeArguments": null } }, { "type": "ExpressionStatement", "span": { "start": 173, "end": 191, "ctxt": 0 }, "expression": { "type": "CallExpression", "span": { "start": 173, "end": 190, "ctxt": 0 }, "callee": { "type": "MemberExpression", "span": { "start": 173, "end": 183, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 173, "end": 178, "ctxt": 0 }, "value": "texts", "optional": false }, "property": { "type": "Identifier", "span": { "start": 179, "end": 183, "ctxt": 0 }, "value": "push", "optional": false } }, "arguments": [ { "spread": null, "expression": { "type": "StringLiteral", "span": { "start": 184, "end": 189, "ctxt": 0 }, "value": "100", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ], "typeArguments": null } }, { "type": "ImportDeclaration", "span": { "start": 267, "end": 298, "ctxt": 0 }, "specifiers": [ { "type": "ImportNamespaceSpecifier", "span": { "start": 274, "end": 284, "ctxt": 0 }, "local": { "type": "Identifier", "span": { "start": 279, "end": 284, "ctxt": 0 }, "value": "React", "optional": false } } ], "source": { "type": "StringLiteral", "span": { "start": 290, "end": 297, "ctxt": 0 }, "value": "react", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } }, "typeOnly": false, "asserts": null }, { "type": "ExportDeclaration", "span": { "start": 302, "end": 377, "ctxt": 0 }, "declaration": { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 318, "end": 329, "ctxt": 0 }, "value": "MyComponent", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 330, "end": 352, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 330, "end": 352, "ctxt": 0 }, "value": "props", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 335, "end": 352, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeLiteral", "span": { "start": 337, "end": 352, "ctxt": 0 }, "members": [ { "type": "TsPropertySignature", "span": { "start": 339, "end": 350, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 339, "end": 342, "ctxt": 0 }, "value": "foo", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 342, "end": 350, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 344, "end": 350, "ctxt": 0 }, "kind": "string" } }, "typeParams": null } ] } } } } ], "decorators": [], "span": { "start": 309, "end": 377, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 354, "end": 377, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 359, "end": 374, "ctxt": 0 }, "argument": { "type": "JSXElement", "span": { "start": 366, "end": 373, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 367, "end": 370, "ctxt": 0 }, "value": "div", "optional": false }, "span": { "start": 366, "end": 373, "ctxt": 0 }, "attributes": [], "selfClosing": true, "typeArguments": null }, "children": [], "closing": null } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null } }, { "type": "VariableDeclaration", "span": { "start": 381, "end": 866, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 385, "end": 865, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 385, "end": 386, "ctxt": 0 }, "value": "x", "optional": false, "typeAnnotation": null }, "init": { "type": "ParenthesisExpression", "span": { "start": 389, "end": 865, "ctxt": 0 }, "expression": { "type": "JSXElement", "span": { "start": 394, "end": 862, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 395, "end": 398, "ctxt": 0 }, "value": "div", "optional": false }, "span": { "start": 394, "end": 399, "ctxt": 0 }, "attributes": [], "selfClosing": false, "typeArguments": null }, "children": [ { "type": "JSXText", "span": { "start": 399, "end": 405, "ctxt": 0 }, "value": "\n\r\n ", "raw": "\n\r\n " }, { "type": "JSXExpressionContainer", "span": { "start": 405, "end": 427, "ctxt": 0 }, "expression": { "type": "JSXEmptyExpression", "span": { "start": 426, "end": 426, "ctxt": 0 } } }, { "type": "JSXText", "span": { "start": 427, "end": 433, "ctxt": 0 }, "value": "\n\r\n ", "raw": "\n\r\n " }, { "type": "JSXElement", "span": { "start": 433, "end": 458, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 434, "end": 445, "ctxt": 0 }, "value": "MyComponent", "optional": false }, "span": { "start": 433, "end": 458, "ctxt": 0 }, "attributes": [ { "type": "JSXAttribute", "span": { "start": 446, "end": 455, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 446, "end": 449, "ctxt": 0 }, "value": "foo", "optional": false }, "value": { "type": "JSXExpressionContainer", "span": { "start": 450, "end": 455, "ctxt": 0 }, "expression": { "type": "NumericLiteral", "span": { "start": 451, "end": 454, "ctxt": 0 }, "value": 100.0 } } } ], "selfClosing": true, "typeArguments": null }, "children": [], "closing": null }, { "type": "JSXText", "span": { "start": 458, "end": 466, "ctxt": 0 }, "value": "\n\r\n\n\r\n ", "raw": "\n\r\n\n\r\n " }, { "type": "JSXExpressionContainer", "span": { "start": 466, "end": 482, "ctxt": 0 }, "expression": { "type": "JSXEmptyExpression", "span": { "start": 481, "end": 481, "ctxt": 0 } } }, { "type": "JSXText", "span": { "start": 482, "end": 488, "ctxt": 0 }, "value": "\n\r\n ", "raw": "\n\r\n " }, { "type": "JSXElement", "span": { "start": 488, "end": 513, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 489, "end": 500, "ctxt": 0 }, "value": "MyComponent", "optional": false }, "span": { "start": 488, "end": 513, "ctxt": 0 }, "attributes": [ { "type": "JSXAttribute", "span": { "start": 501, "end": 510, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 501, "end": 504, "ctxt": 0 }, "value": "foo", "optional": false }, "value": { "type": "JSXExpressionContainer", "span": { "start": 505, "end": 510, "ctxt": 0 }, "expression": { "type": "NumericLiteral", "span": { "start": 506, "end": 509, "ctxt": 0 }, "value": 100.0 } } } ], "selfClosing": true, "typeArguments": null }, "children": [], "closing": null }, { "type": "JSXText", "span": { "start": 513, "end": 521, "ctxt": 0 }, "value": "\n\r\n\n\r\n ", "raw": "\n\r\n\n\r\n " }, { "type": "JSXExpressionContainer", "span": { "start": 521, "end": 549, "ctxt": 0 }, "expression": { "type": "JSXEmptyExpression", "span": { "start": 548, "end": 548, "ctxt": 0 } } }, { "type": "JSXText", "span": { "start": 549, "end": 555, "ctxt": 0 }, "value": "\n\r\n ", "raw": "\n\r\n " }, { "type": "JSXElement", "span": { "start": 555, "end": 580, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 556, "end": 567, "ctxt": 0 }, "value": "MyComponent", "optional": false }, "span": { "start": 555, "end": 580, "ctxt": 0 }, "attributes": [ { "type": "JSXAttribute", "span": { "start": 568, "end": 577, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 568, "end": 571, "ctxt": 0 }, "value": "foo", "optional": false }, "value": { "type": "JSXExpressionContainer", "span": { "start": 572, "end": 577, "ctxt": 0 }, "expression": { "type": "NumericLiteral", "span": { "start": 573, "end": 576, "ctxt": 0 }, "value": 100.0 } } } ], "selfClosing": true, "typeArguments": null }, "children": [], "closing": null }, { "type": "JSXText", "span": { "start": 580, "end": 588, "ctxt": 0 }, "value": "\n\r\n\n\r\n ", "raw": "\n\r\n\n\r\n " }, { "type": "JSXExpressionContainer", "span": { "start": 588, "end": 619, "ctxt": 0 }, "expression": { "type": "JSXEmptyExpression", "span": { "start": 618, "end": 618, "ctxt": 0 } } }, { "type": "JSXText", "span": { "start": 619, "end": 625, "ctxt": 0 }, "value": "\n\r\n ", "raw": "\n\r\n " }, { "type": "JSXElement", "span": { "start": 625, "end": 650, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 626, "end": 637, "ctxt": 0 }, "value": "MyComponent", "optional": false }, "span": { "start": 625, "end": 650, "ctxt": 0 }, "attributes": [ { "type": "JSXAttribute", "span": { "start": 638, "end": 647, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 638, "end": 641, "ctxt": 0 }, "value": "foo", "optional": false }, "value": { "type": "JSXExpressionContainer", "span": { "start": 642, "end": 647, "ctxt": 0 }, "expression": { "type": "NumericLiteral", "span": { "start": 643, "end": 646, "ctxt": 0 }, "value": 100.0 } } } ], "selfClosing": true, "typeArguments": null }, "children": [], "closing": null }, { "type": "JSXText", "span": { "start": 650, "end": 658, "ctxt": 0 }, "value": "\n\r\n\n\r\n ", "raw": "\n\r\n\n\r\n " }, { "type": "JSXExpressionContainer", "span": { "start": 658, "end": 688, "ctxt": 0 }, "expression": { "type": "JSXEmptyExpression", "span": { "start": 687, "end": 687, "ctxt": 0 } } }, { "type": "JSXText", "span": { "start": 688, "end": 694, "ctxt": 0 }, "value": "\n\r\n ", "raw": "\n\r\n " }, { "type": "JSXElement", "span": { "start": 694, "end": 719, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 695, "end": 706, "ctxt": 0 }, "value": "MyComponent", "optional": false }, "span": { "start": 694, "end": 719, "ctxt": 0 }, "attributes": [ { "type": "JSXAttribute", "span": { "start": 707, "end": 716, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 707, "end": 710, "ctxt": 0 }, "value": "foo", "optional": false }, "value": { "type": "JSXExpressionContainer", "span": { "start": 711, "end": 716, "ctxt": 0 }, "expression": { "type": "NumericLiteral", "span": { "start": 712, "end": 715, "ctxt": 0 }, "value": 100.0 } } } ], "selfClosing": true, "typeArguments": null }, "children": [], "closing": null }, { "type": "JSXText", "span": { "start": 719, "end": 727, "ctxt": 0 }, "value": "\n\r\n\n\r\n ", "raw": "\n\r\n\n\r\n " }, { "type": "JSXExpressionContainer", "span": { "start": 727, "end": 749, "ctxt": 0 }, "expression": { "type": "JSXEmptyExpression", "span": { "start": 748, "end": 748, "ctxt": 0 } } }, { "type": "JSXText", "span": { "start": 749, "end": 755, "ctxt": 0 }, "value": "\n\r\n ", "raw": "\n\r\n " }, { "type": "JSXElement", "span": { "start": 755, "end": 780, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 756, "end": 767, "ctxt": 0 }, "value": "MyComponent", "optional": false }, "span": { "start": 755, "end": 780, "ctxt": 0 }, "attributes": [ { "type": "JSXAttribute", "span": { "start": 768, "end": 777, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 768, "end": 771, "ctxt": 0 }, "value": "foo", "optional": false }, "value": { "type": "JSXExpressionContainer", "span": { "start": 772, "end": 777, "ctxt": 0 }, "expression": { "type": "NumericLiteral", "span": { "start": 773, "end": 776, "ctxt": 0 }, "value": 100.0 } } } ], "selfClosing": true, "typeArguments": null }, "children": [], "closing": null }, { "type": "JSXText", "span": { "start": 780, "end": 788, "ctxt": 0 }, "value": "\n\r\n\n\r\n ", "raw": "\n\r\n\n\r\n " }, { "type": "JSXExpressionContainer", "span": { "start": 788, "end": 816, "ctxt": 0 }, "expression": { "type": "JSXEmptyExpression", "span": { "start": 815, "end": 815, "ctxt": 0 } } }, { "type": "JSXText", "span": { "start": 816, "end": 822, "ctxt": 0 }, "value": "\n\r\n ", "raw": "\n\r\n " }, { "type": "JSXElement", "span": { "start": 822, "end": 852, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 823, "end": 834, "ctxt": 0 }, "value": "MyComponent", "optional": false }, "span": { "start": 822, "end": 852, "ctxt": 0 }, "attributes": [ { "type": "JSXAttribute", "span": { "start": 835, "end": 849, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 835, "end": 838, "ctxt": 0 }, "value": "foo", "optional": false }, "value": { "type": "JSXExpressionContainer", "span": { "start": 839, "end": 849, "ctxt": 0 }, "expression": { "type": "StringLiteral", "span": { "start": 840, "end": 848, "ctxt": 0 }, "value": "hooray", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } } ], "selfClosing": true, "typeArguments": null }, "children": [], "closing": null }, { "type": "JSXText", "span": { "start": 852, "end": 856, "ctxt": 0 }, "value": "\n\r\n ", "raw": "\n\r\n " } ], "closing": { "type": "JSXClosingElement", "span": { "start": 856, "end": 862, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 858, "end": 861, "ctxt": 0 }, "value": "div", "optional": false } } } }, "definite": false } ] } ], "interpreter": null }