{ "type": "Module", "span": { "start": 115, "end": 1070, "ctxt": 0 }, "body": [ { "type": "TsImportEqualsDeclaration", "span": { "start": 115, "end": 147, "ctxt": 0 }, "declare": false, "isExport": false, "isTypeOnly": false, "id": { "type": "Identifier", "span": { "start": 122, "end": 127, "ctxt": 0 }, "value": "React", "optional": false }, "moduleRef": { "type": "TsExternalModuleReference", "span": { "start": 130, "end": 146, "ctxt": 0 }, "expression": { "type": "StringLiteral", "span": { "start": 138, "end": 145, "ctxt": 0 }, "value": "react", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } }, { "type": "TsInterfaceDeclaration", "span": { "start": 149, "end": 240, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 159, "end": 163, "ctxt": 0 }, "value": "Prop", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 164, "end": 240, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 170, "end": 180, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 170, "end": 171, "ctxt": 0 }, "value": "a", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 171, "end": 179, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 173, "end": 179, "ctxt": 0 }, "kind": "number" } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 185, "end": 195, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 185, "end": 186, "ctxt": 0 }, "value": "b", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 186, "end": 194, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 188, "end": 194, "ctxt": 0 }, "kind": "string" } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 200, "end": 238, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 200, "end": 208, "ctxt": 0 }, "value": "children", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 208, "end": 237, "ctxt": 0 }, "typeAnnotation": { "type": "TsUnionType", "span": { "start": 210, "end": 237, "ctxt": 0 }, "types": [ { "type": "TsTypeReference", "span": { "start": 210, "end": 221, "ctxt": 0 }, "typeName": { "type": "TsQualifiedName", "left": { "type": "Identifier", "span": { "start": 210, "end": 213, "ctxt": 0 }, "value": "JSX", "optional": false }, "right": { "type": "Identifier", "span": { "start": 214, "end": 221, "ctxt": 0 }, "value": "Element", "optional": false } }, "typeParams": null }, { "type": "TsArrayType", "span": { "start": 224, "end": 237, "ctxt": 0 }, "elemType": { "type": "TsTypeReference", "span": { "start": 224, "end": 235, "ctxt": 0 }, "typeName": { "type": "TsQualifiedName", "left": { "type": "Identifier", "span": { "start": 224, "end": 227, "ctxt": 0 }, "value": "JSX", "optional": false }, "right": { "type": "Identifier", "span": { "start": 228, "end": 235, "ctxt": 0 }, "value": "Element", "optional": false } }, "typeParams": null } } ] } }, "typeParams": null } ] } }, { "type": "ClassDeclaration", "identifier": { "type": "Identifier", "span": { "start": 248, "end": 254, "ctxt": 0 }, "value": "Button", "optional": false }, "declare": false, "span": { "start": 242, "end": 351, "ctxt": 0 }, "decorators": [], "body": [ { "type": "ClassMethod", "span": { "start": 295, "end": 349, "ctxt": 0 }, "key": { "type": "Identifier", "span": { "start": 295, "end": 301, "ctxt": 0 }, "value": "render", "optional": false }, "function": { "params": [], "decorators": [], "span": { "start": 295, "end": 349, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 304, "end": 349, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 314, "end": 343, "ctxt": 0 }, "argument": { "type": "ParenthesisExpression", "span": { "start": 321, "end": 343, "ctxt": 0 }, "expression": { "type": "JSXElement", "span": { "start": 322, "end": 342, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 323, "end": 326, "ctxt": 0 }, "value": "div", "optional": false }, "span": { "start": 322, "end": 327, "ctxt": 0 }, "attributes": [], "selfClosing": false, "typeArguments": null }, "children": [ { "type": "JSXText", "span": { "start": 327, "end": 336, "ctxt": 0 }, "value": "My Button", "raw": "My Button" } ], "closing": { "type": "JSXClosingElement", "span": { "start": 336, "end": 342, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 338, "end": 341, "ctxt": 0 }, "value": "div", "optional": false } } } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, "kind": "method", "isStatic": false, "accessibility": null, "isAbstract": false, "isOptional": false, "isOverride": false } ], "superClass": { "type": "MemberExpression", "span": { "start": 263, "end": 278, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 263, "end": 268, "ctxt": 0 }, "value": "React", "optional": false }, "property": { "type": "Identifier", "span": { "start": 269, "end": 278, "ctxt": 0 }, "value": "Component", "optional": false } }, "isAbstract": false, "typeParams": null, "superTypeParams": { "type": "TsTypeParameterInstantiation", "span": { "start": 278, "end": 288, "ctxt": 0 }, "params": [ { "type": "TsKeywordType", "span": { "start": 279, "end": 282, "ctxt": 0 }, "kind": "any" }, { "type": "TsKeywordType", "span": { "start": 284, "end": 287, "ctxt": 0 }, "kind": "any" } ] }, "implements": [] }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 362, "end": 375, "ctxt": 0 }, "value": "AnotherButton", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 376, "end": 382, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 376, "end": 382, "ctxt": 0 }, "value": "p", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 377, "end": 382, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 379, "end": 382, "ctxt": 0 }, "kind": "any" } } } } ], "decorators": [], "span": { "start": 353, "end": 428, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 384, "end": 428, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 390, "end": 426, "ctxt": 0 }, "argument": { "type": "JSXElement", "span": { "start": 397, "end": 425, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 398, "end": 400, "ctxt": 0 }, "value": "h1", "optional": false }, "span": { "start": 397, "end": 401, "ctxt": 0 }, "attributes": [], "selfClosing": false, "typeArguments": null }, "children": [ { "type": "JSXText", "span": { "start": 401, "end": 420, "ctxt": 0 }, "value": "Just Another Button", "raw": "Just Another Button" } ], "closing": { "type": "JSXClosingElement", "span": { "start": 420, "end": 425, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 422, "end": 424, "ctxt": 0 }, "value": "h1", "optional": false } } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 439, "end": 443, "ctxt": 0 }, "value": "Comp", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 444, "end": 451, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 444, "end": 451, "ctxt": 0 }, "value": "p", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 445, "end": 451, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 447, "end": 451, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 447, "end": 451, "ctxt": 0 }, "value": "Prop", "optional": false }, "typeParams": null } } } } ], "decorators": [], "span": { "start": 430, "end": 485, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 453, "end": 485, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 459, "end": 483, "ctxt": 0 }, "argument": { "type": "JSXElement", "span": { "start": 466, "end": 482, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 467, "end": 470, "ctxt": 0 }, "value": "div", "optional": false }, "span": { "start": 466, "end": 471, "ctxt": 0 }, "attributes": [], "selfClosing": false, "typeArguments": null }, "children": [ { "type": "JSXExpressionContainer", "span": { "start": 471, "end": 476, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 472, "end": 475, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 472, "end": 473, "ctxt": 0 }, "value": "p", "optional": false }, "property": { "type": "Identifier", "span": { "start": 474, "end": 475, "ctxt": 0 }, "value": "b", "optional": false } } } ], "closing": { "type": "JSXClosingElement", "span": { "start": 476, "end": 482, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 478, "end": 481, "ctxt": 0 }, "value": "div", "optional": false } } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "VariableDeclaration", "span": { "start": 493, "end": 562, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 497, "end": 561, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 497, "end": 499, "ctxt": 0 }, "value": "k1", "optional": false, "typeAnnotation": null }, "init": { "type": "JSXElement", "span": { "start": 502, "end": 561, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 503, "end": 507, "ctxt": 0 }, "value": "Comp", "optional": false }, "span": { "start": 502, "end": 522, "ctxt": 0 }, "attributes": [ { "type": "JSXAttribute", "span": { "start": 508, "end": 514, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 508, "end": 509, "ctxt": 0 }, "value": "a", "optional": false }, "value": { "type": "JSXExpressionContainer", "span": { "start": 510, "end": 514, "ctxt": 0 }, "expression": { "type": "NumericLiteral", "span": { "start": 511, "end": 513, "ctxt": 0 }, "value": 10.0 } } }, { "type": "JSXAttribute", "span": { "start": 515, "end": 521, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 515, "end": 516, "ctxt": 0 }, "value": "b", "optional": false }, "value": { "type": "StringLiteral", "span": { "start": 517, "end": 521, "ctxt": 0 }, "value": "hi", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ], "selfClosing": false, "typeArguments": null }, "children": [ { "type": "JSXFragment", "span": { "start": 522, "end": 527, "ctxt": 0 }, "opening": { "type": "JSXOpeningFragment", "span": { "start": 522, "end": 524, "ctxt": 0 } }, "children": [], "closing": { "type": "JSXClosingFragment", "span": { "start": 524, "end": 527, "ctxt": 0 } } }, { "type": "JSXElement", "span": { "start": 527, "end": 537, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 528, "end": 534, "ctxt": 0 }, "value": "Button", "optional": false }, "span": { "start": 527, "end": 537, "ctxt": 0 }, "attributes": [], "selfClosing": true, "typeArguments": null }, "children": [], "closing": null }, { "type": "JSXElement", "span": { "start": 537, "end": 554, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 538, "end": 551, "ctxt": 0 }, "value": "AnotherButton", "optional": false }, "span": { "start": 537, "end": 554, "ctxt": 0 }, "attributes": [], "selfClosing": true, "typeArguments": null }, "children": [], "closing": null } ], "closing": { "type": "JSXClosingElement", "span": { "start": 554, "end": 561, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 556, "end": 560, "ctxt": 0 }, "value": "Comp", "optional": false } } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 563, "end": 632, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 567, "end": 631, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 567, "end": 569, "ctxt": 0 }, "value": "k2", "optional": false, "typeAnnotation": null }, "init": { "type": "JSXElement", "span": { "start": 572, "end": 631, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 573, "end": 577, "ctxt": 0 }, "value": "Comp", "optional": false }, "span": { "start": 572, "end": 592, "ctxt": 0 }, "attributes": [ { "type": "JSXAttribute", "span": { "start": 578, "end": 584, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 578, "end": 579, "ctxt": 0 }, "value": "a", "optional": false }, "value": { "type": "JSXExpressionContainer", "span": { "start": 580, "end": 584, "ctxt": 0 }, "expression": { "type": "NumericLiteral", "span": { "start": 581, "end": 583, "ctxt": 0 }, "value": 10.0 } } }, { "type": "JSXAttribute", "span": { "start": 585, "end": 591, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 585, "end": 586, "ctxt": 0 }, "value": "b", "optional": false }, "value": { "type": "StringLiteral", "span": { "start": 587, "end": 591, "ctxt": 0 }, "value": "hi", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ], "selfClosing": false, "typeArguments": null }, "children": [ { "type": "JSXFragment", "span": { "start": 592, "end": 607, "ctxt": 0 }, "opening": { "type": "JSXOpeningFragment", "span": { "start": 592, "end": 594, "ctxt": 0 } }, "children": [ { "type": "JSXElement", "span": { "start": 594, "end": 604, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 595, "end": 601, "ctxt": 0 }, "value": "Button", "optional": false }, "span": { "start": 594, "end": 604, "ctxt": 0 }, "attributes": [], "selfClosing": true, "typeArguments": null }, "children": [], "closing": null } ], "closing": { "type": "JSXClosingFragment", "span": { "start": 604, "end": 607, "ctxt": 0 } } }, { "type": "JSXElement", "span": { "start": 607, "end": 624, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 608, "end": 621, "ctxt": 0 }, "value": "AnotherButton", "optional": false }, "span": { "start": 607, "end": 624, "ctxt": 0 }, "attributes": [], "selfClosing": true, "typeArguments": null }, "children": [], "closing": null } ], "closing": { "type": "JSXClosingElement", "span": { "start": 624, "end": 631, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 626, "end": 630, "ctxt": 0 }, "value": "Comp", "optional": false } } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 633, "end": 702, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 637, "end": 701, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 637, "end": 639, "ctxt": 0 }, "value": "k3", "optional": false, "typeAnnotation": null }, "init": { "type": "JSXElement", "span": { "start": 642, "end": 701, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 643, "end": 647, "ctxt": 0 }, "value": "Comp", "optional": false }, "span": { "start": 642, "end": 662, "ctxt": 0 }, "attributes": [ { "type": "JSXAttribute", "span": { "start": 648, "end": 654, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 648, "end": 649, "ctxt": 0 }, "value": "a", "optional": false }, "value": { "type": "JSXExpressionContainer", "span": { "start": 650, "end": 654, "ctxt": 0 }, "expression": { "type": "NumericLiteral", "span": { "start": 651, "end": 653, "ctxt": 0 }, "value": 10.0 } } }, { "type": "JSXAttribute", "span": { "start": 655, "end": 661, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 655, "end": 656, "ctxt": 0 }, "value": "b", "optional": false }, "value": { "type": "StringLiteral", "span": { "start": 657, "end": 661, "ctxt": 0 }, "value": "hi", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ], "selfClosing": false, "typeArguments": null }, "children": [ { "type": "JSXFragment", "span": { "start": 662, "end": 694, "ctxt": 0 }, "opening": { "type": "JSXOpeningFragment", "span": { "start": 662, "end": 664, "ctxt": 0 } }, "children": [ { "type": "JSXElement", "span": { "start": 664, "end": 674, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 665, "end": 671, "ctxt": 0 }, "value": "Button", "optional": false }, "span": { "start": 664, "end": 674, "ctxt": 0 }, "attributes": [], "selfClosing": true, "typeArguments": null }, "children": [], "closing": null }, { "type": "JSXElement", "span": { "start": 674, "end": 691, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 675, "end": 688, "ctxt": 0 }, "value": "AnotherButton", "optional": false }, "span": { "start": 674, "end": 691, "ctxt": 0 }, "attributes": [], "selfClosing": true, "typeArguments": null }, "children": [], "closing": null } ], "closing": { "type": "JSXClosingFragment", "span": { "start": 691, "end": 694, "ctxt": 0 } } } ], "closing": { "type": "JSXClosingElement", "span": { "start": 694, "end": 701, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 696, "end": 700, "ctxt": 0 }, "value": "Comp", "optional": false } } }, "definite": false } ] }, { "type": "TsInterfaceDeclaration", "span": { "start": 704, "end": 790, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 714, "end": 729, "ctxt": 0 }, "value": "SingleChildProp", "optional": false }, "declare": false, "typeParams": null, "extends": [], "body": { "type": "TsInterfaceBody", "span": { "start": 730, "end": 790, "ctxt": 0 }, "body": [ { "type": "TsPropertySignature", "span": { "start": 736, "end": 746, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 736, "end": 737, "ctxt": 0 }, "value": "a", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 737, "end": 745, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 739, "end": 745, "ctxt": 0 }, "kind": "number" } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 751, "end": 761, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 751, "end": 752, "ctxt": 0 }, "value": "b", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 752, "end": 760, "ctxt": 0 }, "typeAnnotation": { "type": "TsKeywordType", "span": { "start": 754, "end": 760, "ctxt": 0 }, "kind": "string" } }, "typeParams": null }, { "type": "TsPropertySignature", "span": { "start": 766, "end": 788, "ctxt": 0 }, "readonly": false, "key": { "type": "Identifier", "span": { "start": 766, "end": 774, "ctxt": 0 }, "value": "children", "optional": false }, "computed": false, "optional": false, "init": null, "params": [], "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 774, "end": 787, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 776, "end": 787, "ctxt": 0 }, "typeName": { "type": "TsQualifiedName", "left": { "type": "Identifier", "span": { "start": 776, "end": 779, "ctxt": 0 }, "value": "JSX", "optional": false }, "right": { "type": "Identifier", "span": { "start": 780, "end": 787, "ctxt": 0 }, "value": "Element", "optional": false } }, "typeParams": null } }, "typeParams": null } ] } }, { "type": "FunctionDeclaration", "identifier": { "type": "Identifier", "span": { "start": 801, "end": 816, "ctxt": 0 }, "value": "SingleChildComp", "optional": false }, "declare": false, "params": [ { "type": "Parameter", "span": { "start": 817, "end": 835, "ctxt": 0 }, "decorators": [], "pat": { "type": "Identifier", "span": { "start": 817, "end": 835, "ctxt": 0 }, "value": "p", "optional": false, "typeAnnotation": { "type": "TsTypeAnnotation", "span": { "start": 818, "end": 835, "ctxt": 0 }, "typeAnnotation": { "type": "TsTypeReference", "span": { "start": 820, "end": 835, "ctxt": 0 }, "typeName": { "type": "Identifier", "span": { "start": 820, "end": 835, "ctxt": 0 }, "value": "SingleChildProp", "optional": false }, "typeParams": null } } } } ], "decorators": [], "span": { "start": 792, "end": 869, "ctxt": 0 }, "body": { "type": "BlockStatement", "span": { "start": 837, "end": 869, "ctxt": 0 }, "stmts": [ { "type": "ReturnStatement", "span": { "start": 843, "end": 867, "ctxt": 0 }, "argument": { "type": "JSXElement", "span": { "start": 850, "end": 866, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 851, "end": 854, "ctxt": 0 }, "value": "div", "optional": false }, "span": { "start": 850, "end": 855, "ctxt": 0 }, "attributes": [], "selfClosing": false, "typeArguments": null }, "children": [ { "type": "JSXExpressionContainer", "span": { "start": 855, "end": 860, "ctxt": 0 }, "expression": { "type": "MemberExpression", "span": { "start": 856, "end": 859, "ctxt": 0 }, "object": { "type": "Identifier", "span": { "start": 856, "end": 857, "ctxt": 0 }, "value": "p", "optional": false }, "property": { "type": "Identifier", "span": { "start": 858, "end": 859, "ctxt": 0 }, "value": "b", "optional": false } } } ], "closing": { "type": "JSXClosingElement", "span": { "start": 860, "end": 866, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 862, "end": 865, "ctxt": 0 }, "value": "div", "optional": false } } } } ] }, "generator": false, "async": false, "typeParameters": null, "returnType": null }, { "type": "VariableDeclaration", "span": { "start": 877, "end": 968, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 881, "end": 967, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 881, "end": 883, "ctxt": 0 }, "value": "k4", "optional": false, "typeAnnotation": null }, "init": { "type": "JSXElement", "span": { "start": 886, "end": 967, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 887, "end": 902, "ctxt": 0 }, "value": "SingleChildComp", "optional": false }, "span": { "start": 886, "end": 917, "ctxt": 0 }, "attributes": [ { "type": "JSXAttribute", "span": { "start": 903, "end": 909, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 903, "end": 904, "ctxt": 0 }, "value": "a", "optional": false }, "value": { "type": "JSXExpressionContainer", "span": { "start": 905, "end": 909, "ctxt": 0 }, "expression": { "type": "NumericLiteral", "span": { "start": 906, "end": 908, "ctxt": 0 }, "value": 10.0 } } }, { "type": "JSXAttribute", "span": { "start": 910, "end": 916, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 910, "end": 911, "ctxt": 0 }, "value": "b", "optional": false }, "value": { "type": "StringLiteral", "span": { "start": 912, "end": 916, "ctxt": 0 }, "value": "hi", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ], "selfClosing": false, "typeArguments": null }, "children": [ { "type": "JSXFragment", "span": { "start": 917, "end": 949, "ctxt": 0 }, "opening": { "type": "JSXOpeningFragment", "span": { "start": 917, "end": 919, "ctxt": 0 } }, "children": [ { "type": "JSXElement", "span": { "start": 919, "end": 929, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 920, "end": 926, "ctxt": 0 }, "value": "Button", "optional": false }, "span": { "start": 919, "end": 929, "ctxt": 0 }, "attributes": [], "selfClosing": true, "typeArguments": null }, "children": [], "closing": null }, { "type": "JSXElement", "span": { "start": 929, "end": 946, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 930, "end": 943, "ctxt": 0 }, "value": "AnotherButton", "optional": false }, "span": { "start": 929, "end": 946, "ctxt": 0 }, "attributes": [], "selfClosing": true, "typeArguments": null }, "children": [], "closing": null } ], "closing": { "type": "JSXClosingFragment", "span": { "start": 946, "end": 949, "ctxt": 0 } } } ], "closing": { "type": "JSXClosingElement", "span": { "start": 949, "end": 967, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 951, "end": 966, "ctxt": 0 }, "value": "SingleChildComp", "optional": false } } }, "definite": false } ] }, { "type": "VariableDeclaration", "span": { "start": 979, "end": 1070, "ctxt": 0 }, "kind": "let", "declare": false, "declarations": [ { "type": "VariableDeclarator", "span": { "start": 983, "end": 1069, "ctxt": 0 }, "id": { "type": "Identifier", "span": { "start": 983, "end": 985, "ctxt": 0 }, "value": "k5", "optional": false, "typeAnnotation": null }, "init": { "type": "JSXElement", "span": { "start": 988, "end": 1069, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 989, "end": 1004, "ctxt": 0 }, "value": "SingleChildComp", "optional": false }, "span": { "start": 988, "end": 1019, "ctxt": 0 }, "attributes": [ { "type": "JSXAttribute", "span": { "start": 1005, "end": 1011, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 1005, "end": 1006, "ctxt": 0 }, "value": "a", "optional": false }, "value": { "type": "JSXExpressionContainer", "span": { "start": 1007, "end": 1011, "ctxt": 0 }, "expression": { "type": "NumericLiteral", "span": { "start": 1008, "end": 1010, "ctxt": 0 }, "value": 10.0 } } }, { "type": "JSXAttribute", "span": { "start": 1012, "end": 1018, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 1012, "end": 1013, "ctxt": 0 }, "value": "b", "optional": false }, "value": { "type": "StringLiteral", "span": { "start": 1014, "end": 1018, "ctxt": 0 }, "value": "hi", "hasEscape": false, "kind": { "type": "normal", "containsQuote": true } } } ], "selfClosing": false, "typeArguments": null }, "children": [ { "type": "JSXFragment", "span": { "start": 1019, "end": 1024, "ctxt": 0 }, "opening": { "type": "JSXOpeningFragment", "span": { "start": 1019, "end": 1021, "ctxt": 0 } }, "children": [], "closing": { "type": "JSXClosingFragment", "span": { "start": 1021, "end": 1024, "ctxt": 0 } } }, { "type": "JSXElement", "span": { "start": 1024, "end": 1034, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 1025, "end": 1031, "ctxt": 0 }, "value": "Button", "optional": false }, "span": { "start": 1024, "end": 1034, "ctxt": 0 }, "attributes": [], "selfClosing": true, "typeArguments": null }, "children": [], "closing": null }, { "type": "JSXElement", "span": { "start": 1034, "end": 1051, "ctxt": 0 }, "opening": { "type": "JSXOpeningElement", "name": { "type": "Identifier", "span": { "start": 1035, "end": 1048, "ctxt": 0 }, "value": "AnotherButton", "optional": false }, "span": { "start": 1034, "end": 1051, "ctxt": 0 }, "attributes": [], "selfClosing": true, "typeArguments": null }, "children": [], "closing": null } ], "closing": { "type": "JSXClosingElement", "span": { "start": 1051, "end": 1069, "ctxt": 0 }, "name": { "type": "Identifier", "span": { "start": 1053, "end": 1068, "ctxt": 0 }, "value": "SingleChildComp", "optional": false } } }, "definite": false } ] } ], "interpreter": null }