test(es/parser): Fix crlf (#3451)

This commit is contained in:
Donny/강동윤 2022-02-04 20:17:42 +09:00 committed by GitHub
parent e5b22cc3d8
commit 397a96a1cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
696 changed files with 412557 additions and 412557 deletions

View File

@ -1,16 +1,16 @@
{
"type": "Script",
"span": {
"start": 112,
"end": 252,
"start": 109,
"end": 243,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 112,
"end": 123,
"start": 109,
"end": 120,
"ctxt": 0
},
"kind": "var",
@ -19,15 +19,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 116,
"end": 122,
"start": 113,
"end": 119,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 116,
"end": 117,
"start": 113,
"end": 114,
"ctxt": 0
},
"value": "x",
@ -35,15 +35,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 117,
"end": 122,
"start": 114,
"end": 119,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 119,
"end": 122,
"start": 116,
"end": 119,
"ctxt": 0
},
"kind": "any"
@ -58,8 +58,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 125,
"end": 141,
"start": 121,
"end": 137,
"ctxt": 0
},
"kind": "var",
@ -68,15 +68,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 129,
"end": 140,
"start": 125,
"end": 136,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 129,
"end": 130,
"start": 125,
"end": 126,
"ctxt": 0
},
"value": "a",
@ -86,15 +86,15 @@
"init": {
"type": "NewExpression",
"span": {
"start": 133,
"end": 140,
"start": 129,
"end": 136,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 137,
"end": 138,
"start": 133,
"end": 134,
"ctxt": 0
},
"value": "x",
@ -110,8 +110,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 143,
"end": 166,
"start": 138,
"end": 161,
"ctxt": 0
},
"kind": "var",
@ -120,15 +120,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 147,
"end": 165,
"start": 142,
"end": 160,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 147,
"end": 148,
"start": 142,
"end": 143,
"ctxt": 0
},
"value": "b",
@ -138,15 +138,15 @@
"init": {
"type": "NewExpression",
"span": {
"start": 151,
"end": 165,
"start": 146,
"end": 160,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 155,
"end": 156,
"start": 150,
"end": 151,
"ctxt": 0
},
"value": "x",
@ -158,8 +158,8 @@
"expression": {
"type": "StringLiteral",
"span": {
"start": 157,
"end": 164,
"start": 152,
"end": 159,
"ctxt": 0
},
"value": "hello",
@ -180,8 +180,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 168,
"end": 185,
"start": 162,
"end": 179,
"ctxt": 0
},
"kind": "var",
@ -190,15 +190,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 172,
"end": 184,
"start": 166,
"end": 178,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 172,
"end": 173,
"start": 166,
"end": 167,
"ctxt": 0
},
"value": "c",
@ -208,15 +208,15 @@
"init": {
"type": "NewExpression",
"span": {
"start": 176,
"end": 184,
"start": 170,
"end": 178,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 180,
"end": 181,
"start": 174,
"end": 175,
"ctxt": 0
},
"value": "x",
@ -228,8 +228,8 @@
"expression": {
"type": "Identifier",
"span": {
"start": 182,
"end": 183,
"start": 176,
"end": 177,
"ctxt": 0
},
"value": "x",
@ -246,8 +246,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 230,
"end": 252,
"start": 221,
"end": 243,
"ctxt": 0
},
"kind": "var",
@ -256,15 +256,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 234,
"end": 251,
"start": 225,
"end": 242,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 234,
"end": 235,
"start": 225,
"end": 226,
"ctxt": 0
},
"value": "d",
@ -274,15 +274,15 @@
"init": {
"type": "NewExpression",
"span": {
"start": 238,
"end": 251,
"start": 229,
"end": 242,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 242,
"end": 243,
"start": 233,
"end": 234,
"ctxt": 0
},
"value": "x",
@ -294,8 +294,8 @@
"expression": {
"type": "Identifier",
"span": {
"start": 249,
"end": 250,
"start": 240,
"end": 241,
"ctxt": 0
},
"value": "x",
@ -306,16 +306,16 @@
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 243,
"end": 248,
"start": 234,
"end": 239,
"ctxt": 0
},
"params": [
{
"type": "TsKeywordType",
"span": {
"start": 244,
"end": 247,
"start": 235,
"end": 238,
"ctxt": 0
},
"kind": "any"

View File

@ -1,16 +1,16 @@
{
"type": "Script",
"span": {
"start": 112,
"end": 173,
"start": 109,
"end": 167,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 112,
"end": 123,
"start": 109,
"end": 120,
"ctxt": 0
},
"kind": "var",
@ -19,15 +19,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 116,
"end": 122,
"start": 113,
"end": 119,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 116,
"end": 117,
"start": 113,
"end": 114,
"ctxt": 0
},
"value": "x",
@ -35,15 +35,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 117,
"end": 122,
"start": 114,
"end": 119,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 119,
"end": 122,
"start": 116,
"end": 119,
"ctxt": 0
},
"kind": "any"
@ -58,8 +58,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 125,
"end": 137,
"start": 121,
"end": 133,
"ctxt": 0
},
"kind": "var",
@ -68,15 +68,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 129,
"end": 136,
"start": 125,
"end": 132,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 129,
"end": 130,
"start": 125,
"end": 126,
"ctxt": 0
},
"value": "a",
@ -86,15 +86,15 @@
"init": {
"type": "CallExpression",
"span": {
"start": 133,
"end": 136,
"start": 129,
"end": 132,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 133,
"end": 134,
"start": 129,
"end": 130,
"ctxt": 0
},
"value": "x",
@ -110,8 +110,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 139,
"end": 158,
"start": 134,
"end": 153,
"ctxt": 0
},
"kind": "var",
@ -120,15 +120,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 143,
"end": 157,
"start": 138,
"end": 152,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 143,
"end": 144,
"start": 138,
"end": 139,
"ctxt": 0
},
"value": "b",
@ -138,15 +138,15 @@
"init": {
"type": "CallExpression",
"span": {
"start": 147,
"end": 157,
"start": 142,
"end": 152,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 147,
"end": 148,
"start": 142,
"end": 143,
"ctxt": 0
},
"value": "x",
@ -158,8 +158,8 @@
"expression": {
"type": "StringLiteral",
"span": {
"start": 149,
"end": 156,
"start": 144,
"end": 151,
"ctxt": 0
},
"value": "hello",
@ -180,8 +180,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 160,
"end": 173,
"start": 154,
"end": 167,
"ctxt": 0
},
"kind": "var",
@ -190,15 +190,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 164,
"end": 172,
"start": 158,
"end": 166,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 164,
"end": 165,
"start": 158,
"end": 159,
"ctxt": 0
},
"value": "c",
@ -208,15 +208,15 @@
"init": {
"type": "CallExpression",
"span": {
"start": 168,
"end": 172,
"start": 162,
"end": 166,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 168,
"end": 169,
"start": 162,
"end": 163,
"ctxt": 0
},
"value": "x",
@ -228,8 +228,8 @@
"expression": {
"type": "Identifier",
"span": {
"start": 170,
"end": 171,
"start": 164,
"end": 165,
"ctxt": 0
},
"value": "x",

View File

@ -1,16 +1,16 @@
{
"type": "Script",
"span": {
"start": 112,
"end": 240,
"start": 109,
"end": 231,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 112,
"end": 123,
"start": 109,
"end": 120,
"ctxt": 0
},
"kind": "var",
@ -19,15 +19,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 116,
"end": 122,
"start": 113,
"end": 119,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 116,
"end": 117,
"start": 113,
"end": 114,
"ctxt": 0
},
"value": "x",
@ -35,15 +35,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 117,
"end": 122,
"start": 114,
"end": 119,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 119,
"end": 122,
"start": 116,
"end": 119,
"ctxt": 0
},
"kind": "any"
@ -58,8 +58,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 125,
"end": 145,
"start": 121,
"end": 141,
"ctxt": 0
},
"kind": "var",
@ -68,15 +68,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 129,
"end": 144,
"start": 125,
"end": 140,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 129,
"end": 130,
"start": 125,
"end": 126,
"ctxt": 0
},
"value": "a",
@ -86,15 +86,15 @@
"init": {
"type": "CallExpression",
"span": {
"start": 133,
"end": 144,
"start": 129,
"end": 140,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 133,
"end": 134,
"start": 129,
"end": 130,
"ctxt": 0
},
"value": "x",
@ -104,16 +104,16 @@
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 134,
"end": 142,
"start": 130,
"end": 138,
"ctxt": 0
},
"params": [
{
"type": "TsKeywordType",
"span": {
"start": 135,
"end": 141,
"start": 131,
"end": 137,
"ctxt": 0
},
"kind": "number"
@ -128,8 +128,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 147,
"end": 174,
"start": 142,
"end": 169,
"ctxt": 0
},
"kind": "var",
@ -138,15 +138,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 151,
"end": 173,
"start": 146,
"end": 168,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 151,
"end": 152,
"start": 146,
"end": 147,
"ctxt": 0
},
"value": "b",
@ -156,15 +156,15 @@
"init": {
"type": "CallExpression",
"span": {
"start": 155,
"end": 173,
"start": 150,
"end": 168,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 155,
"end": 156,
"start": 150,
"end": 151,
"ctxt": 0
},
"value": "x",
@ -176,8 +176,8 @@
"expression": {
"type": "StringLiteral",
"span": {
"start": 165,
"end": 172,
"start": 160,
"end": 167,
"ctxt": 0
},
"value": "hello",
@ -192,16 +192,16 @@
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 156,
"end": 164,
"start": 151,
"end": 159,
"ctxt": 0
},
"params": [
{
"type": "TsKeywordType",
"span": {
"start": 157,
"end": 163,
"start": 152,
"end": 158,
"ctxt": 0
},
"kind": "string"
@ -218,8 +218,8 @@
"identifier": {
"type": "Identifier",
"span": {
"start": 184,
"end": 185,
"start": 177,
"end": 178,
"ctxt": 0
},
"value": "C",
@ -227,8 +227,8 @@
},
"declare": false,
"span": {
"start": 178,
"end": 202,
"start": 171,
"end": 195,
"ctxt": 0
},
"decorators": [],
@ -236,15 +236,15 @@
{
"type": "ClassProperty",
"span": {
"start": 188,
"end": 200,
"start": 181,
"end": 193,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 188,
"end": 191,
"start": 181,
"end": 184,
"ctxt": 0
},
"value": "foo",
@ -254,15 +254,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 191,
"end": 199,
"start": 184,
"end": 192,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 193,
"end": 199,
"start": 186,
"end": 192,
"ctxt": 0
},
"kind": "string"
@ -288,8 +288,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 204,
"end": 220,
"start": 196,
"end": 212,
"ctxt": 0
},
"kind": "var",
@ -298,15 +298,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 208,
"end": 219,
"start": 200,
"end": 211,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 208,
"end": 209,
"start": 200,
"end": 201,
"ctxt": 0
},
"value": "c",
@ -316,15 +316,15 @@
"init": {
"type": "CallExpression",
"span": {
"start": 212,
"end": 219,
"start": 204,
"end": 211,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 212,
"end": 213,
"start": 204,
"end": 205,
"ctxt": 0
},
"value": "x",
@ -336,8 +336,8 @@
"expression": {
"type": "Identifier",
"span": {
"start": 217,
"end": 218,
"start": 209,
"end": 210,
"ctxt": 0
},
"value": "x",
@ -348,23 +348,23 @@
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 213,
"end": 216,
"start": 205,
"end": 208,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 214,
"end": 215,
"start": 206,
"end": 207,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 214,
"end": 215,
"start": 206,
"end": 207,
"ctxt": 0
},
"value": "C",
@ -382,8 +382,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 222,
"end": 240,
"start": 213,
"end": 231,
"ctxt": 0
},
"kind": "var",
@ -392,15 +392,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 226,
"end": 239,
"start": 217,
"end": 230,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 226,
"end": 227,
"start": 217,
"end": 218,
"ctxt": 0
},
"value": "d",
@ -410,15 +410,15 @@
"init": {
"type": "CallExpression",
"span": {
"start": 230,
"end": 239,
"start": 221,
"end": 230,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 230,
"end": 231,
"start": 221,
"end": 222,
"ctxt": 0
},
"value": "x",
@ -430,8 +430,8 @@
"expression": {
"type": "Identifier",
"span": {
"start": 237,
"end": 238,
"start": 228,
"end": 229,
"ctxt": 0
},
"value": "x",
@ -442,16 +442,16 @@
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 231,
"end": 236,
"start": 222,
"end": 227,
"ctxt": 0
},
"params": [
{
"type": "TsKeywordType",
"span": {
"start": 232,
"end": 235,
"start": 223,
"end": 226,
"ctxt": 0
},
"kind": "any"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
"type": "Script",
"span": {
"start": 0,
"end": 126,
"end": 120,
"ctxt": 0
},
"body": [
@ -58,8 +58,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 13,
"end": 27,
"start": 12,
"end": 26,
"ctxt": 0
},
"kind": "var",
@ -68,15 +68,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 17,
"end": 26,
"start": 16,
"end": 25,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 17,
"end": 18,
"start": 16,
"end": 17,
"ctxt": 0
},
"value": "a",
@ -86,15 +86,15 @@
"init": {
"type": "MemberExpression",
"span": {
"start": 21,
"end": 26,
"start": 20,
"end": 25,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 21,
"end": 22,
"start": 20,
"end": 21,
"ctxt": 0
},
"value": "x",
@ -103,8 +103,8 @@
"property": {
"type": "Identifier",
"span": {
"start": 23,
"end": 26,
"start": 22,
"end": 25,
"ctxt": 0
},
"value": "foo",
@ -118,8 +118,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 29,
"end": 46,
"start": 27,
"end": 44,
"ctxt": 0
},
"kind": "var",
@ -128,15 +128,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 33,
"end": 45,
"start": 31,
"end": 43,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 33,
"end": 34,
"start": 31,
"end": 32,
"ctxt": 0
},
"value": "b",
@ -146,15 +146,15 @@
"init": {
"type": "MemberExpression",
"span": {
"start": 37,
"end": 45,
"start": 35,
"end": 43,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 37,
"end": 38,
"start": 35,
"end": 36,
"ctxt": 0
},
"value": "x",
@ -163,15 +163,15 @@
"property": {
"type": "Computed",
"span": {
"start": 38,
"end": 45,
"start": 36,
"end": 43,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 39,
"end": 44,
"start": 37,
"end": 42,
"ctxt": 0
},
"value": "foo",
@ -190,8 +190,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 48,
"end": 66,
"start": 45,
"end": 63,
"ctxt": 0
},
"kind": "var",
@ -200,15 +200,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 52,
"end": 65,
"start": 49,
"end": 62,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 52,
"end": 53,
"start": 49,
"end": 50,
"ctxt": 0
},
"value": "c",
@ -218,22 +218,22 @@
"init": {
"type": "CallExpression",
"span": {
"start": 56,
"end": 65,
"start": 53,
"end": 62,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 56,
"end": 63,
"start": 53,
"end": 60,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 56,
"end": 57,
"start": 53,
"end": 54,
"ctxt": 0
},
"value": "x",
@ -242,15 +242,15 @@
"property": {
"type": "Computed",
"span": {
"start": 57,
"end": 63,
"start": 54,
"end": 60,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 58,
"end": 62,
"start": 55,
"end": 59,
"ctxt": 0
},
"value": "fn",
@ -272,8 +272,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 68,
"end": 86,
"start": 64,
"end": 82,
"ctxt": 0
},
"kind": "var",
@ -282,15 +282,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 72,
"end": 85,
"start": 68,
"end": 81,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 72,
"end": 73,
"start": 68,
"end": 69,
"ctxt": 0
},
"value": "d",
@ -300,22 +300,22 @@
"init": {
"type": "MemberExpression",
"span": {
"start": 76,
"end": 85,
"start": 72,
"end": 81,
"ctxt": 0
},
"object": {
"type": "MemberExpression",
"span": {
"start": 76,
"end": 81,
"start": 72,
"end": 77,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 76,
"end": 77,
"start": 72,
"end": 73,
"ctxt": 0
},
"value": "x",
@ -324,8 +324,8 @@
"property": {
"type": "Identifier",
"span": {
"start": 78,
"end": 81,
"start": 74,
"end": 77,
"ctxt": 0
},
"value": "bar",
@ -335,8 +335,8 @@
"property": {
"type": "Identifier",
"span": {
"start": 82,
"end": 85,
"start": 78,
"end": 81,
"ctxt": 0
},
"value": "baz",
@ -350,8 +350,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 88,
"end": 105,
"start": 83,
"end": 100,
"ctxt": 0
},
"kind": "var",
@ -360,15 +360,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 92,
"end": 104,
"start": 87,
"end": 99,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 92,
"end": 93,
"start": 87,
"end": 88,
"ctxt": 0
},
"value": "e",
@ -378,22 +378,22 @@
"init": {
"type": "MemberExpression",
"span": {
"start": 96,
"end": 104,
"start": 91,
"end": 99,
"ctxt": 0
},
"object": {
"type": "MemberExpression",
"span": {
"start": 96,
"end": 100,
"start": 91,
"end": 95,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 96,
"end": 97,
"start": 91,
"end": 92,
"ctxt": 0
},
"value": "x",
@ -402,15 +402,15 @@
"property": {
"type": "Computed",
"span": {
"start": 97,
"end": 100,
"start": 92,
"end": 95,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 98,
"end": 99,
"start": 93,
"end": 94,
"ctxt": 0
},
"value": 0.0
@ -420,8 +420,8 @@
"property": {
"type": "Identifier",
"span": {
"start": 101,
"end": 104,
"start": 96,
"end": 99,
"ctxt": 0
},
"value": "foo",
@ -435,8 +435,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 107,
"end": 126,
"start": 101,
"end": 120,
"ctxt": 0
},
"kind": "var",
@ -445,15 +445,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 111,
"end": 125,
"start": 105,
"end": 119,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 111,
"end": 112,
"start": 105,
"end": 106,
"ctxt": 0
},
"value": "f",
@ -463,22 +463,22 @@
"init": {
"type": "MemberExpression",
"span": {
"start": 115,
"end": 125,
"start": 109,
"end": 119,
"ctxt": 0
},
"object": {
"type": "MemberExpression",
"span": {
"start": 115,
"end": 121,
"start": 109,
"end": 115,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 115,
"end": 116,
"start": 109,
"end": 110,
"ctxt": 0
},
"value": "x",
@ -487,15 +487,15 @@
"property": {
"type": "Computed",
"span": {
"start": 116,
"end": 121,
"start": 110,
"end": 115,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 117,
"end": 120,
"start": 111,
"end": 114,
"ctxt": 0
},
"value": "0",
@ -510,8 +510,8 @@
"property": {
"type": "Identifier",
"span": {
"start": 122,
"end": 125,
"start": 116,
"end": 119,
"ctxt": 0
},
"value": "bar",

View File

@ -1,8 +1,8 @@
{
"type": "Script",
"span": {
"start": 211,
"end": 741,
"start": 208,
"end": 721,
"ctxt": 0
},
"body": [
@ -11,8 +11,8 @@
"identifier": {
"type": "Identifier",
"span": {
"start": 217,
"end": 221,
"start": 214,
"end": 218,
"ctxt": 0
},
"value": "Base",
@ -20,8 +20,8 @@
},
"declare": false,
"span": {
"start": 211,
"end": 255,
"start": 208,
"end": 250,
"ctxt": 0
},
"decorators": [],
@ -29,15 +29,15 @@
{
"type": "ClassProperty",
"span": {
"start": 247,
"end": 252,
"start": 243,
"end": 248,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 247,
"end": 248,
"start": 243,
"end": 244,
"ctxt": 0
},
"value": "x",
@ -47,22 +47,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 248,
"end": 251,
"start": 244,
"end": 247,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 250,
"end": 251,
"start": 246,
"end": 247,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 250,
"end": 251,
"start": 246,
"end": 247,
"ctxt": 0
},
"value": "U",
@ -87,23 +87,23 @@
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 221,
"end": 239,
"start": 218,
"end": 236,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 222,
"end": 238,
"start": 219,
"end": 235,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 222,
"end": 223,
"start": 219,
"end": 220,
"ctxt": 0
},
"value": "U",
@ -112,15 +112,15 @@
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 232,
"end": 238,
"start": 229,
"end": 235,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 232,
"end": 238,
"start": 229,
"end": 235,
"ctxt": 0
},
"value": "String",
@ -140,8 +140,8 @@
"identifier": {
"type": "Identifier",
"span": {
"start": 375,
"end": 382,
"start": 367,
"end": 374,
"ctxt": 0
},
"value": "Derived",
@ -149,8 +149,8 @@
},
"declare": false,
"span": {
"start": 369,
"end": 436,
"start": 361,
"end": 426,
"ctxt": 0
},
"decorators": [],
@ -158,15 +158,15 @@
{
"type": "ClassProperty",
"span": {
"start": 423,
"end": 433,
"start": 414,
"end": 424,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 423,
"end": 424,
"start": 414,
"end": 415,
"ctxt": 0
},
"value": "x",
@ -176,22 +176,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 424,
"end": 432,
"start": 415,
"end": 423,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 426,
"end": 432,
"start": 417,
"end": 423,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 426,
"end": 432,
"start": 417,
"end": 423,
"ctxt": 0
},
"value": "String",
@ -214,8 +214,8 @@
"superClass": {
"type": "Identifier",
"span": {
"start": 394,
"end": 398,
"start": 386,
"end": 390,
"ctxt": 0
},
"value": "Base",
@ -225,23 +225,23 @@
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 382,
"end": 385,
"start": 374,
"end": 377,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 383,
"end": 384,
"start": 375,
"end": 376,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 383,
"end": 384,
"start": 375,
"end": 376,
"ctxt": 0
},
"value": "U",
@ -255,16 +255,16 @@
"superTypeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 398,
"end": 406,
"start": 390,
"end": 398,
"ctxt": 0
},
"params": [
{
"type": "TsKeywordType",
"span": {
"start": 399,
"end": 405,
"start": 391,
"end": 397,
"ctxt": 0
},
"kind": "string"
@ -278,8 +278,8 @@
"identifier": {
"type": "Identifier",
"span": {
"start": 446,
"end": 451,
"start": 434,
"end": 439,
"ctxt": 0
},
"value": "Base2",
@ -287,8 +287,8 @@
},
"declare": false,
"span": {
"start": 440,
"end": 495,
"start": 428,
"end": 480,
"ctxt": 0
},
"decorators": [],
@ -296,15 +296,15 @@
{
"type": "ClassProperty",
"span": {
"start": 459,
"end": 469,
"start": 446,
"end": 456,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 459,
"end": 460,
"start": 446,
"end": 447,
"ctxt": 0
},
"value": "x",
@ -314,22 +314,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 460,
"end": 468,
"start": 447,
"end": 455,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 462,
"end": 468,
"start": 449,
"end": 455,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 462,
"end": 468,
"start": 449,
"end": 455,
"ctxt": 0
},
"value": "String",
@ -351,15 +351,15 @@
{
"type": "ClassProperty",
"span": {
"start": 475,
"end": 492,
"start": 461,
"end": 478,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 482,
"end": 483,
"start": 468,
"end": 469,
"ctxt": 0
},
"value": "s",
@ -369,22 +369,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 483,
"end": 491,
"start": 469,
"end": 477,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 485,
"end": 491,
"start": 471,
"end": 477,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 485,
"end": 491,
"start": 471,
"end": 477,
"ctxt": 0
},
"value": "String",
@ -415,8 +415,8 @@
"identifier": {
"type": "Identifier",
"span": {
"start": 602,
"end": 610,
"start": 584,
"end": 592,
"ctxt": 0
},
"value": "Derived2",
@ -424,8 +424,8 @@
},
"declare": false,
"span": {
"start": 596,
"end": 741,
"start": 578,
"end": 721,
"ctxt": 0
},
"decorators": [],
@ -433,15 +433,15 @@
{
"type": "ClassProperty",
"span": {
"start": 733,
"end": 738,
"start": 714,
"end": 719,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 733,
"end": 734,
"start": 714,
"end": 715,
"ctxt": 0
},
"value": "x",
@ -451,22 +451,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 734,
"end": 737,
"start": 715,
"end": 718,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 736,
"end": 737,
"start": 717,
"end": 718,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 736,
"end": 737,
"start": 717,
"end": 718,
"ctxt": 0
},
"value": "U",
@ -489,8 +489,8 @@
"superClass": {
"type": "Identifier",
"span": {
"start": 637,
"end": 642,
"start": 619,
"end": 624,
"ctxt": 0
},
"value": "Base2",
@ -500,23 +500,23 @@
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 610,
"end": 628,
"start": 592,
"end": 610,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 611,
"end": 627,
"start": 593,
"end": 609,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 611,
"end": 612,
"start": 593,
"end": 594,
"ctxt": 0
},
"value": "U",
@ -525,15 +525,15 @@
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 621,
"end": 627,
"start": 603,
"end": 609,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 621,
"end": 627,
"start": 603,
"end": 609,
"ctxt": 0
},
"value": "String",

View File

@ -1,8 +1,8 @@
{
"type": "Script",
"span": {
"start": 211,
"end": 425,
"start": 208,
"end": 415,
"ctxt": 0
},
"body": [
@ -11,8 +11,8 @@
"identifier": {
"type": "Identifier",
"span": {
"start": 217,
"end": 221,
"start": 214,
"end": 218,
"ctxt": 0
},
"value": "Base",
@ -20,8 +20,8 @@
},
"declare": false,
"span": {
"start": 211,
"end": 242,
"start": 208,
"end": 237,
"ctxt": 0
},
"decorators": [],
@ -29,15 +29,15 @@
{
"type": "ClassProperty",
"span": {
"start": 229,
"end": 239,
"start": 225,
"end": 235,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 229,
"end": 230,
"start": 225,
"end": 226,
"ctxt": 0
},
"value": "x",
@ -47,15 +47,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 230,
"end": 238,
"start": 226,
"end": 234,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 232,
"end": 238,
"start": 228,
"end": 234,
"ctxt": 0
},
"kind": "string"
@ -83,8 +83,8 @@
"identifier": {
"type": "Identifier",
"span": {
"start": 362,
"end": 369,
"start": 354,
"end": 361,
"ctxt": 0
},
"value": "Derived",
@ -92,8 +92,8 @@
},
"declare": false,
"span": {
"start": 356,
"end": 425,
"start": 348,
"end": 415,
"ctxt": 0
},
"decorators": [],
@ -101,15 +101,15 @@
{
"type": "ClassProperty",
"span": {
"start": 417,
"end": 422,
"start": 408,
"end": 413,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 417,
"end": 418,
"start": 408,
"end": 409,
"ctxt": 0
},
"value": "x",
@ -119,22 +119,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 418,
"end": 421,
"start": 409,
"end": 412,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 420,
"end": 421,
"start": 411,
"end": 412,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 420,
"end": 421,
"start": 411,
"end": 412,
"ctxt": 0
},
"value": "U",
@ -157,8 +157,8 @@
"superClass": {
"type": "Identifier",
"span": {
"start": 396,
"end": 400,
"start": 388,
"end": 392,
"ctxt": 0
},
"value": "Base",
@ -168,23 +168,23 @@
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 369,
"end": 387,
"start": 361,
"end": 379,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 370,
"end": 386,
"start": 362,
"end": 378,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 370,
"end": 371,
"start": 362,
"end": 363,
"ctxt": 0
},
"value": "U",
@ -193,15 +193,15 @@
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 380,
"end": 386,
"start": 372,
"end": 378,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 380,
"end": 386,
"start": 372,
"end": 378,
"ctxt": 0
},
"value": "String",

View File

@ -1,16 +1,16 @@
{
"type": "Script",
"span": {
"start": 35,
"end": 288,
"start": 33,
"end": 274,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 35,
"end": 46,
"start": 33,
"end": 44,
"ctxt": 0
},
"kind": "var",
@ -19,15 +19,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 39,
"end": 45,
"start": 37,
"end": 43,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 39,
"end": 40,
"start": 37,
"end": 38,
"ctxt": 0
},
"value": "x",
@ -37,8 +37,8 @@
"init": {
"type": "ArrayExpression",
"span": {
"start": 43,
"end": 45,
"start": 41,
"end": 43,
"ctxt": 0
},
"elements": []
@ -50,8 +50,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 48,
"end": 69,
"start": 45,
"end": 66,
"ctxt": 0
},
"kind": "var",
@ -60,15 +60,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 52,
"end": 68,
"start": 49,
"end": 65,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 52,
"end": 53,
"start": 49,
"end": 50,
"ctxt": 0
},
"value": "x",
@ -78,15 +78,15 @@
"init": {
"type": "NewExpression",
"span": {
"start": 56,
"end": 68,
"start": 53,
"end": 65,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 60,
"end": 65,
"start": 57,
"end": 62,
"ctxt": 0
},
"value": "Array",
@ -98,8 +98,8 @@
"expression": {
"type": "NumericLiteral",
"span": {
"start": 66,
"end": 67,
"start": 63,
"end": 64,
"ctxt": 0
},
"value": 1.0
@ -115,8 +115,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 73,
"end": 85,
"start": 68,
"end": 80,
"ctxt": 0
},
"kind": "var",
@ -125,15 +125,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 77,
"end": 84,
"start": 72,
"end": 79,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 77,
"end": 78,
"start": 72,
"end": 73,
"ctxt": 0
},
"value": "y",
@ -143,8 +143,8 @@
"init": {
"type": "ArrayExpression",
"span": {
"start": 81,
"end": 84,
"start": 76,
"end": 79,
"ctxt": 0
},
"elements": [
@ -153,8 +153,8 @@
"expression": {
"type": "NumericLiteral",
"span": {
"start": 82,
"end": 83,
"start": 77,
"end": 78,
"ctxt": 0
},
"value": 1.0
@ -169,8 +169,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 87,
"end": 102,
"start": 81,
"end": 96,
"ctxt": 0
},
"kind": "var",
@ -179,15 +179,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 91,
"end": 101,
"start": 85,
"end": 95,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 91,
"end": 92,
"start": 85,
"end": 86,
"ctxt": 0
},
"value": "y",
@ -197,8 +197,8 @@
"init": {
"type": "ArrayExpression",
"span": {
"start": 95,
"end": 101,
"start": 89,
"end": 95,
"ctxt": 0
},
"elements": [
@ -207,8 +207,8 @@
"expression": {
"type": "NumericLiteral",
"span": {
"start": 96,
"end": 97,
"start": 90,
"end": 91,
"ctxt": 0
},
"value": 1.0
@ -219,8 +219,8 @@
"expression": {
"type": "NumericLiteral",
"span": {
"start": 99,
"end": 100,
"start": 93,
"end": 94,
"ctxt": 0
},
"value": 2.0
@ -235,8 +235,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 104,
"end": 132,
"start": 97,
"end": 125,
"ctxt": 0
},
"kind": "var",
@ -245,15 +245,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 108,
"end": 131,
"start": 101,
"end": 124,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 108,
"end": 109,
"start": 101,
"end": 102,
"ctxt": 0
},
"value": "y",
@ -263,15 +263,15 @@
"init": {
"type": "NewExpression",
"span": {
"start": 112,
"end": 131,
"start": 105,
"end": 124,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 116,
"end": 121,
"start": 109,
"end": 114,
"ctxt": 0
},
"value": "Array",
@ -281,16 +281,16 @@
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 121,
"end": 129,
"start": 114,
"end": 122,
"ctxt": 0
},
"params": [
{
"type": "TsKeywordType",
"span": {
"start": 122,
"end": 128,
"start": 115,
"end": 121,
"ctxt": 0
},
"kind": "number"
@ -305,8 +305,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 136,
"end": 158,
"start": 127,
"end": 149,
"ctxt": 0
},
"kind": "var",
@ -315,15 +315,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 140,
"end": 157,
"start": 131,
"end": 148,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 140,
"end": 142,
"start": 131,
"end": 133,
"ctxt": 0
},
"value": "x2",
@ -331,22 +331,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 142,
"end": 152,
"start": 133,
"end": 143,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 144,
"end": 152,
"start": 135,
"end": 143,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 144,
"end": 150,
"start": 135,
"end": 141,
"ctxt": 0
},
"kind": "number"
@ -357,8 +357,8 @@
"init": {
"type": "ArrayExpression",
"span": {
"start": 155,
"end": 157,
"start": 146,
"end": 148,
"ctxt": 0
},
"elements": []
@ -370,8 +370,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 160,
"end": 192,
"start": 150,
"end": 182,
"ctxt": 0
},
"kind": "var",
@ -380,15 +380,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 164,
"end": 191,
"start": 154,
"end": 181,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 164,
"end": 166,
"start": 154,
"end": 156,
"ctxt": 0
},
"value": "x2",
@ -396,22 +396,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 166,
"end": 176,
"start": 156,
"end": 166,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 168,
"end": 176,
"start": 158,
"end": 166,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 168,
"end": 174,
"start": 158,
"end": 164,
"ctxt": 0
},
"kind": "number"
@ -422,15 +422,15 @@
"init": {
"type": "NewExpression",
"span": {
"start": 179,
"end": 191,
"start": 169,
"end": 181,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 183,
"end": 188,
"start": 173,
"end": 178,
"ctxt": 0
},
"value": "Array",
@ -442,8 +442,8 @@
"expression": {
"type": "NumericLiteral",
"span": {
"start": 189,
"end": 190,
"start": 179,
"end": 180,
"ctxt": 0
},
"value": 1.0
@ -459,8 +459,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 196,
"end": 219,
"start": 184,
"end": 207,
"ctxt": 0
},
"kind": "var",
@ -469,15 +469,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 200,
"end": 218,
"start": 188,
"end": 206,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 200,
"end": 202,
"start": 188,
"end": 190,
"ctxt": 0
},
"value": "y2",
@ -485,22 +485,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 202,
"end": 212,
"start": 190,
"end": 200,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 204,
"end": 212,
"start": 192,
"end": 200,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 204,
"end": 210,
"start": 192,
"end": 198,
"ctxt": 0
},
"kind": "number"
@ -511,8 +511,8 @@
"init": {
"type": "ArrayExpression",
"span": {
"start": 215,
"end": 218,
"start": 203,
"end": 206,
"ctxt": 0
},
"elements": [
@ -521,8 +521,8 @@
"expression": {
"type": "NumericLiteral",
"span": {
"start": 216,
"end": 217,
"start": 204,
"end": 205,
"ctxt": 0
},
"value": 1.0
@ -537,8 +537,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 221,
"end": 247,
"start": 208,
"end": 234,
"ctxt": 0
},
"kind": "var",
@ -547,15 +547,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 225,
"end": 246,
"start": 212,
"end": 233,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 225,
"end": 227,
"start": 212,
"end": 214,
"ctxt": 0
},
"value": "y2",
@ -563,22 +563,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 227,
"end": 237,
"start": 214,
"end": 224,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 229,
"end": 237,
"start": 216,
"end": 224,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 229,
"end": 235,
"start": 216,
"end": 222,
"ctxt": 0
},
"kind": "number"
@ -589,8 +589,8 @@
"init": {
"type": "ArrayExpression",
"span": {
"start": 240,
"end": 246,
"start": 227,
"end": 233,
"ctxt": 0
},
"elements": [
@ -599,8 +599,8 @@
"expression": {
"type": "NumericLiteral",
"span": {
"start": 241,
"end": 242,
"start": 228,
"end": 229,
"ctxt": 0
},
"value": 1.0
@ -611,8 +611,8 @@
"expression": {
"type": "NumericLiteral",
"span": {
"start": 244,
"end": 245,
"start": 231,
"end": 232,
"ctxt": 0
},
"value": 2.0
@ -627,8 +627,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 249,
"end": 288,
"start": 235,
"end": 274,
"ctxt": 0
},
"kind": "var",
@ -637,15 +637,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 253,
"end": 287,
"start": 239,
"end": 273,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 253,
"end": 255,
"start": 239,
"end": 241,
"ctxt": 0
},
"value": "y2",
@ -653,22 +653,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 255,
"end": 265,
"start": 241,
"end": 251,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 257,
"end": 265,
"start": 243,
"end": 251,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 257,
"end": 263,
"start": 243,
"end": 249,
"ctxt": 0
},
"kind": "number"
@ -679,15 +679,15 @@
"init": {
"type": "NewExpression",
"span": {
"start": 268,
"end": 287,
"start": 254,
"end": 273,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 272,
"end": 277,
"start": 258,
"end": 263,
"ctxt": 0
},
"value": "Array",
@ -697,16 +697,16 @@
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 277,
"end": 285,
"start": 263,
"end": 271,
"ctxt": 0
},
"params": [
{
"type": "TsKeywordType",
"span": {
"start": 278,
"end": 284,
"start": 264,
"end": 270,
"ctxt": 0
},
"kind": "number"

View File

@ -1,16 +1,16 @@
{
"type": "Script",
"span": {
"start": 81,
"end": 485,
"start": 79,
"end": 464,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 81,
"end": 92,
"start": 79,
"end": 90,
"ctxt": 0
},
"kind": "var",
@ -19,15 +19,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 85,
"end": 91,
"start": 83,
"end": 89,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 85,
"end": 86,
"start": 83,
"end": 84,
"ctxt": 0
},
"value": "a",
@ -37,8 +37,8 @@
"init": {
"type": "ArrayExpression",
"span": {
"start": 89,
"end": 91,
"start": 87,
"end": 89,
"ctxt": 0
},
"elements": []
@ -50,8 +50,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 103,
"end": 116,
"start": 100,
"end": 113,
"ctxt": 0
},
"kind": "var",
@ -60,15 +60,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 107,
"end": 115,
"start": 104,
"end": 112,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 107,
"end": 108,
"start": 104,
"end": 105,
"ctxt": 0
},
"value": "a",
@ -78,8 +78,8 @@
"init": {
"type": "ArrayExpression",
"span": {
"start": 111,
"end": 115,
"start": 108,
"end": 112,
"ctxt": 0
},
"elements": [
@ -94,8 +94,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 120,
"end": 141,
"start": 115,
"end": 136,
"ctxt": 0
},
"kind": "var",
@ -104,15 +104,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 124,
"end": 140,
"start": 119,
"end": 135,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 124,
"end": 125,
"start": 119,
"end": 120,
"ctxt": 0
},
"value": "a",
@ -122,8 +122,8 @@
"init": {
"type": "ArrayExpression",
"span": {
"start": 128,
"end": 140,
"start": 123,
"end": 135,
"ctxt": 0
},
"elements": [
@ -132,8 +132,8 @@
"expression": {
"type": "NullLiteral",
"span": {
"start": 129,
"end": 133,
"start": 124,
"end": 128,
"ctxt": 0
}
}
@ -143,8 +143,8 @@
"expression": {
"type": "NullLiteral",
"span": {
"start": 135,
"end": 139,
"start": 130,
"end": 134,
"ctxt": 0
}
}
@ -158,8 +158,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 143,
"end": 174,
"start": 137,
"end": 168,
"ctxt": 0
},
"kind": "var",
@ -168,15 +168,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 147,
"end": 173,
"start": 141,
"end": 167,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 147,
"end": 148,
"start": 141,
"end": 142,
"ctxt": 0
},
"value": "a",
@ -186,8 +186,8 @@
"init": {
"type": "ArrayExpression",
"span": {
"start": 151,
"end": 173,
"start": 145,
"end": 167,
"ctxt": 0
},
"elements": [
@ -196,8 +196,8 @@
"expression": {
"type": "Identifier",
"span": {
"start": 152,
"end": 161,
"start": 146,
"end": 155,
"ctxt": 0
},
"value": "undefined",
@ -209,8 +209,8 @@
"expression": {
"type": "Identifier",
"span": {
"start": 163,
"end": 172,
"start": 157,
"end": 166,
"ctxt": 0
},
"value": "undefined",
@ -226,8 +226,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 178,
"end": 205,
"start": 170,
"end": 197,
"ctxt": 0
},
"kind": "var",
@ -236,15 +236,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 182,
"end": 204,
"start": 174,
"end": 196,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 182,
"end": 183,
"start": 174,
"end": 175,
"ctxt": 0
},
"value": "b",
@ -254,8 +254,8 @@
"init": {
"type": "ArrayExpression",
"span": {
"start": 186,
"end": 204,
"start": 178,
"end": 196,
"ctxt": 0
},
"elements": [
@ -264,8 +264,8 @@
"expression": {
"type": "ArrayExpression",
"span": {
"start": 187,
"end": 189,
"start": 179,
"end": 181,
"ctxt": 0
},
"elements": []
@ -276,8 +276,8 @@
"expression": {
"type": "ArrayExpression",
"span": {
"start": 191,
"end": 203,
"start": 183,
"end": 195,
"ctxt": 0
},
"elements": [
@ -286,8 +286,8 @@
"expression": {
"type": "NullLiteral",
"span": {
"start": 192,
"end": 196,
"start": 184,
"end": 188,
"ctxt": 0
}
}
@ -297,8 +297,8 @@
"expression": {
"type": "NullLiteral",
"span": {
"start": 198,
"end": 202,
"start": 190,
"end": 194,
"ctxt": 0
}
}
@ -315,8 +315,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 218,
"end": 235,
"start": 209,
"end": 226,
"ctxt": 0
},
"kind": "var",
@ -325,15 +325,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 222,
"end": 234,
"start": 213,
"end": 225,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 222,
"end": 223,
"start": 213,
"end": 214,
"ctxt": 0
},
"value": "b",
@ -343,8 +343,8 @@
"init": {
"type": "ArrayExpression",
"span": {
"start": 226,
"end": 234,
"start": 217,
"end": 225,
"ctxt": 0
},
"elements": [
@ -353,8 +353,8 @@
"expression": {
"type": "ArrayExpression",
"span": {
"start": 227,
"end": 229,
"start": 218,
"end": 220,
"ctxt": 0
},
"elements": []
@ -365,8 +365,8 @@
"expression": {
"type": "ArrayExpression",
"span": {
"start": 231,
"end": 233,
"start": 222,
"end": 224,
"ctxt": 0
},
"elements": []
@ -381,8 +381,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 237,
"end": 270,
"start": 227,
"end": 260,
"ctxt": 0
},
"kind": "var",
@ -391,15 +391,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 241,
"end": 269,
"start": 231,
"end": 259,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 241,
"end": 242,
"start": 231,
"end": 232,
"ctxt": 0
},
"value": "b",
@ -409,8 +409,8 @@
"init": {
"type": "ArrayExpression",
"span": {
"start": 245,
"end": 269,
"start": 235,
"end": 259,
"ctxt": 0
},
"elements": [
@ -419,8 +419,8 @@
"expression": {
"type": "ArrayExpression",
"span": {
"start": 246,
"end": 268,
"start": 236,
"end": 258,
"ctxt": 0
},
"elements": [
@ -429,8 +429,8 @@
"expression": {
"type": "Identifier",
"span": {
"start": 247,
"end": 256,
"start": 237,
"end": 246,
"ctxt": 0
},
"value": "undefined",
@ -442,8 +442,8 @@
"expression": {
"type": "Identifier",
"span": {
"start": 258,
"end": 267,
"start": 248,
"end": 257,
"ctxt": 0
},
"value": "undefined",
@ -462,8 +462,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 274,
"end": 289,
"start": 262,
"end": 277,
"ctxt": 0
},
"kind": "var",
@ -472,15 +472,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 278,
"end": 288,
"start": 266,
"end": 276,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 278,
"end": 279,
"start": 266,
"end": 267,
"ctxt": 0
},
"value": "c",
@ -490,8 +490,8 @@
"init": {
"type": "ArrayExpression",
"span": {
"start": 282,
"end": 288,
"start": 270,
"end": 276,
"ctxt": 0
},
"elements": [
@ -500,8 +500,8 @@
"expression": {
"type": "ArrayExpression",
"span": {
"start": 283,
"end": 287,
"start": 271,
"end": 275,
"ctxt": 0
},
"elements": [
@ -510,8 +510,8 @@
"expression": {
"type": "ArrayExpression",
"span": {
"start": 284,
"end": 286,
"start": 272,
"end": 274,
"ctxt": 0
},
"elements": []
@ -529,8 +529,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 304,
"end": 334,
"start": 291,
"end": 321,
"ctxt": 0
},
"kind": "var",
@ -539,15 +539,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 308,
"end": 334,
"start": 295,
"end": 321,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 308,
"end": 309,
"start": 295,
"end": 296,
"ctxt": 0
},
"value": "c",
@ -557,8 +557,8 @@
"init": {
"type": "ArrayExpression",
"span": {
"start": 312,
"end": 334,
"start": 299,
"end": 321,
"ctxt": 0
},
"elements": [
@ -567,8 +567,8 @@
"expression": {
"type": "ArrayExpression",
"span": {
"start": 313,
"end": 321,
"start": 300,
"end": 308,
"ctxt": 0
},
"elements": [
@ -577,8 +577,8 @@
"expression": {
"type": "ArrayExpression",
"span": {
"start": 314,
"end": 320,
"start": 301,
"end": 307,
"ctxt": 0
},
"elements": [
@ -587,8 +587,8 @@
"expression": {
"type": "NullLiteral",
"span": {
"start": 315,
"end": 319,
"start": 302,
"end": 306,
"ctxt": 0
}
}
@ -604,8 +604,8 @@
"expression": {
"type": "ArrayExpression",
"span": {
"start": 322,
"end": 333,
"start": 309,
"end": 320,
"ctxt": 0
},
"elements": [
@ -614,8 +614,8 @@
"expression": {
"type": "Identifier",
"span": {
"start": 323,
"end": 332,
"start": 310,
"end": 319,
"ctxt": 0
},
"value": "undefined",
@ -634,8 +634,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 399,
"end": 428,
"start": 382,
"end": 411,
"ctxt": 0
},
"kind": "var",
@ -644,15 +644,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 403,
"end": 427,
"start": 386,
"end": 410,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 403,
"end": 404,
"start": 386,
"end": 387,
"ctxt": 0
},
"value": "x",
@ -660,15 +660,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 404,
"end": 415,
"start": 387,
"end": 398,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 406,
"end": 415,
"start": 389,
"end": 398,
"ctxt": 0
},
"kind": "undefined"
@ -678,8 +678,8 @@
"init": {
"type": "Identifier",
"span": {
"start": 418,
"end": 427,
"start": 401,
"end": 410,
"ctxt": 0
},
"value": "undefined",
@ -692,8 +692,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 432,
"end": 444,
"start": 413,
"end": 425,
"ctxt": 0
},
"kind": "var",
@ -702,15 +702,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 436,
"end": 443,
"start": 417,
"end": 424,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 436,
"end": 437,
"start": 417,
"end": 418,
"ctxt": 0
},
"value": "d",
@ -720,8 +720,8 @@
"init": {
"type": "ArrayExpression",
"span": {
"start": 440,
"end": 443,
"start": 421,
"end": 424,
"ctxt": 0
},
"elements": [
@ -730,8 +730,8 @@
"expression": {
"type": "Identifier",
"span": {
"start": 441,
"end": 442,
"start": 422,
"end": 423,
"ctxt": 0
},
"value": "x",
@ -747,8 +747,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 446,
"end": 460,
"start": 426,
"end": 440,
"ctxt": 0
},
"kind": "var",
@ -757,15 +757,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 450,
"end": 459,
"start": 430,
"end": 439,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 450,
"end": 451,
"start": 430,
"end": 431,
"ctxt": 0
},
"value": "d",
@ -775,8 +775,8 @@
"init": {
"type": "ArrayExpression",
"span": {
"start": 454,
"end": 459,
"start": 434,
"end": 439,
"ctxt": 0
},
"elements": [
@ -786,8 +786,8 @@
"expression": {
"type": "Identifier",
"span": {
"start": 457,
"end": 458,
"start": 437,
"end": 438,
"ctxt": 0
},
"value": "x",
@ -803,8 +803,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 462,
"end": 485,
"start": 441,
"end": 464,
"ctxt": 0
},
"kind": "var",
@ -813,15 +813,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 466,
"end": 484,
"start": 445,
"end": 463,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 466,
"end": 467,
"start": 445,
"end": 446,
"ctxt": 0
},
"value": "d",
@ -831,8 +831,8 @@
"init": {
"type": "ArrayExpression",
"span": {
"start": 470,
"end": 484,
"start": 449,
"end": 463,
"ctxt": 0
},
"elements": [
@ -841,8 +841,8 @@
"expression": {
"type": "Identifier",
"span": {
"start": 471,
"end": 480,
"start": 450,
"end": 459,
"ctxt": 0
},
"value": "undefined",
@ -854,8 +854,8 @@
"expression": {
"type": "Identifier",
"span": {
"start": 482,
"end": 483,
"start": 461,
"end": 462,
"ctxt": 0
},
"value": "x",

File diff suppressed because it is too large Load Diff

View File

@ -1,16 +1,16 @@
{
"type": "Script",
"span": {
"start": 45,
"end": 295,
"start": 43,
"end": 280,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 45,
"end": 67,
"start": 43,
"end": 65,
"ctxt": 0
},
"kind": "var",
@ -19,15 +19,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 49,
"end": 66,
"start": 47,
"end": 64,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 49,
"end": 50,
"start": 47,
"end": 48,
"ctxt": 0
},
"value": "x",
@ -35,15 +35,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 50,
"end": 66,
"start": 48,
"end": 64,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 52,
"end": 66,
"start": 50,
"end": 64,
"ctxt": 0
},
"params": [],
@ -51,22 +51,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 55,
"end": 66,
"start": 53,
"end": 64,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 58,
"end": 66,
"start": 56,
"end": 64,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 58,
"end": 64,
"start": 56,
"end": 62,
"ctxt": 0
},
"kind": "string"
@ -84,8 +84,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 69,
"end": 82,
"start": 66,
"end": 79,
"ctxt": 0
},
"kind": "var",
@ -94,15 +94,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 73,
"end": 81,
"start": 70,
"end": 78,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 73,
"end": 74,
"start": 70,
"end": 71,
"ctxt": 0
},
"value": "r",
@ -112,15 +112,15 @@
"init": {
"type": "MemberExpression",
"span": {
"start": 77,
"end": 81,
"start": 74,
"end": 78,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 77,
"end": 78,
"start": 74,
"end": 75,
"ctxt": 0
},
"value": "x",
@ -129,15 +129,15 @@
"property": {
"type": "Computed",
"span": {
"start": 78,
"end": 81,
"start": 75,
"end": 78,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 79,
"end": 80,
"start": 76,
"end": 77,
"ctxt": 0
},
"value": 1.0
@ -151,8 +151,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 84,
"end": 97,
"start": 80,
"end": 93,
"ctxt": 0
},
"kind": "var",
@ -161,15 +161,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 88,
"end": 96,
"start": 84,
"end": 92,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 88,
"end": 90,
"start": 84,
"end": 86,
"ctxt": 0
},
"value": "r2",
@ -179,15 +179,15 @@
"init": {
"type": "CallExpression",
"span": {
"start": 93,
"end": 96,
"start": 89,
"end": 92,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 93,
"end": 94,
"start": 89,
"end": 90,
"ctxt": 0
},
"value": "r",
@ -203,8 +203,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 99,
"end": 117,
"start": 94,
"end": 112,
"ctxt": 0
},
"kind": "var",
@ -213,15 +213,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 103,
"end": 116,
"start": 98,
"end": 111,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 103,
"end": 106,
"start": 98,
"end": 101,
"ctxt": 0
},
"value": "r2b",
@ -231,15 +231,15 @@
"init": {
"type": "NewExpression",
"span": {
"start": 109,
"end": 116,
"start": 104,
"end": 111,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 113,
"end": 114,
"start": 108,
"end": 109,
"ctxt": 0
},
"value": "r",
@ -255,8 +255,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 121,
"end": 146,
"start": 114,
"end": 139,
"ctxt": 0
},
"kind": "var",
@ -265,15 +265,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 125,
"end": 145,
"start": 118,
"end": 138,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 125,
"end": 127,
"start": 118,
"end": 120,
"ctxt": 0
},
"value": "x2",
@ -281,45 +281,45 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 127,
"end": 145,
"start": 120,
"end": 138,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 129,
"end": 145,
"start": 122,
"end": 138,
"ctxt": 0
},
"elemType": {
"type": "TsTypeLiteral",
"span": {
"start": 129,
"end": 143,
"start": 122,
"end": 136,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 131,
"end": 141,
"start": 124,
"end": 134,
"ctxt": 0
},
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 133,
"end": 141,
"start": 126,
"end": 134,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 135,
"end": 141,
"start": 128,
"end": 134,
"ctxt": 0
},
"kind": "string"
@ -340,8 +340,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 148,
"end": 163,
"start": 140,
"end": 155,
"ctxt": 0
},
"kind": "var",
@ -350,15 +350,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 152,
"end": 162,
"start": 144,
"end": 154,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 152,
"end": 154,
"start": 144,
"end": 146,
"ctxt": 0
},
"value": "r3",
@ -368,15 +368,15 @@
"init": {
"type": "MemberExpression",
"span": {
"start": 157,
"end": 162,
"start": 149,
"end": 154,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 157,
"end": 159,
"start": 149,
"end": 151,
"ctxt": 0
},
"value": "x2",
@ -385,15 +385,15 @@
"property": {
"type": "Computed",
"span": {
"start": 159,
"end": 162,
"start": 151,
"end": 154,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 160,
"end": 161,
"start": 152,
"end": 153,
"ctxt": 0
},
"value": 1.0
@ -407,8 +407,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 165,
"end": 179,
"start": 156,
"end": 170,
"ctxt": 0
},
"kind": "var",
@ -417,15 +417,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 169,
"end": 178,
"start": 160,
"end": 169,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 169,
"end": 171,
"start": 160,
"end": 162,
"ctxt": 0
},
"value": "r4",
@ -435,15 +435,15 @@
"init": {
"type": "CallExpression",
"span": {
"start": 174,
"end": 178,
"start": 165,
"end": 169,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 174,
"end": 176,
"start": 165,
"end": 167,
"ctxt": 0
},
"value": "r3",
@ -459,8 +459,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 181,
"end": 200,
"start": 171,
"end": 190,
"ctxt": 0
},
"kind": "var",
@ -469,15 +469,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 185,
"end": 199,
"start": 175,
"end": 189,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 185,
"end": 188,
"start": 175,
"end": 178,
"ctxt": 0
},
"value": "r4b",
@ -487,15 +487,15 @@
"init": {
"type": "NewExpression",
"span": {
"start": 191,
"end": 199,
"start": 181,
"end": 189,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 195,
"end": 197,
"start": 185,
"end": 187,
"ctxt": 0
},
"value": "r3",
@ -511,8 +511,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 213,
"end": 241,
"start": 201,
"end": 229,
"ctxt": 0
},
"kind": "var",
@ -521,15 +521,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 217,
"end": 240,
"start": 205,
"end": 228,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 217,
"end": 219,
"start": 205,
"end": 207,
"ctxt": 0
},
"value": "x3",
@ -537,22 +537,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 219,
"end": 240,
"start": 207,
"end": 228,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 221,
"end": 240,
"start": 209,
"end": 228,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 221,
"end": 226,
"start": 209,
"end": 214,
"ctxt": 0
},
"value": "Array",
@ -561,16 +561,16 @@
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 226,
"end": 240,
"start": 214,
"end": 228,
"ctxt": 0
},
"params": [
{
"type": "TsFunctionType",
"span": {
"start": 227,
"end": 239,
"start": 215,
"end": 227,
"ctxt": 0
},
"params": [],
@ -578,15 +578,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 230,
"end": 239,
"start": 218,
"end": 227,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 233,
"end": 239,
"start": 221,
"end": 227,
"ctxt": 0
},
"kind": "string"
@ -606,8 +606,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 243,
"end": 258,
"start": 230,
"end": 245,
"ctxt": 0
},
"kind": "var",
@ -616,15 +616,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 247,
"end": 257,
"start": 234,
"end": 244,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 247,
"end": 249,
"start": 234,
"end": 236,
"ctxt": 0
},
"value": "r5",
@ -634,15 +634,15 @@
"init": {
"type": "MemberExpression",
"span": {
"start": 252,
"end": 257,
"start": 239,
"end": 244,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 252,
"end": 254,
"start": 239,
"end": 241,
"ctxt": 0
},
"value": "x2",
@ -651,15 +651,15 @@
"property": {
"type": "Computed",
"span": {
"start": 254,
"end": 257,
"start": 241,
"end": 244,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 255,
"end": 256,
"start": 242,
"end": 243,
"ctxt": 0
},
"value": 1.0
@ -673,8 +673,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 260,
"end": 274,
"start": 246,
"end": 260,
"ctxt": 0
},
"kind": "var",
@ -683,15 +683,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 264,
"end": 273,
"start": 250,
"end": 259,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 264,
"end": 266,
"start": 250,
"end": 252,
"ctxt": 0
},
"value": "r6",
@ -701,15 +701,15 @@
"init": {
"type": "CallExpression",
"span": {
"start": 269,
"end": 273,
"start": 255,
"end": 259,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 269,
"end": 271,
"start": 255,
"end": 257,
"ctxt": 0
},
"value": "r5",
@ -725,8 +725,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 276,
"end": 295,
"start": 261,
"end": 280,
"ctxt": 0
},
"kind": "var",
@ -735,15 +735,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 280,
"end": 294,
"start": 265,
"end": 279,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 280,
"end": 283,
"start": 265,
"end": 268,
"ctxt": 0
},
"value": "r6b",
@ -753,15 +753,15 @@
"init": {
"type": "NewExpression",
"span": {
"start": 286,
"end": 294,
"start": 271,
"end": 279,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 290,
"end": 292,
"start": 275,
"end": 277,
"ctxt": 0
},
"value": "r5",

View File

@ -1,16 +1,16 @@
{
"type": "Script",
"span": {
"start": 45,
"end": 300,
"start": 43,
"end": 285,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 45,
"end": 71,
"start": 43,
"end": 69,
"ctxt": 0
},
"kind": "var",
@ -19,15 +19,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 49,
"end": 70,
"start": 47,
"end": 68,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 49,
"end": 50,
"start": 47,
"end": 48,
"ctxt": 0
},
"value": "x",
@ -35,15 +35,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 50,
"end": 70,
"start": 48,
"end": 68,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsConstructorType",
"span": {
"start": 52,
"end": 70,
"start": 50,
"end": 68,
"ctxt": 0
},
"params": [],
@ -51,22 +51,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 59,
"end": 70,
"start": 57,
"end": 68,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 62,
"end": 70,
"start": 60,
"end": 68,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 62,
"end": 68,
"start": 60,
"end": 66,
"ctxt": 0
},
"kind": "string"
@ -85,8 +85,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 73,
"end": 86,
"start": 70,
"end": 83,
"ctxt": 0
},
"kind": "var",
@ -95,15 +95,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 77,
"end": 85,
"start": 74,
"end": 82,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 77,
"end": 78,
"start": 74,
"end": 75,
"ctxt": 0
},
"value": "r",
@ -113,15 +113,15 @@
"init": {
"type": "MemberExpression",
"span": {
"start": 81,
"end": 85,
"start": 78,
"end": 82,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 81,
"end": 82,
"start": 78,
"end": 79,
"ctxt": 0
},
"value": "x",
@ -130,15 +130,15 @@
"property": {
"type": "Computed",
"span": {
"start": 82,
"end": 85,
"start": 79,
"end": 82,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 83,
"end": 84,
"start": 80,
"end": 81,
"ctxt": 0
},
"value": 1.0
@ -152,8 +152,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 88,
"end": 105,
"start": 84,
"end": 101,
"ctxt": 0
},
"kind": "var",
@ -162,15 +162,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 92,
"end": 104,
"start": 88,
"end": 100,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 92,
"end": 94,
"start": 88,
"end": 90,
"ctxt": 0
},
"value": "r2",
@ -180,15 +180,15 @@
"init": {
"type": "NewExpression",
"span": {
"start": 97,
"end": 104,
"start": 93,
"end": 100,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 101,
"end": 102,
"start": 97,
"end": 98,
"ctxt": 0
},
"value": "r",
@ -204,8 +204,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 107,
"end": 121,
"start": 102,
"end": 116,
"ctxt": 0
},
"kind": "var",
@ -214,15 +214,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 111,
"end": 120,
"start": 106,
"end": 115,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 111,
"end": 114,
"start": 106,
"end": 109,
"ctxt": 0
},
"value": "r2b",
@ -232,15 +232,15 @@
"init": {
"type": "CallExpression",
"span": {
"start": 117,
"end": 120,
"start": 112,
"end": 115,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 117,
"end": 118,
"start": 112,
"end": 113,
"ctxt": 0
},
"value": "r",
@ -256,8 +256,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 125,
"end": 153,
"start": 118,
"end": 146,
"ctxt": 0
},
"kind": "var",
@ -266,15 +266,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 129,
"end": 152,
"start": 122,
"end": 145,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 129,
"end": 131,
"start": 122,
"end": 124,
"ctxt": 0
},
"value": "x2",
@ -282,45 +282,45 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 131,
"end": 152,
"start": 124,
"end": 145,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 133,
"end": 152,
"start": 126,
"end": 145,
"ctxt": 0
},
"elemType": {
"type": "TsTypeLiteral",
"span": {
"start": 133,
"end": 150,
"start": 126,
"end": 143,
"ctxt": 0
},
"members": [
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 135,
"end": 148,
"start": 128,
"end": 141,
"ctxt": 0
},
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 140,
"end": 148,
"start": 133,
"end": 141,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 142,
"end": 148,
"start": 135,
"end": 141,
"ctxt": 0
},
"kind": "string"
@ -341,8 +341,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 155,
"end": 169,
"start": 147,
"end": 161,
"ctxt": 0
},
"kind": "var",
@ -351,15 +351,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 159,
"end": 168,
"start": 151,
"end": 160,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 159,
"end": 161,
"start": 151,
"end": 153,
"ctxt": 0
},
"value": "r3",
@ -369,15 +369,15 @@
"init": {
"type": "MemberExpression",
"span": {
"start": 164,
"end": 168,
"start": 156,
"end": 160,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 164,
"end": 165,
"start": 156,
"end": 157,
"ctxt": 0
},
"value": "x",
@ -386,15 +386,15 @@
"property": {
"type": "Computed",
"span": {
"start": 165,
"end": 168,
"start": 157,
"end": 160,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 166,
"end": 167,
"start": 158,
"end": 159,
"ctxt": 0
},
"value": 1.0
@ -408,8 +408,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 171,
"end": 189,
"start": 162,
"end": 180,
"ctxt": 0
},
"kind": "var",
@ -418,15 +418,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 175,
"end": 188,
"start": 166,
"end": 179,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 175,
"end": 177,
"start": 166,
"end": 168,
"ctxt": 0
},
"value": "r4",
@ -436,15 +436,15 @@
"init": {
"type": "NewExpression",
"span": {
"start": 180,
"end": 188,
"start": 171,
"end": 179,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 184,
"end": 186,
"start": 175,
"end": 177,
"ctxt": 0
},
"value": "r3",
@ -460,8 +460,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 191,
"end": 210,
"start": 181,
"end": 200,
"ctxt": 0
},
"kind": "var",
@ -470,15 +470,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 195,
"end": 209,
"start": 185,
"end": 199,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 195,
"end": 198,
"start": 185,
"end": 188,
"ctxt": 0
},
"value": "r4b",
@ -488,15 +488,15 @@
"init": {
"type": "NewExpression",
"span": {
"start": 201,
"end": 209,
"start": 191,
"end": 199,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 205,
"end": 207,
"start": 195,
"end": 197,
"ctxt": 0
},
"value": "r3",
@ -512,8 +512,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 214,
"end": 246,
"start": 202,
"end": 234,
"ctxt": 0
},
"kind": "var",
@ -522,15 +522,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 218,
"end": 245,
"start": 206,
"end": 233,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 218,
"end": 220,
"start": 206,
"end": 208,
"ctxt": 0
},
"value": "x3",
@ -538,22 +538,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 220,
"end": 245,
"start": 208,
"end": 233,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 222,
"end": 245,
"start": 210,
"end": 233,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 222,
"end": 227,
"start": 210,
"end": 215,
"ctxt": 0
},
"value": "Array",
@ -562,16 +562,16 @@
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 227,
"end": 245,
"start": 215,
"end": 233,
"ctxt": 0
},
"params": [
{
"type": "TsConstructorType",
"span": {
"start": 228,
"end": 244,
"start": 216,
"end": 232,
"ctxt": 0
},
"params": [],
@ -579,15 +579,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 235,
"end": 244,
"start": 223,
"end": 232,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 238,
"end": 244,
"start": 226,
"end": 232,
"ctxt": 0
},
"kind": "string"
@ -608,8 +608,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 248,
"end": 263,
"start": 235,
"end": 250,
"ctxt": 0
},
"kind": "var",
@ -618,15 +618,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 252,
"end": 262,
"start": 239,
"end": 249,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 252,
"end": 254,
"start": 239,
"end": 241,
"ctxt": 0
},
"value": "r5",
@ -636,15 +636,15 @@
"init": {
"type": "MemberExpression",
"span": {
"start": 257,
"end": 262,
"start": 244,
"end": 249,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 257,
"end": 259,
"start": 244,
"end": 246,
"ctxt": 0
},
"value": "x2",
@ -653,15 +653,15 @@
"property": {
"type": "Computed",
"span": {
"start": 259,
"end": 262,
"start": 246,
"end": 249,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 260,
"end": 261,
"start": 247,
"end": 248,
"ctxt": 0
},
"value": 1.0
@ -675,8 +675,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 265,
"end": 283,
"start": 251,
"end": 269,
"ctxt": 0
},
"kind": "var",
@ -685,15 +685,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 269,
"end": 282,
"start": 255,
"end": 268,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 269,
"end": 271,
"start": 255,
"end": 257,
"ctxt": 0
},
"value": "r6",
@ -703,15 +703,15 @@
"init": {
"type": "NewExpression",
"span": {
"start": 274,
"end": 282,
"start": 260,
"end": 268,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 278,
"end": 280,
"start": 264,
"end": 266,
"ctxt": 0
},
"value": "r5",
@ -727,8 +727,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 285,
"end": 300,
"start": 270,
"end": 285,
"ctxt": 0
},
"kind": "var",
@ -737,15 +737,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 289,
"end": 299,
"start": 274,
"end": 284,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 289,
"end": 292,
"start": 274,
"end": 277,
"ctxt": 0
},
"value": "r6b",
@ -755,15 +755,15 @@
"init": {
"type": "CallExpression",
"span": {
"start": 295,
"end": 299,
"start": 280,
"end": 284,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 295,
"end": 297,
"start": 280,
"end": 282,
"ctxt": 0
},
"value": "r5",

View File

@ -1,16 +1,16 @@
{
"type": "Script",
"span": {
"start": 2,
"end": 57,
"start": 1,
"end": 51,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 2,
"end": 11,
"start": 1,
"end": 10,
"ctxt": 0
},
"kind": "var",
@ -19,15 +19,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 6,
"end": 10,
"start": 5,
"end": 9,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 6,
"end": 10,
"start": 5,
"end": 9,
"ctxt": 0
},
"value": "type",
@ -42,8 +42,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 13,
"end": 24,
"start": 11,
"end": 22,
"ctxt": 0
},
"kind": "var",
@ -52,15 +52,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 17,
"end": 23,
"start": 15,
"end": 21,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 17,
"end": 23,
"start": 15,
"end": 21,
"ctxt": 0
},
"value": "string",
@ -75,8 +75,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 26,
"end": 34,
"start": 23,
"end": 31,
"ctxt": 0
},
"kind": "var",
@ -85,15 +85,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 30,
"end": 33,
"start": 27,
"end": 30,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 30,
"end": 33,
"start": 27,
"end": 30,
"ctxt": 0
},
"value": "Foo",
@ -108,16 +108,16 @@
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 38,
"end": 57,
"start": 33,
"end": 51,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 44,
"end": 47,
"start": 38,
"end": 41,
"ctxt": 0
},
"value": "Foo",
@ -127,8 +127,8 @@
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 50,
"end": 56,
"start": 44,
"end": 50,
"ctxt": 0
},
"kind": "string"

View File

@ -1,16 +1,16 @@
{
"type": "Script",
"span": {
"start": 2,
"end": 91,
"start": 1,
"end": 83,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 2,
"end": 11,
"start": 1,
"end": 10,
"ctxt": 0
},
"kind": "var",
@ -19,15 +19,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 6,
"end": 10,
"start": 5,
"end": 9,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 6,
"end": 10,
"start": 5,
"end": 9,
"ctxt": 0
},
"value": "type",
@ -42,8 +42,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 13,
"end": 24,
"start": 11,
"end": 22,
"ctxt": 0
},
"kind": "var",
@ -52,15 +52,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 17,
"end": 23,
"start": 15,
"end": 21,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 17,
"end": 23,
"start": 15,
"end": 21,
"ctxt": 0
},
"value": "string",
@ -75,8 +75,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 26,
"end": 34,
"start": 23,
"end": 31,
"ctxt": 0
},
"kind": "var",
@ -85,15 +85,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 30,
"end": 33,
"start": 27,
"end": 30,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 30,
"end": 33,
"start": 27,
"end": 30,
"ctxt": 0
},
"value": "Foo",
@ -108,8 +108,8 @@
{
"type": "TsModuleDeclaration",
"span": {
"start": 38,
"end": 91,
"start": 33,
"end": 83,
"ctxt": 0
},
"declare": false,
@ -117,8 +117,8 @@
"id": {
"type": "Identifier",
"span": {
"start": 48,
"end": 57,
"start": 43,
"end": 52,
"ctxt": 0
},
"value": "container",
@ -127,24 +127,24 @@
"body": {
"type": "TsModuleBlock",
"span": {
"start": 58,
"end": 91,
"start": 53,
"end": 83,
"ctxt": 0
},
"body": [
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 65,
"end": 88,
"start": 59,
"end": 81,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 75,
"end": 78,
"start": 68,
"end": 71,
"ctxt": 0
},
"value": "Foo",
@ -154,8 +154,8 @@
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 81,
"end": 87,
"start": 74,
"end": 80,
"ctxt": 0
},
"kind": "string"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
"type": "Script",
"span": {
"start": 0,
"end": 46,
"end": 43,
"ctxt": 0
},
"body": [
@ -50,8 +50,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 15,
"end": 30,
"start": 14,
"end": 29,
"ctxt": 0
},
"kind": "var",
@ -60,15 +60,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 19,
"end": 29,
"start": 18,
"end": 28,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 19,
"end": 20,
"start": 18,
"end": 19,
"ctxt": 0
},
"value": "a",
@ -76,22 +76,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 20,
"end": 29,
"start": 19,
"end": 28,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 22,
"end": 29,
"start": 21,
"end": 28,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 22,
"end": 29,
"start": 21,
"end": 28,
"ctxt": 0
},
"value": "Boolean",
@ -109,23 +109,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 32,
"end": 38,
"start": 30,
"end": 36,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 32,
"end": 37,
"start": 30,
"end": 35,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 32,
"end": 33,
"start": 30,
"end": 31,
"ctxt": 0
},
"value": "x",
@ -135,8 +135,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 36,
"end": 37,
"start": 34,
"end": 35,
"ctxt": 0
},
"value": "a",
@ -147,23 +147,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 40,
"end": 46,
"start": 37,
"end": 43,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 40,
"end": 45,
"start": 37,
"end": 42,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 40,
"end": 41,
"start": 37,
"end": 38,
"ctxt": 0
},
"value": "a",
@ -173,8 +173,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 44,
"end": 45,
"start": 41,
"end": 42,
"ctxt": 0
},
"value": "x",

