mirror of
https://github.com/swc-project/swc.git
synced 2024-11-28 02:29:04 +03:00
1172 lines
40 KiB
JSON
1172 lines
40 KiB
JSON
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 40,
|
|
"end": 730,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 46,
|
|
"end": 59,
|
|
"ctxt": 0
|
|
},
|
|
"value": "CharacterInfo",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"span": {
|
|
"start": 40,
|
|
"end": 730,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"span": {
|
|
"start": 66,
|
|
"end": 187,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 80,
|
|
"end": 94,
|
|
"ctxt": 0
|
|
},
|
|
"value": "isDecimalDigit",
|
|
"optional": false
|
|
},
|
|
"function": {
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 95,
|
|
"end": 104,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 95,
|
|
"end": 104,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 96,
|
|
"end": 104,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 98,
|
|
"end": 104,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "number"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 66,
|
|
"end": 187,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 115,
|
|
"end": 187,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ReturnStatement",
|
|
"span": {
|
|
"start": 125,
|
|
"end": 181,
|
|
"ctxt": 0
|
|
},
|
|
"argument": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 132,
|
|
"end": 180,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 132,
|
|
"end": 154,
|
|
"ctxt": 0
|
|
},
|
|
"operator": ">=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 132,
|
|
"end": 133,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 137,
|
|
"end": 154,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 137,
|
|
"end": 151,
|
|
"ctxt": 0
|
|
},
|
|
"value": "CharacterCodes",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 152,
|
|
"end": 154,
|
|
"ctxt": 0
|
|
},
|
|
"value": "_0",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 158,
|
|
"end": 180,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "<=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 158,
|
|
"end": 159,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 163,
|
|
"end": 180,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 163,
|
|
"end": 177,
|
|
"ctxt": 0
|
|
},
|
|
"value": "CharacterCodes",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 178,
|
|
"end": 180,
|
|
"ctxt": 0
|
|
},
|
|
"value": "_9",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 105,
|
|
"end": 114,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 107,
|
|
"end": 114,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"kind": "method",
|
|
"isStatic": true,
|
|
"accessibility": "public",
|
|
"isAbstract": false,
|
|
"isOptional": false,
|
|
"isOverride": false
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"span": {
|
|
"start": 193,
|
|
"end": 413,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 207,
|
|
"end": 217,
|
|
"ctxt": 0
|
|
},
|
|
"value": "isHexDigit",
|
|
"optional": false
|
|
},
|
|
"function": {
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 218,
|
|
"end": 227,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 218,
|
|
"end": 227,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 219,
|
|
"end": 227,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 221,
|
|
"end": 227,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "number"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 193,
|
|
"end": 413,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 238,
|
|
"end": 413,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ReturnStatement",
|
|
"span": {
|
|
"start": 248,
|
|
"end": 407,
|
|
"ctxt": 0
|
|
},
|
|
"argument": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 255,
|
|
"end": 406,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "||",
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 255,
|
|
"end": 339,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "||",
|
|
"left": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 255,
|
|
"end": 272,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 255,
|
|
"end": 269,
|
|
"ctxt": 0
|
|
},
|
|
"value": "isDecimalDigit",
|
|
"optional": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 270,
|
|
"end": 271,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"right": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 291,
|
|
"end": 339,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 292,
|
|
"end": 338,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 292,
|
|
"end": 313,
|
|
"ctxt": 0
|
|
},
|
|
"operator": ">=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 292,
|
|
"end": 293,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 297,
|
|
"end": 313,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 297,
|
|
"end": 311,
|
|
"ctxt": 0
|
|
},
|
|
"value": "CharacterCodes",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 312,
|
|
"end": 313,
|
|
"ctxt": 0
|
|
},
|
|
"value": "A",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 317,
|
|
"end": 338,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "<=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 317,
|
|
"end": 318,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 322,
|
|
"end": 338,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 322,
|
|
"end": 336,
|
|
"ctxt": 0
|
|
},
|
|
"value": "CharacterCodes",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 337,
|
|
"end": 338,
|
|
"ctxt": 0
|
|
},
|
|
"value": "F",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 358,
|
|
"end": 406,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 359,
|
|
"end": 405,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 359,
|
|
"end": 380,
|
|
"ctxt": 0
|
|
},
|
|
"operator": ">=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 359,
|
|
"end": 360,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 364,
|
|
"end": 380,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 364,
|
|
"end": 378,
|
|
"ctxt": 0
|
|
},
|
|
"value": "CharacterCodes",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 379,
|
|
"end": 380,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 384,
|
|
"end": 405,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "<=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 384,
|
|
"end": 385,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 389,
|
|
"end": 405,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 389,
|
|
"end": 403,
|
|
"ctxt": 0
|
|
},
|
|
"value": "CharacterCodes",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 404,
|
|
"end": 405,
|
|
"ctxt": 0
|
|
},
|
|
"value": "f",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 228,
|
|
"end": 237,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 230,
|
|
"end": 237,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"kind": "method",
|
|
"isStatic": true,
|
|
"accessibility": "public",
|
|
"isAbstract": false,
|
|
"isOptional": false,
|
|
"isOverride": false
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"span": {
|
|
"start": 419,
|
|
"end": 728,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 433,
|
|
"end": 441,
|
|
"ctxt": 0
|
|
},
|
|
"value": "hexValue",
|
|
"optional": false
|
|
},
|
|
"function": {
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 442,
|
|
"end": 451,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 442,
|
|
"end": 451,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 443,
|
|
"end": 451,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 445,
|
|
"end": 451,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "number"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 419,
|
|
"end": 728,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 461,
|
|
"end": 728,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 471,
|
|
"end": 499,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 471,
|
|
"end": 498,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 471,
|
|
"end": 483,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 471,
|
|
"end": 476,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Debug",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 477,
|
|
"end": 483,
|
|
"ctxt": 0
|
|
},
|
|
"value": "assert",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 484,
|
|
"end": 497,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 484,
|
|
"end": 494,
|
|
"ctxt": 0
|
|
},
|
|
"value": "isHexDigit",
|
|
"optional": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 495,
|
|
"end": 496,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
{
|
|
"type": "ReturnStatement",
|
|
"span": {
|
|
"start": 508,
|
|
"end": 722,
|
|
"ctxt": 0
|
|
},
|
|
"argument": {
|
|
"type": "ConditionalExpression",
|
|
"span": {
|
|
"start": 515,
|
|
"end": 721,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 515,
|
|
"end": 532,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 515,
|
|
"end": 529,
|
|
"ctxt": 0
|
|
},
|
|
"value": "isDecimalDigit",
|
|
"optional": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 530,
|
|
"end": 531,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"consequent": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 547,
|
|
"end": 570,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 548,
|
|
"end": 569,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "-",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 548,
|
|
"end": 549,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 552,
|
|
"end": 569,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 552,
|
|
"end": 566,
|
|
"ctxt": 0
|
|
},
|
|
"value": "CharacterCodes",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 567,
|
|
"end": 569,
|
|
"ctxt": 0
|
|
},
|
|
"value": "_0",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"alternate": {
|
|
"type": "ConditionalExpression",
|
|
"span": {
|
|
"start": 585,
|
|
"end": 721,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 585,
|
|
"end": 633,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 586,
|
|
"end": 632,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 586,
|
|
"end": 607,
|
|
"ctxt": 0
|
|
},
|
|
"operator": ">=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 586,
|
|
"end": 587,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 591,
|
|
"end": 607,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 591,
|
|
"end": 605,
|
|
"ctxt": 0
|
|
},
|
|
"value": "CharacterCodes",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 606,
|
|
"end": 607,
|
|
"ctxt": 0
|
|
},
|
|
"value": "A",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 611,
|
|
"end": 632,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "<=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 611,
|
|
"end": 612,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 616,
|
|
"end": 632,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 616,
|
|
"end": 630,
|
|
"ctxt": 0
|
|
},
|
|
"value": "CharacterCodes",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 631,
|
|
"end": 632,
|
|
"ctxt": 0
|
|
},
|
|
"value": "F",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 652,
|
|
"end": 677,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "+",
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 652,
|
|
"end": 672,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "-",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 652,
|
|
"end": 653,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 656,
|
|
"end": 672,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 656,
|
|
"end": 670,
|
|
"ctxt": 0
|
|
},
|
|
"value": "CharacterCodes",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 671,
|
|
"end": 672,
|
|
"ctxt": 0
|
|
},
|
|
"value": "A",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 675,
|
|
"end": 677,
|
|
"ctxt": 0
|
|
},
|
|
"value": 10.0,
|
|
"raw": "10"
|
|
}
|
|
},
|
|
"alternate": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 696,
|
|
"end": 721,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "+",
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 696,
|
|
"end": 716,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "-",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 696,
|
|
"end": 697,
|
|
"ctxt": 0
|
|
},
|
|
"value": "c",
|
|
"optional": false
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 700,
|
|
"end": 716,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 700,
|
|
"end": 714,
|
|
"ctxt": 0
|
|
},
|
|
"value": "CharacterCodes",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 715,
|
|
"end": 716,
|
|
"ctxt": 0
|
|
},
|
|
"value": "a",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 719,
|
|
"end": 721,
|
|
"ctxt": 0
|
|
},
|
|
"value": 10.0,
|
|
"raw": "10"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 452,
|
|
"end": 460,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 454,
|
|
"end": 460,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "number"
|
|
}
|
|
}
|
|
},
|
|
"kind": "method",
|
|
"isStatic": true,
|
|
"accessibility": "public",
|
|
"isAbstract": false,
|
|
"isOptional": false,
|
|
"isOverride": false
|
|
}
|
|
],
|
|
"superClass": null,
|
|
"isAbstract": false,
|
|
"typeParams": null,
|
|
"superTypeParams": null,
|
|
"implements": []
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|