2021-01-15 13:30:44 +03:00
|
|
|
{
|
|
|
|
"type": "Module",
|
|
|
|
"span": {
|
|
|
|
"start": 115,
|
|
|
|
"end": 330,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "TsImportEqualsDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 115,
|
|
|
|
"end": 147,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"isExport": false,
|
2021-05-15 08:26:24 +03:00
|
|
|
"isTypeOnly": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"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": "ClassDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 155,
|
|
|
|
"end": 163,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Poisoned",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"span": {
|
|
|
|
"start": 149,
|
|
|
|
"end": 253,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "ClassMethod",
|
|
|
|
"span": {
|
|
|
|
"start": 202,
|
|
|
|
"end": 251,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 202,
|
|
|
|
"end": 208,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "render",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"function": {
|
|
|
|
"params": [],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
|
|
|
"start": 202,
|
|
|
|
"end": 251,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
|
|
|
"start": 211,
|
|
|
|
"end": 251,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "ReturnStatement",
|
|
|
|
"span": {
|
|
|
|
"start": 221,
|
|
|
|
"end": 245,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"argument": {
|
|
|
|
"type": "JSXElement",
|
|
|
|
"span": {
|
|
|
|
"start": 228,
|
|
|
|
"end": 244,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"opening": {
|
|
|
|
"type": "JSXOpeningElement",
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 229,
|
|
|
|
"end": 232,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "div",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"span": {
|
|
|
|
"start": 228,
|
|
|
|
"end": 233,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"attributes": [],
|
|
|
|
"selfClosing": false,
|
|
|
|
"typeArguments": null
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"type": "JSXText",
|
|
|
|
"span": {
|
|
|
|
"start": 233,
|
|
|
|
"end": 238,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Hello",
|
|
|
|
"raw": "Hello"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"closing": {
|
|
|
|
"type": "JSXClosingElement",
|
|
|
|
"span": {
|
|
|
|
"start": 238,
|
|
|
|
"end": 244,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 240,
|
|
|
|
"end": 243,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "div",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": null,
|
|
|
|
"returnType": null
|
|
|
|
},
|
|
|
|
"kind": "method",
|
|
|
|
"isStatic": false,
|
|
|
|
"accessibility": null,
|
|
|
|
"isAbstract": false,
|
2021-04-06 20:06:18 +03:00
|
|
|
"isOptional": false,
|
|
|
|
"isOverride": false
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"superClass": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
|
|
|
"start": 172,
|
|
|
|
"end": 187,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 172,
|
|
|
|
"end": 177,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "React",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 178,
|
|
|
|
"end": 187,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Component",
|
|
|
|
"optional": false
|
2022-01-10 16:54:42 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"isAbstract": false,
|
|
|
|
"typeParams": null,
|
|
|
|
"superTypeParams": {
|
|
|
|
"type": "TsTypeParameterInstantiation",
|
|
|
|
"span": {
|
|
|
|
"start": 187,
|
|
|
|
"end": 195,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 188,
|
|
|
|
"end": 190,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"members": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 192,
|
|
|
|
"end": 194,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"members": []
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"implements": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 255,
|
|
|
|
"end": 270,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
|
|
|
"start": 261,
|
|
|
|
"end": 269,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 261,
|
|
|
|
"end": 264,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "obj",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "ObjectExpression",
|
|
|
|
"span": {
|
|
|
|
"start": 267,
|
|
|
|
"end": 269,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"properties": []
|
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 278,
|
|
|
|
"end": 308,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "let",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
|
|
|
"start": 282,
|
|
|
|
"end": 307,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 282,
|
|
|
|
"end": 283,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "p",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "JSXElement",
|
|
|
|
"span": {
|
|
|
|
"start": 286,
|
|
|
|
"end": 307,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"opening": {
|
|
|
|
"type": "JSXOpeningElement",
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 287,
|
|
|
|
"end": 295,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Poisoned",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"span": {
|
|
|
|
"start": 286,
|
|
|
|
"end": 307,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"attributes": [
|
|
|
|
{
|
|
|
|
"type": "SpreadElement",
|
|
|
|
"spread": {
|
|
|
|
"start": 297,
|
|
|
|
"end": 300,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"arguments": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 300,
|
|
|
|
"end": 303,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "obj",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"selfClosing": true,
|
|
|
|
"typeArguments": null
|
|
|
|
},
|
|
|
|
"children": [],
|
|
|
|
"closing": null
|
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 309,
|
|
|
|
"end": 330,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "let",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
|
|
|
"start": 313,
|
|
|
|
"end": 329,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 313,
|
|
|
|
"end": 314,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": null
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": {
|
|
|
|
"type": "JSXElement",
|
|
|
|
"span": {
|
|
|
|
"start": 317,
|
|
|
|
"end": 329,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"opening": {
|
|
|
|
"type": "JSXOpeningElement",
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 318,
|
|
|
|
"end": 326,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Poisoned",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"span": {
|
|
|
|
"start": 317,
|
|
|
|
"end": 329,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"attributes": [],
|
|
|
|
"selfClosing": true,
|
|
|
|
"typeArguments": null
|
|
|
|
},
|
|
|
|
"children": [],
|
|
|
|
"closing": null
|
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"interpreter": null
|
|
|
|
}
|