View File

@ -2,7 +2,7 @@
"type": "Script",
"span": {
"start": 0,
"end": 225,
"end": 206,
"ctxt": 0
},
"body": [
@ -10,7 +10,7 @@
"type": "TsInterfaceDeclaration",
"span": {
"start": 0,
"end": 46,
"end": 44,
"ctxt": 0
},
"id": {
@ -30,23 +30,23 @@
"type": "TsInterfaceBody",
"span": {
"start": 18,
"end": 46,
"end": 44,
"ctxt": 0
},
"body": [
{
"type": "TsMethodSignature",
"span": {
"start": 25,
"end": 43,
"start": 24,
"end": 42,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 25,
"end": 32,
"start": 24,
"end": 31,
"ctxt": 0
},
"value": "doStuff",
@ -58,15 +58,15 @@
"typeAnn": {
"type": "TsTypeAnnotation",
"span": {
"start": 34,
"end": 42,
"start": 33,
"end": 41,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 36,
"end": 42,
"start": 35,
"end": 41,
"ctxt": 0
},
"kind": "string"
@ -80,15 +80,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 50,
"end": 99,
"start": 46,
"end": 93,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 60,
"end": 70,
"start": 56,
"end": 66,
"ctxt": 0
},
"value": "NotBoolean",
@ -100,24 +100,24 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 71,
"end": 99,
"start": 67,
"end": 93,
"ctxt": 0
},
"body": [
{
"type": "TsMethodSignature",
"span": {
"start": 78,
"end": 96,
"start": 73,
"end": 91,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 78,
"end": 85,
"start": 73,
"end": 80,
"ctxt": 0
},
"value": "doStuff",
@ -129,15 +129,15 @@
"typeAnn": {
"type": "TsTypeAnnotation",
"span": {
"start": 87,
"end": 95,
"start": 82,
"end": 90,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 89,
"end": 95,
"start": 84,
"end": 90,
"ctxt": 0
},
"kind": "string"
@ -151,8 +151,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 103,
"end": 116,
"start": 95,
"end": 108,
"ctxt": 0
},
"kind": "var",
@ -161,15 +161,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 107,
"end": 115,
"start": 99,
"end": 107,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 107,
"end": 108,
"start": 99,
"end": 100,
"ctxt": 0
},
"value": "x",
@ -179,8 +179,8 @@
"init": {
"type": "BooleanLiteral",
"span": {
"start": 111,
"end": 115,
"start": 103,
"end": 107,
"ctxt": 0
},
"value": true
@ -192,8 +192,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 118,
"end": 133,
"start": 109,
"end": 124,
"ctxt": 0
},
"kind": "var",
@ -202,15 +202,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 122,
"end": 132,
"start": 113,
"end": 123,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 122,
"end": 123,
"start": 113,
"end": 114,
"ctxt": 0
},
"value": "a",
@ -218,22 +218,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 123,
"end": 132,
"start": 114,
"end": 123,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 125,
"end": 132,
"start": 116,
"end": 123,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 125,
"end": 132,
"start": 116,
"end": 123,
"ctxt": 0
},
"value": "Boolean",
@ -251,8 +251,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 135,
"end": 153,
"start": 125,
"end": 143,
"ctxt": 0
},
"kind": "var",
@ -261,15 +261,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 139,
"end": 152,
"start": 129,
"end": 142,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 139,
"end": 140,
"start": 129,
"end": 130,
"ctxt": 0
},
"value": "b",
@ -277,22 +277,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 140,
"end": 152,
"start": 130,
"end": 142,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 142,
"end": 152,
"start": 132,
"end": 142,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 142,
"end": 152,
"start": 132,
"end": 142,
"ctxt": 0
},
"value": "NotBoolean",
@ -310,23 +310,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 157,
"end": 163,
"start": 145,
"end": 151,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 157,
"end": 162,
"start": 145,
"end": 150,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 157,
"end": 158,
"start": 145,
"end": 146,
"ctxt": 0
},
"value": "a",
@ -336,8 +336,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 161,
"end": 162,
"start": 149,
"end": 150,
"ctxt": 0
},
"value": "x",
@ -348,23 +348,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 165,
"end": 171,
"start": 152,
"end": 158,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 165,
"end": 170,
"start": 152,
"end": 157,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 165,
"end": 166,
"start": 152,
"end": 153,
"ctxt": 0
},
"value": "a",
@ -374,8 +374,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 169,
"end": 170,
"start": 156,
"end": 157,
"ctxt": 0
},
"value": "b",
@ -383,6 +383,82 @@
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 160,
"end": 166,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 160,
"end": 165,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 160,
"end": 161,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 164,
"end": 165,
"ctxt": 0
},
"value": "a",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 167,
"end": 173,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 167,
"end": 172,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 167,
"end": 168,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 171,
"end": 172,
"ctxt": 0
},
"value": "x",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
@ -405,7 +481,7 @@
"end": 176,
"ctxt": 0
},
"value": "b",
"value": "x",
"optional": false,
"typeAnnotation": null
},
@ -424,61 +500,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 183,
"end": 189,
"start": 200,
"end": 206,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 183,
"end": 188,
"start": 200,
"end": 205,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 183,
"end": 184,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 187,
"end": 188,
"ctxt": 0
},
"value": "x",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 193,
"end": 199,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 193,
"end": 198,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 193,
"end": 194,
"start": 200,
"end": 201,
"ctxt": 0
},
"value": "x",
@ -488,46 +526,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 197,
"end": 198,
"ctxt": 0
},
"value": "a",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 219,
"end": 225,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 219,
"end": 224,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 219,
"end": 220,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 223,
"end": 224,
"start": 204,
"end": 205,
"ctxt": 0
},
"value": "b",

