2021-01-15 13:30:44 +03:00
|
|
|
{
|
|
|
|
"type": "Module",
|
|
|
|
"span": {
|
|
|
|
"start": 62,
|
|
|
|
"end": 549,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "TsModuleDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 62,
|
|
|
|
"end": 115,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declare": true,
|
|
|
|
"global": false,
|
|
|
|
"id": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 77,
|
|
|
|
"end": 84,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "react",
|
|
|
|
"hasEscape": false,
|
|
|
|
"kind": {
|
|
|
|
"type": "normal",
|
|
|
|
"containsQuote": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "TsModuleBlock",
|
|
|
|
"span": {
|
|
|
|
"start": 85,
|
|
|
|
"end": 115,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "ClassDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 94,
|
|
|
|
"end": 103,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Component",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"span": {
|
|
|
|
"start": 88,
|
|
|
|
"end": 113,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"body": [],
|
|
|
|
"superClass": null,
|
|
|
|
"isAbstract": false,
|
|
|
|
"typeParams": {
|
|
|
|
"type": "TsTypeParameterDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 103,
|
|
|
|
"end": 109,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"parameters": [
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
|
|
|
"start": 104,
|
|
|
|
"end": 105,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 104,
|
|
|
|
"end": 105,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "T",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"constraint": null,
|
|
|
|
"default": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsTypeParameter",
|
|
|
|
"span": {
|
|
|
|
"start": 107,
|
|
|
|
"end": 108,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 107,
|
|
|
|
"end": 108,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "U",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"constraint": null,
|
|
|
|
"default": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"superTypeParams": null,
|
|
|
|
"implements": []
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ImportDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 138,
|
|
|
|
"end": 169,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"specifiers": [
|
|
|
|
{
|
|
|
|
"type": "ImportNamespaceSpecifier",
|
|
|
|
"span": {
|
|
|
|
"start": 145,
|
|
|
|
"end": 155,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"local": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 150,
|
|
|
|
"end": 155,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "React",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 161,
|
|
|
|
"end": 168,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "react",
|
|
|
|
"hasEscape": false,
|
|
|
|
"kind": {
|
|
|
|
"type": "normal",
|
|
|
|
"containsQuote": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeOnly": false,
|
|
|
|
"asserts": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ImportDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 225,
|
|
|
|
"end": 259,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"specifiers": [
|
|
|
|
{
|
|
|
|
"type": "ImportSpecifier",
|
|
|
|
"span": {
|
|
|
|
"start": 234,
|
|
|
|
"end": 240,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"local": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 234,
|
|
|
|
"end": 240,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Button",
|
|
|
|
"optional": false
|
|
|
|
},
|
2021-09-28 16:05:20 +03:00
|
|
|
"imported": null,
|
|
|
|
"isTypeOnly": false
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 248,
|
|
|
|
"end": 258,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "./button",
|
|
|
|
"hasEscape": false,
|
|
|
|
"kind": {
|
|
|
|
"type": "normal",
|
|
|
|
"containsQuote": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeOnly": false,
|
|
|
|
"asserts": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExportDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 261,
|
|
|
|
"end": 365,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declaration": {
|
|
|
|
"type": "ClassDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 274,
|
|
|
|
"end": 277,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "App",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"span": {
|
|
|
|
"start": 268,
|
|
|
|
"end": 365,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "ClassMethod",
|
|
|
|
"span": {
|
|
|
|
"start": 319,
|
|
|
|
"end": 362,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 319,
|
|
|
|
"end": 325,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "render",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"function": {
|
|
|
|
"params": [],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
|
|
|
"start": 319,
|
|
|
|
"end": 362,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
|
|
|
"start": 328,
|
|
|
|
"end": 362,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "ReturnStatement",
|
|
|
|
"span": {
|
|
|
|
"start": 338,
|
|
|
|
"end": 356,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"argument": {
|
|
|
|
"type": "JSXElement",
|
|
|
|
"span": {
|
|
|
|
"start": 345,
|
|
|
|
"end": 355,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"opening": {
|
|
|
|
"type": "JSXOpeningElement",
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 346,
|
|
|
|
"end": 352,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Button",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"span": {
|
|
|
|
"start": 345,
|
|
|
|
"end": 355,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"attributes": [],
|
|
|
|
"selfClosing": true,
|
|
|
|
"typeArguments": null
|
|
|
|
},
|
|
|
|
"children": [],
|
|
|
|
"closing": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"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": 286,
|
|
|
|
"end": 301,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 286,
|
|
|
|
"end": 291,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "React",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 292,
|
|
|
|
"end": 301,
|
|
|
|
"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": 301,
|
|
|
|
"end": 311,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 302,
|
|
|
|
"end": 305,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 307,
|
|
|
|
"end": 310,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"implements": []
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ImportDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 391,
|
|
|
|
"end": 422,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"specifiers": [
|
|
|
|
{
|
|
|
|
"type": "ImportNamespaceSpecifier",
|
|
|
|
"span": {
|
|
|
|
"start": 398,
|
|
|
|
"end": 408,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"local": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 403,
|
|
|
|
"end": 408,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "React",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"source": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 414,
|
|
|
|
"end": 421,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "react",
|
|
|
|
"hasEscape": false,
|
|
|
|
"kind": {
|
|
|
|
"type": "normal",
|
|
|
|
"containsQuote": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeOnly": false,
|
|
|
|
"asserts": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ExportDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 424,
|
|
|
|
"end": 549,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"declaration": {
|
|
|
|
"type": "ClassDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 437,
|
|
|
|
"end": 443,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Button",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"span": {
|
|
|
|
"start": 431,
|
|
|
|
"end": 549,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "ClassMethod",
|
|
|
|
"span": {
|
|
|
|
"start": 485,
|
|
|
|
"end": 546,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 485,
|
|
|
|
"end": 491,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "render",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"function": {
|
|
|
|
"params": [],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
|
|
|
"start": 485,
|
|
|
|
"end": 546,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
|
|
|
"start": 494,
|
|
|
|
"end": 546,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "ReturnStatement",
|
|
|
|
"span": {
|
|
|
|
"start": 504,
|
|
|
|
"end": 540,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"argument": {
|
|
|
|
"type": "JSXElement",
|
|
|
|
"span": {
|
|
|
|
"start": 511,
|
|
|
|
"end": 539,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"opening": {
|
|
|
|
"type": "JSXOpeningElement",
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 512,
|
|
|
|
"end": 518,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "button",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"span": {
|
|
|
|
"start": 511,
|
|
|
|
"end": 519,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"attributes": [],
|
|
|
|
"selfClosing": false,
|
|
|
|
"typeArguments": null
|
|
|
|
},
|
|
|
|
"children": [
|
|
|
|
{
|
|
|
|
"type": "JSXText",
|
|
|
|
"span": {
|
|
|
|
"start": 519,
|
|
|
|
"end": 530,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Some button",
|
|
|
|
"raw": "Some button"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"closing": {
|
|
|
|
"type": "JSXClosingElement",
|
|
|
|
"span": {
|
|
|
|
"start": 530,
|
|
|
|
"end": 539,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 532,
|
|
|
|
"end": 538,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "button",
|
|
|
|
"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": 452,
|
|
|
|
"end": 467,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 452,
|
|
|
|
"end": 457,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "React",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 458,
|
|
|
|
"end": 467,
|
|
|
|
"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": 467,
|
|
|
|
"end": 477,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 468,
|
|
|
|
"end": 471,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 473,
|
|
|
|
"end": 476,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"implements": []
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"interpreter": null
|
|
|
|
}
|