mirror of
https://github.com/swc-project/swc.git
synced 2024-11-30 15:23:33 +03:00
360 lines
8.2 KiB
JSON
360 lines
8.2 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 42,
|
|
"end": 355,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 42,
|
|
"end": 85,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 46,
|
|
"end": 84,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 46,
|
|
"end": 67,
|
|
"ctxt": 0
|
|
},
|
|
"value": "invalidCommentedFancy",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 67,
|
|
"end": 75,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 69,
|
|
"end": 75,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "number"
|
|
}
|
|
}
|
|
},
|
|
"init": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 78,
|
|
"end": 84,
|
|
"ctxt": 0
|
|
},
|
|
"value": "nope",
|
|
"raw": "'nope'"
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 128,
|
|
"end": 169,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 132,
|
|
"end": 168,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 132,
|
|
"end": 151,
|
|
"ctxt": 0
|
|
},
|
|
"value": "validCommentedFancy",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 151,
|
|
"end": 159,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 153,
|
|
"end": 159,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "string"
|
|
}
|
|
}
|
|
},
|
|
"init": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 162,
|
|
"end": 168,
|
|
"ctxt": 0
|
|
},
|
|
"value": "nope",
|
|
"raw": "'nope'"
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 185,
|
|
"end": 228,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 189,
|
|
"end": 227,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 189,
|
|
"end": 210,
|
|
"ctxt": 0
|
|
},
|
|
"value": "invalidCommentedPlain",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 210,
|
|
"end": 218,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 212,
|
|
"end": 218,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "number"
|
|
}
|
|
}
|
|
},
|
|
"init": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 221,
|
|
"end": 227,
|
|
"ctxt": 0
|
|
},
|
|
"value": "nope",
|
|
"raw": "'nope'"
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 244,
|
|
"end": 285,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 248,
|
|
"end": 284,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 248,
|
|
"end": 267,
|
|
"ctxt": 0
|
|
},
|
|
"value": "validCommentedPlain",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 267,
|
|
"end": 275,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 269,
|
|
"end": 275,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "string"
|
|
}
|
|
}
|
|
},
|
|
"init": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 278,
|
|
"end": 284,
|
|
"ctxt": 0
|
|
},
|
|
"value": "nope",
|
|
"raw": "'nope'"
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 287,
|
|
"end": 321,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 291,
|
|
"end": 320,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 291,
|
|
"end": 303,
|
|
"ctxt": 0
|
|
},
|
|
"value": "invalidPlain",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 303,
|
|
"end": 311,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 305,
|
|
"end": 311,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "number"
|
|
}
|
|
}
|
|
},
|
|
"init": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 314,
|
|
"end": 320,
|
|
"ctxt": 0
|
|
},
|
|
"value": "nope",
|
|
"raw": "'nope'"
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 323,
|
|
"end": 355,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 327,
|
|
"end": 354,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 327,
|
|
"end": 337,
|
|
"ctxt": 0
|
|
},
|
|
"value": "validPlain",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 337,
|
|
"end": 345,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 339,
|
|
"end": 345,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "string"
|
|
}
|
|
}
|
|
},
|
|
"init": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 348,
|
|
"end": 354,
|
|
"ctxt": 0
|
|
},
|
|
"value": "nope",
|
|
"raw": "'nope'"
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|