View File

@ -2,7 +2,7 @@
"type": "Script",
"span": {
"start": 0,
"end": 42,
"end": 39,
"ctxt": 0
},
"body": [
@ -50,8 +50,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 12,
"end": 26,
"start": 11,
"end": 25,
"ctxt": 0
},
"kind": "var",
@ -60,15 +60,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 16,
"end": 25,
"start": 15,
"end": 24,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 16,
"end": 17,
"start": 15,
"end": 16,
"ctxt": 0
},
"value": "a",
@ -76,22 +76,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 17,
"end": 25,
"start": 16,
"end": 24,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 19,
"end": 25,
"start": 18,
"end": 24,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 19,
"end": 25,
"start": 18,
"end": 24,
"ctxt": 0
},
"value": "Number",
@ -109,23 +109,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 28,
"end": 34,
"start": 26,
"end": 32,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 28,
"end": 33,
"start": 26,
"end": 31,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 28,
"end": 29,
"start": 26,
"end": 27,
"ctxt": 0
},
"value": "x",
@ -135,8 +135,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 32,
"end": 33,
"start": 30,
"end": 31,
"ctxt": 0
},
"value": "a",
@ -147,23 +147,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 36,
"end": 42,
"start": 33,
"end": 39,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 36,
"end": 41,
"start": 33,
"end": 38,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 36,
"end": 37,
"start": 33,
"end": 34,
"ctxt": 0
},
"value": "a",
@ -173,8 +173,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 40,
"end": 41,
"start": 37,
"end": 38,
"ctxt": 0
},
"value": "x",

