2021-01-15 13:30:44 +03:00
|
|
|
{
|
|
|
|
"type": "Script",
|
|
|
|
"span": {
|
|
|
|
"start": 131,
|
|
|
|
"end": 1132,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "TsInterfaceDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 131,
|
|
|
|
"end": 168,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 141,
|
|
|
|
"end": 148,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Context",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"typeParams": null,
|
|
|
|
"extends": [],
|
|
|
|
"body": {
|
|
|
|
"type": "TsInterfaceBody",
|
|
|
|
"span": {
|
|
|
|
"start": 149,
|
|
|
|
"end": 168,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
|
|
|
"start": 155,
|
|
|
|
"end": 166,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 155,
|
|
|
|
"end": 160,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "color",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 160,
|
|
|
|
"end": 165,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 162,
|
|
|
|
"end": 165,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 186,
|
|
|
|
"end": 205,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "ZeroThingOrTwoThing",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": true,
|
|
|
|
"params": [],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
|
|
|
"start": 169,
|
|
|
|
"end": 221,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": null,
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": null,
|
|
|
|
"returnType": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 207,
|
|
|
|
"end": 220,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
|
|
|
"start": 209,
|
|
|
|
"end": 220,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "TsQualifiedName",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 209,
|
|
|
|
"end": 212,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "JSX",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 213,
|
|
|
|
"end": 220,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Element",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 239,
|
|
|
|
"end": 258,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "ZeroThingOrTwoThing",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": true,
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
|
|
|
"start": 259,
|
|
|
|
"end": 287,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 259,
|
|
|
|
"end": 287,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "l",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 260,
|
|
|
|
"end": 287,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 262,
|
|
|
|
"end": 287,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
|
|
|
"start": 263,
|
|
|
|
"end": 274,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 263,
|
|
|
|
"end": 265,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "yy",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 265,
|
|
|
|
"end": 273,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 267,
|
|
|
|
"end": 273,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
|
|
|
"start": 275,
|
|
|
|
"end": 286,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 275,
|
|
|
|
"end": 278,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "yy1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 278,
|
|
|
|
"end": 286,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 280,
|
|
|
|
"end": 286,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
|
|
|
"start": 289,
|
|
|
|
"end": 305,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 289,
|
|
|
|
"end": 305,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "context",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 296,
|
|
|
|
"end": 305,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
|
|
|
"start": 298,
|
|
|
|
"end": 305,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 298,
|
|
|
|
"end": 305,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Context",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
|
|
|
"start": 222,
|
|
|
|
"end": 320,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": null,
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": null,
|
|
|
|
"returnType": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 306,
|
|
|
|
"end": 319,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
|
|
|
"start": 308,
|
|
|
|
"end": 319,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "TsQualifiedName",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 308,
|
|
|
|
"end": 311,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "JSX",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 312,
|
|
|
|
"end": 319,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Element",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 322,
|
|
|
|
"end": 336,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "let",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
|
|
|
"start": 326,
|
|
|
|
"end": 335,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 326,
|
|
|
|
"end": 330,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "obj2",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 330,
|
|
|
|
"end": 335,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 332,
|
|
|
|
"end": 335,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
},
|
|
|
|
"init": null,
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 344,
|
|
|
|
"end": 381,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
|
|
|
"start": 350,
|
|
|
|
"end": 380,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 350,
|
|
|
|
"end": 354,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "two1",
|
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": 357,
|
|
|
|
"end": 380,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"opening": {
|
|
|
|
"type": "JSXOpeningElement",
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 358,
|
|
|
|
"end": 377,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "ZeroThingOrTwoThing",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"span": {
|
|
|
|
"start": 357,
|
|
|
|
"end": 380,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"attributes": [],
|
|
|
|
"selfClosing": true,
|
|
|
|
"typeArguments": null
|
|
|
|
},
|
|
|
|
"children": [],
|
|
|
|
"closing": null
|
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 382,
|
|
|
|
"end": 440,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
|
|
|
"start": 388,
|
|
|
|
"end": 439,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 388,
|
|
|
|
"end": 392,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "two2",
|
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": 395,
|
|
|
|
"end": 439,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"opening": {
|
|
|
|
"type": "JSXOpeningElement",
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 396,
|
|
|
|
"end": 415,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "ZeroThingOrTwoThing",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"span": {
|
|
|
|
"start": 395,
|
|
|
|
"end": 439,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"attributes": [
|
|
|
|
{
|
|
|
|
"type": "JSXAttribute",
|
|
|
|
"span": {
|
|
|
|
"start": 416,
|
|
|
|
"end": 424,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 416,
|
|
|
|
"end": 418,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "yy",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "JSXExpressionContainer",
|
|
|
|
"span": {
|
|
|
|
"start": 419,
|
|
|
|
"end": 424,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 420,
|
|
|
|
"end": 423,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": 100.0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "JSXAttribute",
|
|
|
|
"span": {
|
|
|
|
"start": 426,
|
|
|
|
"end": 437,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 426,
|
|
|
|
"end": 429,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "yy1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 430,
|
|
|
|
"end": 437,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "hello",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"hello\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"selfClosing": true,
|
|
|
|
"typeArguments": null
|
|
|
|
},
|
|
|
|
"children": [],
|
|
|
|
"closing": null
|
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 441,
|
|
|
|
"end": 488,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
|
|
|
"start": 447,
|
|
|
|
"end": 487,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 447,
|
|
|
|
"end": 451,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "two3",
|
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": 454,
|
|
|
|
"end": 487,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"opening": {
|
|
|
|
"type": "JSXOpeningElement",
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 455,
|
|
|
|
"end": 474,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "ZeroThingOrTwoThing",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"span": {
|
|
|
|
"start": 454,
|
|
|
|
"end": 487,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"attributes": [
|
|
|
|
{
|
|
|
|
"type": "SpreadElement",
|
|
|
|
"spread": {
|
|
|
|
"start": 476,
|
|
|
|
"end": 479,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"arguments": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 479,
|
|
|
|
"end": 483,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "obj2",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"selfClosing": true,
|
|
|
|
"typeArguments": null
|
|
|
|
},
|
|
|
|
"children": [],
|
|
|
|
"closing": null
|
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 539,
|
|
|
|
"end": 597,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
|
|
|
"start": 545,
|
|
|
|
"end": 596,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 545,
|
|
|
|
"end": 549,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "two4",
|
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": 552,
|
|
|
|
"end": 596,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"opening": {
|
|
|
|
"type": "JSXOpeningElement",
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 553,
|
|
|
|
"end": 572,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "ZeroThingOrTwoThing",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"span": {
|
|
|
|
"start": 552,
|
|
|
|
"end": 596,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"attributes": [
|
|
|
|
{
|
|
|
|
"type": "JSXAttribute",
|
|
|
|
"span": {
|
|
|
|
"start": 574,
|
|
|
|
"end": 583,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 574,
|
|
|
|
"end": 576,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "yy",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "JSXExpressionContainer",
|
|
|
|
"span": {
|
|
|
|
"start": 577,
|
|
|
|
"end": 583,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 578,
|
|
|
|
"end": 582,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": 1000.0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "SpreadElement",
|
|
|
|
"spread": {
|
|
|
|
"start": 585,
|
|
|
|
"end": 588,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"arguments": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 588,
|
|
|
|
"end": 592,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "obj2",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"selfClosing": true,
|
|
|
|
"typeArguments": null
|
|
|
|
},
|
|
|
|
"children": [],
|
|
|
|
"closing": null
|
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 648,
|
|
|
|
"end": 706,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
|
|
|
"start": 654,
|
|
|
|
"end": 705,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 654,
|
|
|
|
"end": 658,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "two5",
|
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": 661,
|
|
|
|
"end": 705,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"opening": {
|
|
|
|
"type": "JSXOpeningElement",
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 662,
|
|
|
|
"end": 681,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "ZeroThingOrTwoThing",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"span": {
|
|
|
|
"start": 661,
|
|
|
|
"end": 705,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"attributes": [
|
|
|
|
{
|
|
|
|
"type": "SpreadElement",
|
|
|
|
"spread": {
|
|
|
|
"start": 684,
|
|
|
|
"end": 687,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"arguments": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 687,
|
|
|
|
"end": 691,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "obj2",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "JSXAttribute",
|
|
|
|
"span": {
|
|
|
|
"start": 693,
|
|
|
|
"end": 702,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 693,
|
|
|
|
"end": 695,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "yy",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "JSXExpressionContainer",
|
|
|
|
"span": {
|
|
|
|
"start": 696,
|
|
|
|
"end": 702,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 697,
|
|
|
|
"end": 701,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": 1000.0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"selfClosing": true,
|
|
|
|
"typeArguments": null
|
|
|
|
},
|
|
|
|
"children": [],
|
|
|
|
"closing": null
|
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 775,
|
|
|
|
"end": 785,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "ThreeThing",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": true,
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
|
|
|
"start": 786,
|
|
|
|
"end": 801,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 786,
|
|
|
|
"end": 801,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "l",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 787,
|
|
|
|
"end": 801,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 789,
|
|
|
|
"end": 801,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
|
|
|
"start": 790,
|
|
|
|
"end": 800,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 790,
|
|
|
|
"end": 792,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 792,
|
|
|
|
"end": 800,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 794,
|
|
|
|
"end": 800,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
|
|
|
"start": 758,
|
|
|
|
"end": 816,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": null,
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": null,
|
|
|
|
"returnType": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 802,
|
|
|
|
"end": 815,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
|
|
|
"start": 804,
|
|
|
|
"end": 815,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "TsQualifiedName",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 804,
|
|
|
|
"end": 807,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "JSX",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 808,
|
|
|
|
"end": 815,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Element",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 834,
|
|
|
|
"end": 844,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "ThreeThing",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": true,
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
|
|
|
"start": 845,
|
|
|
|
"end": 860,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 845,
|
|
|
|
"end": 860,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "l",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 846,
|
|
|
|
"end": 860,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 848,
|
|
|
|
"end": 860,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
|
|
|
"start": 849,
|
|
|
|
"end": 859,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 849,
|
|
|
|
"end": 851,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y2",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 851,
|
|
|
|
"end": 859,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 853,
|
|
|
|
"end": 859,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
|
|
|
"start": 817,
|
|
|
|
"end": 875,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": null,
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": null,
|
|
|
|
"returnType": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 861,
|
|
|
|
"end": 874,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
|
|
|
"start": 863,
|
|
|
|
"end": 874,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "TsQualifiedName",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 863,
|
|
|
|
"end": 866,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "JSX",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 867,
|
|
|
|
"end": 874,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Element",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "FunctionDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 893,
|
|
|
|
"end": 903,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "ThreeThing",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": true,
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
|
|
|
"start": 904,
|
|
|
|
"end": 932,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 904,
|
|
|
|
"end": 932,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "l",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 905,
|
|
|
|
"end": 932,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 907,
|
|
|
|
"end": 932,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"members": [
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
|
|
|
"start": 908,
|
|
|
|
"end": 919,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 908,
|
|
|
|
"end": 910,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "yy",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 910,
|
|
|
|
"end": 918,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 912,
|
|
|
|
"end": 918,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "number"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "TsPropertySignature",
|
|
|
|
"span": {
|
|
|
|
"start": 920,
|
|
|
|
"end": 931,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"readonly": false,
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 920,
|
|
|
|
"end": 923,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "yy1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"computed": false,
|
|
|
|
"optional": false,
|
|
|
|
"init": null,
|
|
|
|
"params": [],
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 923,
|
|
|
|
"end": 931,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 925,
|
|
|
|
"end": 931,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
|
|
|
"start": 934,
|
|
|
|
"end": 950,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 934,
|
|
|
|
"end": 950,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "context",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 941,
|
|
|
|
"end": 950,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
|
|
|
"start": 943,
|
|
|
|
"end": 950,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 943,
|
|
|
|
"end": 950,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Context",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
|
|
|
"start": 952,
|
|
|
|
"end": 964,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 952,
|
|
|
|
"end": 964,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "updater",
|
2021-02-19 09:34:22 +03:00
|
|
|
"optional": false,
|
2021-01-15 13:30:44 +03:00
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 959,
|
|
|
|
"end": 964,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsKeywordType",
|
|
|
|
"span": {
|
|
|
|
"start": 961,
|
|
|
|
"end": 964,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "any"
|
|
|
|
}
|
2021-02-19 09:34:22 +03:00
|
|
|
}
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
|
|
|
"start": 876,
|
|
|
|
"end": 979,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": null,
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": null,
|
|
|
|
"returnType": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 965,
|
|
|
|
"end": 978,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
|
|
|
"start": 967,
|
|
|
|
"end": 978,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "TsQualifiedName",
|
|
|
|
"left": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 967,
|
|
|
|
"end": 970,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "JSX",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"right": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 971,
|
|
|
|
"end": 978,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Element",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 987,
|
|
|
|
"end": 1043,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
|
|
|
"start": 993,
|
|
|
|
"end": 1042,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 993,
|
|
|
|
"end": 999,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "three1",
|
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": 1002,
|
|
|
|
"end": 1042,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"opening": {
|
|
|
|
"type": "JSXOpeningElement",
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 1003,
|
|
|
|
"end": 1013,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "ThreeThing",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"span": {
|
|
|
|
"start": 1002,
|
|
|
|
"end": 1042,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"attributes": [
|
|
|
|
{
|
|
|
|
"type": "JSXAttribute",
|
|
|
|
"span": {
|
|
|
|
"start": 1014,
|
|
|
|
"end": 1021,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 1014,
|
|
|
|
"end": 1016,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "yy",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "JSXExpressionContainer",
|
|
|
|
"span": {
|
|
|
|
"start": 1017,
|
|
|
|
"end": 1021,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 1018,
|
|
|
|
"end": 1020,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": 99.0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "JSXAttribute",
|
|
|
|
"span": {
|
|
|
|
"start": 1022,
|
|
|
|
"end": 1039,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 1022,
|
|
|
|
"end": 1025,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "yy1",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 1026,
|
|
|
|
"end": 1039,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "hello world",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"hello world\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"selfClosing": true,
|
|
|
|
"typeArguments": null
|
|
|
|
},
|
|
|
|
"children": [],
|
|
|
|
"closing": null
|
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 1044,
|
|
|
|
"end": 1083,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
|
|
|
"start": 1050,
|
|
|
|
"end": 1082,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 1050,
|
|
|
|
"end": 1056,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "three2",
|
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": 1059,
|
|
|
|
"end": 1082,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"opening": {
|
|
|
|
"type": "JSXOpeningElement",
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 1060,
|
|
|
|
"end": 1070,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "ThreeThing",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"span": {
|
|
|
|
"start": 1059,
|
|
|
|
"end": 1082,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"attributes": [
|
|
|
|
{
|
|
|
|
"type": "JSXAttribute",
|
|
|
|
"span": {
|
|
|
|
"start": 1071,
|
|
|
|
"end": 1079,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 1071,
|
|
|
|
"end": 1073,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y2",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "StringLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 1074,
|
|
|
|
"end": 1079,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "Bye",
|
2022-03-22 10:54:08 +03:00
|
|
|
"raw": "\"Bye\""
|
2021-01-15 13:30:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"selfClosing": true,
|
|
|
|
"typeArguments": null
|
|
|
|
},
|
|
|
|
"children": [],
|
|
|
|
"closing": null
|
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "VariableDeclaration",
|
|
|
|
"span": {
|
|
|
|
"start": 1084,
|
|
|
|
"end": 1132,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"kind": "const",
|
|
|
|
"declare": false,
|
|
|
|
"declarations": [
|
|
|
|
{
|
|
|
|
"type": "VariableDeclarator",
|
|
|
|
"span": {
|
|
|
|
"start": 1090,
|
|
|
|
"end": 1131,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 1090,
|
|
|
|
"end": 1096,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "three3",
|
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": 1099,
|
|
|
|
"end": 1131,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"opening": {
|
|
|
|
"type": "JSXOpeningElement",
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 1100,
|
|
|
|
"end": 1110,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "ThreeThing",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"span": {
|
|
|
|
"start": 1099,
|
|
|
|
"end": 1131,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"attributes": [
|
|
|
|
{
|
|
|
|
"type": "SpreadElement",
|
|
|
|
"spread": {
|
|
|
|
"start": 1112,
|
|
|
|
"end": 1115,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"arguments": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 1115,
|
|
|
|
"end": 1119,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "obj2",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "JSXAttribute",
|
|
|
|
"span": {
|
|
|
|
"start": 1121,
|
|
|
|
"end": 1128,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"name": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 1121,
|
|
|
|
"end": 1123,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "y2",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "JSXExpressionContainer",
|
|
|
|
"span": {
|
|
|
|
"start": 1124,
|
|
|
|
"end": 1128,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 1125,
|
|
|
|
"end": 1127,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": 10.0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"selfClosing": true,
|
|
|
|
"typeArguments": null
|
|
|
|
},
|
|
|
|
"children": [],
|
|
|
|
"closing": null
|
|
|
|
},
|
|
|
|
"definite": false
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"interpreter": null
|
|
|
|
}
|