swc/crates/swc_ecma_parser/tests/tsc/classStaticBlock14.json
2022-02-04 17:08:38 +09:00

276 lines
6.1 KiB
JSON

{
"type": "Script",
"span": {
"start": 55,
"end": 193,
"ctxt": 0
},
"body": [
{
"type": "ClassDeclaration",
"identifier": {
"type": "Identifier",
"span": {
"start": 61,
"end": 62,
"ctxt": 0
},
"value": "C",
"optional": false
},
"declare": false,
"span": {
"start": 55,
"end": 193,
"ctxt": 0
},
"decorators": [],
"body": [
{
"type": "PrivateProperty",
"span": {
"start": 67,
"end": 82,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 74,
"end": 77,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 75,
"end": 77,
"ctxt": 0
},
"value": "_1",
"optional": false
}
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 80,
"end": 81,
"ctxt": 0
},
"value": 1.0
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"computed": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"definite": false
},
{
"type": "PrivateProperty",
"span": {
"start": 85,
"end": 100,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 92,
"end": 95,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 93,
"end": 95,
"ctxt": 0
},
"value": "_3",
"optional": false
}
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 98,
"end": 99,
"ctxt": 0
},
"value": 1.0
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"computed": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"definite": false
},
{
"type": "PrivateProperty",
"span": {
"start": 103,
"end": 118,
"ctxt": 0
},
"key": {
"type": "PrivateName",
"span": {
"start": 110,
"end": 113,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 111,
"end": 113,
"ctxt": 0
},
"value": "_5",
"optional": false
}
},
"value": {
"type": "NumericLiteral",
"span": {
"start": 116,
"end": 117,
"ctxt": 0
},
"value": 1.0
},
"typeAnnotation": null,
"isStatic": true,
"decorators": [],
"computed": false,
"accessibility": null,
"isAbstract": false,
"isOptional": false,
"isOverride": false,
"readonly": false,
"definite": false
},
{
"type": "StaticBlock",
"span": {
"start": 122,
"end": 131,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 129,
"end": 131,
"ctxt": 0
},
"stmts": []
}
},
{
"type": "StaticBlock",
"span": {
"start": 134,
"end": 143,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 141,
"end": 143,
"ctxt": 0
},
"stmts": []
}
},
{
"type": "StaticBlock",
"span": {
"start": 146,
"end": 155,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 153,
"end": 155,
"ctxt": 0
},
"stmts": []
}
},
{
"type": "StaticBlock",
"span": {
"start": 158,
"end": 167,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 165,
"end": 167,
"ctxt": 0
},
"stmts": []
}
},
{
"type": "StaticBlock",
"span": {
"start": 170,
"end": 179,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 177,
"end": 179,
"ctxt": 0
},
"stmts": []
}
},
{
"type": "StaticBlock",
"span": {
"start": 182,
"end": 191,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 189,
"end": 191,
"ctxt": 0
},
"stmts": []
}
}
],
"superClass": null,
"isAbstract": false,
"typeParams": null,
"superTypeParams": null,
"implements": []
}
],
"interpreter": null
}