View File

@ -2,7 +2,7 @@
"type": "Script",
"span": {
"start": 0,
"end": 431,
"end": 407,
"ctxt": 0
},
"body": [
@ -10,7 +10,7 @@
"type": "TsInterfaceDeclaration",
"span": {
"start": 0,
"end": 45,
"end": 43,
"ctxt": 0
},
"id": {
@ -30,23 +30,23 @@
"type": "TsInterfaceBody",
"span": {
"start": 17,
"end": 45,
"end": 43,
"ctxt": 0
},
"body": [
{
"type": "TsMethodSignature",
"span": {
"start": 24,
"end": 42,
"start": 23,
"end": 41,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 24,
"end": 31,
"start": 23,
"end": 30,
"ctxt": 0
},
"value": "doStuff",
@ -58,15 +58,15 @@
"typeAnn": {
"type": "TsTypeAnnotation",
"span": {
"start": 33,
"end": 41,
"start": 32,
"end": 40,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 35,
"end": 41,
"start": 34,
"end": 40,
"ctxt": 0
},
"kind": "string"
@ -80,15 +80,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 49,
"end": 306,
"start": 45,
"end": 295,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 59,
"end": 68,
"start": 55,
"end": 64,
"ctxt": 0
},
"value": "NotNumber",
@ -100,24 +100,24 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 69,
"end": 306,
"start": 65,
"end": 295,
"ctxt": 0
},
"body": [
{
"type": "TsMethodSignature",
"span": {
"start": 76,
"end": 109,
"start": 71,
"end": 104,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 76,
"end": 84,
"start": 71,
"end": 79,
"ctxt": 0
},
"value": "toString",
@ -129,8 +129,8 @@
{
"type": "Identifier",
"span": {
"start": 85,
"end": 99,
"start": 80,
"end": 94,
"ctxt": 0
},
"value": "radix",
@ -138,15 +138,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 91,
"end": 99,
"start": 86,
"end": 94,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 93,
"end": 99,
"start": 88,
"end": 94,
"ctxt": 0
},
"kind": "number"
@ -157,15 +157,15 @@
"typeAnn": {
"type": "TsTypeAnnotation",
"span": {
"start": 100,
"end": 108,
"start": 95,
"end": 103,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 102,
"end": 108,
"start": 97,
"end": 103,
"ctxt": 0
},
"kind": "string"
@ -176,16 +176,16 @@
{
"type": "TsMethodSignature",
"span": {
"start": 115,
"end": 156,
"start": 109,
"end": 150,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 115,
"end": 122,
"start": 109,
"end": 116,
"ctxt": 0
},
"value": "toFixed",
@ -197,8 +197,8 @@
{
"type": "Identifier",
"span": {
"start": 123,
"end": 146,
"start": 117,
"end": 140,
"ctxt": 0
},
"value": "fractionDigits",
@ -206,15 +206,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 138,
"end": 146,
"start": 132,
"end": 140,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 140,
"end": 146,
"start": 134,
"end": 140,
"ctxt": 0
},
"kind": "number"
@ -225,15 +225,15 @@
"typeAnn": {
"type": "TsTypeAnnotation",
"span": {
"start": 147,
"end": 155,
"start": 141,
"end": 149,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 149,
"end": 155,
"start": 143,
"end": 149,
"ctxt": 0
},
"kind": "string"
@ -244,16 +244,16 @@
{
"type": "TsMethodSignature",
"span": {
"start": 162,
"end": 209,
"start": 155,
"end": 202,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 162,
"end": 175,
"start": 155,
"end": 168,
"ctxt": 0
},
"value": "toExponential",
@ -265,8 +265,8 @@
{
"type": "Identifier",
"span": {
"start": 176,
"end": 199,
"start": 169,
"end": 192,
"ctxt": 0
},
"value": "fractionDigits",
@ -274,15 +274,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 191,
"end": 199,
"start": 184,
"end": 192,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 193,
"end": 199,
"start": 186,
"end": 192,
"ctxt": 0
},
"kind": "number"
@ -293,15 +293,15 @@
"typeAnn": {
"type": "TsTypeAnnotation",
"span": {
"start": 200,
"end": 208,
"start": 193,
"end": 201,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 202,
"end": 208,
"start": 195,
"end": 201,
"ctxt": 0
},
"kind": "string"
@ -312,16 +312,16 @@
{
"type": "TsMethodSignature",
"span": {
"start": 215,
"end": 255,
"start": 207,
"end": 247,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 215,
"end": 226,
"start": 207,
"end": 218,
"ctxt": 0
},
"value": "toPrecision",
@ -333,8 +333,8 @@
{
"type": "Identifier",
"span": {
"start": 227,
"end": 245,
"start": 219,
"end": 237,
"ctxt": 0
},
"value": "precision",
@ -342,15 +342,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 237,
"end": 245,
"start": 229,
"end": 237,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 239,
"end": 245,
"start": 231,
"end": 237,
"ctxt": 0
},
"kind": "number"
@ -361,15 +361,15 @@
"typeAnn": {
"type": "TsTypeAnnotation",
"span": {
"start": 246,
"end": 254,
"start": 238,
"end": 246,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 248,
"end": 254,
"start": 240,
"end": 246,
"ctxt": 0
},
"kind": "string"
@ -380,16 +380,16 @@
{
"type": "TsMethodSignature",
"span": {
"start": 261,
"end": 279,
"start": 252,
"end": 270,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 261,
"end": 268,
"start": 252,
"end": 259,
"ctxt": 0
},
"value": "valueOf",
@ -401,15 +401,15 @@
"typeAnn": {
"type": "TsTypeAnnotation",
"span": {
"start": 270,
"end": 278,
"start": 261,
"end": 269,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 272,
"end": 278,
"start": 263,
"end": 269,
"ctxt": 0
},
"kind": "number"
@ -420,16 +420,16 @@
{
"type": "TsMethodSignature",
"span": {
"start": 285,
"end": 303,
"start": 275,
"end": 293,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 285,
"end": 292,
"start": 275,
"end": 282,
"ctxt": 0
},
"value": "doStuff",
@ -441,15 +441,15 @@
"typeAnn": {
"type": "TsTypeAnnotation",
"span": {
"start": 294,
"end": 302,
"start": 284,
"end": 292,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 296,
"end": 302,
"start": 286,
"end": 292,
"ctxt": 0
},
"kind": "string"
@ -463,8 +463,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 310,
"end": 320,
"start": 297,
"end": 307,
"ctxt": 0
},
"kind": "var",
@ -473,15 +473,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 314,
"end": 319,
"start": 301,
"end": 306,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 314,
"end": 315,
"start": 301,
"end": 302,
"ctxt": 0
},
"value": "x",
@ -491,8 +491,8 @@
"init": {
"type": "NumericLiteral",
"span": {
"start": 318,
"end": 319,
"start": 305,
"end": 306,
"ctxt": 0
},
"value": 1.0
@ -504,8 +504,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 322,
"end": 336,
"start": 308,
"end": 322,
"ctxt": 0
},
"kind": "var",
@ -514,15 +514,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 326,
"end": 335,
"start": 312,
"end": 321,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 326,
"end": 327,
"start": 312,
"end": 313,
"ctxt": 0
},
"value": "a",
@ -530,22 +530,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 327,
"end": 335,
"start": 313,
"end": 321,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 329,
"end": 335,
"start": 315,
"end": 321,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 329,
"end": 335,
"start": 315,
"end": 321,
"ctxt": 0
},
"value": "Number",
@ -563,8 +563,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 338,
"end": 355,
"start": 323,
"end": 340,
"ctxt": 0
},
"kind": "var",
@ -573,15 +573,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 342,
"end": 354,
"start": 327,
"end": 339,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 342,
"end": 343,
"start": 327,
"end": 328,
"ctxt": 0
},
"value": "b",
@ -589,22 +589,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 343,
"end": 354,
"start": 328,
"end": 339,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 345,
"end": 354,
"start": 330,
"end": 339,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 345,
"end": 354,
"start": 330,
"end": 339,
"ctxt": 0
},
"value": "NotNumber",
@ -619,6 +619,82 @@
}
]
},
{
"type": "ExpressionStatement",
"span": {
"start": 342,
"end": 348,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 342,
"end": 347,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 342,
"end": 343,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 346,
"end": 347,
"ctxt": 0
},
"value": "x",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 350,
"end": 356,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 350,
"end": 355,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 350,
"end": 351,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 354,
"end": 355,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
@ -641,7 +717,7 @@
"end": 360,
"ctxt": 0
},
"value": "a",
"value": "b",
"optional": false,
"typeAnnotation": null
},
@ -652,6 +728,44 @@
"end": 364,
"ctxt": 0
},
"value": "a",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 367,
"end": 373,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 367,
"end": 372,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 367,
"end": 368,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 371,
"end": 372,
"ctxt": 0
},
"value": "x",
"optional": false
}
@ -660,72 +774,34 @@
{
"type": "ExpressionStatement",
"span": {
"start": 368,
"end": 374,
"start": 376,
"end": 382,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 368,
"end": 373,
"start": 376,
"end": 381,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 368,
"end": 369,
"start": 376,
"end": 377,
"ctxt": 0
},
"value": "a",
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 372,
"end": 373,
"ctxt": 0
},
"value": "b",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 379,
"end": 385,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 379,
"end": 384,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 379,
"end": 380,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 383,
"end": 384,
"start": 380,
"end": 381,
"ctxt": 0
},
"value": "a",
@ -736,61 +812,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 388,
"end": 394,
"start": 401,
"end": 407,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 388,
"end": 393,
"start": 401,
"end": 406,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 388,
"end": 389,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 392,
"end": 393,
"ctxt": 0
},
"value": "x",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 399,
"end": 405,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 399,
"end": 404,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 399,
"end": 400,
"start": 401,
"end": 402,
"ctxt": 0
},
"value": "x",
@ -800,46 +838,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 403,
"end": 404,
"ctxt": 0
},
"value": "a",
"optional": false
}
}
},
{
"type": "ExpressionStatement",
"span": {
"start": 425,
"end": 431,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 425,
"end": 430,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 425,
"end": 426,
"ctxt": 0
},
"value": "x",
"optional": false,
"typeAnnotation": null
},
"right": {
"type": "Identifier",
"span": {
"start": 429,
"end": 430,
"start": 405,
"end": 406,
"ctxt": 0
},
"value": "b",

View File

@ -2,7 +2,7 @@
"type": "Script",
"span": {
"start": 0,
"end": 43,
"end": 40,
"ctxt": 0
},
"body": [
@ -55,8 +55,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 13,
"end": 27,
"start": 12,
"end": 26,
"ctxt": 0
},
"kind": "var",
@ -65,15 +65,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 17,
"end": 26,
"start": 16,
"end": 25,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 17,
"end": 18,
"start": 16,
"end": 17,
"ctxt": 0
},
"value": "a",
@ -81,22 +81,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 18,
"end": 26,
"start": 17,
"end": 25,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 20,
"end": 26,
"start": 19,
"end": 25,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 20,
"end": 26,
"start": 19,
"end": 25,
"ctxt": 0
},
"value": "String",
@ -114,23 +114,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 29,
"end": 35,
"start": 27,
"end": 33,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 29,
"end": 34,
"start": 27,
"end": 32,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 29,
"end": 30,
"start": 27,
"end": 28,
"ctxt": 0
},
"value": "x",
@ -140,8 +140,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 33,
"end": 34,
"start": 31,
"end": 32,
"ctxt": 0
},
"value": "a",
@ -152,23 +152,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 37,
"end": 43,
"start": 34,
"end": 40,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 37,
"end": 42,
"start": 34,
"end": 39,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 37,
"end": 38,
"start": 34,
"end": 35,
"ctxt": 0
},
"value": "a",
@ -178,8 +178,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 41,
"end": 42,
"start": 38,
"end": 39,
"ctxt": 0
},
"value": "x",

View File

@ -2,7 +2,7 @@
"type": "Script",
"span": {
"start": 0,
"end": 66,
"end": 62,
"ctxt": 0
},
"body": [
@ -50,8 +50,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 13,
"end": 34,
"start": 12,
"end": 33,
"ctxt": 0
},
"kind": "var",
@ -60,15 +60,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 17,
"end": 33,
"start": 16,
"end": 32,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 17,
"end": 18,
"start": 16,
"end": 17,
"ctxt": 0
},
"value": "y",
@ -78,8 +78,8 @@
"init": {
"type": "ObjectExpression",
"span": {
"start": 21,
"end": 33,
"start": 20,
"end": 32,
"ctxt": 0
},
"properties": [
@ -88,8 +88,8 @@
"key": {
"type": "Identifier",
"span": {
"start": 22,
"end": 25,
"start": 21,
"end": 24,
"ctxt": 0
},
"value": "foo",
@ -98,8 +98,8 @@
"value": {
"type": "StringLiteral",
"span": {
"start": 27,
"end": 32,
"start": 26,
"end": 31,
"ctxt": 0
},
"value": "bar",
@ -119,8 +119,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 36,
"end": 50,
"start": 34,
"end": 48,
"ctxt": 0
},
"kind": "var",
@ -129,15 +129,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 40,
"end": 49,
"start": 38,
"end": 47,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 40,
"end": 41,
"start": 38,
"end": 39,
"ctxt": 0
},
"value": "a",
@ -145,15 +145,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 41,
"end": 49,
"start": 39,
"end": 47,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 43,
"end": 49,
"start": 41,
"end": 47,
"ctxt": 0
},
"kind": "object"
@ -168,23 +168,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 52,
"end": 58,
"start": 49,
"end": 55,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 52,
"end": 57,
"start": 49,
"end": 54,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 52,
"end": 53,
"start": 49,
"end": 50,
"ctxt": 0
},
"value": "a",
@ -194,8 +194,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 56,
"end": 57,
"start": 53,
"end": 54,
"ctxt": 0
},
"value": "x",
@ -206,23 +206,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 60,
"end": 66,
"start": 56,
"end": 62,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 60,
"end": 65,
"start": 56,
"end": 61,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 60,
"end": 61,
"start": 56,
"end": 57,
"ctxt": 0
},
"value": "a",
@ -232,8 +232,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 64,
"end": 65,
"start": 60,
"end": 61,
"ctxt": 0
},
"value": "y",

View File

@ -1,16 +1,16 @@
{
"type": "Script",
"span": {
"start": 115,
"end": 237,
"start": 113,
"end": 231,
"ctxt": 0
},
"body": [
{
"type": "VariableDeclaration",
"span": {
"start": 115,
"end": 163,
"start": 113,
"end": 161,
"ctxt": 0
},
"kind": "var",
@ -19,15 +19,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 119,
"end": 163,
"start": 117,
"end": 161,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 119,
"end": 120,
"start": 117,
"end": 118,
"ctxt": 0
},
"value": "f",
@ -35,23 +35,23 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 120,
"end": 163,
"start": 118,
"end": 161,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 122,
"end": 163,
"start": 120,
"end": 161,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 150,
"end": 154,
"start": 148,
"end": 152,
"ctxt": 0
},
"value": "x",
@ -59,22 +59,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 151,
"end": 154,
"start": 149,
"end": 152,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 153,
"end": 154,
"start": 151,
"end": 152,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 153,
"end": 154,
"start": 151,
"end": 152,
"ctxt": 0
},
"value": "S",
@ -88,23 +88,23 @@
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 122,
"end": 149,
"start": 120,
"end": 147,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 123,
"end": 148,
"start": 121,
"end": 146,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 123,
"end": 124,
"start": 121,
"end": 122,
"ctxt": 0
},
"value": "S",
@ -113,31 +113,31 @@
"constraint": {
"type": "TsArrayType",
"span": {
"start": 133,
"end": 148,
"start": 131,
"end": 146,
"ctxt": 0
},
"elemType": {
"type": "TsTypeLiteral",
"span": {
"start": 133,
"end": 146,
"start": 131,
"end": 144,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 135,
"end": 144,
"start": 133,
"end": 142,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 135,
"end": 136,
"start": 133,
"end": 134,
"ctxt": 0
},
"value": "p",
@ -150,15 +150,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 136,
"end": 144,
"start": 134,
"end": 142,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 138,
"end": 144,
"start": 136,
"end": 142,
"ctxt": 0
},
"kind": "string"
@ -176,15 +176,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 156,
"end": 163,
"start": 154,
"end": 161,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 159,
"end": 163,
"start": 157,
"end": 161,
"ctxt": 0
},
"kind": "void"
@ -201,8 +201,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 165,
"end": 213,
"start": 162,
"end": 210,
"ctxt": 0
},
"kind": "var",
@ -211,15 +211,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 169,
"end": 213,
"start": 166,
"end": 210,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 169,
"end": 170,
"start": 166,
"end": 167,
"ctxt": 0
},
"value": "g",
@ -227,23 +227,23 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 170,
"end": 213,
"start": 167,
"end": 210,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 172,
"end": 213,
"start": 169,
"end": 210,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 198,
"end": 204,
"start": 195,
"end": 201,
"ctxt": 0
},
"value": "x",
@ -251,29 +251,29 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 199,
"end": 204,
"start": 196,
"end": 201,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 201,
"end": 204,
"start": 198,
"end": 201,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 201,
"end": 202,
"start": 198,
"end": 199,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 201,
"end": 202,
"start": 198,
"end": 199,
"ctxt": 0
},
"value": "T",
@ -288,23 +288,23 @@
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 172,
"end": 197,
"start": 169,
"end": 194,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 173,
"end": 196,
"start": 170,
"end": 193,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 173,
"end": 174,
"start": 170,
"end": 171,
"ctxt": 0
},
"value": "T",
@ -313,24 +313,24 @@
"constraint": {
"type": "TsTypeLiteral",
"span": {
"start": 183,
"end": 196,
"start": 180,
"end": 193,
"ctxt": 0
},
"members": [
{
"type": "TsPropertySignature",
"span": {
"start": 185,
"end": 194,
"start": 182,
"end": 191,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 185,
"end": 186,
"start": 182,
"end": 183,
"ctxt": 0
},
"value": "p",
@ -343,15 +343,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 186,
"end": 194,
"start": 183,
"end": 191,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 188,
"end": 194,
"start": 185,
"end": 191,
"ctxt": 0
},
"kind": "string"
@ -368,15 +368,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 206,
"end": 213,
"start": 203,
"end": 210,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 209,
"end": 213,
"start": 206,
"end": 210,
"ctxt": 0
},
"kind": "void"
@ -393,23 +393,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 217,
"end": 223,
"start": 212,
"end": 218,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 217,
"end": 222,
"start": 212,
"end": 217,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 217,
"end": 218,
"start": 212,
"end": 213,
"ctxt": 0
},
"value": "f",
@ -419,8 +419,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 221,
"end": 222,
"start": 216,
"end": 217,
"ctxt": 0
},
"value": "g",
@ -431,23 +431,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 231,
"end": 237,
"start": 225,
"end": 231,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 231,
"end": 236,
"start": 225,
"end": 230,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 231,
"end": 232,
"start": 225,
"end": 226,
"ctxt": 0
},
"value": "g",
@ -457,8 +457,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 235,
"end": 236,
"start": 229,
"end": 230,
"ctxt": 0
},
"value": "f",

