2022-02-04 11:08:38 +03:00
|
|
|
{
|
|
|
|
"type": "Script",
|
|
|
|
"span": {
|
|
|
|
"start": 20,
|
|
|
|
"end": 439,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "ClassDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 26,
|
|
|
|
"end": 27,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "A",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"span": {
|
|
|
|
"start": 20,
|
|
|
|
"end": 296,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "PrivateProperty",
|
|
|
|
"span": {
|
|
|
|
"start": 34,
|
|
|
|
"end": 43,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "PrivateName",
|
|
|
|
"span": {
|
|
|
|
"start": 34,
|
|
|
|
"end": 38,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 35,
|
|
|
|
"end": 38,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "foo",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "NumericLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 41,
|
|
|
|
"end": 42,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
2022-04-05 15:46:35 +03:00
|
|
|
"value": 1.0,
|
|
|
|
"raw": "1"
|
2022-02-04 11:08:38 +03:00
|
|
|
},
|
|
|
|
"typeAnnotation": null,
|
|
|
|
"isStatic": false,
|
|
|
|
"decorators": [],
|
|
|
|
"accessibility": null,
|
|
|
|
"isOptional": false,
|
|
|
|
"isOverride": false,
|
2022-03-17 08:33:37 +03:00
|
|
|
"readonly": false,
|
|
|
|
"definite": false
|
2022-02-04 11:08:38 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "PrivateProperty",
|
|
|
|
"span": {
|
|
|
|
"start": 48,
|
|
|
|
"end": 67,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "PrivateName",
|
|
|
|
"span": {
|
|
|
|
"start": 55,
|
|
|
|
"end": 59,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 56,
|
|
|
|
"end": 59,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "foo",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "BooleanLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 62,
|
|
|
|
"end": 66,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": true
|
|
|
|
},
|
|
|
|
"typeAnnotation": null,
|
|
|
|
"isStatic": true,
|
|
|
|
"decorators": [],
|
|
|
|
"accessibility": null,
|
|
|
|
"isOptional": false,
|
|
|
|
"isOverride": false,
|
2022-03-17 08:33:37 +03:00
|
|
|
"readonly": false,
|
|
|
|
"definite": false
|
2022-02-04 11:08:38 +03:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"superClass": null,
|
|
|
|
"isAbstract": false,
|
|
|
|
"typeParams": null,
|
|
|
|
"superTypeParams": null,
|
|
|
|
"implements": []
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ClassDeclaration",
|
|
|
|
"identifier": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 303,
|
|
|
|
"end": 304,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "B",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"declare": false,
|
|
|
|
"span": {
|
|
|
|
"start": 297,
|
|
|
|
"end": 439,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"body": [
|
|
|
|
{
|
|
|
|
"type": "PrivateProperty",
|
|
|
|
"span": {
|
|
|
|
"start": 311,
|
|
|
|
"end": 330,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "PrivateName",
|
|
|
|
"span": {
|
|
|
|
"start": 318,
|
|
|
|
"end": 322,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 319,
|
|
|
|
"end": 322,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "foo",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"value": {
|
|
|
|
"type": "BooleanLiteral",
|
|
|
|
"span": {
|
|
|
|
"start": 325,
|
|
|
|
"end": 329,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": true
|
|
|
|
},
|
|
|
|
"typeAnnotation": null,
|
|
|
|
"isStatic": true,
|
|
|
|
"decorators": [],
|
|
|
|
"accessibility": null,
|
|
|
|
"isOptional": false,
|
|
|
|
"isOverride": false,
|
2022-03-17 08:33:37 +03:00
|
|
|
"readonly": false,
|
|
|
|
"definite": false
|
2022-02-04 11:08:38 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "ClassMethod",
|
|
|
|
"span": {
|
|
|
|
"start": 335,
|
|
|
|
"end": 437,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"key": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 335,
|
|
|
|
"end": 339,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "test",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"function": {
|
|
|
|
"params": [
|
|
|
|
{
|
|
|
|
"type": "Parameter",
|
|
|
|
"span": {
|
|
|
|
"start": 340,
|
|
|
|
"end": 344,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"decorators": [],
|
|
|
|
"pat": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 340,
|
|
|
|
"end": 344,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
|
|
|
"optional": false,
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeAnnotation",
|
|
|
|
"span": {
|
|
|
|
"start": 341,
|
|
|
|
"end": 344,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeAnnotation": {
|
|
|
|
"type": "TsTypeReference",
|
|
|
|
"span": {
|
|
|
|
"start": 343,
|
|
|
|
"end": 344,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"typeName": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 343,
|
|
|
|
"end": 344,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "B",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"typeParams": null
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"decorators": [],
|
|
|
|
"span": {
|
|
|
|
"start": 335,
|
|
|
|
"end": 437,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"body": {
|
|
|
|
"type": "BlockStatement",
|
|
|
|
"span": {
|
|
|
|
"start": 346,
|
|
|
|
"end": 437,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"stmts": [
|
|
|
|
{
|
|
|
|
"type": "ExpressionStatement",
|
|
|
|
"span": {
|
|
|
|
"start": 356,
|
|
|
|
"end": 363,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"expression": {
|
|
|
|
"type": "MemberExpression",
|
|
|
|
"span": {
|
|
|
|
"start": 356,
|
|
|
|
"end": 362,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"object": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 356,
|
|
|
|
"end": 357,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "x",
|
|
|
|
"optional": false
|
|
|
|
},
|
|
|
|
"property": {
|
|
|
|
"type": "PrivateName",
|
|
|
|
"span": {
|
|
|
|
"start": 358,
|
|
|
|
"end": 362,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"id": {
|
|
|
|
"type": "Identifier",
|
|
|
|
"span": {
|
|
|
|
"start": 359,
|
|
|
|
"end": 362,
|
|
|
|
"ctxt": 0
|
|
|
|
},
|
|
|
|
"value": "foo",
|
|
|
|
"optional": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"generator": false,
|
|
|
|
"async": false,
|
|
|
|
"typeParameters": null,
|
|
|
|
"returnType": null
|
|
|
|
},
|
|
|
|
"kind": "method",
|
|
|
|
"isStatic": false,
|
|
|
|
"accessibility": null,
|
|
|
|
"isAbstract": false,
|
|
|
|
"isOptional": false,
|
|
|
|
"isOverride": false
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"superClass": null,
|
|
|
|
"isAbstract": false,
|
|
|
|
"typeParams": null,
|
|
|
|
"superTypeParams": null,
|
|
|
|
"implements": []
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"interpreter": null
|
|
|
|
}
|