View File

@ -1,23 +1,23 @@
{
"type": "Script",
"span": {
"start": 107,
"end": 267,
"start": 105,
"end": 252,
"ctxt": 0
},
"body": [
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 107,
"end": 157,
"start": 105,
"end": 153,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 117,
"end": 118,
"start": 115,
"end": 116,
"ctxt": 0
},
"value": "A",
@ -29,24 +29,24 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 119,
"end": 157,
"start": 117,
"end": 153,
"ctxt": 0
},
"body": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 126,
"end": 154,
"start": 123,
"end": 151,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 130,
"end": 134,
"start": 127,
"end": 131,
"ctxt": 0
},
"value": "x",
@ -54,22 +54,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 131,
"end": 134,
"start": 128,
"end": 131,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 133,
"end": 134,
"start": 130,
"end": 131,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 133,
"end": 134,
"start": 130,
"end": 131,
"ctxt": 0
},
"value": "T",
@ -82,20 +82,20 @@
{
"type": "RestElement",
"span": {
"start": 136,
"end": 147,
"start": 133,
"end": 144,
"ctxt": 0
},
"rest": {
"start": 136,
"end": 139,
"start": 133,
"end": 136,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 139,
"end": 140,
"start": 136,
"end": 137,
"ctxt": 0
},
"value": "y",
@ -105,36 +105,36 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 140,
"end": 147,
"start": 137,
"end": 144,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 142,
"end": 147,
"start": 139,
"end": 144,
"ctxt": 0
},
"elemType": {
"type": "TsArrayType",
"span": {
"start": 142,
"end": 145,
"start": 139,
"end": 142,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 142,
"end": 143,
"start": 139,
"end": 140,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 142,
"end": 143,
"start": 139,
"end": 140,
"ctxt": 0
},
"value": "T",
@ -150,15 +150,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 148,
"end": 154,
"start": 145,
"end": 151,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 150,
"end": 154,
"start": 147,
"end": 151,
"ctxt": 0
},
"kind": "void"
@ -167,23 +167,23 @@
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 126,
"end": 129,
"start": 123,
"end": 126,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 127,
"end": 128,
"start": 124,
"end": 125,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 127,
"end": 128,
"start": 124,
"end": 125,
"ctxt": 0
},
"value": "T",
@ -201,15 +201,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 161,
"end": 209,
"start": 155,
"end": 201,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 171,
"end": 172,
"start": 165,
"end": 166,
"ctxt": 0
},
"value": "B",
@ -221,24 +221,24 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 173,
"end": 209,
"start": 167,
"end": 201,
"ctxt": 0
},
"body": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 180,
"end": 206,
"start": 173,
"end": 199,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 184,
"end": 188,
"start": 177,
"end": 181,
"ctxt": 0
},
"value": "x",
@ -246,22 +246,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 185,
"end": 188,
"start": 178,
"end": 181,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 187,
"end": 188,
"start": 180,
"end": 181,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 187,
"end": 188,
"start": 180,
"end": 181,
"ctxt": 0
},
"value": "S",
@ -274,20 +274,20 @@
{
"type": "RestElement",
"span": {
"start": 190,
"end": 199,
"start": 183,
"end": 192,
"ctxt": 0
},
"rest": {
"start": 190,
"end": 193,
"start": 183,
"end": 186,
"ctxt": 0
},
"argument": {
"type": "Identifier",
"span": {
"start": 193,
"end": 194,
"start": 186,
"end": 187,
"ctxt": 0
},
"value": "y",
@ -297,29 +297,29 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 194,
"end": 199,
"start": 187,
"end": 192,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsArrayType",
"span": {
"start": 196,
"end": 199,
"start": 189,
"end": 192,
"ctxt": 0
},
"elemType": {
"type": "TsTypeReference",
"span": {
"start": 196,
"end": 197,
"start": 189,
"end": 190,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 196,
"end": 197,
"start": 189,
"end": 190,
"ctxt": 0
},
"value": "S",
@ -334,15 +334,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 200,
"end": 206,
"start": 193,
"end": 199,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 202,
"end": 206,
"start": 195,
"end": 199,
"ctxt": 0
},
"kind": "void"
@ -351,23 +351,23 @@
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 180,
"end": 183,
"start": 173,
"end": 176,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 181,
"end": 182,
"start": 174,
"end": 175,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 181,
"end": 182,
"start": 174,
"end": 175,
"ctxt": 0
},
"value": "S",
@ -382,6 +382,65 @@
]
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 203,
"end": 212,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 207,
"end": 211,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 207,
"end": 208,
"ctxt": 0
},
"value": "a",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 208,
"end": 211,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 210,
"end": 211,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 210,
"end": 211,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
@ -406,7 +465,7 @@
"end": 218,
"ctxt": 0
},
"value": "a",
"value": "b",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
@ -429,65 +488,6 @@
"end": 221,
"ctxt": 0
},
"value": "A",
"optional": false
},
"typeParams": null
}
}
},
"init": null,
"definite": false
}
]
},
{
"type": "VariableDeclaration",
"span": {
"start": 224,
"end": 233,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 228,
"end": 232,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 228,
"end": 229,
"ctxt": 0
},
"value": "b",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 229,
"end": 232,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 231,
"end": 232,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 231,
"end": 232,
"ctxt": 0
},
"value": "B",
"optional": false
},
@ -503,23 +503,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 253,
"end": 259,
"start": 239,
"end": 245,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 253,
"end": 258,
"start": 239,
"end": 244,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 253,
"end": 254,
"start": 239,
"end": 240,
"ctxt": 0
},
"value": "a",
@ -529,8 +529,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 257,
"end": 258,
"start": 243,
"end": 244,
"ctxt": 0
},
"value": "b",
@ -541,23 +541,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 261,
"end": 267,
"start": 246,
"end": 252,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 261,
"end": 266,
"start": 246,
"end": 251,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 261,
"end": 262,
"start": 246,
"end": 247,
"ctxt": 0
},
"value": "b",
@ -567,8 +567,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 265,
"end": 266,
"start": 250,
"end": 251,
"ctxt": 0
},
"value": "a",

View File

@ -1,23 +1,23 @@
{
"type": "Script",
"span": {
"start": 69,
"end": 328,
"start": 67,
"end": 317,
"ctxt": 0
},
"body": [
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 69,
"end": 99,
"start": 67,
"end": 95,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 79,
"end": 81,
"start": 77,
"end": 79,
"ctxt": 0
},
"value": "I2",
@ -27,23 +27,23 @@
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 81,
"end": 84,
"start": 79,
"end": 82,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 82,
"end": 83,
"start": 80,
"end": 81,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 82,
"end": 83,
"start": 80,
"end": 81,
"ctxt": 0
},
"value": "T",
@ -58,24 +58,24 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 85,
"end": 99,
"start": 83,
"end": 95,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 92,
"end": 96,
"start": 89,
"end": 93,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 92,
"end": 93,
"start": 89,
"end": 90,
"ctxt": 0
},
"value": "p",
@ -88,22 +88,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 93,
"end": 96,
"start": 90,
"end": 93,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 95,
"end": 96,
"start": 92,
"end": 93,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 95,
"end": 96,
"start": 92,
"end": 93,
"ctxt": 0
},
"value": "T",
@ -120,8 +120,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 103,
"end": 141,
"start": 97,
"end": 135,
"ctxt": 0
},
"kind": "var",
@ -130,15 +130,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 107,
"end": 141,
"start": 101,
"end": 135,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 107,
"end": 108,
"start": 101,
"end": 102,
"ctxt": 0
},
"value": "x",
@ -146,23 +146,23 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 108,
"end": 141,
"start": 102,
"end": 135,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 110,
"end": 141,
"start": 104,
"end": 135,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 128,
"end": 132,
"start": 122,
"end": 126,
"ctxt": 0
},
"value": "z",
@ -170,22 +170,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 129,
"end": 132,
"start": 123,
"end": 126,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 131,
"end": 132,
"start": 125,
"end": 126,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 131,
"end": 132,
"start": 125,
"end": 126,
"ctxt": 0
},
"value": "T",
@ -199,23 +199,23 @@
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 110,
"end": 127,
"start": 104,
"end": 121,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 111,
"end": 126,
"start": 105,
"end": 120,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 111,
"end": 112,
"start": 105,
"end": 106,
"ctxt": 0
},
"value": "T",
@ -224,15 +224,15 @@
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 121,
"end": 126,
"start": 115,
"end": 120,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 121,
"end": 123,
"start": 115,
"end": 117,
"ctxt": 0
},
"value": "I2",
@ -241,23 +241,23 @@
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 123,
"end": 126,
"start": 117,
"end": 120,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 124,
"end": 125,
"start": 118,
"end": 119,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 124,
"end": 125,
"start": 118,
"end": 119,
"ctxt": 0
},
"value": "T",
@ -275,15 +275,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 134,
"end": 141,
"start": 128,
"end": 135,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 137,
"end": 141,
"start": 131,
"end": 135,
"ctxt": 0
},
"kind": "void"
@ -300,8 +300,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 143,
"end": 185,
"start": 136,
"end": 178,
"ctxt": 0
},
"kind": "var",
@ -310,15 +310,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 147,
"end": 185,
"start": 140,
"end": 178,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 147,
"end": 148,
"start": 140,
"end": 141,
"ctxt": 0
},
"value": "y",
@ -326,23 +326,23 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 148,
"end": 185,
"start": 141,
"end": 178,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsFunctionType",
"span": {
"start": 150,
"end": 185,
"start": 143,
"end": 178,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 172,
"end": 176,
"start": 165,
"end": 169,
"ctxt": 0
},
"value": "z",
@ -350,22 +350,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 173,
"end": 176,
"start": 166,
"end": 169,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 175,
"end": 176,
"start": 168,
"end": 169,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 175,
"end": 176,
"start": 168,
"end": 169,
"ctxt": 0
},
"value": "T",
@ -379,23 +379,23 @@
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 150,
"end": 171,
"start": 143,
"end": 164,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 151,
"end": 170,
"start": 144,
"end": 163,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 151,
"end": 152,
"start": 144,
"end": 145,
"ctxt": 0
},
"value": "T",
@ -404,15 +404,15 @@
"constraint": {
"type": "TsTypeReference",
"span": {
"start": 161,
"end": 170,
"start": 154,
"end": 163,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 161,
"end": 163,
"start": 154,
"end": 156,
"ctxt": 0
},
"value": "I2",
@ -421,23 +421,23 @@
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 163,
"end": 170,
"start": 156,
"end": 163,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 164,
"end": 169,
"start": 157,
"end": 162,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 164,
"end": 166,
"start": 157,
"end": 159,
"ctxt": 0
},
"value": "I2",
@ -446,23 +446,23 @@
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 166,
"end": 169,
"start": 159,
"end": 162,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 167,
"end": 168,
"start": 160,
"end": 161,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 167,
"end": 168,
"start": 160,
"end": 161,
"ctxt": 0
},
"value": "T",
@ -483,15 +483,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 178,
"end": 185,
"start": 171,
"end": 178,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 181,
"end": 185,
"start": 174,
"end": 178,
"ctxt": 0
},
"kind": "void"
@ -508,23 +508,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 315,
"end": 320,
"start": 305,
"end": 310,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 315,
"end": 320,
"start": 305,
"end": 310,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 315,
"end": 316,
"start": 305,
"end": 306,
"ctxt": 0
},
"value": "x",
@ -534,8 +534,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 319,
"end": 320,
"start": 309,
"end": 310,
"ctxt": 0
},
"value": "y",
@ -546,23 +546,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 323,
"end": 328,
"start": 312,
"end": 317,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 323,
"end": 328,
"start": 312,
"end": 317,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 323,
"end": 324,
"start": 312,
"end": 313,
"ctxt": 0
},
"value": "y",
@ -572,8 +572,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 327,
"end": 328,
"start": 316,
"end": 317,
"ctxt": 0
},
"value": "x",

View File

@ -2,7 +2,7 @@
"type": "Script",
"span": {
"start": 0,
"end": 122,
"end": 109,
"ctxt": 0
},
"body": [
@ -21,7 +21,7 @@
"declare": false,
"span": {
"start": 0,
"end": 30,
"end": 28,
"ctxt": 0
},
"decorators": [],
@ -29,15 +29,15 @@
{
"type": "ClassProperty",
"span": {
"start": 15,
"end": 27,
"start": 14,
"end": 26,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 15,
"end": 18,
"start": 14,
"end": 17,
"ctxt": 0
},
"value": "foo",
@ -47,15 +47,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 18,
"end": 26,
"start": 17,
"end": 25,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 20,
"end": 26,
"start": 19,
"end": 25,
"ctxt": 0
},
"kind": "string"
@ -81,8 +81,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 34,
"end": 43,
"start": 30,
"end": 39,
"ctxt": 0
},
"kind": "var",
@ -91,15 +91,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 38,
"end": 42,
"start": 34,
"end": 38,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 38,
"end": 39,
"start": 34,
"end": 35,
"ctxt": 0
},
"value": "c",
@ -107,22 +107,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 39,
"end": 42,
"start": 35,
"end": 38,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 41,
"end": 42,
"start": 37,
"end": 38,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 41,
"end": 42,
"start": 37,
"end": 38,
"ctxt": 0
},
"value": "C",
@ -140,15 +140,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 47,
"end": 82,
"start": 41,
"end": 74,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 57,
"end": 58,
"start": 51,
"end": 52,
"ctxt": 0
},
"value": "I",
@ -160,24 +160,24 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 59,
"end": 82,
"start": 53,
"end": 74,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 66,
"end": 79,
"start": 59,
"end": 72,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 66,
"end": 70,
"start": 59,
"end": 63,
"ctxt": 0
},
"value": "fooo",
@ -190,15 +190,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 70,
"end": 78,
"start": 63,
"end": 71,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 72,
"end": 78,
"start": 65,
"end": 71,
"ctxt": 0
},
"kind": "string"
@ -212,8 +212,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 86,
"end": 95,
"start": 76,
"end": 85,
"ctxt": 0
},
"kind": "var",
@ -222,15 +222,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 90,
"end": 94,
"start": 80,
"end": 84,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 90,
"end": 91,
"start": 80,
"end": 81,
"ctxt": 0
},
"value": "i",
@ -238,22 +238,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 91,
"end": 94,
"start": 81,
"end": 84,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 93,
"end": 94,
"start": 83,
"end": 84,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 93,
"end": 94,
"start": 83,
"end": 84,
"ctxt": 0
},
"value": "I",
@ -271,23 +271,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 99,
"end": 105,
"start": 87,
"end": 93,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 99,
"end": 104,
"start": 87,
"end": 92,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 99,
"end": 100,
"start": 87,
"end": 88,
"ctxt": 0
},
"value": "c",
@ -297,8 +297,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 103,
"end": 104,
"start": 91,
"end": 92,
"ctxt": 0
},
"value": "i",
@ -309,23 +309,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 116,
"end": 122,
"start": 103,
"end": 109,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 116,
"end": 121,
"start": 103,
"end": 108,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 116,
"end": 117,
"start": 103,
"end": 104,
"ctxt": 0
},
"value": "i",
@ -335,8 +335,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 120,
"end": 121,
"start": 107,
"end": 108,
"ctxt": 0
},
"value": "c",

View File

@ -2,7 +2,7 @@
"type": "Script",
"span": {
"start": 0,
"end": 280,
"end": 260,
"ctxt": 0
},
"body": [
@ -65,15 +65,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 21,
"end": 40,
"start": 20,
"end": 39,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 31,
"end": 34,
"start": 30,
"end": 33,
"ctxt": 0
},
"value": "Bar",
@ -85,24 +85,24 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 35,
"end": 40,
"start": 34,
"end": 39,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 37,
"end": 38,
"start": 36,
"end": 37,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 37,
"end": 38,
"start": 36,
"end": 37,
"ctxt": 0
},
"value": "b",
@ -121,15 +121,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 44,
"end": 88,
"start": 41,
"end": 83,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 54,
"end": 60,
"start": 51,
"end": 57,
"ctxt": 0
},
"value": "Object",
@ -141,8 +141,8 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 61,
"end": 88,
"start": 58,
"end": 83,
"ctxt": 0
},
"body": [
@ -152,8 +152,8 @@
{
"type": "Identifier",
"span": {
"start": 69,
"end": 78,
"start": 65,
"end": 74,
"ctxt": 0
},
"value": "n",
@ -161,15 +161,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 70,
"end": 78,
"start": 66,
"end": 74,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 72,
"end": 78,
"start": 68,
"end": 74,
"ctxt": 0
},
"kind": "number"
@ -180,22 +180,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 79,
"end": 84,
"start": 75,
"end": 80,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 81,
"end": 84,
"start": 77,
"end": 80,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 81,
"end": 84,
"start": 77,
"end": 80,
"ctxt": 0
},
"value": "Foo",
@ -207,8 +207,8 @@
"readonly": false,
"static": false,
"span": {
"start": 68,
"end": 85,
"start": 64,
"end": 81,
"ctxt": 0
}
}
@ -218,15 +218,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 92,
"end": 138,
"start": 85,
"end": 129,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 102,
"end": 110,
"start": 95,
"end": 103,
"ctxt": 0
},
"value": "Function",
@ -238,8 +238,8 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 111,
"end": 138,
"start": 104,
"end": 129,
"ctxt": 0
},
"body": [
@ -249,8 +249,8 @@
{
"type": "Identifier",
"span": {
"start": 119,
"end": 128,
"start": 111,
"end": 120,
"ctxt": 0
},
"value": "n",
@ -258,15 +258,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 120,
"end": 128,
"start": 112,
"end": 120,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 122,
"end": 128,
"start": 114,
"end": 120,
"ctxt": 0
},
"kind": "number"
@ -277,22 +277,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 129,
"end": 134,
"start": 121,
"end": 126,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 131,
"end": 134,
"start": 123,
"end": 126,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 131,
"end": 134,
"start": 123,
"end": 126,
"ctxt": 0
},
"value": "Bar",
@ -304,8 +304,8 @@
"readonly": false,
"static": false,
"span": {
"start": 118,
"end": 135,
"start": 110,
"end": 127,
"ctxt": 0
}
}
@ -315,8 +315,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 142,
"end": 153,
"start": 131,
"end": 142,
"ctxt": 0
},
"kind": "var",
@ -325,15 +325,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 146,
"end": 152,
"start": 135,
"end": 141,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 146,
"end": 147,
"start": 135,
"end": 136,
"ctxt": 0
},
"value": "o",
@ -343,8 +343,8 @@
"init": {
"type": "ObjectExpression",
"span": {
"start": 150,
"end": 152,
"start": 139,
"end": 141,
"ctxt": 0
},
"properties": []
@ -356,8 +356,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 155,
"end": 173,
"start": 143,
"end": 161,
"ctxt": 0
},
"kind": "var",
@ -366,15 +366,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 159,
"end": 172,
"start": 147,
"end": 160,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 159,
"end": 160,
"start": 147,
"end": 148,
"ctxt": 0
},
"value": "f",
@ -384,16 +384,16 @@
"init": {
"type": "ArrowFunctionExpression",
"span": {
"start": 163,
"end": 172,
"start": 151,
"end": 160,
"ctxt": 0
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 169,
"end": 172,
"start": 157,
"end": 160,
"ctxt": 0
},
"stmts": []
@ -410,8 +410,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 177,
"end": 216,
"start": 163,
"end": 200,
"ctxt": 0
},
"kind": "var",
@ -420,15 +420,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 181,
"end": 215,
"start": 167,
"end": 199,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 181,
"end": 183,
"start": 167,
"end": 169,
"ctxt": 0
},
"value": "v1",
@ -436,15 +436,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 183,
"end": 211,
"start": 169,
"end": 195,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 185,
"end": 211,
"start": 171,
"end": 195,
"ctxt": 0
},
"members": [
@ -454,8 +454,8 @@
{
"type": "Identifier",
"span": {
"start": 193,
"end": 202,
"start": 178,
"end": 187,
"ctxt": 0
},
"value": "n",
@ -463,15 +463,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 194,
"end": 202,
"start": 179,
"end": 187,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 196,
"end": 202,
"start": 181,
"end": 187,
"ctxt": 0
},
"kind": "number"
@ -482,22 +482,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 203,
"end": 208,
"start": 188,
"end": 193,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 205,
"end": 208,
"start": 190,
"end": 193,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 205,
"end": 208,
"start": 190,
"end": 193,
"ctxt": 0
},
"value": "Foo",
@ -509,8 +509,8 @@
"readonly": false,
"static": false,
"span": {
"start": 192,
"end": 208,
"start": 177,
"end": 193,
"ctxt": 0
}
}
@ -521,8 +521,8 @@
"init": {
"type": "Identifier",
"span": {
"start": 214,
"end": 215,
"start": 198,
"end": 199,
"ctxt": 0
},
"value": "o",
@ -535,8 +535,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 241,
"end": 280,
"start": 223,
"end": 260,
"ctxt": 0
},
"kind": "var",
@ -545,15 +545,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 245,
"end": 279,
"start": 227,
"end": 259,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 245,
"end": 247,
"start": 227,
"end": 229,
"ctxt": 0
},
"value": "v2",
@ -561,15 +561,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 247,
"end": 275,
"start": 229,
"end": 255,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 249,
"end": 275,
"start": 231,
"end": 255,
"ctxt": 0
},
"members": [
@ -579,8 +579,8 @@
{
"type": "Identifier",
"span": {
"start": 257,
"end": 266,
"start": 238,
"end": 247,
"ctxt": 0
},
"value": "n",
@ -588,15 +588,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 258,
"end": 266,
"start": 239,
"end": 247,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 260,
"end": 266,
"start": 241,
"end": 247,
"ctxt": 0
},
"kind": "number"
@ -607,22 +607,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 267,
"end": 272,
"start": 248,
"end": 253,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 269,
"end": 272,
"start": 250,
"end": 253,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 269,
"end": 272,
"start": 250,
"end": 253,
"ctxt": 0
},
"value": "Bar",
@ -634,8 +634,8 @@
"readonly": false,
"static": false,
"span": {
"start": 256,
"end": 272,
"start": 237,
"end": 253,
"ctxt": 0
}
}
@ -646,8 +646,8 @@
"init": {
"type": "Identifier",
"span": {
"start": 278,
"end": 279,
"start": 258,
"end": 259,
"ctxt": 0
},
"value": "f",

View File

@ -2,7 +2,7 @@
"type": "Script",
"span": {
"start": 0,
"end": 198,
"end": 186,
"ctxt": 0
},
"body": [
@ -65,15 +65,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 21,
"end": 40,
"start": 20,
"end": 39,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 31,
"end": 34,
"start": 30,
"end": 33,
"ctxt": 0
},
"value": "Bar",
@ -85,24 +85,24 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 35,
"end": 40,
"start": 34,
"end": 39,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 37,
"end": 38,
"start": 36,
"end": 37,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 37,
"end": 38,
"start": 36,
"end": 37,
"ctxt": 0
},
"value": "b",
@ -121,15 +121,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 44,
"end": 88,
"start": 41,
"end": 83,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 54,
"end": 60,
"start": 51,
"end": 57,
"ctxt": 0
},
"value": "Object",
@ -141,8 +141,8 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 61,
"end": 88,
"start": 58,
"end": 83,
"ctxt": 0
},
"body": [
@ -152,8 +152,8 @@
{
"type": "Identifier",
"span": {
"start": 69,
"end": 78,
"start": 65,
"end": 74,
"ctxt": 0
},
"value": "n",
@ -161,15 +161,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 70,
"end": 78,
"start": 66,
"end": 74,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 72,
"end": 78,
"start": 68,
"end": 74,
"ctxt": 0
},
"kind": "number"
@ -180,22 +180,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 79,
"end": 84,
"start": 75,
"end": 80,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 81,
"end": 84,
"start": 77,
"end": 80,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 81,
"end": 84,
"start": 77,
"end": 80,
"ctxt": 0
},
"value": "Foo",
@ -207,8 +207,8 @@
"readonly": false,
"static": false,
"span": {
"start": 68,
"end": 85,
"start": 64,
"end": 81,
"ctxt": 0
}
}
@ -218,15 +218,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 92,
"end": 138,
"start": 85,
"end": 129,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 102,
"end": 110,
"start": 95,
"end": 103,
"ctxt": 0
},
"value": "Function",
@ -238,8 +238,8 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 111,
"end": 138,
"start": 104,
"end": 129,
"ctxt": 0
},
"body": [
@ -249,8 +249,8 @@
{
"type": "Identifier",
"span": {
"start": 119,
"end": 128,
"start": 111,
"end": 120,
"ctxt": 0
},
"value": "n",
@ -258,15 +258,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 120,
"end": 128,
"start": 112,
"end": 120,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 122,
"end": 128,
"start": 114,
"end": 120,
"ctxt": 0
},
"kind": "number"
@ -277,22 +277,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 129,
"end": 134,
"start": 121,
"end": 126,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 131,
"end": 134,
"start": 123,
"end": 126,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 131,
"end": 134,
"start": 123,
"end": 126,
"ctxt": 0
},
"value": "Bar",
@ -304,8 +304,8 @@
"readonly": false,
"static": false,
"span": {
"start": 118,
"end": 135,
"start": 110,
"end": 127,
"ctxt": 0
}
}
@ -315,8 +315,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 142,
"end": 156,
"start": 131,
"end": 145,
"ctxt": 0
},
"kind": "var",
@ -325,15 +325,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 146,
"end": 155,
"start": 135,
"end": 144,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 146,
"end": 147,
"start": 135,
"end": 136,
"ctxt": 0
},
"value": "a",
@ -343,15 +343,15 @@
"init": {
"type": "MemberExpression",
"span": {
"start": 150,
"end": 155,
"start": 139,
"end": 144,
"ctxt": 0
},
"object": {
"type": "ObjectExpression",
"span": {
"start": 150,
"end": 152,
"start": 139,
"end": 141,
"ctxt": 0
},
"properties": []
@ -359,15 +359,15 @@
"property": {
"type": "Computed",
"span": {
"start": 152,
"end": 155,
"start": 141,
"end": 144,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 153,
"end": 154,
"start": 142,
"end": 143,
"ctxt": 0
},
"value": 0.0
@ -381,8 +381,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 175,
"end": 198,
"start": 163,
"end": 186,
"ctxt": 0
},
"kind": "var",
@ -391,15 +391,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 179,
"end": 197,
"start": 167,
"end": 185,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 179,
"end": 180,
"start": 167,
"end": 168,
"ctxt": 0
},
"value": "b",
@ -409,30 +409,30 @@
"init": {
"type": "MemberExpression",
"span": {
"start": 183,
"end": 197,
"start": 171,
"end": 185,
"ctxt": 0
},
"object": {
"type": "ParenthesisExpression",
"span": {
"start": 183,
"end": 194,
"start": 171,
"end": 182,
"ctxt": 0
},
"expression": {
"type": "ArrowFunctionExpression",
"span": {
"start": 184,
"end": 193,
"start": 172,
"end": 181,
"ctxt": 0
},
"params": [],
"body": {
"type": "BlockStatement",
"span": {
"start": 190,
"end": 193,
"start": 178,
"end": 181,
"ctxt": 0
},
"stmts": []
@ -446,15 +446,15 @@
"property": {
"type": "Computed",
"span": {
"start": 194,
"end": 197,
"start": 182,
"end": 185,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 195,
"end": 196,
"start": 183,
"end": 184,
"ctxt": 0
},
"value": 0.0

View File

@ -1,23 +1,23 @@
{
"type": "Script",
"span": {
"start": 44,
"end": 319,
"start": 40,
"end": 308,
"ctxt": 0
},
"body": [
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 44,
"end": 148,
"start": 40,
"end": 142,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 54,
"end": 59,
"start": 50,
"end": 55,
"ctxt": 0
},
"value": "Array",
@ -27,23 +27,23 @@
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 59,
"end": 62,
"start": 55,
"end": 58,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 60,
"end": 61,
"start": 56,
"end": 57,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 60,
"end": 61,
"start": 56,
"end": 57,
"ctxt": 0
},
"value": "T",
@ -58,24 +58,24 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 63,
"end": 148,
"start": 59,
"end": 142,
"ctxt": 0
},
"body": [
{
"type": "TsMethodSignature",
"span": {
"start": 70,
"end": 145,
"start": 65,
"end": 140,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 70,
"end": 83,
"start": 65,
"end": 78,
"ctxt": 0
},
"value": "equalsShallow",
@ -87,8 +87,8 @@
{
"type": "Identifier",
"span": {
"start": 87,
"end": 109,
"start": 82,
"end": 104,
"ctxt": 0
},
"value": "this",
@ -96,22 +96,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 91,
"end": 109,
"start": 86,
"end": 104,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 93,
"end": 109,
"start": 88,
"end": 104,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 93,
"end": 106,
"start": 88,
"end": 101,
"ctxt": 0
},
"value": "ReadonlyArray",
@ -120,23 +120,23 @@
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 106,
"end": 109,
"start": 101,
"end": 104,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 107,
"end": 108,
"start": 102,
"end": 103,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 107,
"end": 108,
"start": 102,
"end": 103,
"ctxt": 0
},
"value": "T",
@ -152,8 +152,8 @@
{
"type": "Identifier",
"span": {
"start": 111,
"end": 134,
"start": 106,
"end": 129,
"ctxt": 0
},
"value": "other",
@ -161,22 +161,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 116,
"end": 134,
"start": 111,
"end": 129,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 118,
"end": 134,
"start": 113,
"end": 129,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 118,
"end": 131,
"start": 113,
"end": 126,
"ctxt": 0
},
"value": "ReadonlyArray",
@ -185,23 +185,23 @@
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 131,
"end": 134,
"start": 126,
"end": 129,
"ctxt": 0
},
"params": [
{
"type": "TsTypeReference",
"span": {
"start": 132,
"end": 133,
"start": 127,
"end": 128,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 132,
"end": 133,
"start": 127,
"end": 128,
"ctxt": 0
},
"value": "T",
@ -218,15 +218,15 @@
"typeAnn": {
"type": "TsTypeAnnotation",
"span": {
"start": 135,
"end": 144,
"start": 130,
"end": 139,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 137,
"end": 144,
"start": 132,
"end": 139,
"ctxt": 0
},
"kind": "boolean"
@ -235,23 +235,23 @@
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 83,
"end": 86,
"start": 78,
"end": 81,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 84,
"end": 85,
"start": 79,
"end": 80,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 84,
"end": 85,
"start": 79,
"end": 80,
"ctxt": 0
},
"value": "T",
@ -269,8 +269,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 152,
"end": 219,
"start": 144,
"end": 211,
"ctxt": 0
},
"kind": "const",
@ -279,15 +279,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 166,
"end": 218,
"start": 158,
"end": 210,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 166,
"end": 167,
"start": 158,
"end": 159,
"ctxt": 0
},
"value": "a",
@ -295,45 +295,45 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 167,
"end": 218,
"start": 159,
"end": 210,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 169,
"end": 218,
"start": 161,
"end": 210,
"ctxt": 0
},
"types": [
{
"type": "TsArrayType",
"span": {
"start": 169,
"end": 188,
"start": 161,
"end": 180,
"ctxt": 0
},
"elemType": {
"type": "TsParenthesizedType",
"span": {
"start": 169,
"end": 186,
"start": 161,
"end": 178,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 170,
"end": 185,
"start": 162,
"end": 177,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 170,
"end": 176,
"start": 162,
"end": 168,
"ctxt": 0
},
"kind": "string"
@ -341,8 +341,8 @@
{
"type": "TsKeywordType",
"span": {
"start": 179,
"end": 185,
"start": 171,
"end": 177,
"ctxt": 0
},
"kind": "number"
@ -354,15 +354,15 @@
{
"type": "TsArrayType",
"span": {
"start": 191,
"end": 197,
"start": 183,
"end": 189,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 191,
"end": 195,
"start": 183,
"end": 187,
"ctxt": 0
},
"kind": "null"
@ -371,15 +371,15 @@
{
"type": "TsArrayType",
"span": {
"start": 200,
"end": 211,
"start": 192,
"end": 203,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 200,
"end": 209,
"start": 192,
"end": 201,
"ctxt": 0
},
"kind": "undefined"
@ -388,15 +388,15 @@
{
"type": "TsArrayType",
"span": {
"start": 214,
"end": 218,
"start": 206,
"end": 210,
"ctxt": 0
},
"elemType": {
"type": "TsTypeLiteral",
"span": {
"start": 214,
"end": 216,
"start": 206,
"end": 208,
"ctxt": 0
},
"members": []
@ -414,8 +414,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 221,
"end": 288,
"start": 212,
"end": 279,
"ctxt": 0
},
"kind": "const",
@ -424,15 +424,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 235,
"end": 287,
"start": 226,
"end": 278,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 235,
"end": 236,
"start": 226,
"end": 227,
"ctxt": 0
},
"value": "b",
@ -440,45 +440,45 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 236,
"end": 287,
"start": 227,
"end": 278,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 238,
"end": 287,
"start": 229,
"end": 278,
"ctxt": 0
},
"types": [
{
"type": "TsArrayType",
"span": {
"start": 238,
"end": 257,
"start": 229,
"end": 248,
"ctxt": 0
},
"elemType": {
"type": "TsParenthesizedType",
"span": {
"start": 238,
"end": 255,
"start": 229,
"end": 246,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 239,
"end": 254,
"start": 230,
"end": 245,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 239,
"end": 245,
"start": 230,
"end": 236,
"ctxt": 0
},
"kind": "string"
@ -486,8 +486,8 @@
{
"type": "TsKeywordType",
"span": {
"start": 248,
"end": 254,
"start": 239,
"end": 245,
"ctxt": 0
},
"kind": "number"
@ -499,15 +499,15 @@
{
"type": "TsArrayType",
"span": {
"start": 260,
"end": 266,
"start": 251,
"end": 257,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 260,
"end": 264,
"start": 251,
"end": 255,
"ctxt": 0
},
"kind": "null"
@ -516,15 +516,15 @@
{
"type": "TsArrayType",
"span": {
"start": 269,
"end": 280,
"start": 260,
"end": 271,
"ctxt": 0
},
"elemType": {
"type": "TsKeywordType",
"span": {
"start": 269,
"end": 278,
"start": 260,
"end": 269,
"ctxt": 0
},
"kind": "undefined"
@ -533,15 +533,15 @@
{
"type": "TsArrayType",
"span": {
"start": 283,
"end": 287,
"start": 274,
"end": 278,
"ctxt": 0
},
"elemType": {
"type": "TsTypeLiteral",
"span": {
"start": 283,
"end": 285,
"start": 274,
"end": 276,
"ctxt": 0
},
"members": []
@ -559,8 +559,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 292,
"end": 319,
"start": 281,
"end": 308,
"ctxt": 0
},
"kind": "let",
@ -569,15 +569,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 296,
"end": 318,
"start": 285,
"end": 307,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 296,
"end": 297,
"start": 285,
"end": 286,
"ctxt": 0
},
"value": "x",
@ -587,22 +587,22 @@
"init": {
"type": "CallExpression",
"span": {
"start": 300,
"end": 318,
"start": 289,
"end": 307,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 300,
"end": 315,
"start": 289,
"end": 304,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 300,
"end": 301,
"start": 289,
"end": 290,
"ctxt": 0
},
"value": "a",
@ -611,8 +611,8 @@
"property": {
"type": "Identifier",
"span": {
"start": 302,
"end": 315,
"start": 291,
"end": 304,
"ctxt": 0
},
"value": "equalsShallow",
@ -625,8 +625,8 @@
"expression": {
"type": "Identifier",
"span": {
"start": 316,
"end": 317,
"start": 305,
"end": 306,
"ctxt": 0
},
"value": "b",

View File

@ -2,7 +2,7 @@
"type": "Script",
"span": {
"start": 0,
"end": 41,
"end": 39,
"ctxt": 0
},
"body": [
@ -68,8 +68,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 14,
"end": 33,
"start": 13,
"end": 32,
"ctxt": 0
},
"kind": "var",
@ -78,15 +78,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 18,
"end": 32,
"start": 17,
"end": 31,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 18,
"end": 19,
"start": 17,
"end": 18,
"ctxt": 0
},
"value": "a",
@ -94,15 +94,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 19,
"end": 28,
"start": 18,
"end": 27,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 21,
"end": 28,
"start": 20,
"end": 27,
"ctxt": 0
},
"kind": "boolean"
@ -112,8 +112,8 @@
"init": {
"type": "Identifier",
"span": {
"start": 31,
"end": 32,
"start": 30,
"end": 31,
"ctxt": 0
},
"value": "x",
@ -126,23 +126,23 @@
{
"type": "ExpressionStatement",
"span": {
"start": 35,
"end": 41,
"start": 33,
"end": 39,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 35,
"end": 40,
"start": 33,
"end": 38,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "Identifier",
"span": {
"start": 35,
"end": 36,
"start": 33,
"end": 34,
"ctxt": 0
},
"value": "x",
@ -152,8 +152,8 @@
"right": {
"type": "Identifier",
"span": {
"start": 39,
"end": 40,
"start": 37,
"end": 38,
"ctxt": 0
},
"value": "a",

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
"type": "Script",
"span": {
"start": 0,
"end": 64,
"end": 61,
"ctxt": 0
},
"body": [
@ -50,8 +50,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 17,
"end": 38,
"start": 15,
"end": 36,
"ctxt": 0
},
"kind": "var",
@ -60,15 +60,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 21,
"end": 37,
"start": 19,
"end": 35,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 21,
"end": 22,
"start": 19,
"end": 20,
"ctxt": 0
},
"value": "a",
@ -78,22 +78,22 @@
"init": {
"type": "CallExpression",
"span": {
"start": 25,
"end": 37,
"start": 23,
"end": 35,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 25,
"end": 35,
"start": 23,
"end": 33,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 25,
"end": 26,
"start": 23,
"end": 24,
"ctxt": 0
},
"value": "x",
@ -102,8 +102,8 @@
"property": {
"type": "Identifier",
"span": {
"start": 27,
"end": 35,
"start": 25,
"end": 33,
"ctxt": 0
},
"value": "toString",
@ -120,8 +120,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 40,
"end": 64,
"start": 37,
"end": 61,
"ctxt": 0
},
"kind": "var",
@ -130,15 +130,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 44,
"end": 63,
"start": 41,
"end": 60,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 44,
"end": 45,
"start": 41,
"end": 42,
"ctxt": 0
},
"value": "b",
@ -148,22 +148,22 @@
"init": {
"type": "CallExpression",
"span": {
"start": 48,
"end": 63,
"start": 45,
"end": 60,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 48,
"end": 61,
"start": 45,
"end": 58,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 48,
"end": 49,
"start": 45,
"end": 46,
"ctxt": 0
},
"value": "x",
@ -172,15 +172,15 @@
"property": {
"type": "Computed",
"span": {
"start": 49,
"end": 61,
"start": 46,
"end": 58,
"ctxt": 0
},
"expression": {
"type": "StringLiteral",
"span": {
"start": 50,
"end": 60,
"start": 47,
"end": 57,
"ctxt": 0
},
"value": "toString",

View File

@ -1,8 +1,8 @@
{
"type": "Script",
"span": {
"start": 86,
"end": 300,
"start": 84,
"end": 282,
"ctxt": 0
},
"body": [
@ -11,8 +11,8 @@
"identifier": {
"type": "Identifier",
"span": {
"start": 95,
"end": 98,
"start": 93,
"end": 96,
"ctxt": 0
},
"value": "foo",
@ -23,16 +23,16 @@
{
"type": "Parameter",
"span": {
"start": 99,
"end": 100,
"start": 97,
"end": 98,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 99,
"end": 100,
"start": 97,
"end": 98,
"ctxt": 0
},
"value": "x",
@ -43,15 +43,15 @@
],
"decorators": [],
"span": {
"start": 86,
"end": 105,
"start": 84,
"end": 103,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 102,
"end": 105,
"start": 100,
"end": 103,
"ctxt": 0
},
"stmts": []
@ -64,8 +64,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 107,
"end": 122,
"start": 104,
"end": 119,
"ctxt": 0
},
"kind": "var",
@ -74,15 +74,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 111,
"end": 121,
"start": 108,
"end": 118,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 111,
"end": 112,
"start": 108,
"end": 109,
"ctxt": 0
},
"value": "r",
@ -92,15 +92,15 @@
"init": {
"type": "CallExpression",
"span": {
"start": 115,
"end": 121,
"start": 112,
"end": 118,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 115,
"end": 118,
"start": 112,
"end": 115,
"ctxt": 0
},
"value": "foo",
@ -112,8 +112,8 @@
"expression": {
"type": "NumericLiteral",
"span": {
"start": 119,
"end": 120,
"start": 116,
"end": 117,
"ctxt": 0
},
"value": 1.0
@ -129,15 +129,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 155,
"end": 190,
"start": 150,
"end": 182,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 165,
"end": 166,
"start": 160,
"end": 161,
"ctxt": 0
},
"value": "I",
@ -149,16 +149,16 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 167,
"end": 190,
"start": 162,
"end": 182,
"ctxt": 0
},
"body": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 174,
"end": 177,
"start": 168,
"end": 171,
"ctxt": 0
},
"params": [],
@ -168,16 +168,16 @@
{
"type": "TsMethodSignature",
"span": {
"start": 183,
"end": 187,
"start": 176,
"end": 180,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 183,
"end": 184,
"start": 176,
"end": 177,
"ctxt": 0
},
"value": "f",
@ -195,8 +195,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 192,
"end": 201,
"start": 183,
"end": 192,
"ctxt": 0
},
"kind": "var",
@ -205,15 +205,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 196,
"end": 200,
"start": 187,
"end": 191,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 196,
"end": 197,
"start": 187,
"end": 188,
"ctxt": 0
},
"value": "i",
@ -221,22 +221,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 197,
"end": 200,
"start": 188,
"end": 191,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 199,
"end": 200,
"start": 190,
"end": 191,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 199,
"end": 200,
"start": 190,
"end": 191,
"ctxt": 0
},
"value": "I",
@ -254,8 +254,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 203,
"end": 216,
"start": 193,
"end": 206,
"ctxt": 0
},
"kind": "var",
@ -264,15 +264,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 207,
"end": 215,
"start": 197,
"end": 205,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 207,
"end": 209,
"start": 197,
"end": 199,
"ctxt": 0
},
"value": "r2",
@ -282,15 +282,15 @@
"init": {
"type": "CallExpression",
"span": {
"start": 212,
"end": 215,
"start": 202,
"end": 205,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 212,
"end": 213,
"start": 202,
"end": 203,
"ctxt": 0
},
"value": "i",
@ -306,8 +306,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 218,
"end": 233,
"start": 207,
"end": 222,
"ctxt": 0
},
"kind": "var",
@ -316,15 +316,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 222,
"end": 232,
"start": 211,
"end": 221,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 222,
"end": 224,
"start": 211,
"end": 213,
"ctxt": 0
},
"value": "r3",
@ -334,22 +334,22 @@
"init": {
"type": "CallExpression",
"span": {
"start": 227,
"end": 232,
"start": 216,
"end": 221,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 227,
"end": 230,
"start": 216,
"end": 219,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 227,
"end": 228,
"start": 216,
"end": 217,
"ctxt": 0
},
"value": "i",
@ -358,8 +358,8 @@
"property": {
"type": "Identifier",
"span": {
"start": 229,
"end": 230,
"start": 218,
"end": 219,
"ctxt": 0
},
"value": "f",
@ -376,8 +376,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 237,
"end": 268,
"start": 224,
"end": 252,
"ctxt": 0
},
"kind": "var",
@ -386,15 +386,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 241,
"end": 267,
"start": 228,
"end": 251,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 241,
"end": 242,
"start": 228,
"end": 229,
"ctxt": 0
},
"value": "a",
@ -402,23 +402,23 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 242,
"end": 267,
"start": 229,
"end": 251,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeLiteral",
"span": {
"start": 244,
"end": 267,
"start": 231,
"end": 251,
"ctxt": 0
},
"members": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 251,
"end": 254,
"start": 237,
"end": 240,
"ctxt": 0
},
"params": [],
@ -428,16 +428,16 @@
{
"type": "TsMethodSignature",
"span": {
"start": 260,
"end": 264,
"start": 245,
"end": 249,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 260,
"end": 261,
"start": 245,
"end": 246,
"ctxt": 0
},
"value": "f",
@ -461,8 +461,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 270,
"end": 283,
"start": 253,
"end": 266,
"ctxt": 0
},
"kind": "var",
@ -471,15 +471,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 274,
"end": 282,
"start": 257,
"end": 265,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 274,
"end": 276,
"start": 257,
"end": 259,
"ctxt": 0
},
"value": "r4",
@ -489,15 +489,15 @@
"init": {
"type": "CallExpression",
"span": {
"start": 279,
"end": 282,
"start": 262,
"end": 265,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 279,
"end": 280,
"start": 262,
"end": 263,
"ctxt": 0
},
"value": "a",
@ -513,8 +513,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 285,
"end": 300,
"start": 267,
"end": 282,
"ctxt": 0
},
"kind": "var",
@ -523,15 +523,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 289,
"end": 299,
"start": 271,
"end": 281,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 289,
"end": 291,
"start": 271,
"end": 273,
"ctxt": 0
},
"value": "r5",
@ -541,22 +541,22 @@
"init": {
"type": "CallExpression",
"span": {
"start": 294,
"end": 299,
"start": 276,
"end": 281,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 294,
"end": 297,
"start": 276,
"end": 279,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 294,
"end": 295,
"start": 276,
"end": 277,
"ctxt": 0
},
"value": "a",
@ -565,8 +565,8 @@
"property": {
"type": "Identifier",
"span": {
"start": 296,
"end": 297,
"start": 278,
"end": 279,
"ctxt": 0
},
"value": "f",

View File

@ -1,23 +1,23 @@
{
"type": "Script",
"span": {
"start": 178,
"end": 349,
"start": 175,
"end": 337,
"ctxt": 0
},
"body": [
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 178,
"end": 221,
"start": 175,
"end": 216,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 188,
"end": 189,
"start": 185,
"end": 186,
"ctxt": 0
},
"value": "I",
@ -27,23 +27,23 @@
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 189,
"end": 192,
"start": 186,
"end": 189,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 190,
"end": 191,
"start": 187,
"end": 188,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 190,
"end": 191,
"start": 187,
"end": 188,
"ctxt": 0
},
"value": "T",
@ -58,24 +58,24 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 193,
"end": 221,
"start": 190,
"end": 216,
"ctxt": 0
},
"body": [
{
"type": "TsMethodSignature",
"span": {
"start": 200,
"end": 218,
"start": 196,
"end": 214,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 200,
"end": 203,
"start": 196,
"end": 199,
"ctxt": 0
},
"value": "foo",
@ -87,8 +87,8 @@
{
"type": "Identifier",
"span": {
"start": 204,
"end": 213,
"start": 200,
"end": 209,
"ctxt": 0
},
"value": "x",
@ -96,15 +96,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 205,
"end": 213,
"start": 201,
"end": 209,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 207,
"end": 213,
"start": 203,
"end": 209,
"ctxt": 0
},
"kind": "number"
@ -115,22 +115,22 @@
"typeAnn": {
"type": "TsTypeAnnotation",
"span": {
"start": 214,
"end": 217,
"start": 210,
"end": 213,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 216,
"end": 217,
"start": 212,
"end": 213,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 216,
"end": 217,
"start": 212,
"end": 213,
"ctxt": 0
},
"value": "T",
@ -147,15 +147,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 225,
"end": 269,
"start": 218,
"end": 262,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 235,
"end": 236,
"start": 228,
"end": 229,
"ctxt": 0
},
"value": "A",
@ -167,15 +167,15 @@
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 245,
"end": 254,
"start": 238,
"end": 247,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 245,
"end": 246,
"start": 238,
"end": 239,
"ctxt": 0
},
"value": "I",
@ -184,16 +184,16 @@
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 246,
"end": 254,
"start": 239,
"end": 247,
"ctxt": 0
},
"params": [
{
"type": "TsKeywordType",
"span": {
"start": 247,
"end": 253,
"start": 240,
"end": 246,
"ctxt": 0
},
"kind": "number"
@ -204,15 +204,15 @@
{
"type": "TsExpressionWithTypeArguments",
"span": {
"start": 256,
"end": 265,
"start": 249,
"end": 258,
"ctxt": 0
},
"expression": {
"type": "Identifier",
"span": {
"start": 256,
"end": 257,
"start": 249,
"end": 250,
"ctxt": 0
},
"value": "I",
@ -221,16 +221,16 @@
"typeArguments": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 257,
"end": 265,
"start": 250,
"end": 258,
"ctxt": 0
},
"params": [
{
"type": "TsKeywordType",
"span": {
"start": 258,
"end": 264,
"start": 251,
"end": 257,
"ctxt": 0
},
"kind": "string"
@ -242,8 +242,8 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 266,
"end": 269,
"start": 259,
"end": 262,
"ctxt": 0
},
"body": []
@ -252,8 +252,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 273,
"end": 282,
"start": 264,
"end": 273,
"ctxt": 0
},
"kind": "var",
@ -262,15 +262,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 277,
"end": 281,
"start": 268,
"end": 272,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 277,
"end": 278,
"start": 268,
"end": 269,
"ctxt": 0
},
"value": "x",
@ -278,22 +278,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 278,
"end": 281,
"start": 269,
"end": 272,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 280,
"end": 281,
"start": 271,
"end": 272,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 280,
"end": 281,
"start": 271,
"end": 272,
"ctxt": 0
},
"value": "A",
@ -311,8 +311,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 299,
"end": 316,
"start": 288,
"end": 305,
"ctxt": 0
},
"kind": "var",
@ -321,15 +321,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 303,
"end": 315,
"start": 292,
"end": 304,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 303,
"end": 304,
"start": 292,
"end": 293,
"ctxt": 0
},
"value": "r",
@ -339,22 +339,22 @@
"init": {
"type": "CallExpression",
"span": {
"start": 307,
"end": 315,
"start": 296,
"end": 304,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 307,
"end": 312,
"start": 296,
"end": 301,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 307,
"end": 308,
"start": 296,
"end": 297,
"ctxt": 0
},
"value": "x",
@ -363,8 +363,8 @@
"property": {
"type": "Identifier",
"span": {
"start": 309,
"end": 312,
"start": 298,
"end": 301,
"ctxt": 0
},
"value": "foo",
@ -377,8 +377,8 @@
"expression": {
"type": "NumericLiteral",
"span": {
"start": 313,
"end": 314,
"start": 302,
"end": 303,
"ctxt": 0
},
"value": 1.0
@ -394,8 +394,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 330,
"end": 349,
"start": 318,
"end": 337,
"ctxt": 0
},
"kind": "var",
@ -404,15 +404,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 334,
"end": 348,
"start": 322,
"end": 336,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 334,
"end": 336,
"start": 322,
"end": 324,
"ctxt": 0
},
"value": "r2",
@ -422,22 +422,22 @@
"init": {
"type": "CallExpression",
"span": {
"start": 339,
"end": 348,
"start": 327,
"end": 336,
"ctxt": 0
},
"callee": {
"type": "MemberExpression",
"span": {
"start": 339,
"end": 344,
"start": 327,
"end": 332,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 339,
"end": 340,
"start": 327,
"end": 328,
"ctxt": 0
},
"value": "x",
@ -446,8 +446,8 @@
"property": {
"type": "Identifier",
"span": {
"start": 341,
"end": 344,
"start": 329,
"end": 332,
"ctxt": 0
},
"value": "foo",
@ -460,8 +460,8 @@
"expression": {
"type": "StringLiteral",
"span": {
"start": 345,
"end": 347,
"start": 333,
"end": 335,
"ctxt": 0
},
"value": "",

View File

@ -1,23 +1,23 @@
{
"type": "Script",
"span": {
"start": 185,
"end": 373,
"start": 182,
"end": 356,
"ctxt": 0
},
"body": [
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 185,
"end": 227,
"start": 182,
"end": 222,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 195,
"end": 196,
"start": 192,
"end": 193,
"ctxt": 0
},
"value": "I",
@ -29,24 +29,24 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 197,
"end": 227,
"start": 194,
"end": 222,
"ctxt": 0
},
"body": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 204,
"end": 224,
"start": 200,
"end": 220,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 205,
"end": 214,
"start": 201,
"end": 210,
"ctxt": 0
},
"value": "x",
@ -54,15 +54,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 206,
"end": 214,
"start": 202,
"end": 210,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 208,
"end": 214,
"start": 204,
"end": 210,
"ctxt": 0
},
"kind": "string"
@ -73,15 +73,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 215,
"end": 223,
"start": 211,
"end": 219,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 217,
"end": 223,
"start": 213,
"end": 219,
"ctxt": 0
},
"kind": "string"
@ -95,15 +95,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 231,
"end": 273,
"start": 224,
"end": 264,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 241,
"end": 242,
"start": 234,
"end": 235,
"ctxt": 0
},
"value": "I",
@ -115,24 +115,24 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 243,
"end": 273,
"start": 236,
"end": 264,
"ctxt": 0
},
"body": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 250,
"end": 270,
"start": 242,
"end": 262,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 251,
"end": 260,
"start": 243,
"end": 252,
"ctxt": 0
},
"value": "x",
@ -140,15 +140,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 252,
"end": 260,
"start": 244,
"end": 252,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 254,
"end": 260,
"start": 246,
"end": 252,
"ctxt": 0
},
"kind": "string"
@ -159,15 +159,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 261,
"end": 269,
"start": 253,
"end": 261,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 263,
"end": 269,
"start": 255,
"end": 261,
"ctxt": 0
},
"kind": "number"
@ -181,15 +181,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 277,
"end": 323,
"start": 266,
"end": 310,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 287,
"end": 289,
"start": 276,
"end": 278,
"ctxt": 0
},
"value": "I2",
@ -199,23 +199,23 @@
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 289,
"end": 292,
"start": 278,
"end": 281,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 290,
"end": 291,
"start": 279,
"end": 280,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 290,
"end": 291,
"start": 279,
"end": 280,
"ctxt": 0
},
"value": "T",
@ -230,24 +230,24 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 293,
"end": 323,
"start": 282,
"end": 310,
"ctxt": 0
},
"body": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 300,
"end": 320,
"start": 288,
"end": 308,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 301,
"end": 310,
"start": 289,
"end": 298,
"ctxt": 0
},
"value": "x",
@ -255,15 +255,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 302,
"end": 310,
"start": 290,
"end": 298,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 304,
"end": 310,
"start": 292,
"end": 298,
"ctxt": 0
},
"kind": "string"
@ -274,15 +274,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 311,
"end": 319,
"start": 299,
"end": 307,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 313,
"end": 319,
"start": 301,
"end": 307,
"ctxt": 0
},
"kind": "string"
@ -296,15 +296,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 327,
"end": 373,
"start": 312,
"end": 356,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 337,
"end": 339,
"start": 322,
"end": 324,
"ctxt": 0
},
"value": "I2",
@ -314,23 +314,23 @@
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 339,
"end": 342,
"start": 324,
"end": 327,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 340,
"end": 341,
"start": 325,
"end": 326,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 340,
"end": 341,
"start": 325,
"end": 326,
"ctxt": 0
},
"value": "T",
@ -345,24 +345,24 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 343,
"end": 373,
"start": 328,
"end": 356,
"ctxt": 0
},
"body": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 350,
"end": 370,
"start": 334,
"end": 354,
"ctxt": 0
},
"params": [
{
"type": "Identifier",
"span": {
"start": 351,
"end": 360,
"start": 335,
"end": 344,
"ctxt": 0
},
"value": "x",
@ -370,15 +370,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 352,
"end": 360,
"start": 336,
"end": 344,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 354,
"end": 360,
"start": 338,
"end": 344,
"ctxt": 0
},
"kind": "string"
@ -389,15 +389,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 361,
"end": 369,
"start": 345,
"end": 353,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 363,
"end": 369,
"start": 347,
"end": 353,
"ctxt": 0
},
"kind": "number"

View File

@ -2,7 +2,7 @@
"type": "Script",
"span": {
"start": 0,
"end": 214,
"end": 198,
"ctxt": 0
},
"body": [
@ -68,16 +68,16 @@
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 13,
"end": 35,
"start": 12,
"end": 34,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 18,
"end": 20,
"start": 17,
"end": 19,
"ctxt": 0
},
"value": "T0",
@ -87,16 +87,16 @@
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 23,
"end": 34,
"start": 22,
"end": 33,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 23,
"end": 29,
"start": 22,
"end": 28,
"ctxt": 0
},
"kind": "string"
@ -104,15 +104,15 @@
{
"type": "TsTypeReference",
"span": {
"start": 32,
"end": 34,
"start": 31,
"end": 33,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 32,
"end": 34,
"start": 31,
"end": 33,
"ctxt": 0
},
"value": "I0",
@ -128,8 +128,8 @@
"identifier": {
"type": "Identifier",
"span": {
"start": 43,
"end": 45,
"start": 41,
"end": 43,
"ctxt": 0
},
"value": "I0",
@ -137,8 +137,8 @@
},
"declare": false,
"span": {
"start": 37,
"end": 62,
"start": 35,
"end": 58,
"ctxt": 0
},
"decorators": [],
@ -146,15 +146,15 @@
{
"type": "ClassProperty",
"span": {
"start": 53,
"end": 59,
"start": 50,
"end": 56,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 53,
"end": 54,
"start": 50,
"end": 51,
"ctxt": 0
},
"value": "x",
@ -164,22 +164,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 54,
"end": 58,
"start": 51,
"end": 55,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 56,
"end": 58,
"start": 53,
"end": 55,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 56,
"end": 58,
"start": 53,
"end": 55,
"ctxt": 0
},
"value": "T0",
@ -208,8 +208,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 66,
"end": 77,
"start": 60,
"end": 71,
"ctxt": 0
},
"kind": "var",
@ -218,15 +218,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 70,
"end": 76,
"start": 64,
"end": 70,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 70,
"end": 72,
"start": 64,
"end": 66,
"ctxt": 0
},
"value": "v3",
@ -234,22 +234,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 72,
"end": 76,
"start": 66,
"end": 70,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 74,
"end": 76,
"start": 68,
"end": 70,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 74,
"end": 76,
"start": 68,
"end": 70,
"ctxt": 0
},
"value": "T3",
@ -267,16 +267,16 @@
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 79,
"end": 101,
"start": 72,
"end": 94,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 84,
"end": 86,
"start": 77,
"end": 79,
"ctxt": 0
},
"value": "T3",
@ -286,16 +286,16 @@
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 89,
"end": 100,
"start": 82,
"end": 93,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 89,
"end": 95,
"start": 82,
"end": 88,
"ctxt": 0
},
"kind": "string"
@ -303,15 +303,15 @@
{
"type": "TsTypeReference",
"span": {
"start": 98,
"end": 100,
"start": 91,
"end": 93,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 98,
"end": 100,
"start": 91,
"end": 93,
"ctxt": 0
},
"value": "I3",
@ -327,8 +327,8 @@
"identifier": {
"type": "Identifier",
"span": {
"start": 109,
"end": 111,
"start": 101,
"end": 103,
"ctxt": 0
},
"value": "I3",
@ -336,8 +336,8 @@
},
"declare": false,
"span": {
"start": 103,
"end": 138,
"start": 95,
"end": 128,
"ctxt": 0
},
"decorators": [],
@ -348,8 +348,8 @@
{
"type": "Identifier",
"span": {
"start": 120,
"end": 129,
"start": 111,
"end": 120,
"ctxt": 0
},
"value": "x",
@ -357,15 +357,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 121,
"end": 129,
"start": 112,
"end": 120,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 123,
"end": 129,
"start": 114,
"end": 120,
"ctxt": 0
},
"kind": "number"
@ -376,22 +376,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 130,
"end": 134,
"start": 121,
"end": 125,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 132,
"end": 134,
"start": 123,
"end": 125,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 132,
"end": 134,
"start": 123,
"end": 125,
"ctxt": 0
},
"value": "T3",
@ -403,8 +403,8 @@
"readonly": false,
"static": false,
"span": {
"start": 119,
"end": 135,
"start": 110,
"end": 126,
"ctxt": 0
}
}
@ -418,8 +418,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 142,
"end": 153,
"start": 130,
"end": 141,
"ctxt": 0
},
"kind": "var",
@ -428,15 +428,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 146,
"end": 152,
"start": 134,
"end": 140,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 146,
"end": 148,
"start": 134,
"end": 136,
"ctxt": 0
},
"value": "v4",
@ -444,22 +444,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 148,
"end": 152,
"start": 136,
"end": 140,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 150,
"end": 152,
"start": 138,
"end": 140,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 150,
"end": 152,
"start": 138,
"end": 140,
"ctxt": 0
},
"value": "T4",
@ -477,16 +477,16 @@
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 155,
"end": 177,
"start": 142,
"end": 164,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 160,
"end": 162,
"start": 147,
"end": 149,
"ctxt": 0
},
"value": "T4",
@ -496,16 +496,16 @@
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 165,
"end": 176,
"start": 152,
"end": 163,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 165,
"end": 171,
"start": 152,
"end": 158,
"ctxt": 0
},
"kind": "string"
@ -513,15 +513,15 @@
{
"type": "TsTypeReference",
"span": {
"start": 174,
"end": 176,
"start": 161,
"end": 163,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 174,
"end": 176,
"start": 161,
"end": 163,
"ctxt": 0
},
"value": "I4",
@ -537,8 +537,8 @@
"identifier": {
"type": "Identifier",
"span": {
"start": 185,
"end": 187,
"start": 171,
"end": 173,
"ctxt": 0
},
"value": "I4",
@ -546,8 +546,8 @@
},
"declare": false,
"span": {
"start": 179,
"end": 214,
"start": 165,
"end": 198,
"ctxt": 0
},
"decorators": [],
@ -558,8 +558,8 @@
{
"type": "Identifier",
"span": {
"start": 196,
"end": 205,
"start": 181,
"end": 190,
"ctxt": 0
},
"value": "x",
@ -567,15 +567,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 197,
"end": 205,
"start": 182,
"end": 190,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 199,
"end": 205,
"start": 184,
"end": 190,
"ctxt": 0
},
"kind": "string"
@ -586,22 +586,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 206,
"end": 210,
"start": 191,
"end": 195,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 208,
"end": 210,
"start": 193,
"end": 195,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 208,
"end": 210,
"start": 193,
"end": 195,
"ctxt": 0
},
"value": "T4",
@ -613,8 +613,8 @@
"readonly": false,
"static": false,
"span": {
"start": 195,
"end": 211,
"start": 180,
"end": 196,
"ctxt": 0
}
}

View File

@ -2,7 +2,7 @@
"type": "Script",
"span": {
"start": 0,
"end": 372,
"end": 344,
"ctxt": 0
},
"body": [
@ -68,16 +68,16 @@
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 13,
"end": 35,
"start": 12,
"end": 34,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 18,
"end": 20,
"start": 17,
"end": 19,
"ctxt": 0
},
"value": "T0",
@ -87,16 +87,16 @@
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 23,
"end": 34,
"start": 22,
"end": 33,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 23,
"end": 29,
"start": 22,
"end": 28,
"ctxt": 0
},
"kind": "string"
@ -104,15 +104,15 @@
{
"type": "TsTypeReference",
"span": {
"start": 32,
"end": 34,
"start": 31,
"end": 33,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 32,
"end": 34,
"start": 31,
"end": 33,
"ctxt": 0
},
"value": "I0",
@ -126,15 +126,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 37,
"end": 66,
"start": 35,
"end": 62,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 47,
"end": 49,
"start": 45,
"end": 47,
"ctxt": 0
},
"value": "I0",
@ -146,24 +146,24 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 50,
"end": 66,
"start": 48,
"end": 62,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 57,
"end": 63,
"start": 54,
"end": 60,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 57,
"end": 58,
"start": 54,
"end": 55,
"ctxt": 0
},
"value": "x",
@ -176,22 +176,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 58,
"end": 62,
"start": 55,
"end": 59,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 60,
"end": 62,
"start": 57,
"end": 59,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 60,
"end": 62,
"start": 57,
"end": 59,
"ctxt": 0
},
"value": "T0",
@ -208,8 +208,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 70,
"end": 81,
"start": 64,
"end": 75,
"ctxt": 0
},
"kind": "var",
@ -218,15 +218,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 74,
"end": 80,
"start": 68,
"end": 74,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 74,
"end": 76,
"start": 68,
"end": 70,
"ctxt": 0
},
"value": "v1",
@ -234,22 +234,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 76,
"end": 80,
"start": 70,
"end": 74,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 78,
"end": 80,
"start": 72,
"end": 74,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 78,
"end": 80,
"start": 72,
"end": 74,
"ctxt": 0
},
"value": "T1",
@ -267,16 +267,16 @@
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 83,
"end": 105,
"start": 76,
"end": 98,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 88,
"end": 90,
"start": 81,
"end": 83,
"ctxt": 0
},
"value": "T1",
@ -286,16 +286,16 @@
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 93,
"end": 104,
"start": 86,
"end": 97,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 93,
"end": 99,
"start": 86,
"end": 92,
"ctxt": 0
},
"kind": "string"
@ -303,15 +303,15 @@
{
"type": "TsTypeReference",
"span": {
"start": 102,
"end": 104,
"start": 95,
"end": 97,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 102,
"end": 104,
"start": 95,
"end": 97,
"ctxt": 0
},
"value": "I1",
@ -325,15 +325,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 107,
"end": 137,
"start": 99,
"end": 127,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 117,
"end": 119,
"start": 109,
"end": 111,
"ctxt": 0
},
"value": "I1",
@ -345,38 +345,38 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 120,
"end": 137,
"start": 112,
"end": 127,
"ctxt": 0
},
"body": [
{
"type": "TsCallSignatureDeclaration",
"span": {
"start": 127,
"end": 134,
"start": 118,
"end": 125,
"ctxt": 0
},
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 129,
"end": 133,
"start": 120,
"end": 124,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 131,
"end": 133,
"start": 122,
"end": 124,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 131,
"end": 133,
"start": 122,
"end": 124,
"ctxt": 0
},
"value": "T1",
@ -393,8 +393,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 141,
"end": 152,
"start": 129,
"end": 140,
"ctxt": 0
},
"kind": "var",
@ -403,15 +403,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 145,
"end": 151,
"start": 133,
"end": 139,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 145,
"end": 147,
"start": 133,
"end": 135,
"ctxt": 0
},
"value": "v2",
@ -419,22 +419,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 147,
"end": 151,
"start": 135,
"end": 139,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 149,
"end": 151,
"start": 137,
"end": 139,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 149,
"end": 151,
"start": 137,
"end": 139,
"ctxt": 0
},
"value": "T2",
@ -452,16 +452,16 @@
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 154,
"end": 176,
"start": 141,
"end": 163,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 159,
"end": 161,
"start": 146,
"end": 148,
"ctxt": 0
},
"value": "T2",
@ -471,16 +471,16 @@
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 164,
"end": 175,
"start": 151,
"end": 162,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 164,
"end": 170,
"start": 151,
"end": 157,
"ctxt": 0
},
"kind": "string"
@ -488,15 +488,15 @@
{
"type": "TsTypeReference",
"span": {
"start": 173,
"end": 175,
"start": 160,
"end": 162,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 173,
"end": 175,
"start": 160,
"end": 162,
"ctxt": 0
},
"value": "I2",
@ -510,15 +510,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 178,
"end": 212,
"start": 164,
"end": 196,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 188,
"end": 190,
"start": 174,
"end": 176,
"ctxt": 0
},
"value": "I2",
@ -530,19 +530,77 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 191,
"end": 212,
"start": 177,
"end": 196,
"ctxt": 0
},
"body": [
{
"type": "TsConstructSignatureDeclaration",
"span": {
"start": 198,
"end": 209,
"start": 183,
"end": 194,
"ctxt": 0
},
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 189,
"end": 193,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 191,
"end": 193,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 191,
"end": 193,
"ctxt": 0
},
"value": "T2",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 198,
"end": 209,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 202,
"end": 208,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 202,
"end": 204,
"ctxt": 0
},
"value": "v3",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
@ -564,64 +622,6 @@
"end": 208,
"ctxt": 0
},
"value": "T2",
"optional": false
},
"typeParams": null
}
},
"typeParams": null
}
]
}
},
{
"type": "VariableDeclaration",
"span": {
"start": 216,
"end": 227,
"ctxt": 0
},
"kind": "var",
"declare": false,
"declarations": [
{
"type": "VariableDeclarator",
"span": {
"start": 220,
"end": 226,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 220,
"end": 222,
"ctxt": 0
},
"value": "v3",
"optional": false,
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 222,
"end": 226,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 224,
"end": 226,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 224,
"end": 226,
"ctxt": 0
},
"value": "T3",
"optional": false
},
@ -637,16 +637,16 @@
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 229,
"end": 251,
"start": 210,
"end": 232,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 234,
"end": 236,
"start": 215,
"end": 217,
"ctxt": 0
},
"value": "T3",
@ -656,16 +656,16 @@
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 239,
"end": 250,
"start": 220,
"end": 231,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 239,
"end": 245,
"start": 220,
"end": 226,
"ctxt": 0
},
"kind": "string"
@ -673,15 +673,15 @@
{
"type": "TsTypeReference",
"span": {
"start": 248,
"end": 250,
"start": 229,
"end": 231,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 248,
"end": 250,
"start": 229,
"end": 231,
"ctxt": 0
},
"value": "I3",
@ -695,15 +695,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 253,
"end": 292,
"start": 233,
"end": 270,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 263,
"end": 265,
"start": 243,
"end": 245,
"ctxt": 0
},
"value": "I3",
@ -715,8 +715,8 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 266,
"end": 292,
"start": 246,
"end": 270,
"ctxt": 0
},
"body": [
@ -726,8 +726,8 @@
{
"type": "Identifier",
"span": {
"start": 274,
"end": 283,
"start": 253,
"end": 262,
"ctxt": 0
},
"value": "x",
@ -735,15 +735,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 275,
"end": 283,
"start": 254,
"end": 262,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 277,
"end": 283,
"start": 256,
"end": 262,
"ctxt": 0
},
"kind": "number"
@ -754,22 +754,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 284,
"end": 288,
"start": 263,
"end": 267,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 286,
"end": 288,
"start": 265,
"end": 267,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 286,
"end": 288,
"start": 265,
"end": 267,
"ctxt": 0
},
"value": "T3",
@ -781,8 +781,8 @@
"readonly": false,
"static": false,
"span": {
"start": 273,
"end": 289,
"start": 252,
"end": 268,
"ctxt": 0
}
}
@ -792,8 +792,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 296,
"end": 307,
"start": 272,
"end": 283,
"ctxt": 0
},
"kind": "var",
@ -802,15 +802,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 300,
"end": 306,
"start": 276,
"end": 282,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 300,
"end": 302,
"start": 276,
"end": 278,
"ctxt": 0
},
"value": "v4",
@ -818,22 +818,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 302,
"end": 306,
"start": 278,
"end": 282,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 304,
"end": 306,
"start": 280,
"end": 282,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 304,
"end": 306,
"start": 280,
"end": 282,
"ctxt": 0
},
"value": "T4",
@ -851,16 +851,16 @@
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 309,
"end": 331,
"start": 284,
"end": 306,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 314,
"end": 316,
"start": 289,
"end": 291,
"ctxt": 0
},
"value": "T4",
@ -870,16 +870,16 @@
"typeAnnotation": {
"type": "TsUnionType",
"span": {
"start": 319,
"end": 330,
"start": 294,
"end": 305,
"ctxt": 0
},
"types": [
{
"type": "TsKeywordType",
"span": {
"start": 319,
"end": 325,
"start": 294,
"end": 300,
"ctxt": 0
},
"kind": "string"
@ -887,15 +887,15 @@
{
"type": "TsTypeReference",
"span": {
"start": 328,
"end": 330,
"start": 303,
"end": 305,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 328,
"end": 330,
"start": 303,
"end": 305,
"ctxt": 0
},
"value": "I4",
@ -909,15 +909,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 333,
"end": 372,
"start": 307,
"end": 344,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 343,
"end": 345,
"start": 317,
"end": 319,
"ctxt": 0
},
"value": "I4",
@ -929,8 +929,8 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 346,
"end": 372,
"start": 320,
"end": 344,
"ctxt": 0
},
"body": [
@ -940,8 +940,8 @@
{
"type": "Identifier",
"span": {
"start": 354,
"end": 363,
"start": 327,
"end": 336,
"ctxt": 0
},
"value": "x",
@ -949,15 +949,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 355,
"end": 363,
"start": 328,
"end": 336,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 357,
"end": 363,
"start": 330,
"end": 336,
"ctxt": 0
},
"kind": "string"
@ -968,22 +968,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 364,
"end": 368,
"start": 337,
"end": 341,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 366,
"end": 368,
"start": 339,
"end": 341,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 366,
"end": 368,
"start": 339,
"end": 341,
"ctxt": 0
},
"value": "T4",
@ -995,8 +995,8 @@
"readonly": false,
"static": false,
"span": {
"start": 353,
"end": 369,
"start": 326,
"end": 342,
"ctxt": 0
}
}

View File

@ -2,7 +2,7 @@
"type": "Script",
"span": {
"start": 0,
"end": 556,
"end": 531,
"ctxt": 0
},
"body": [
@ -47,8 +47,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 45,
"end": 79,
"start": 44,
"end": 78,
"ctxt": 0
},
"kind": "var",
@ -57,15 +57,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 49,
"end": 78,
"start": 48,
"end": 77,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 49,
"end": 66,
"start": 48,
"end": 65,
"ctxt": 0
},
"value": "varOfAliasedType1",
@ -73,22 +73,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 66,
"end": 78,
"start": 65,
"end": 77,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 68,
"end": 78,
"start": 67,
"end": 77,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 68,
"end": 78,
"start": 67,
"end": 77,
"ctxt": 0
},
"value": "typeAlias1",
@ -106,8 +106,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 83,
"end": 117,
"start": 80,
"end": 114,
"ctxt": 0
},
"kind": "var",
@ -116,15 +116,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 87,
"end": 116,
"start": 84,
"end": 113,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 87,
"end": 104,
"start": 84,
"end": 101,
"ctxt": 0
},
"value": "varOfAliasedType2",
@ -132,22 +132,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 104,
"end": 116,
"start": 101,
"end": 113,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 106,
"end": 116,
"start": 103,
"end": 113,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 106,
"end": 116,
"start": 103,
"end": 113,
"ctxt": 0
},
"value": "typeAlias2",
@ -165,16 +165,16 @@
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 119,
"end": 162,
"start": 115,
"end": 158,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 124,
"end": 134,
"start": 120,
"end": 130,
"ctxt": 0
},
"value": "typeAlias2",
@ -184,15 +184,15 @@
"typeAnnotation": {
"type": "TsTypeQuery",
"span": {
"start": 137,
"end": 161,
"start": 133,
"end": 157,
"ctxt": 0
},
"exprName": {
"type": "Identifier",
"span": {
"start": 144,
"end": 161,
"start": 140,
"end": 157,
"ctxt": 0
},
"value": "varOfAliasedType2",
@ -205,8 +205,8 @@
"identifier": {
"type": "Identifier",
"span": {
"start": 175,
"end": 179,
"start": 169,
"end": 173,
"ctxt": 0
},
"value": "func",
@ -216,30 +216,30 @@
"params": [],
"decorators": [],
"span": {
"start": 166,
"end": 210,
"start": 160,
"end": 204,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 194,
"end": 210,
"start": 188,
"end": 204,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 196,
"end": 208,
"start": 190,
"end": 202,
"ctxt": 0
},
"argument": {
"type": "NullLiteral",
"span": {
"start": 203,
"end": 207,
"start": 197,
"end": 201,
"ctxt": 0
}
}
@ -252,22 +252,22 @@
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 181,
"end": 193,
"start": 175,
"end": 187,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 183,
"end": 193,
"start": 177,
"end": 187,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 183,
"end": 193,
"start": 177,
"end": 187,
"ctxt": 0
},
"value": "typeAlias3",
@ -280,8 +280,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 212,
"end": 243,
"start": 205,
"end": 236,
"ctxt": 0
},
"kind": "var",
@ -290,15 +290,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 216,
"end": 242,
"start": 209,
"end": 235,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 216,
"end": 233,
"start": 209,
"end": 226,
"ctxt": 0
},
"value": "varOfAliasedType3",
@ -308,15 +308,15 @@
"init": {
"type": "CallExpression",
"span": {
"start": 236,
"end": 242,
"start": 229,
"end": 235,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 236,
"end": 240,
"start": 229,
"end": 233,
"ctxt": 0
},
"value": "func",
@ -332,16 +332,16 @@
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 245,
"end": 288,
"start": 237,
"end": 280,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 250,
"end": 260,
"start": 242,
"end": 252,
"ctxt": 0
},
"value": "typeAlias3",
@ -351,15 +351,15 @@
"typeAnnotation": {
"type": "TsTypeQuery",
"span": {
"start": 263,
"end": 287,
"start": 255,
"end": 279,
"ctxt": 0
},
"exprName": {
"type": "Identifier",
"span": {
"start": 270,
"end": 287,
"start": 262,
"end": 279,
"ctxt": 0
},
"value": "varOfAliasedType3",
@ -370,15 +370,15 @@
{
"type": "TsInterfaceDeclaration",
"span": {
"start": 316,
"end": 364,
"start": 304,
"end": 349,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 326,
"end": 331,
"start": 314,
"end": 319,
"ctxt": 0
},
"value": "Input",
@ -390,11 +390,52 @@
"body": {
"type": "TsInterfaceBody",
"span": {
"start": 332,
"end": 364,
"start": 320,
"end": 349,
"ctxt": 0
},
"body": [
{
"type": "TsPropertySignature",
"span": {
"start": 324,
"end": 334,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 324,
"end": 325,
"ctxt": 0
},
"value": "a",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 325,
"end": 333,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 327,
"end": 333,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
@ -410,7 +451,7 @@
"end": 338,
"ctxt": 0
},
"value": "a",
"value": "b",
"optional": false
},
"computed": false,
@ -435,47 +476,6 @@
}
},
"typeParams": null
},
{
"type": "TsPropertySignature",
"span": {
"start": 351,
"end": 361,
"ctxt": 0
},
"readonly": false,
"key": {
"type": "Identifier",
"span": {
"start": 351,
"end": 352,
"ctxt": 0
},
"value": "b",
"optional": false
},
"computed": false,
"optional": false,
"init": null,
"params": [],
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 352,
"end": 360,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 354,
"end": 360,
"ctxt": 0
},
"kind": "number"
}
},
"typeParams": null
}
]
}
@ -483,16 +483,16 @@
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 368,
"end": 400,
"start": 351,
"end": 383,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 373,
"end": 374,
"start": 356,
"end": 357,
"ctxt": 0
},
"value": "R",
@ -502,15 +502,15 @@
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 377,
"end": 399,
"start": 360,
"end": 382,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 377,
"end": 387,
"start": 360,
"end": 370,
"ctxt": 0
},
"value": "ReturnType",
@ -519,23 +519,23 @@
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 387,
"end": 399,
"start": 370,
"end": 382,
"ctxt": 0
},
"params": [
{
"type": "TsTypeQuery",
"span": {
"start": 388,
"end": 398,
"start": 371,
"end": 381,
"ctxt": 0
},
"exprName": {
"type": "Identifier",
"span": {
"start": 395,
"end": 398,
"start": 378,
"end": 381,
"ctxt": 0
},
"value": "mul",
@ -551,8 +551,8 @@
"identifier": {
"type": "Identifier",
"span": {
"start": 411,
"end": 414,
"start": 393,
"end": 396,
"ctxt": 0
},
"value": "mul",
@ -563,16 +563,16 @@
{
"type": "Parameter",
"span": {
"start": 415,
"end": 427,
"start": 397,
"end": 409,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 415,
"end": 427,
"start": 397,
"end": 409,
"ctxt": 0
},
"value": "input",
@ -580,22 +580,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 420,
"end": 427,
"start": 402,
"end": 409,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 422,
"end": 427,
"start": 404,
"end": 409,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 422,
"end": 427,
"start": 404,
"end": 409,
"ctxt": 0
},
"value": "Input",
@ -609,45 +609,45 @@
],
"decorators": [],
"span": {
"start": 402,
"end": 465,
"start": 384,
"end": 445,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 432,
"end": 465,
"start": 414,
"end": 445,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 437,
"end": 462,
"start": 418,
"end": 443,
"ctxt": 0
},
"argument": {
"type": "BinaryExpression",
"span": {
"start": 444,
"end": 461,
"start": 425,
"end": 442,
"ctxt": 0
},
"operator": "*",
"left": {
"type": "MemberExpression",
"span": {
"start": 444,
"end": 451,
"start": 425,
"end": 432,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 444,
"end": 449,
"start": 425,
"end": 430,
"ctxt": 0
},
"value": "input",
@ -656,8 +656,8 @@
"property": {
"type": "Identifier",
"span": {
"start": 450,
"end": 451,
"start": 431,
"end": 432,
"ctxt": 0
},
"value": "a",
@ -667,15 +667,15 @@
"right": {
"type": "MemberExpression",
"span": {
"start": 454,
"end": 461,
"start": 435,
"end": 442,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 454,
"end": 459,
"start": 435,
"end": 440,
"ctxt": 0
},
"value": "input",
@ -684,8 +684,8 @@
"property": {
"type": "Identifier",
"span": {
"start": 460,
"end": 461,
"start": 441,
"end": 442,
"ctxt": 0
},
"value": "b",
@ -702,22 +702,22 @@
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 428,
"end": 431,
"start": 410,
"end": 413,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 430,
"end": 431,
"start": 412,
"end": 413,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 430,
"end": 431,
"start": 412,
"end": 413,
"ctxt": 0
},
"value": "R",
@ -730,16 +730,16 @@
{
"type": "TsTypeAliasDeclaration",
"span": {
"start": 493,
"end": 524,
"start": 469,
"end": 500,
"ctxt": 0
},
"declare": false,
"id": {
"type": "Identifier",
"span": {
"start": 498,
"end": 500,
"start": 474,
"end": 476,
"ctxt": 0
},
"value": "R2",
@ -749,15 +749,15 @@
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 503,
"end": 523,
"start": 479,
"end": 499,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 503,
"end": 513,
"start": 479,
"end": 489,
"ctxt": 0
},
"value": "ReturnType",
@ -766,23 +766,23 @@
"typeParams": {
"type": "TsTypeParameterInstantiation",
"span": {
"start": 513,
"end": 523,
"start": 489,
"end": 499,
"ctxt": 0
},
"params": [
{
"type": "TsTypeQuery",
"span": {
"start": 514,
"end": 522,
"start": 490,
"end": 498,
"ctxt": 0
},
"exprName": {
"type": "Identifier",
"span": {
"start": 521,
"end": 522,
"start": 497,
"end": 498,
"ctxt": 0
},
"value": "f",
@ -798,8 +798,8 @@
"identifier": {
"type": "Identifier",
"span": {
"start": 535,
"end": 536,
"start": 510,
"end": 511,
"ctxt": 0
},
"value": "f",
@ -809,30 +809,30 @@
"params": [],
"decorators": [],
"span": {
"start": 526,
"end": 556,
"start": 501,
"end": 531,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 543,
"end": 556,
"start": 518,
"end": 531,
"ctxt": 0
},
"stmts": [
{
"type": "ReturnStatement",
"span": {
"start": 545,
"end": 554,
"start": 520,
"end": 529,
"ctxt": 0
},
"argument": {
"type": "NumericLiteral",
"span": {
"start": 552,
"end": 553,
"start": 527,
"end": 528,
"ctxt": 0
},
"value": 0.0
@ -846,22 +846,22 @@
"returnType": {
"type": "TsTypeAnnotation",
"span": {
"start": 538,
"end": 542,
"start": 513,
"end": 517,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 540,
"end": 542,
"start": 515,
"end": 517,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 540,
"end": 542,
"start": 515,
"end": 517,
"ctxt": 0
},
"value": "R2",

View File

@ -2,7 +2,7 @@
"type": "Script",
"span": {
"start": 0,
"end": 291,
"end": 280,
"ctxt": 0
},
"body": [
@ -69,8 +69,8 @@
"identifier": {
"type": "Identifier",
"span": {
"start": 56,
"end": 80,
"start": 55,
"end": 79,
"ctxt": 0
},
"value": "StringTreeCollectionBase",
@ -78,8 +78,8 @@
},
"declare": false,
"span": {
"start": 50,
"end": 115,
"start": 49,
"end": 112,
"ctxt": 0
},
"decorators": [],
@ -90,8 +90,8 @@
{
"type": "Identifier",
"span": {
"start": 89,
"end": 98,
"start": 87,
"end": 96,
"ctxt": 0
},
"value": "n",
@ -99,15 +99,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 90,
"end": 98,
"start": 88,
"end": 96,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 92,
"end": 98,
"start": 90,
"end": 96,
"ctxt": 0
},
"kind": "number"
@ -118,22 +118,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 99,
"end": 111,
"start": 97,
"end": 109,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 101,
"end": 111,
"start": 99,
"end": 109,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 101,
"end": 111,
"start": 99,
"end": 109,
"ctxt": 0
},
"value": "StringTree",
@ -145,8 +145,8 @@
"readonly": false,
"static": false,
"span": {
"start": 88,
"end": 112,
"start": 86,
"end": 110,
"ctxt": 0
}
}
@ -162,8 +162,8 @@
"identifier": {
"type": "Identifier",
"span": {
"start": 125,
"end": 145,
"start": 120,
"end": 140,
"ctxt": 0
},
"value": "StringTreeCollection",
@ -171,8 +171,8 @@
},
"declare": false,
"span": {
"start": 119,
"end": 182,
"start": 114,
"end": 177,
"ctxt": 0
},
"decorators": [],
@ -180,8 +180,8 @@
"superClass": {
"type": "Identifier",
"span": {
"start": 154,
"end": 178,
"start": 149,
"end": 173,
"ctxt": 0
},
"value": "StringTreeCollectionBase",
@ -195,8 +195,8 @@
{
"type": "VariableDeclaration",
"span": {
"start": 186,
"end": 204,
"start": 179,
"end": 197,
"ctxt": 0
},
"kind": "var",
@ -205,15 +205,15 @@
{
"type": "VariableDeclarator",
"span": {
"start": 190,
"end": 203,
"start": 183,
"end": 196,
"ctxt": 0
},
"id": {
"type": "Identifier",
"span": {
"start": 190,
"end": 191,
"start": 183,
"end": 184,
"ctxt": 0
},
"value": "x",
@ -221,22 +221,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 191,
"end": 203,
"start": 184,
"end": 196,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 193,
"end": 203,
"start": 186,
"end": 196,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 193,
"end": 203,
"start": 186,
"end": 196,
"ctxt": 0
},
"value": "StringTree",
@ -254,31 +254,31 @@
{
"type": "IfStatement",
"span": {
"start": 206,
"end": 291,
"start": 198,
"end": 280,
"ctxt": 0
},
"test": {
"type": "BinaryExpression",
"span": {
"start": 210,
"end": 231,
"start": 202,
"end": 223,
"ctxt": 0
},
"operator": "!==",
"left": {
"type": "UnaryExpression",
"span": {
"start": 210,
"end": 218,
"start": 202,
"end": 210,
"ctxt": 0
},
"operator": "typeof",
"argument": {
"type": "Identifier",
"span": {
"start": 217,
"end": 218,
"start": 209,
"end": 210,
"ctxt": 0
},
"value": "x",
@ -288,8 +288,8 @@
"right": {
"type": "StringLiteral",
"span": {
"start": 223,
"end": 231,
"start": 215,
"end": 223,
"ctxt": 0
},
"value": "string",
@ -303,38 +303,38 @@
"consequent": {
"type": "BlockStatement",
"span": {
"start": 233,
"end": 291,
"start": 225,
"end": 280,
"ctxt": 0
},
"stmts": [
{
"type": "ExpressionStatement",
"span": {
"start": 240,
"end": 250,
"start": 231,
"end": 241,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 240,
"end": 249,
"start": 231,
"end": 240,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 240,
"end": 244,
"start": 231,
"end": 235,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 240,
"end": 241,
"start": 231,
"end": 232,
"ctxt": 0
},
"value": "x",
@ -343,15 +343,15 @@
"property": {
"type": "Computed",
"span": {
"start": 241,
"end": 244,
"start": 232,
"end": 235,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 242,
"end": 243,
"start": 233,
"end": 234,
"ctxt": 0
},
"value": 0.0
@ -361,8 +361,8 @@
"right": {
"type": "StringLiteral",
"span": {
"start": 247,
"end": 249,
"start": 238,
"end": 240,
"ctxt": 0
},
"value": "",
@ -377,30 +377,30 @@
{
"type": "ExpressionStatement",
"span": {
"start": 256,
"end": 288,
"start": 246,
"end": 278,
"ctxt": 0
},
"expression": {
"type": "AssignmentExpression",
"span": {
"start": 256,
"end": 287,
"start": 246,
"end": 277,
"ctxt": 0
},
"operator": "=",
"left": {
"type": "MemberExpression",
"span": {
"start": 256,
"end": 260,
"start": 246,
"end": 250,
"ctxt": 0
},
"object": {
"type": "Identifier",
"span": {
"start": 256,
"end": 257,
"start": 246,
"end": 247,
"ctxt": 0
},
"value": "x",
@ -409,15 +409,15 @@
"property": {
"type": "Computed",
"span": {
"start": 257,
"end": 260,
"start": 247,
"end": 250,
"ctxt": 0
},
"expression": {
"type": "NumericLiteral",
"span": {
"start": 258,
"end": 259,
"start": 248,
"end": 249,
"ctxt": 0
},
"value": 0.0
@ -427,15 +427,15 @@
"right": {
"type": "NewExpression",
"span": {
"start": 263,
"end": 287,
"start": 253,
"end": 277,
"ctxt": 0
},
"callee": {
"type": "Identifier",
"span": {
"start": 267,
"end": 287,
"start": 257,
"end": 277,
"ctxt": 0
},
"value": "StringTreeCollection",

View File

@ -1,8 +1,8 @@
{
"type": "Script",
"span": {
"start": 66,
"end": 157,
"start": 64,
"end": 147,
"ctxt": 0
},
"body": [
@ -11,8 +11,8 @@
"identifier": {
"type": "Identifier",
"span": {
"start": 72,
"end": 73,
"start": 70,
"end": 71,
"ctxt": 0
},
"value": "C",
@ -20,8 +20,8 @@
},
"declare": false,
"span": {
"start": 66,
"end": 108,
"start": 64,
"end": 103,
"ctxt": 0
},
"decorators": [],
@ -29,15 +29,15 @@
{
"type": "ClassProperty",
"span": {
"start": 81,
"end": 92,
"start": 78,
"end": 89,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 81,
"end": 82,
"start": 78,
"end": 79,
"ctxt": 0
},
"value": "x",
@ -47,15 +47,15 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 83,
"end": 91,
"start": 80,
"end": 88,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsKeywordType",
"span": {
"start": 85,
"end": 91,
"start": 82,
"end": 88,
"ctxt": 0
},
"kind": "string"
@ -74,15 +74,15 @@
{
"type": "ClassMethod",
"span": {
"start": 98,
"end": 105,
"start": 94,
"end": 101,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 98,
"end": 99,
"start": 94,
"end": 95,
"ctxt": 0
},
"value": "f",
@ -92,15 +92,15 @@
"params": [],
"decorators": [],
"span": {
"start": 98,
"end": 105,
"start": 94,
"end": 101,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 103,
"end": 105,
"start": 99,
"end": 101,
"ctxt": 0
},
"stmts": []
@ -129,8 +129,8 @@
"identifier": {
"type": "Identifier",
"span": {
"start": 118,
"end": 120,
"start": 111,
"end": 113,
"ctxt": 0
},
"value": "C2",
@ -138,8 +138,8 @@
},
"declare": false,
"span": {
"start": 112,
"end": 157,
"start": 105,
"end": 147,
"ctxt": 0
},
"decorators": [],
@ -147,15 +147,15 @@
{
"type": "ClassProperty",
"span": {
"start": 131,
"end": 137,
"start": 123,
"end": 129,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 131,
"end": 132,
"start": 123,
"end": 124,
"ctxt": 0
},
"value": "x",
@ -165,22 +165,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 133,
"end": 136,
"start": 125,
"end": 128,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 135,
"end": 136,
"start": 127,
"end": 128,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 135,
"end": 136,
"start": 127,
"end": 128,
"ctxt": 0
},
"value": "T",
@ -202,15 +202,15 @@
{
"type": "ClassMethod",
"span": {
"start": 143,
"end": 154,
"start": 134,
"end": 145,
"ctxt": 0
},
"key": {
"type": "Identifier",
"span": {
"start": 143,
"end": 144,
"start": 134,
"end": 135,
"ctxt": 0
},
"value": "f",
@ -221,16 +221,16 @@
{
"type": "Parameter",
"span": {
"start": 146,
"end": 150,
"start": 137,
"end": 141,
"ctxt": 0
},
"decorators": [],
"pat": {
"type": "Identifier",
"span": {
"start": 146,
"end": 150,
"start": 137,
"end": 141,
"ctxt": 0
},
"value": "x",
@ -238,22 +238,22 @@
"typeAnnotation": {
"type": "TsTypeAnnotation",
"span": {
"start": 147,
"end": 150,
"start": 138,
"end": 141,
"ctxt": 0
},
"typeAnnotation": {
"type": "TsTypeReference",
"span": {
"start": 149,
"end": 150,
"start": 140,
"end": 141,
"ctxt": 0
},
"typeName": {
"type": "Identifier",
"span": {
"start": 149,
"end": 150,
"start": 140,
"end": 141,
"ctxt": 0
},
"value": "T",
@ -267,15 +267,15 @@
],
"decorators": [],
"span": {
"start": 143,
"end": 154,
"start": 134,
"end": 145,
"ctxt": 0
},
"body": {
"type": "BlockStatement",
"span": {
"start": 152,
"end": 154,
"start": 143,
"end": 145,
"ctxt": 0
},
"stmts": []
@ -298,23 +298,23 @@
"typeParams": {
"type": "TsTypeParameterDeclaration",
"span": {
"start": 120,
"end": 123,
"start": 113,
"end": 116,
"ctxt": 0
},
"parameters": [
{
"type": "TsTypeParameter",
"span": {
"start": 121,
"end": 122,
"start": 114,
"end": 115,
"ctxt": 0
},
"name": {
"type": "Identifier",
"span": {
"start": 121,
"end": 122,
"start": 114,
"end": 115,
"ctxt": 0
},
"value": "T",

Some files were not shown because too many files have changed in this diff Show More