{ "type": "File", "start": 0, "end": 5136, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 164, "column": 1 } }, "program": { "type": "Program", "start": 0, "end": 5136, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 164, "column": 1 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 0, "end": 45, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 45 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 9, "end": 21, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 21 } }, "imported": { "type": "Identifier", "start": 9, "end": 21, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "local": { "type": "Identifier", "start": 9, "end": 21, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 21 }, "identifierName": "globalConfig" }, "name": "globalConfig" } } ], "source": { "type": "StringLiteral", "start": 29, "end": 44, "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 44 } }, "extra": { "rawValue": "./core/config", "raw": "\"./core/config\"" }, "value": "./core/config" } }, { "type": "ImportDeclaration", "start": 47, "end": 93, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 46 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 56, "end": 68, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 } }, "imported": { "type": "Identifier", "start": 56, "end": 68, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" }, "local": { "type": "Identifier", "start": 56, "end": 68, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 }, "identifierName": "createLogger" }, "name": "createLogger" } } ], "source": { "type": "StringLiteral", "start": 76, "end": 92, "loc": { "start": { "line": 2, "column": 29 }, "end": { "line": 2, "column": 45 } }, "extra": { "rawValue": "./core/logging", "raw": "\"./core/logging\"" }, "value": "./core/logging" } }, { "type": "ImportDeclaration", "start": 95, "end": 135, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 40 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 104, "end": 113, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 18 } }, "imported": { "type": "Identifier", "start": 104, "end": 113, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 18 }, "identifierName": "LANGUAGES" }, "name": "LANGUAGES" }, "local": { "type": "Identifier", "start": 104, "end": 113, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 18 }, "identifierName": "LANGUAGES" }, "name": "LANGUAGES" } } ], "source": { "type": "StringLiteral", "start": 121, "end": 134, "loc": { "start": { "line": 3, "column": 26 }, "end": { "line": 3, "column": 39 } }, "extra": { "rawValue": "./languages", "raw": "\"./languages\"" }, "value": "./languages" } }, { "type": "VariableDeclaration", "start": 139, "end": 183, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 145, "end": 182, "loc": { "start": { "line": 5, "column": 6 }, "end": { "line": 5, "column": 43 } }, "id": { "type": "Identifier", "start": 145, "end": 151, "loc": { "start": { "line": 5, "column": 6 }, "end": { "line": 5, "column": 12 }, "identifierName": "logger" }, "name": "logger" }, "init": { "type": "CallExpression", "start": 154, "end": 182, "loc": { "start": { "line": 5, "column": 15 }, "end": { "line": 5, "column": 43 } }, "callee": { "type": "Identifier", "start": 154, "end": 166, "loc": { "start": { "line": 5, "column": 15 }, "end": { "line": 5, "column": 27 }, "identifierName": "createLogger" }, "name": "createLogger" }, "arguments": [ { "type": "StringLiteral", "start": 167, "end": 181, "loc": { "start": { "line": 5, "column": 28 }, "end": { "line": 5, "column": 42 } }, "extra": { "rawValue": "translations", "raw": "\"translations\"" }, "value": "translations" } ] } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 187, "end": 200, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 13 } } } ] }, { "type": "VariableDeclaration", "start": 202, "end": 264, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", "start": 208, "end": 263, "loc": { "start": { "line": 8, "column": 6 }, "end": { "line": 8, "column": 61 } }, "id": { "type": "Identifier", "start": 208, "end": 224, "loc": { "start": { "line": 8, "column": 6 }, "end": { "line": 8, "column": 22 }, "identifierName": "baseTranslations" }, "name": "baseTranslations", "leadingComments": null }, "init": { "type": "CallExpression", "start": 227, "end": 263, "loc": { "start": { "line": 8, "column": 25 }, "end": { "line": 8, "column": 61 } }, "callee": { "type": "Identifier", "start": 227, "end": 234, "loc": { "start": { "line": 8, "column": 25 }, "end": { "line": 8, "column": 32 }, "identifierName": "require" }, "name": "require" }, "arguments": [ { "type": "StringLiteral", "start": 235, "end": 262, "loc": { "start": { "line": 8, "column": 33 }, "end": { "line": 8, "column": 60 } }, "extra": { "rawValue": "./built-temp/base-en.json", "raw": "\"./built-temp/base-en.json\"" }, "value": "./built-temp/base-en.json" } ] }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 187, "end": 200, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 13 } } } ] }, { "type": "ExportNamedDeclaration", "start": 266, "end": 298, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 32 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", "start": 273, "end": 298, "loc": { "start": { "line": 9, "column": 7 }, "end": { "line": 9, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 277, "end": 297, "loc": { "start": { "line": 9, "column": 11 }, "end": { "line": 9, "column": 31 } }, "id": { "type": "Identifier", "start": 277, "end": 278, "loc": { "start": { "line": 9, "column": 11 }, "end": { "line": 9, "column": 12 }, "identifierName": "T" }, "name": "T" }, "init": { "type": "Identifier", "start": 281, "end": 297, "loc": { "start": { "line": 9, "column": 15 }, "end": { "line": 9, "column": 31 }, "identifierName": "baseTranslations" }, "name": "baseTranslations" } } ], "kind": "let", "leadingComments": [], "trailingComments": [] } }, { "type": "IfStatement", "start": 302, "end": 787, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 24, "column": 1 } }, "test": { "type": "LogicalExpression", "start": 306, "end": 353, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 51 } }, "left": { "type": "Identifier", "start": 306, "end": 314, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 12 }, "identifierName": "G_IS_DEV" }, "name": "G_IS_DEV" }, "operator": "&&", "right": { "type": "MemberExpression", "start": 318, "end": 353, "loc": { "start": { "line": 11, "column": 16 }, "end": { "line": 11, "column": 51 } }, "object": { "type": "MemberExpression", "start": 318, "end": 336, "loc": { "start": { "line": 11, "column": 16 }, "end": { "line": 11, "column": 34 } }, "object": { "type": "Identifier", "start": 318, "end": 330, "loc": { "start": { "line": 11, "column": 16 }, "end": { "line": 11, "column": 28 }, "identifierName": "globalConfig" }, "name": "globalConfig" }, "property": { "type": "Identifier", "start": 331, "end": 336, "loc": { "start": { "line": 11, "column": 29 }, "end": { "line": 11, "column": 34 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "property": { "type": "Identifier", "start": 337, "end": 353, "loc": { "start": { "line": 11, "column": 35 }, "end": { "line": 11, "column": 51 }, "identifierName": "testTranslations" }, "name": "testTranslations" }, "computed": false } }, "consequent": { "type": "BlockStatement", "start": 355, "end": 787, "loc": { "start": { "line": 11, "column": 53 }, "end": { "line": 24, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 454, "end": 759, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 22, "column": 6 } }, "declarations": [ { "type": "VariableDeclarator", "start": 460, "end": 758, "loc": { "start": { "line": 13, "column": 10 }, "end": { "line": 22, "column": 5 } }, "id": { "type": "Identifier", "start": 460, "end": 475, "loc": { "start": { "line": 13, "column": 10 }, "end": { "line": 13, "column": 25 }, "identifierName": "mapTranslations" }, "name": "mapTranslations", "leadingComments": null }, "init": { "type": "ArrowFunctionExpression", "start": 478, "end": 758, "loc": { "start": { "line": 13, "column": 28 }, "end": { "line": 22, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 478, "end": 481, "loc": { "start": { "line": 13, "column": 28 }, "end": { "line": 13, "column": 31 }, "identifierName": "obj" }, "name": "obj" } ], "body": { "type": "BlockStatement", "start": 485, "end": 758, "loc": { "start": { "line": 13, "column": 35 }, "end": { "line": 22, "column": 5 } }, "body": [ { "type": "ForInStatement", "start": 496, "end": 751, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 21, "column": 9 } }, "left": { "type": "VariableDeclaration", "start": 501, "end": 510, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 507, "end": 510, "loc": { "start": { "line": 14, "column": 19 }, "end": { "line": 14, "column": 22 } }, "id": { "type": "Identifier", "start": 507, "end": 510, "loc": { "start": { "line": 14, "column": 19 }, "end": { "line": 14, "column": 22 }, "identifierName": "key" }, "name": "key" }, "init": null } ], "kind": "const" }, "right": { "type": "Identifier", "start": 514, "end": 517, "loc": { "start": { "line": 14, "column": 26 }, "end": { "line": 14, "column": 29 }, "identifierName": "obj" }, "name": "obj" }, "body": { "type": "BlockStatement", "start": 519, "end": 751, "loc": { "start": { "line": 14, "column": 31 }, "end": { "line": 21, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 534, "end": 557, "loc": { "start": { "line": 15, "column": 12 }, "end": { "line": 15, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 540, "end": 556, "loc": { "start": { "line": 15, "column": 18 }, "end": { "line": 15, "column": 34 } }, "id": { "type": "Identifier", "start": 540, "end": 545, "loc": { "start": { "line": 15, "column": 18 }, "end": { "line": 15, "column": 23 }, "identifierName": "value" }, "name": "value" }, "init": { "type": "MemberExpression", "start": 548, "end": 556, "loc": { "start": { "line": 15, "column": 26 }, "end": { "line": 15, "column": 34 } }, "object": { "type": "Identifier", "start": 548, "end": 551, "loc": { "start": { "line": 15, "column": 26 }, "end": { "line": 15, "column": 29 }, "identifierName": "obj" }, "name": "obj" }, "property": { "type": "Identifier", "start": 552, "end": 555, "loc": { "start": { "line": 15, "column": 30 }, "end": { "line": 15, "column": 33 }, "identifierName": "key" }, "name": "key" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 571, "end": 740, "loc": { "start": { "line": 16, "column": 12 }, "end": { "line": 20, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 575, "end": 600, "loc": { "start": { "line": 16, "column": 16 }, "end": { "line": 16, "column": 41 } }, "left": { "type": "UnaryExpression", "start": 575, "end": 587, "loc": { "start": { "line": 16, "column": 16 }, "end": { "line": 16, "column": 28 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 582, "end": 587, "loc": { "start": { "line": 16, "column": 23 }, "end": { "line": 16, "column": 28 }, "identifierName": "value" }, "name": "value" }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 592, "end": 600, "loc": { "start": { "line": 16, "column": 33 }, "end": { "line": 16, "column": 41 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "consequent": { "type": "BlockStatement", "start": 602, "end": 677, "loc": { "start": { "line": 16, "column": 43 }, "end": { "line": 18, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 621, "end": 662, "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 621, "end": 661, "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 621, "end": 629, "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 24 } }, "object": { "type": "Identifier", "start": 621, "end": 624, "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 19 }, "identifierName": "obj" }, "name": "obj" }, "property": { "type": "Identifier", "start": 625, "end": 628, "loc": { "start": { "line": 17, "column": 20 }, "end": { "line": 17, "column": 23 }, "identifierName": "key" }, "name": "key" }, "computed": true }, "right": { "type": "CallExpression", "start": 632, "end": 661, "loc": { "start": { "line": 17, "column": 27 }, "end": { "line": 17, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 632, "end": 645, "loc": { "start": { "line": 17, "column": 27 }, "end": { "line": 17, "column": 40 } }, "object": { "type": "Identifier", "start": 632, "end": 637, "loc": { "start": { "line": 17, "column": 27 }, "end": { "line": 17, "column": 32 }, "identifierName": "value" }, "name": "value" }, "property": { "type": "Identifier", "start": 638, "end": 645, "loc": { "start": { "line": 17, "column": 33 }, "end": { "line": 17, "column": 40 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "RegExpLiteral", "start": 646, "end": 655, "loc": { "start": { "line": 17, "column": 41 }, "end": { "line": 17, "column": 50 } }, "extra": { "raw": "/[a-z]/gi" }, "pattern": "[a-z]", "flags": "gi" }, { "type": "StringLiteral", "start": 657, "end": 660, "loc": { "start": { "line": 17, "column": 52 }, "end": { "line": 17, "column": 55 } }, "extra": { "rawValue": "x", "raw": "\"x\"" }, "value": "x" } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 683, "end": 740, "loc": { "start": { "line": 18, "column": 19 }, "end": { "line": 20, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 702, "end": 725, "loc": { "start": { "line": 19, "column": 16 }, "end": { "line": 19, "column": 39 } }, "expression": { "type": "CallExpression", "start": 702, "end": 724, "loc": { "start": { "line": 19, "column": 16 }, "end": { "line": 19, "column": 38 } }, "callee": { "type": "Identifier", "start": 702, "end": 717, "loc": { "start": { "line": 19, "column": 16 }, "end": { "line": 19, "column": 31 }, "identifierName": "mapTranslations" }, "name": "mapTranslations" }, "arguments": [ { "type": "Identifier", "start": 718, "end": 723, "loc": { "start": { "line": 19, "column": 32 }, "end": { "line": 19, "column": 37 }, "identifierName": "value" }, "name": "value" } ] } } ], "directives": [] } } ], "directives": [] } } ], "directives": [] } }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " Replaces all translations by fake translations to see whats translated and what not", "start": 362, "end": 448, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 90 } } } ] }, { "type": "ExpressionStatement", "start": 765, "end": 784, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 23 } }, "expression": { "type": "CallExpression", "start": 765, "end": 783, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 22 } }, "callee": { "type": "Identifier", "start": 765, "end": 780, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 19 }, "identifierName": "mapTranslations" }, "name": "mapTranslations" }, "arguments": [ { "type": "Identifier", "start": 781, "end": 782, "loc": { "start": { "line": 23, "column": 20 }, "end": { "line": 23, "column": 21 }, "identifierName": "T" }, "name": "T" } ] } } ], "directives": [] }, "alternate": null }, { "type": "ExportNamedDeclaration", "start": 791, "end": 1043, "loc": { "start": { "line": 26, "column": 0 }, "end": { "line": 33, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 798, "end": 1043, "loc": { "start": { "line": 26, "column": 7 }, "end": { "line": 33, "column": 1 } }, "id": { "type": "Identifier", "start": 807, "end": 820, "loc": { "start": { "line": 26, "column": 16 }, "end": { "line": 26, "column": 29 }, "identifierName": "applyLanguage" }, "name": "applyLanguage" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 821, "end": 833, "loc": { "start": { "line": 26, "column": 30 }, "end": { "line": 26, "column": 42 }, "identifierName": "languageCode" }, "name": "languageCode" } ], "body": { "type": "BlockStatement", "start": 835, "end": 1043, "loc": { "start": { "line": 26, "column": 44 }, "end": { "line": 33, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 842, "end": 889, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 51 } }, "expression": { "type": "CallExpression", "start": 842, "end": 888, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 842, "end": 852, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 14 } }, "object": { "type": "Identifier", "start": 842, "end": 848, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 10 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 849, "end": 852, "loc": { "start": { "line": 27, "column": 11 }, "end": { "line": 27, "column": 14 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 853, "end": 873, "loc": { "start": { "line": 27, "column": 15 }, "end": { "line": 27, "column": 35 } }, "extra": { "rawValue": "Applying language:", "raw": "\"Applying language:\"" }, "value": "Applying language:" }, { "type": "Identifier", "start": 875, "end": 887, "loc": { "start": { "line": 27, "column": 37 }, "end": { "line": 27, "column": 49 }, "identifierName": "languageCode" }, "name": "languageCode" } ] } }, { "type": "VariableDeclaration", "start": 895, "end": 932, "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 41 } }, "declarations": [ { "type": "VariableDeclarator", "start": 901, "end": 931, "loc": { "start": { "line": 28, "column": 10 }, "end": { "line": 28, "column": 40 } }, "id": { "type": "Identifier", "start": 901, "end": 905, "loc": { "start": { "line": 28, "column": 10 }, "end": { "line": 28, "column": 14 }, "identifierName": "data" }, "name": "data" }, "init": { "type": "MemberExpression", "start": 908, "end": 931, "loc": { "start": { "line": 28, "column": 17 }, "end": { "line": 28, "column": 40 } }, "object": { "type": "Identifier", "start": 908, "end": 917, "loc": { "start": { "line": 28, "column": 17 }, "end": { "line": 28, "column": 26 }, "identifierName": "LANGUAGES" }, "name": "LANGUAGES" }, "property": { "type": "Identifier", "start": 918, "end": 930, "loc": { "start": { "line": 28, "column": 27 }, "end": { "line": 28, "column": 39 }, "identifierName": "languageCode" }, "name": "languageCode" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 938, "end": 1040, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 32, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 942, "end": 947, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 13 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 943, "end": 947, "loc": { "start": { "line": 29, "column": 9 }, "end": { "line": 29, "column": 13 }, "identifierName": "data" }, "name": "data" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 949, "end": 1040, "loc": { "start": { "line": 29, "column": 15 }, "end": { "line": 32, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 960, "end": 1010, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 58 } }, "expression": { "type": "CallExpression", "start": 960, "end": 1009, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 960, "end": 972, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 20 } }, "object": { "type": "Identifier", "start": 960, "end": 966, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 14 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 967, "end": 972, "loc": { "start": { "line": 30, "column": 15 }, "end": { "line": 30, "column": 20 }, "identifierName": "error" }, "name": "error" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 973, "end": 994, "loc": { "start": { "line": 30, "column": 21 }, "end": { "line": 30, "column": 42 } }, "extra": { "rawValue": "Language not found:", "raw": "\"Language not found:\"" }, "value": "Language not found:" }, { "type": "Identifier", "start": 996, "end": 1008, "loc": { "start": { "line": 30, "column": 44 }, "end": { "line": 30, "column": 56 }, "identifierName": "languageCode" }, "name": "languageCode" } ] } }, { "type": "ReturnStatement", "start": 1020, "end": 1033, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 1027, "end": 1032, "loc": { "start": { "line": 31, "column": 15 }, "end": { "line": 31, "column": 20 } }, "value": false } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " Language key is something like de-DE or en or en-US", "start": 1047, "end": 1101, "loc": { "start": { "line": 35, "column": 0 }, "end": { "line": 35, "column": 54 } } } ], "leadingComments": [] }, "trailingComments": [ { "type": "CommentLine", "value": " Language key is something like de-DE or en or en-US", "start": 1047, "end": 1101, "loc": { "start": { "line": 35, "column": 0 }, "end": { "line": 35, "column": 54 } } } ] }, { "type": "FunctionDeclaration", "start": 1103, "end": 2258, "loc": { "start": { "line": 36, "column": 0 }, "end": { "line": 71, "column": 1 } }, "id": { "type": "Identifier", "start": 1112, "end": 1131, "loc": { "start": { "line": 36, "column": 9 }, "end": { "line": 36, "column": 28 }, "identifierName": "mapLanguageCodeToId" }, "name": "mapLanguageCodeToId", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1132, "end": 1143, "loc": { "start": { "line": 36, "column": 29 }, "end": { "line": 36, "column": 40 }, "identifierName": "languageKey" }, "name": "languageKey" } ], "body": { "type": "BlockStatement", "start": 1145, "end": 2258, "loc": { "start": { "line": 36, "column": 42 }, "end": { "line": 71, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 1152, "end": 1190, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1158, "end": 1189, "loc": { "start": { "line": 37, "column": 10 }, "end": { "line": 37, "column": 41 } }, "id": { "type": "Identifier", "start": 1158, "end": 1161, "loc": { "start": { "line": 37, "column": 10 }, "end": { "line": 37, "column": 13 }, "identifierName": "key" }, "name": "key" }, "init": { "type": "CallExpression", "start": 1164, "end": 1189, "loc": { "start": { "line": 37, "column": 16 }, "end": { "line": 37, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 1164, "end": 1187, "loc": { "start": { "line": 37, "column": 16 }, "end": { "line": 37, "column": 39 } }, "object": { "type": "Identifier", "start": 1164, "end": 1175, "loc": { "start": { "line": 37, "column": 16 }, "end": { "line": 37, "column": 27 }, "identifierName": "languageKey" }, "name": "languageKey" }, "property": { "type": "Identifier", "start": 1176, "end": 1187, "loc": { "start": { "line": 37, "column": 28 }, "end": { "line": 37, "column": 39 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 1196, "end": 1231, "loc": { "start": { "line": 38, "column": 4 }, "end": { "line": 38, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1202, "end": 1230, "loc": { "start": { "line": 38, "column": 10 }, "end": { "line": 38, "column": 38 } }, "id": { "type": "Identifier", "start": 1202, "end": 1210, "loc": { "start": { "line": 38, "column": 10 }, "end": { "line": 38, "column": 18 }, "identifierName": "shortKey" }, "name": "shortKey" }, "init": { "type": "MemberExpression", "start": 1213, "end": 1230, "loc": { "start": { "line": 38, "column": 21 }, "end": { "line": 38, "column": 38 } }, "object": { "type": "CallExpression", "start": 1213, "end": 1227, "loc": { "start": { "line": 38, "column": 21 }, "end": { "line": 38, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 1213, "end": 1222, "loc": { "start": { "line": 38, "column": 21 }, "end": { "line": 38, "column": 30 } }, "object": { "type": "Identifier", "start": 1213, "end": 1216, "loc": { "start": { "line": 38, "column": 21 }, "end": { "line": 38, "column": 24 }, "identifierName": "key" }, "name": "key" }, "property": { "type": "Identifier", "start": 1217, "end": 1222, "loc": { "start": { "line": 38, "column": 25 }, "end": { "line": 38, "column": 30 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1223, "end": 1226, "loc": { "start": { "line": 38, "column": 31 }, "end": { "line": 38, "column": 34 } }, "extra": { "rawValue": "-", "raw": "\"-\"" }, "value": "-" } ] }, "property": { "type": "NumericLiteral", "start": 1228, "end": 1229, "loc": { "start": { "line": 38, "column": 36 }, "end": { "line": 38, "column": 37 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } ], "kind": "const", "trailingComments": [ { "type": "CommentLine", "value": " Try to match by key or short key", "start": 1239, "end": 1274, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 39 } } } ] }, { "type": "ForInStatement", "start": 1280, "end": 1668, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 52, "column": 5 } }, "left": { "type": "VariableDeclaration", "start": 1285, "end": 1293, "loc": { "start": { "line": 41, "column": 9 }, "end": { "line": 41, "column": 17 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1291, "end": 1293, "loc": { "start": { "line": 41, "column": 15 }, "end": { "line": 41, "column": 17 } }, "id": { "type": "Identifier", "start": 1291, "end": 1293, "loc": { "start": { "line": 41, "column": 15 }, "end": { "line": 41, "column": 17 }, "identifierName": "id" }, "name": "id", "leadingComments": null }, "init": null, "leadingComments": null } ], "kind": "const", "leadingComments": null }, "right": { "type": "Identifier", "start": 1297, "end": 1306, "loc": { "start": { "line": 41, "column": 21 }, "end": { "line": 41, "column": 30 }, "identifierName": "LANGUAGES" }, "name": "LANGUAGES" }, "body": { "type": "BlockStatement", "start": 1308, "end": 1668, "loc": { "start": { "line": 41, "column": 32 }, "end": { "line": 52, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 1319, "end": 1346, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1325, "end": 1345, "loc": { "start": { "line": 42, "column": 14 }, "end": { "line": 42, "column": 34 } }, "id": { "type": "Identifier", "start": 1325, "end": 1329, "loc": { "start": { "line": 42, "column": 14 }, "end": { "line": 42, "column": 18 }, "identifierName": "data" }, "name": "data" }, "init": { "type": "MemberExpression", "start": 1332, "end": 1345, "loc": { "start": { "line": 42, "column": 21 }, "end": { "line": 42, "column": 34 } }, "object": { "type": "Identifier", "start": 1332, "end": 1341, "loc": { "start": { "line": 42, "column": 21 }, "end": { "line": 42, "column": 30 }, "identifierName": "LANGUAGES" }, "name": "LANGUAGES" }, "property": { "type": "Identifier", "start": 1342, "end": 1344, "loc": { "start": { "line": 42, "column": 31 }, "end": { "line": 42, "column": 33 }, "identifierName": "id" }, "name": "id" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 1356, "end": 1393, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1362, "end": 1392, "loc": { "start": { "line": 43, "column": 14 }, "end": { "line": 43, "column": 44 } }, "id": { "type": "Identifier", "start": 1362, "end": 1366, "loc": { "start": { "line": 43, "column": 14 }, "end": { "line": 43, "column": 18 }, "identifierName": "code" }, "name": "code" }, "init": { "type": "CallExpression", "start": 1369, "end": 1392, "loc": { "start": { "line": 43, "column": 21 }, "end": { "line": 43, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 1369, "end": 1390, "loc": { "start": { "line": 43, "column": 21 }, "end": { "line": 43, "column": 42 } }, "object": { "type": "MemberExpression", "start": 1369, "end": 1378, "loc": { "start": { "line": 43, "column": 21 }, "end": { "line": 43, "column": 30 } }, "object": { "type": "Identifier", "start": 1369, "end": 1373, "loc": { "start": { "line": 43, "column": 21 }, "end": { "line": 43, "column": 25 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 1374, "end": 1378, "loc": { "start": { "line": 43, "column": 26 }, "end": { "line": 43, "column": 30 }, "identifierName": "code" }, "name": "code" }, "computed": false }, "property": { "type": "Identifier", "start": 1379, "end": 1390, "loc": { "start": { "line": 43, "column": 31 }, "end": { "line": 43, "column": 42 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "IfStatement", "start": 1403, "end": 1518, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 47, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 1407, "end": 1419, "loc": { "start": { "line": 44, "column": 12 }, "end": { "line": 44, "column": 24 } }, "left": { "type": "Identifier", "start": 1407, "end": 1411, "loc": { "start": { "line": 44, "column": 12 }, "end": { "line": 44, "column": 16 }, "identifierName": "code" }, "name": "code" }, "operator": "===", "right": { "type": "Identifier", "start": 1416, "end": 1419, "loc": { "start": { "line": 44, "column": 21 }, "end": { "line": 44, "column": 24 }, "identifierName": "key" }, "name": "key" } }, "consequent": { "type": "BlockStatement", "start": 1421, "end": 1518, "loc": { "start": { "line": 44, "column": 26 }, "end": { "line": 47, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 1436, "end": 1483, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 59 } }, "expression": { "type": "CallExpression", "start": 1436, "end": 1482, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 1436, "end": 1447, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 23 } }, "object": { "type": "Identifier", "start": 1436, "end": 1443, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 19 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 1444, "end": 1447, "loc": { "start": { "line": 45, "column": 20 }, "end": { "line": 45, "column": 23 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1448, "end": 1458, "loc": { "start": { "line": 45, "column": 24 }, "end": { "line": 45, "column": 34 } }, "extra": { "rawValue": "-> Match", "raw": "\"-> Match\"" }, "value": "-> Match" }, { "type": "Identifier", "start": 1460, "end": 1471, "loc": { "start": { "line": 45, "column": 36 }, "end": { "line": 45, "column": 47 }, "identifierName": "languageKey" }, "name": "languageKey" }, { "type": "StringLiteral", "start": 1473, "end": 1477, "loc": { "start": { "line": 45, "column": 49 }, "end": { "line": 45, "column": 53 } }, "extra": { "rawValue": "->", "raw": "\"->\"" }, "value": "->" }, { "type": "Identifier", "start": 1479, "end": 1481, "loc": { "start": { "line": 45, "column": 55 }, "end": { "line": 45, "column": 57 }, "identifierName": "id" }, "name": "id" } ] } }, { "type": "ReturnStatement", "start": 1497, "end": 1507, "loc": { "start": { "line": 46, "column": 12 }, "end": { "line": 46, "column": 22 } }, "argument": { "type": "Identifier", "start": 1504, "end": 1506, "loc": { "start": { "line": 46, "column": 19 }, "end": { "line": 46, "column": 21 }, "identifierName": "id" }, "name": "id" } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 1528, "end": 1661, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 51, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 1532, "end": 1549, "loc": { "start": { "line": 48, "column": 12 }, "end": { "line": 48, "column": 29 } }, "left": { "type": "Identifier", "start": 1532, "end": 1536, "loc": { "start": { "line": 48, "column": 12 }, "end": { "line": 48, "column": 16 }, "identifierName": "code" }, "name": "code" }, "operator": "===", "right": { "type": "Identifier", "start": 1541, "end": 1549, "loc": { "start": { "line": 48, "column": 21 }, "end": { "line": 48, "column": 29 }, "identifierName": "shortKey" }, "name": "shortKey" } }, "consequent": { "type": "BlockStatement", "start": 1551, "end": 1661, "loc": { "start": { "line": 48, "column": 31 }, "end": { "line": 51, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 1566, "end": 1626, "loc": { "start": { "line": 49, "column": 12 }, "end": { "line": 49, "column": 72 } }, "expression": { "type": "CallExpression", "start": 1566, "end": 1625, "loc": { "start": { "line": 49, "column": 12 }, "end": { "line": 49, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 1566, "end": 1577, "loc": { "start": { "line": 49, "column": 12 }, "end": { "line": 49, "column": 23 } }, "object": { "type": "Identifier", "start": 1566, "end": 1573, "loc": { "start": { "line": 49, "column": 12 }, "end": { "line": 49, "column": 19 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 1574, "end": 1577, "loc": { "start": { "line": 49, "column": 20 }, "end": { "line": 49, "column": 23 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1578, "end": 1601, "loc": { "start": { "line": 49, "column": 24 }, "end": { "line": 49, "column": 47 } }, "extra": { "rawValue": "-> Match by short key", "raw": "\"-> Match by short key\"" }, "value": "-> Match by short key" }, { "type": "Identifier", "start": 1603, "end": 1614, "loc": { "start": { "line": 49, "column": 49 }, "end": { "line": 49, "column": 60 }, "identifierName": "languageKey" }, "name": "languageKey" }, { "type": "StringLiteral", "start": 1616, "end": 1620, "loc": { "start": { "line": 49, "column": 62 }, "end": { "line": 49, "column": 66 } }, "extra": { "rawValue": "->", "raw": "\"->\"" }, "value": "->" }, { "type": "Identifier", "start": 1622, "end": 1624, "loc": { "start": { "line": 49, "column": 68 }, "end": { "line": 49, "column": 70 }, "identifierName": "id" }, "name": "id" } ] } }, { "type": "ReturnStatement", "start": 1640, "end": 1650, "loc": { "start": { "line": 50, "column": 12 }, "end": { "line": 50, "column": 22 } }, "argument": { "type": "Identifier", "start": 1647, "end": 1649, "loc": { "start": { "line": 50, "column": 19 }, "end": { "line": 50, "column": 21 }, "identifierName": "id" }, "name": "id" } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Try to match by key or short key", "start": 1239, "end": 1274, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 39 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " If none found, try to find a better alternative by using the base language at least", "start": 1676, "end": 1762, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 90 } } } ] }, { "type": "ForInStatement", "start": 1768, "end": 2235, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 68, "column": 5 } }, "left": { "type": "VariableDeclaration", "start": 1773, "end": 1781, "loc": { "start": { "line": 55, "column": 9 }, "end": { "line": 55, "column": 17 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1779, "end": 1781, "loc": { "start": { "line": 55, "column": 15 }, "end": { "line": 55, "column": 17 } }, "id": { "type": "Identifier", "start": 1779, "end": 1781, "loc": { "start": { "line": 55, "column": 15 }, "end": { "line": 55, "column": 17 }, "identifierName": "id" }, "name": "id", "leadingComments": null }, "init": null, "leadingComments": null } ], "kind": "const", "leadingComments": null }, "right": { "type": "Identifier", "start": 1785, "end": 1794, "loc": { "start": { "line": 55, "column": 21 }, "end": { "line": 55, "column": 30 }, "identifierName": "LANGUAGES" }, "name": "LANGUAGES" }, "body": { "type": "BlockStatement", "start": 1796, "end": 2235, "loc": { "start": { "line": 55, "column": 32 }, "end": { "line": 68, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 1807, "end": 1834, "loc": { "start": { "line": 56, "column": 8 }, "end": { "line": 56, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1813, "end": 1833, "loc": { "start": { "line": 56, "column": 14 }, "end": { "line": 56, "column": 34 } }, "id": { "type": "Identifier", "start": 1813, "end": 1817, "loc": { "start": { "line": 56, "column": 14 }, "end": { "line": 56, "column": 18 }, "identifierName": "data" }, "name": "data" }, "init": { "type": "MemberExpression", "start": 1820, "end": 1833, "loc": { "start": { "line": 56, "column": 21 }, "end": { "line": 56, "column": 34 } }, "object": { "type": "Identifier", "start": 1820, "end": 1829, "loc": { "start": { "line": 56, "column": 21 }, "end": { "line": 56, "column": 30 }, "identifierName": "LANGUAGES" }, "name": "LANGUAGES" }, "property": { "type": "Identifier", "start": 1830, "end": 1832, "loc": { "start": { "line": 56, "column": 31 }, "end": { "line": 56, "column": 33 }, "identifierName": "id" }, "name": "id" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 1844, "end": 1881, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1850, "end": 1880, "loc": { "start": { "line": 57, "column": 14 }, "end": { "line": 57, "column": 44 } }, "id": { "type": "Identifier", "start": 1850, "end": 1854, "loc": { "start": { "line": 57, "column": 14 }, "end": { "line": 57, "column": 18 }, "identifierName": "code" }, "name": "code" }, "init": { "type": "CallExpression", "start": 1857, "end": 1880, "loc": { "start": { "line": 57, "column": 21 }, "end": { "line": 57, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 1857, "end": 1878, "loc": { "start": { "line": 57, "column": 21 }, "end": { "line": 57, "column": 42 } }, "object": { "type": "MemberExpression", "start": 1857, "end": 1866, "loc": { "start": { "line": 57, "column": 21 }, "end": { "line": 57, "column": 30 } }, "object": { "type": "Identifier", "start": 1857, "end": 1861, "loc": { "start": { "line": 57, "column": 21 }, "end": { "line": 57, "column": 25 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 1862, "end": 1866, "loc": { "start": { "line": 57, "column": 26 }, "end": { "line": 57, "column": 30 }, "identifierName": "code" }, "name": "code" }, "computed": false }, "property": { "type": "Identifier", "start": 1867, "end": 1878, "loc": { "start": { "line": 57, "column": 31 }, "end": { "line": 57, "column": 42 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 1891, "end": 1928, "loc": { "start": { "line": 58, "column": 8 }, "end": { "line": 58, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1897, "end": 1927, "loc": { "start": { "line": 58, "column": 14 }, "end": { "line": 58, "column": 44 } }, "id": { "type": "Identifier", "start": 1897, "end": 1906, "loc": { "start": { "line": 58, "column": 14 }, "end": { "line": 58, "column": 23 }, "identifierName": "shortCode" }, "name": "shortCode" }, "init": { "type": "MemberExpression", "start": 1909, "end": 1927, "loc": { "start": { "line": 58, "column": 26 }, "end": { "line": 58, "column": 44 } }, "object": { "type": "CallExpression", "start": 1909, "end": 1924, "loc": { "start": { "line": 58, "column": 26 }, "end": { "line": 58, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 1909, "end": 1919, "loc": { "start": { "line": 58, "column": 26 }, "end": { "line": 58, "column": 36 } }, "object": { "type": "Identifier", "start": 1909, "end": 1913, "loc": { "start": { "line": 58, "column": 26 }, "end": { "line": 58, "column": 30 }, "identifierName": "code" }, "name": "code" }, "property": { "type": "Identifier", "start": 1914, "end": 1919, "loc": { "start": { "line": 58, "column": 31 }, "end": { "line": 58, "column": 36 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1920, "end": 1923, "loc": { "start": { "line": 58, "column": 37 }, "end": { "line": 58, "column": 40 } }, "extra": { "rawValue": "-", "raw": "\"-\"" }, "value": "-" } ] }, "property": { "type": "NumericLiteral", "start": 1925, "end": 1926, "loc": { "start": { "line": 58, "column": 42 }, "end": { "line": 58, "column": 43 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 1940, "end": 2070, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 63, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 1944, "end": 1961, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 29 } }, "left": { "type": "Identifier", "start": 1944, "end": 1953, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 21 }, "identifierName": "shortCode" }, "name": "shortCode" }, "operator": "===", "right": { "type": "Identifier", "start": 1958, "end": 1961, "loc": { "start": { "line": 60, "column": 26 }, "end": { "line": 60, "column": 29 }, "identifierName": "key" }, "name": "key" } }, "consequent": { "type": "BlockStatement", "start": 1963, "end": 2070, "loc": { "start": { "line": 60, "column": 31 }, "end": { "line": 63, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 1978, "end": 2035, "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 61, "column": 69 } }, "expression": { "type": "CallExpression", "start": 1978, "end": 2034, "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 61, "column": 68 } }, "callee": { "type": "MemberExpression", "start": 1978, "end": 1989, "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 61, "column": 23 } }, "object": { "type": "Identifier", "start": 1978, "end": 1985, "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 61, "column": 19 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 1986, "end": 1989, "loc": { "start": { "line": 61, "column": 20 }, "end": { "line": 61, "column": 23 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1990, "end": 2010, "loc": { "start": { "line": 61, "column": 24 }, "end": { "line": 61, "column": 44 } }, "extra": { "rawValue": "-> Desperate Match", "raw": "\"-> Desperate Match\"" }, "value": "-> Desperate Match" }, { "type": "Identifier", "start": 2012, "end": 2023, "loc": { "start": { "line": 61, "column": 46 }, "end": { "line": 61, "column": 57 }, "identifierName": "languageKey" }, "name": "languageKey" }, { "type": "StringLiteral", "start": 2025, "end": 2029, "loc": { "start": { "line": 61, "column": 59 }, "end": { "line": 61, "column": 63 } }, "extra": { "rawValue": "->", "raw": "\"->\"" }, "value": "->" }, { "type": "Identifier", "start": 2031, "end": 2033, "loc": { "start": { "line": 61, "column": 65 }, "end": { "line": 61, "column": 67 }, "identifierName": "id" }, "name": "id" } ] } }, { "type": "ReturnStatement", "start": 2049, "end": 2059, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 22 } }, "argument": { "type": "Identifier", "start": 2056, "end": 2058, "loc": { "start": { "line": 62, "column": 19 }, "end": { "line": 62, "column": 21 }, "identifierName": "id" }, "name": "id" } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 2080, "end": 2228, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 67, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 2084, "end": 2106, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 34 } }, "left": { "type": "Identifier", "start": 2084, "end": 2093, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 21 }, "identifierName": "shortCode" }, "name": "shortCode" }, "operator": "===", "right": { "type": "Identifier", "start": 2098, "end": 2106, "loc": { "start": { "line": 64, "column": 26 }, "end": { "line": 64, "column": 34 }, "identifierName": "shortKey" }, "name": "shortKey" } }, "consequent": { "type": "BlockStatement", "start": 2108, "end": 2228, "loc": { "start": { "line": 64, "column": 36 }, "end": { "line": 67, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 2123, "end": 2193, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 82 } }, "expression": { "type": "CallExpression", "start": 2123, "end": 2192, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 81 } }, "callee": { "type": "MemberExpression", "start": 2123, "end": 2134, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 23 } }, "object": { "type": "Identifier", "start": 2123, "end": 2130, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 19 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 2131, "end": 2134, "loc": { "start": { "line": 65, "column": 20 }, "end": { "line": 65, "column": 23 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2135, "end": 2168, "loc": { "start": { "line": 65, "column": 24 }, "end": { "line": 65, "column": 57 } }, "extra": { "rawValue": "-> Desperate Match by short key", "raw": "\"-> Desperate Match by short key\"" }, "value": "-> Desperate Match by short key" }, { "type": "Identifier", "start": 2170, "end": 2181, "loc": { "start": { "line": 65, "column": 59 }, "end": { "line": 65, "column": 70 }, "identifierName": "languageKey" }, "name": "languageKey" }, { "type": "StringLiteral", "start": 2183, "end": 2187, "loc": { "start": { "line": 65, "column": 72 }, "end": { "line": 65, "column": 76 } }, "extra": { "rawValue": "->", "raw": "\"->\"" }, "value": "->" }, { "type": "Identifier", "start": 2189, "end": 2191, "loc": { "start": { "line": 65, "column": 78 }, "end": { "line": 65, "column": 80 }, "identifierName": "id" }, "name": "id" } ] } }, { "type": "ReturnStatement", "start": 2207, "end": 2217, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 22 } }, "argument": { "type": "Identifier", "start": 2214, "end": 2216, "loc": { "start": { "line": 66, "column": 19 }, "end": { "line": 66, "column": 21 }, "identifierName": "id" }, "name": "id" } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " If none found, try to find a better alternative by using the base language at least", "start": 1676, "end": 1762, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 90 } } } ] }, { "type": "ReturnStatement", "start": 2243, "end": 2255, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 16 } }, "argument": { "type": "NullLiteral", "start": 2250, "end": 2254, "loc": { "start": { "line": 70, "column": 11 }, "end": { "line": 70, "column": 15 } } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Language key is something like de-DE or en or en-US", "start": 1047, "end": 1101, "loc": { "start": { "line": 35, "column": 0 }, "end": { "line": 35, "column": 54 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Tries to auto-detect a language\r\n * @returns {string}\r\n ", "start": 2262, "end": 2328, "loc": { "start": { "line": 73, "column": 0 }, "end": { "line": 76, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 2330, "end": 2926, "loc": { "start": { "line": 77, "column": 0 }, "end": { "line": 97, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 2337, "end": 2926, "loc": { "start": { "line": 77, "column": 7 }, "end": { "line": 97, "column": 1 } }, "id": { "type": "Identifier", "start": 2346, "end": 2366, "loc": { "start": { "line": 77, "column": 16 }, "end": { "line": 77, "column": 36 }, "identifierName": "autoDetectLanguageId" }, "name": "autoDetectLanguageId", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2369, "end": 2926, "loc": { "start": { "line": 77, "column": 39 }, "end": { "line": 97, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 2376, "end": 2395, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2380, "end": 2394, "loc": { "start": { "line": 78, "column": 8 }, "end": { "line": 78, "column": 22 } }, "id": { "type": "Identifier", "start": 2380, "end": 2389, "loc": { "start": { "line": 78, "column": 8 }, "end": { "line": 78, "column": 17 }, "identifierName": "languages" }, "name": "languages" }, "init": { "type": "ArrayExpression", "start": 2392, "end": 2394, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 22 } }, "elements": [] } } ], "kind": "let" }, { "type": "IfStatement", "start": 2401, "end": 2636, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 85, "column": 5 } }, "test": { "type": "MemberExpression", "start": 2405, "end": 2424, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 27 } }, "object": { "type": "Identifier", "start": 2405, "end": 2414, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 17 }, "identifierName": "navigator" }, "name": "navigator" }, "property": { "type": "Identifier", "start": 2415, "end": 2424, "loc": { "start": { "line": 79, "column": 18 }, "end": { "line": 79, "column": 27 }, "identifierName": "languages" }, "name": "languages" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 2426, "end": 2484, "loc": { "start": { "line": 79, "column": 29 }, "end": { "line": 81, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2437, "end": 2477, "loc": { "start": { "line": 80, "column": 8 }, "end": { "line": 80, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 2437, "end": 2476, "loc": { "start": { "line": 80, "column": 8 }, "end": { "line": 80, "column": 47 } }, "operator": "=", "left": { "type": "Identifier", "start": 2437, "end": 2446, "loc": { "start": { "line": 80, "column": 8 }, "end": { "line": 80, "column": 17 }, "identifierName": "languages" }, "name": "languages" }, "right": { "type": "CallExpression", "start": 2449, "end": 2476, "loc": { "start": { "line": 80, "column": 20 }, "end": { "line": 80, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 2449, "end": 2474, "loc": { "start": { "line": 80, "column": 20 }, "end": { "line": 80, "column": 45 } }, "object": { "type": "MemberExpression", "start": 2449, "end": 2468, "loc": { "start": { "line": 80, "column": 20 }, "end": { "line": 80, "column": 39 } }, "object": { "type": "Identifier", "start": 2449, "end": 2458, "loc": { "start": { "line": 80, "column": 20 }, "end": { "line": 80, "column": 29 }, "identifierName": "navigator" }, "name": "navigator" }, "property": { "type": "Identifier", "start": 2459, "end": 2468, "loc": { "start": { "line": 80, "column": 30 }, "end": { "line": 80, "column": 39 }, "identifierName": "languages" }, "name": "languages" }, "computed": false }, "property": { "type": "Identifier", "start": 2469, "end": 2474, "loc": { "start": { "line": 80, "column": 40 }, "end": { "line": 80, "column": 45 }, "identifierName": "slice" }, "name": "slice" }, "computed": false }, "arguments": [] } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 2490, "end": 2636, "loc": { "start": { "line": 81, "column": 11 }, "end": { "line": 85, "column": 5 } }, "test": { "type": "MemberExpression", "start": 2494, "end": 2512, "loc": { "start": { "line": 81, "column": 15 }, "end": { "line": 81, "column": 33 } }, "object": { "type": "Identifier", "start": 2494, "end": 2503, "loc": { "start": { "line": 81, "column": 15 }, "end": { "line": 81, "column": 24 }, "identifierName": "navigator" }, "name": "navigator" }, "property": { "type": "Identifier", "start": 2504, "end": 2512, "loc": { "start": { "line": 81, "column": 25 }, "end": { "line": 81, "column": 33 }, "identifierName": "language" }, "name": "language" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 2514, "end": 2565, "loc": { "start": { "line": 81, "column": 35 }, "end": { "line": 83, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2525, "end": 2558, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 2525, "end": 2557, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 40 } }, "operator": "=", "left": { "type": "Identifier", "start": 2525, "end": 2534, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 17 }, "identifierName": "languages" }, "name": "languages" }, "right": { "type": "ArrayExpression", "start": 2537, "end": 2557, "loc": { "start": { "line": 82, "column": 20 }, "end": { "line": 82, "column": 40 } }, "elements": [ { "type": "MemberExpression", "start": 2538, "end": 2556, "loc": { "start": { "line": 82, "column": 21 }, "end": { "line": 82, "column": 39 } }, "object": { "type": "Identifier", "start": 2538, "end": 2547, "loc": { "start": { "line": 82, "column": 21 }, "end": { "line": 82, "column": 30 }, "identifierName": "navigator" }, "name": "navigator" }, "property": { "type": "Identifier", "start": 2548, "end": 2556, "loc": { "start": { "line": 82, "column": 31 }, "end": { "line": 82, "column": 39 }, "identifierName": "language" }, "name": "language" }, "computed": false } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 2571, "end": 2636, "loc": { "start": { "line": 83, "column": 11 }, "end": { "line": 85, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2582, "end": 2629, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 55 } }, "expression": { "type": "CallExpression", "start": 2582, "end": 2628, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 2582, "end": 2593, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 19 } }, "object": { "type": "Identifier", "start": 2582, "end": 2588, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 14 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 2589, "end": 2593, "loc": { "start": { "line": 84, "column": 15 }, "end": { "line": 84, "column": 19 }, "identifierName": "warn" }, "name": "warn" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2594, "end": 2627, "loc": { "start": { "line": 84, "column": 20 }, "end": { "line": 84, "column": 53 } }, "extra": { "rawValue": "Navigator has no languages prop", "raw": "\"Navigator has no languages prop\"" }, "value": "Navigator has no languages prop" } ] } } ], "directives": [] } } }, { "type": "ForStatement", "start": 2644, "end": 2886, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 93, "column": 5 } }, "init": { "type": "VariableDeclaration", "start": 2649, "end": 2658, "loc": { "start": { "line": 87, "column": 9 }, "end": { "line": 87, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2653, "end": 2658, "loc": { "start": { "line": 87, "column": 13 }, "end": { "line": 87, "column": 18 } }, "id": { "type": "Identifier", "start": 2653, "end": 2654, "loc": { "start": { "line": 87, "column": 13 }, "end": { "line": 87, "column": 14 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 2657, "end": 2658, "loc": { "start": { "line": 87, "column": 17 }, "end": { "line": 87, "column": 18 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 2660, "end": 2680, "loc": { "start": { "line": 87, "column": 20 }, "end": { "line": 87, "column": 40 } }, "left": { "type": "Identifier", "start": 2660, "end": 2661, "loc": { "start": { "line": 87, "column": 20 }, "end": { "line": 87, "column": 21 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 2664, "end": 2680, "loc": { "start": { "line": 87, "column": 24 }, "end": { "line": 87, "column": 40 } }, "object": { "type": "Identifier", "start": 2664, "end": 2673, "loc": { "start": { "line": 87, "column": 24 }, "end": { "line": 87, "column": 33 }, "identifierName": "languages" }, "name": "languages" }, "property": { "type": "Identifier", "start": 2674, "end": 2680, "loc": { "start": { "line": 87, "column": 34 }, "end": { "line": 87, "column": 40 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 2682, "end": 2685, "loc": { "start": { "line": 87, "column": 42 }, "end": { "line": 87, "column": 45 } }, "operator": "++", "prefix": true, "argument": { "type": "Identifier", "start": 2684, "end": 2685, "loc": { "start": { "line": 87, "column": 44 }, "end": { "line": 87, "column": 45 }, "identifierName": "i" }, "name": "i" }, "extra": { "parenthesizedArgument": false } }, "body": { "type": "BlockStatement", "start": 2687, "end": 2886, "loc": { "start": { "line": 87, "column": 47 }, "end": { "line": 93, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2698, "end": 2761, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 71 } }, "expression": { "type": "CallExpression", "start": 2698, "end": 2760, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 2698, "end": 2708, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 18 } }, "object": { "type": "Identifier", "start": 2698, "end": 2704, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 14 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 2705, "end": 2708, "loc": { "start": { "line": 88, "column": 15 }, "end": { "line": 88, "column": 18 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 2709, "end": 2745, "loc": { "start": { "line": 88, "column": 19 }, "end": { "line": 88, "column": 55 } }, "extra": { "rawValue": "Trying to find language target for", "raw": "\"Trying to find language target for\"" }, "value": "Trying to find language target for" }, { "type": "MemberExpression", "start": 2747, "end": 2759, "loc": { "start": { "line": 88, "column": 57 }, "end": { "line": 88, "column": 69 } }, "object": { "type": "Identifier", "start": 2747, "end": 2756, "loc": { "start": { "line": 88, "column": 57 }, "end": { "line": 88, "column": 66 }, "identifierName": "languages" }, "name": "languages" }, "property": { "type": "Identifier", "start": 2757, "end": 2758, "loc": { "start": { "line": 88, "column": 67 }, "end": { "line": 88, "column": 68 }, "identifierName": "i" }, "name": "i" }, "computed": true } ] } }, { "type": "VariableDeclaration", "start": 2771, "end": 2819, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 56 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2777, "end": 2818, "loc": { "start": { "line": 89, "column": 14 }, "end": { "line": 89, "column": 55 } }, "id": { "type": "Identifier", "start": 2777, "end": 2782, "loc": { "start": { "line": 89, "column": 14 }, "end": { "line": 89, "column": 19 }, "identifierName": "trans" }, "name": "trans" }, "init": { "type": "CallExpression", "start": 2785, "end": 2818, "loc": { "start": { "line": 89, "column": 22 }, "end": { "line": 89, "column": 55 } }, "callee": { "type": "Identifier", "start": 2785, "end": 2804, "loc": { "start": { "line": 89, "column": 22 }, "end": { "line": 89, "column": 41 }, "identifierName": "mapLanguageCodeToId" }, "name": "mapLanguageCodeToId" }, "arguments": [ { "type": "MemberExpression", "start": 2805, "end": 2817, "loc": { "start": { "line": 89, "column": 42 }, "end": { "line": 89, "column": 54 } }, "object": { "type": "Identifier", "start": 2805, "end": 2814, "loc": { "start": { "line": 89, "column": 42 }, "end": { "line": 89, "column": 51 }, "identifierName": "languages" }, "name": "languages" }, "property": { "type": "Identifier", "start": 2815, "end": 2816, "loc": { "start": { "line": 89, "column": 52 }, "end": { "line": 89, "column": 53 }, "identifierName": "i" }, "name": "i" }, "computed": true } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 2829, "end": 2879, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 92, "column": 9 } }, "test": { "type": "Identifier", "start": 2833, "end": 2838, "loc": { "start": { "line": 90, "column": 12 }, "end": { "line": 90, "column": 17 }, "identifierName": "trans" }, "name": "trans" }, "consequent": { "type": "BlockStatement", "start": 2840, "end": 2879, "loc": { "start": { "line": 90, "column": 19 }, "end": { "line": 92, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 2855, "end": 2868, "loc": { "start": { "line": 91, "column": 12 }, "end": { "line": 91, "column": 25 } }, "argument": { "type": "Identifier", "start": 2862, "end": 2867, "loc": { "start": { "line": 91, "column": 19 }, "end": { "line": 91, "column": 24 }, "identifierName": "trans" }, "name": "trans" } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " Fallback", "start": 2894, "end": 2905, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 95, "column": 15 } } } ] }, { "type": "ReturnStatement", "start": 2911, "end": 2923, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 16 } }, "argument": { "type": "StringLiteral", "start": 2918, "end": 2922, "loc": { "start": { "line": 96, "column": 11 }, "end": { "line": 96, "column": 15 } }, "extra": { "rawValue": "en", "raw": "\"en\"" }, "value": "en", "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Fallback", "start": 2894, "end": 2905, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 95, "column": 15 } } } ] } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Tries to auto-detect a language\r\n * @returns {string}\r\n ", "start": 2262, "end": 2328, "loc": { "start": { "line": 73, "column": 0 }, "end": { "line": 76, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Tries to auto-detect a language\r\n * @returns {string}\r\n ", "start": 2262, "end": 2328, "loc": { "start": { "line": 73, "column": 0 }, "end": { "line": 76, "column": 3 } } } ] }, { "type": "FunctionDeclaration", "start": 2930, "end": 3603, "loc": { "start": { "line": 99, "column": 0 }, "end": { "line": 118, "column": 1 } }, "id": { "type": "Identifier", "start": 2939, "end": 2957, "loc": { "start": { "line": 99, "column": 9 }, "end": { "line": 99, "column": 27 }, "identifierName": "matchDataRecursive" }, "name": "matchDataRecursive" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2958, "end": 2962, "loc": { "start": { "line": 99, "column": 28 }, "end": { "line": 99, "column": 32 }, "identifierName": "dest" }, "name": "dest" }, { "type": "Identifier", "start": 2964, "end": 2967, "loc": { "start": { "line": 99, "column": 34 }, "end": { "line": 99, "column": 37 }, "identifierName": "src" }, "name": "src" } ], "body": { "type": "BlockStatement", "start": 2969, "end": 3603, "loc": { "start": { "line": 99, "column": 39 }, "end": { "line": 118, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 2976, "end": 3058, "loc": { "start": { "line": 100, "column": 4 }, "end": { "line": 102, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 2980, "end": 3031, "loc": { "start": { "line": 100, "column": 8 }, "end": { "line": 100, "column": 59 } }, "left": { "type": "BinaryExpression", "start": 2980, "end": 3004, "loc": { "start": { "line": 100, "column": 8 }, "end": { "line": 100, "column": 32 } }, "left": { "type": "UnaryExpression", "start": 2980, "end": 2991, "loc": { "start": { "line": 100, "column": 8 }, "end": { "line": 100, "column": 19 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 2987, "end": 2991, "loc": { "start": { "line": 100, "column": 15 }, "end": { "line": 100, "column": 19 }, "identifierName": "dest" }, "name": "dest" }, "extra": { "parenthesizedArgument": false } }, "operator": "!==", "right": { "type": "StringLiteral", "start": 2996, "end": 3004, "loc": { "start": { "line": 100, "column": 24 }, "end": { "line": 100, "column": 32 } }, "extra": { "rawValue": "object", "raw": "\"object\"" }, "value": "object" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 3008, "end": 3031, "loc": { "start": { "line": 100, "column": 36 }, "end": { "line": 100, "column": 59 } }, "left": { "type": "UnaryExpression", "start": 3008, "end": 3018, "loc": { "start": { "line": 100, "column": 36 }, "end": { "line": 100, "column": 46 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 3015, "end": 3018, "loc": { "start": { "line": 100, "column": 43 }, "end": { "line": 100, "column": 46 }, "identifierName": "src" }, "name": "src" }, "extra": { "parenthesizedArgument": false } }, "operator": "!==", "right": { "type": "StringLiteral", "start": 3023, "end": 3031, "loc": { "start": { "line": 100, "column": 51 }, "end": { "line": 100, "column": 59 } }, "extra": { "rawValue": "object", "raw": "\"object\"" }, "value": "object" } } }, "consequent": { "type": "BlockStatement", "start": 3033, "end": 3058, "loc": { "start": { "line": 100, "column": 61 }, "end": { "line": 102, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 3044, "end": 3051, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 15 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "ForInStatement", "start": 3066, "end": 3600, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 117, "column": 5 } }, "left": { "type": "VariableDeclaration", "start": 3071, "end": 3080, "loc": { "start": { "line": 104, "column": 9 }, "end": { "line": 104, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3077, "end": 3080, "loc": { "start": { "line": 104, "column": 15 }, "end": { "line": 104, "column": 18 } }, "id": { "type": "Identifier", "start": 3077, "end": 3080, "loc": { "start": { "line": 104, "column": 15 }, "end": { "line": 104, "column": 18 }, "identifierName": "key" }, "name": "key" }, "init": null } ], "kind": "const" }, "right": { "type": "Identifier", "start": 3084, "end": 3088, "loc": { "start": { "line": 104, "column": 22 }, "end": { "line": 104, "column": 26 }, "identifierName": "dest" }, "name": "dest" }, "body": { "type": "BlockStatement", "start": 3090, "end": 3600, "loc": { "start": { "line": 104, "column": 28 }, "end": { "line": 117, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 3101, "end": 3593, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 116, "column": 9 } }, "test": { "type": "MemberExpression", "start": 3105, "end": 3113, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 105, "column": 20 } }, "object": { "type": "Identifier", "start": 3105, "end": 3108, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 105, "column": 15 }, "identifierName": "src" }, "name": "src" }, "property": { "type": "Identifier", "start": 3109, "end": 3112, "loc": { "start": { "line": 105, "column": 16 }, "end": { "line": 105, "column": 19 }, "identifierName": "key" }, "name": "key" }, "computed": true }, "consequent": { "type": "BlockStatement", "start": 3115, "end": 3593, "loc": { "start": { "line": 105, "column": 22 }, "end": { "line": 116, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 3172, "end": 3195, "loc": { "start": { "line": 107, "column": 12 }, "end": { "line": 107, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3178, "end": 3194, "loc": { "start": { "line": 107, "column": 18 }, "end": { "line": 107, "column": 34 } }, "id": { "type": "Identifier", "start": 3178, "end": 3182, "loc": { "start": { "line": 107, "column": 18 }, "end": { "line": 107, "column": 22 }, "identifierName": "data" }, "name": "data", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 3185, "end": 3194, "loc": { "start": { "line": 107, "column": 25 }, "end": { "line": 107, "column": 34 } }, "object": { "type": "Identifier", "start": 3185, "end": 3189, "loc": { "start": { "line": 107, "column": 25 }, "end": { "line": 107, "column": 29 }, "identifierName": "dest" }, "name": "dest" }, "property": { "type": "Identifier", "start": 3190, "end": 3193, "loc": { "start": { "line": 107, "column": 30 }, "end": { "line": 107, "column": 33 }, "identifierName": "key" }, "name": "key" }, "computed": true }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " console.log(\"copy\", key);", "start": 3130, "end": 3158, "loc": { "start": { "line": 106, "column": 12 }, "end": { "line": 106, "column": 40 } } } ] }, { "type": "IfStatement", "start": 3209, "end": 3582, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 115, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 3213, "end": 3237, "loc": { "start": { "line": 108, "column": 16 }, "end": { "line": 108, "column": 40 } }, "left": { "type": "UnaryExpression", "start": 3213, "end": 3224, "loc": { "start": { "line": 108, "column": 16 }, "end": { "line": 108, "column": 27 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 3220, "end": 3224, "loc": { "start": { "line": 108, "column": 23 }, "end": { "line": 108, "column": 27 }, "identifierName": "data" }, "name": "data" }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 3229, "end": 3237, "loc": { "start": { "line": 108, "column": 32 }, "end": { "line": 108, "column": 40 } }, "extra": { "rawValue": "object", "raw": "\"object\"" }, "value": "object" } }, "consequent": { "type": "BlockStatement", "start": 3239, "end": 3313, "loc": { "start": { "line": 108, "column": 42 }, "end": { "line": 110, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 3258, "end": 3298, "loc": { "start": { "line": 109, "column": 16 }, "end": { "line": 109, "column": 56 } }, "expression": { "type": "CallExpression", "start": 3258, "end": 3297, "loc": { "start": { "line": 109, "column": 16 }, "end": { "line": 109, "column": 55 } }, "callee": { "type": "Identifier", "start": 3258, "end": 3276, "loc": { "start": { "line": 109, "column": 16 }, "end": { "line": 109, "column": 34 }, "identifierName": "matchDataRecursive" }, "name": "matchDataRecursive" }, "arguments": [ { "type": "MemberExpression", "start": 3277, "end": 3286, "loc": { "start": { "line": 109, "column": 35 }, "end": { "line": 109, "column": 44 } }, "object": { "type": "Identifier", "start": 3277, "end": 3281, "loc": { "start": { "line": 109, "column": 35 }, "end": { "line": 109, "column": 39 }, "identifierName": "dest" }, "name": "dest" }, "property": { "type": "Identifier", "start": 3282, "end": 3285, "loc": { "start": { "line": 109, "column": 40 }, "end": { "line": 109, "column": 43 }, "identifierName": "key" }, "name": "key" }, "computed": true }, { "type": "MemberExpression", "start": 3288, "end": 3296, "loc": { "start": { "line": 109, "column": 46 }, "end": { "line": 109, "column": 54 } }, "object": { "type": "Identifier", "start": 3288, "end": 3291, "loc": { "start": { "line": 109, "column": 46 }, "end": { "line": 109, "column": 49 }, "identifierName": "src" }, "name": "src" }, "property": { "type": "Identifier", "start": 3292, "end": 3295, "loc": { "start": { "line": 109, "column": 50 }, "end": { "line": 109, "column": 53 }, "identifierName": "key" }, "name": "key" }, "computed": true } ] } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 3319, "end": 3582, "loc": { "start": { "line": 110, "column": 19 }, "end": { "line": 115, "column": 13 } }, "test": { "type": "LogicalExpression", "start": 3323, "end": 3375, "loc": { "start": { "line": 110, "column": 23 }, "end": { "line": 110, "column": 75 } }, "left": { "type": "BinaryExpression", "start": 3323, "end": 3347, "loc": { "start": { "line": 110, "column": 23 }, "end": { "line": 110, "column": 47 } }, "left": { "type": "UnaryExpression", "start": 3323, "end": 3334, "loc": { "start": { "line": 110, "column": 23 }, "end": { "line": 110, "column": 34 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 3330, "end": 3334, "loc": { "start": { "line": 110, "column": 30 }, "end": { "line": 110, "column": 34 }, "identifierName": "data" }, "name": "data" }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 3339, "end": 3347, "loc": { "start": { "line": 110, "column": 39 }, "end": { "line": 110, "column": 47 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 3351, "end": 3375, "loc": { "start": { "line": 110, "column": 51 }, "end": { "line": 110, "column": 75 } }, "left": { "type": "UnaryExpression", "start": 3351, "end": 3362, "loc": { "start": { "line": 110, "column": 51 }, "end": { "line": 110, "column": 62 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 3358, "end": 3362, "loc": { "start": { "line": 110, "column": 58 }, "end": { "line": 110, "column": 62 }, "identifierName": "data" }, "name": "data" }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 3367, "end": 3375, "loc": { "start": { "line": 110, "column": 67 }, "end": { "line": 110, "column": 75 } }, "extra": { "rawValue": "number", "raw": "\"number\"" }, "value": "number" } } }, "consequent": { "type": "BlockStatement", "start": 3377, "end": 3486, "loc": { "start": { "line": 110, "column": 77 }, "end": { "line": 113, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 3450, "end": 3471, "loc": { "start": { "line": 112, "column": 16 }, "end": { "line": 112, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 3450, "end": 3470, "loc": { "start": { "line": 112, "column": 16 }, "end": { "line": 112, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3450, "end": 3459, "loc": { "start": { "line": 112, "column": 16 }, "end": { "line": 112, "column": 25 } }, "object": { "type": "Identifier", "start": 3450, "end": 3454, "loc": { "start": { "line": 112, "column": 16 }, "end": { "line": 112, "column": 20 }, "identifierName": "dest" }, "name": "dest", "leadingComments": null }, "property": { "type": "Identifier", "start": 3455, "end": 3458, "loc": { "start": { "line": 112, "column": 21 }, "end": { "line": 112, "column": 24 }, "identifierName": "key" }, "name": "key" }, "computed": true, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 3462, "end": 3470, "loc": { "start": { "line": 112, "column": 28 }, "end": { "line": 112, "column": 36 } }, "object": { "type": "Identifier", "start": 3462, "end": 3465, "loc": { "start": { "line": 112, "column": 28 }, "end": { "line": 112, "column": 31 }, "identifierName": "src" }, "name": "src" }, "property": { "type": "Identifier", "start": 3466, "end": 3469, "loc": { "start": { "line": 112, "column": 32 }, "end": { "line": 112, "column": 35 }, "identifierName": "key" }, "name": "key" }, "computed": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " console.log(\"match string\", key);", "start": 3396, "end": 3432, "loc": { "start": { "line": 111, "column": 16 }, "end": { "line": 111, "column": 52 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 3492, "end": 3582, "loc": { "start": { "line": 113, "column": 19 }, "end": { "line": 115, "column": 13 } }, "body": [ { "type": "ExpressionStatement", "start": 3511, "end": 3567, "loc": { "start": { "line": 114, "column": 16 }, "end": { "line": 114, "column": 72 } }, "expression": { "type": "CallExpression", "start": 3511, "end": 3566, "loc": { "start": { "line": 114, "column": 16 }, "end": { "line": 114, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 3511, "end": 3521, "loc": { "start": { "line": 114, "column": 16 }, "end": { "line": 114, "column": 26 } }, "object": { "type": "Identifier", "start": 3511, "end": 3517, "loc": { "start": { "line": 114, "column": 16 }, "end": { "line": 114, "column": 22 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 3518, "end": 3521, "loc": { "start": { "line": 114, "column": 23 }, "end": { "line": 114, "column": 26 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 3522, "end": 3537, "loc": { "start": { "line": 114, "column": 27 }, "end": { "line": 114, "column": 42 } }, "extra": { "rawValue": "Unknown type:", "raw": "\"Unknown type:\"" }, "value": "Unknown type:" }, { "type": "UnaryExpression", "start": 3539, "end": 3550, "loc": { "start": { "line": 114, "column": 44 }, "end": { "line": 114, "column": 55 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 3546, "end": 3550, "loc": { "start": { "line": 114, "column": 51 }, "end": { "line": 114, "column": 55 }, "identifierName": "data" }, "name": "data" }, "extra": { "parenthesizedArgument": false } }, { "type": "StringLiteral", "start": 3552, "end": 3560, "loc": { "start": { "line": 114, "column": 57 }, "end": { "line": 114, "column": 65 } }, "extra": { "rawValue": "in key", "raw": "\"in key\"" }, "value": "in key" }, { "type": "Identifier", "start": 3562, "end": 3565, "loc": { "start": { "line": 114, "column": 67 }, "end": { "line": 114, "column": 70 }, "identifierName": "key" }, "name": "key" } ] } } ], "directives": [] } } } ], "directives": [] }, "alternate": null } ], "directives": [] } } ], "directives": [] } }, { "type": "ExportNamedDeclaration", "start": 3607, "end": 4263, "loc": { "start": { "line": 120, "column": 0 }, "end": { "line": 138, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 3614, "end": 4263, "loc": { "start": { "line": 120, "column": 7 }, "end": { "line": 138, "column": 1 } }, "id": { "type": "Identifier", "start": 3623, "end": 3646, "loc": { "start": { "line": 120, "column": 16 }, "end": { "line": 120, "column": 39 }, "identifierName": "matchOverwriteRecursive" }, "name": "matchOverwriteRecursive" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3647, "end": 3651, "loc": { "start": { "line": 120, "column": 40 }, "end": { "line": 120, "column": 44 }, "identifierName": "dest" }, "name": "dest" }, { "type": "Identifier", "start": 3653, "end": 3656, "loc": { "start": { "line": 120, "column": 46 }, "end": { "line": 120, "column": 49 }, "identifierName": "src" }, "name": "src" } ], "body": { "type": "BlockStatement", "start": 3658, "end": 4263, "loc": { "start": { "line": 120, "column": 51 }, "end": { "line": 138, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 3665, "end": 3747, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 123, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 3669, "end": 3720, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 59 } }, "left": { "type": "BinaryExpression", "start": 3669, "end": 3693, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 32 } }, "left": { "type": "UnaryExpression", "start": 3669, "end": 3680, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 19 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 3676, "end": 3680, "loc": { "start": { "line": 121, "column": 15 }, "end": { "line": 121, "column": 19 }, "identifierName": "dest" }, "name": "dest" }, "extra": { "parenthesizedArgument": false } }, "operator": "!==", "right": { "type": "StringLiteral", "start": 3685, "end": 3693, "loc": { "start": { "line": 121, "column": 24 }, "end": { "line": 121, "column": 32 } }, "extra": { "rawValue": "object", "raw": "\"object\"" }, "value": "object" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 3697, "end": 3720, "loc": { "start": { "line": 121, "column": 36 }, "end": { "line": 121, "column": 59 } }, "left": { "type": "UnaryExpression", "start": 3697, "end": 3707, "loc": { "start": { "line": 121, "column": 36 }, "end": { "line": 121, "column": 46 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 3704, "end": 3707, "loc": { "start": { "line": 121, "column": 43 }, "end": { "line": 121, "column": 46 }, "identifierName": "src" }, "name": "src" }, "extra": { "parenthesizedArgument": false } }, "operator": "!==", "right": { "type": "StringLiteral", "start": 3712, "end": 3720, "loc": { "start": { "line": 121, "column": 51 }, "end": { "line": 121, "column": 59 } }, "extra": { "rawValue": "object", "raw": "\"object\"" }, "value": "object" } } }, "consequent": { "type": "BlockStatement", "start": 3722, "end": 3747, "loc": { "start": { "line": 121, "column": 61 }, "end": { "line": 123, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 3733, "end": 3740, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 15 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "ForInStatement", "start": 3755, "end": 4260, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 137, "column": 5 } }, "left": { "type": "VariableDeclaration", "start": 3760, "end": 3769, "loc": { "start": { "line": 125, "column": 9 }, "end": { "line": 125, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3766, "end": 3769, "loc": { "start": { "line": 125, "column": 15 }, "end": { "line": 125, "column": 18 } }, "id": { "type": "Identifier", "start": 3766, "end": 3769, "loc": { "start": { "line": 125, "column": 15 }, "end": { "line": 125, "column": 18 }, "identifierName": "key" }, "name": "key" }, "init": null } ], "kind": "const" }, "right": { "type": "Identifier", "start": 3773, "end": 3776, "loc": { "start": { "line": 125, "column": 22 }, "end": { "line": 125, "column": 25 }, "identifierName": "src" }, "name": "src" }, "body": { "type": "BlockStatement", "start": 3778, "end": 4260, "loc": { "start": { "line": 125, "column": 27 }, "end": { "line": 137, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 3826, "end": 3848, "loc": { "start": { "line": 127, "column": 8 }, "end": { "line": 127, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3832, "end": 3847, "loc": { "start": { "line": 127, "column": 14 }, "end": { "line": 127, "column": 29 } }, "id": { "type": "Identifier", "start": 3832, "end": 3836, "loc": { "start": { "line": 127, "column": 14 }, "end": { "line": 127, "column": 18 }, "identifierName": "data" }, "name": "data", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 3839, "end": 3847, "loc": { "start": { "line": 127, "column": 21 }, "end": { "line": 127, "column": 29 } }, "object": { "type": "Identifier", "start": 3839, "end": 3842, "loc": { "start": { "line": 127, "column": 21 }, "end": { "line": 127, "column": 24 }, "identifierName": "src" }, "name": "src" }, "property": { "type": "Identifier", "start": 3843, "end": 3846, "loc": { "start": { "line": 127, "column": 25 }, "end": { "line": 127, "column": 28 }, "identifierName": "key" }, "name": "key" }, "computed": true }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": "console.log(\"copy\", key);", "start": 3789, "end": 3816, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 126, "column": 35 } } } ] }, { "type": "IfStatement", "start": 3858, "end": 4253, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 136, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 3862, "end": 3886, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 36 } }, "left": { "type": "UnaryExpression", "start": 3862, "end": 3873, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 23 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 3869, "end": 3873, "loc": { "start": { "line": 128, "column": 19 }, "end": { "line": 128, "column": 23 }, "identifierName": "data" }, "name": "data" }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 3878, "end": 3886, "loc": { "start": { "line": 128, "column": 28 }, "end": { "line": 128, "column": 36 } }, "extra": { "rawValue": "object", "raw": "\"object\"" }, "value": "object" } }, "consequent": { "type": "BlockStatement", "start": 3888, "end": 4004, "loc": { "start": { "line": 128, "column": 38 }, "end": { "line": 131, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 3903, "end": 3934, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 129, "column": 43 } }, "test": { "type": "UnaryExpression", "start": 3907, "end": 3917, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 129, "column": 26 } }, "operator": "!", "prefix": true, "argument": { "type": "MemberExpression", "start": 3908, "end": 3917, "loc": { "start": { "line": 129, "column": 17 }, "end": { "line": 129, "column": 26 } }, "object": { "type": "Identifier", "start": 3908, "end": 3912, "loc": { "start": { "line": 129, "column": 17 }, "end": { "line": 129, "column": 21 }, "identifierName": "dest" }, "name": "dest" }, "property": { "type": "Identifier", "start": 3913, "end": 3916, "loc": { "start": { "line": 129, "column": 22 }, "end": { "line": 129, "column": 25 }, "identifierName": "key" }, "name": "key" }, "computed": true }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ExpressionStatement", "start": 3919, "end": 3934, "loc": { "start": { "line": 129, "column": 28 }, "end": { "line": 129, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 3919, "end": 3933, "loc": { "start": { "line": 129, "column": 28 }, "end": { "line": 129, "column": 42 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 3919, "end": 3928, "loc": { "start": { "line": 129, "column": 28 }, "end": { "line": 129, "column": 37 } }, "object": { "type": "Identifier", "start": 3919, "end": 3923, "loc": { "start": { "line": 129, "column": 28 }, "end": { "line": 129, "column": 32 }, "identifierName": "dest" }, "name": "dest" }, "property": { "type": "Identifier", "start": 3924, "end": 3927, "loc": { "start": { "line": 129, "column": 33 }, "end": { "line": 129, "column": 36 }, "identifierName": "key" }, "name": "key" }, "computed": true }, "right": { "type": "ObjectExpression", "start": 3931, "end": 3933, "loc": { "start": { "line": 129, "column": 40 }, "end": { "line": 129, "column": 42 } }, "properties": [] } } }, "alternate": null }, { "type": "ExpressionStatement", "start": 3948, "end": 3993, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 57 } }, "expression": { "type": "CallExpression", "start": 3948, "end": 3992, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 56 } }, "callee": { "type": "Identifier", "start": 3948, "end": 3971, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 35 }, "identifierName": "matchOverwriteRecursive" }, "name": "matchOverwriteRecursive" }, "arguments": [ { "type": "MemberExpression", "start": 3972, "end": 3981, "loc": { "start": { "line": 130, "column": 36 }, "end": { "line": 130, "column": 45 } }, "object": { "type": "Identifier", "start": 3972, "end": 3976, "loc": { "start": { "line": 130, "column": 36 }, "end": { "line": 130, "column": 40 }, "identifierName": "dest" }, "name": "dest" }, "property": { "type": "Identifier", "start": 3977, "end": 3980, "loc": { "start": { "line": 130, "column": 41 }, "end": { "line": 130, "column": 44 }, "identifierName": "key" }, "name": "key" }, "computed": true }, { "type": "MemberExpression", "start": 3983, "end": 3991, "loc": { "start": { "line": 130, "column": 47 }, "end": { "line": 130, "column": 55 } }, "object": { "type": "Identifier", "start": 3983, "end": 3986, "loc": { "start": { "line": 130, "column": 47 }, "end": { "line": 130, "column": 50 }, "identifierName": "src" }, "name": "src" }, "property": { "type": "Identifier", "start": 3987, "end": 3990, "loc": { "start": { "line": 130, "column": 51 }, "end": { "line": 130, "column": 54 }, "identifierName": "key" }, "name": "key" }, "computed": true } ] } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 4010, "end": 4253, "loc": { "start": { "line": 131, "column": 15 }, "end": { "line": 136, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 4014, "end": 4066, "loc": { "start": { "line": 131, "column": 19 }, "end": { "line": 131, "column": 71 } }, "left": { "type": "BinaryExpression", "start": 4014, "end": 4038, "loc": { "start": { "line": 131, "column": 19 }, "end": { "line": 131, "column": 43 } }, "left": { "type": "UnaryExpression", "start": 4014, "end": 4025, "loc": { "start": { "line": 131, "column": 19 }, "end": { "line": 131, "column": 30 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 4021, "end": 4025, "loc": { "start": { "line": 131, "column": 26 }, "end": { "line": 131, "column": 30 }, "identifierName": "data" }, "name": "data" }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 4030, "end": 4038, "loc": { "start": { "line": 131, "column": 35 }, "end": { "line": 131, "column": 43 } }, "extra": { "rawValue": "string", "raw": "\"string\"" }, "value": "string" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 4042, "end": 4066, "loc": { "start": { "line": 131, "column": 47 }, "end": { "line": 131, "column": 71 } }, "left": { "type": "UnaryExpression", "start": 4042, "end": 4053, "loc": { "start": { "line": 131, "column": 47 }, "end": { "line": 131, "column": 58 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 4049, "end": 4053, "loc": { "start": { "line": 131, "column": 54 }, "end": { "line": 131, "column": 58 }, "identifierName": "data" }, "name": "data" }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 4058, "end": 4066, "loc": { "start": { "line": 131, "column": 63 }, "end": { "line": 131, "column": 71 } }, "extra": { "rawValue": "number", "raw": "\"number\"" }, "value": "number" } } }, "consequent": { "type": "BlockStatement", "start": 4068, "end": 4165, "loc": { "start": { "line": 131, "column": 73 }, "end": { "line": 134, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 4133, "end": 4154, "loc": { "start": { "line": 133, "column": 12 }, "end": { "line": 133, "column": 33 } }, "expression": { "type": "AssignmentExpression", "start": 4133, "end": 4153, "loc": { "start": { "line": 133, "column": 12 }, "end": { "line": 133, "column": 32 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 4133, "end": 4142, "loc": { "start": { "line": 133, "column": 12 }, "end": { "line": 133, "column": 21 } }, "object": { "type": "Identifier", "start": 4133, "end": 4137, "loc": { "start": { "line": 133, "column": 12 }, "end": { "line": 133, "column": 16 }, "identifierName": "dest" }, "name": "dest", "leadingComments": null }, "property": { "type": "Identifier", "start": 4138, "end": 4141, "loc": { "start": { "line": 133, "column": 17 }, "end": { "line": 133, "column": 20 }, "identifierName": "key" }, "name": "key" }, "computed": true, "leadingComments": null }, "right": { "type": "MemberExpression", "start": 4145, "end": 4153, "loc": { "start": { "line": 133, "column": 24 }, "end": { "line": 133, "column": 32 } }, "object": { "type": "Identifier", "start": 4145, "end": 4148, "loc": { "start": { "line": 133, "column": 24 }, "end": { "line": 133, "column": 27 }, "identifierName": "src" }, "name": "src" }, "property": { "type": "Identifier", "start": 4149, "end": 4152, "loc": { "start": { "line": 133, "column": 28 }, "end": { "line": 133, "column": 31 }, "identifierName": "key" }, "name": "key" }, "computed": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " console.log(\"match string\", key);", "start": 4083, "end": 4119, "loc": { "start": { "line": 132, "column": 12 }, "end": { "line": 132, "column": 48 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 4171, "end": 4253, "loc": { "start": { "line": 134, "column": 15 }, "end": { "line": 136, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 4186, "end": 4242, "loc": { "start": { "line": 135, "column": 12 }, "end": { "line": 135, "column": 68 } }, "expression": { "type": "CallExpression", "start": 4186, "end": 4241, "loc": { "start": { "line": 135, "column": 12 }, "end": { "line": 135, "column": 67 } }, "callee": { "type": "MemberExpression", "start": 4186, "end": 4196, "loc": { "start": { "line": 135, "column": 12 }, "end": { "line": 135, "column": 22 } }, "object": { "type": "Identifier", "start": 4186, "end": 4192, "loc": { "start": { "line": 135, "column": 12 }, "end": { "line": 135, "column": 18 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 4193, "end": 4196, "loc": { "start": { "line": 135, "column": 19 }, "end": { "line": 135, "column": 22 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 4197, "end": 4212, "loc": { "start": { "line": 135, "column": 23 }, "end": { "line": 135, "column": 38 } }, "extra": { "rawValue": "Unknown type:", "raw": "\"Unknown type:\"" }, "value": "Unknown type:" }, { "type": "UnaryExpression", "start": 4214, "end": 4225, "loc": { "start": { "line": 135, "column": 40 }, "end": { "line": 135, "column": 51 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 4221, "end": 4225, "loc": { "start": { "line": 135, "column": 47 }, "end": { "line": 135, "column": 51 }, "identifierName": "data" }, "name": "data" }, "extra": { "parenthesizedArgument": false } }, { "type": "StringLiteral", "start": 4227, "end": 4235, "loc": { "start": { "line": 135, "column": 53 }, "end": { "line": 135, "column": 61 } }, "extra": { "rawValue": "in key", "raw": "\"in key\"" }, "value": "in key" }, { "type": "Identifier", "start": 4237, "end": 4240, "loc": { "start": { "line": 135, "column": 63 }, "end": { "line": 135, "column": 66 }, "identifierName": "key" }, "name": "key" } ] } } ], "directives": [] } } } ], "directives": [] } } ], "directives": [] }, "leadingComments": [], "trailingComments": [] } }, { "type": "ExportNamedDeclaration", "start": 4267, "end": 5136, "loc": { "start": { "line": 140, "column": 0 }, "end": { "line": 164, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 4274, "end": 5136, "loc": { "start": { "line": 140, "column": 7 }, "end": { "line": 164, "column": 1 } }, "id": { "type": "Identifier", "start": 4283, "end": 4308, "loc": { "start": { "line": 140, "column": 16 }, "end": { "line": 140, "column": 41 }, "identifierName": "updateApplicationLanguage" }, "name": "updateApplicationLanguage" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 4309, "end": 4311, "loc": { "start": { "line": 140, "column": 42 }, "end": { "line": 140, "column": 44 }, "identifierName": "id" }, "name": "id" } ], "body": { "type": "BlockStatement", "start": 4313, "end": 5136, "loc": { "start": { "line": 140, "column": 46 }, "end": { "line": 164, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 4320, "end": 4368, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 141, "column": 52 } }, "expression": { "type": "CallExpression", "start": 4320, "end": 4367, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 141, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 4320, "end": 4330, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 141, "column": 14 } }, "object": { "type": "Identifier", "start": 4320, "end": 4326, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 141, "column": 10 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 4327, "end": 4330, "loc": { "start": { "line": 141, "column": 11 }, "end": { "line": 141, "column": 14 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 4331, "end": 4362, "loc": { "start": { "line": 141, "column": 15 }, "end": { "line": 141, "column": 46 } }, "extra": { "rawValue": "Setting application language:", "raw": "\"Setting application language:\"" }, "value": "Setting application language:" }, { "type": "Identifier", "start": 4364, "end": 4366, "loc": { "start": { "line": 141, "column": 48 }, "end": { "line": 141, "column": 50 }, "identifierName": "id" }, "name": "id" } ] } }, { "type": "VariableDeclaration", "start": 4376, "end": 4403, "loc": { "start": { "line": 143, "column": 4 }, "end": { "line": 143, "column": 31 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4382, "end": 4402, "loc": { "start": { "line": 143, "column": 10 }, "end": { "line": 143, "column": 30 } }, "id": { "type": "Identifier", "start": 4382, "end": 4386, "loc": { "start": { "line": 143, "column": 10 }, "end": { "line": 143, "column": 14 }, "identifierName": "data" }, "name": "data" }, "init": { "type": "MemberExpression", "start": 4389, "end": 4402, "loc": { "start": { "line": 143, "column": 17 }, "end": { "line": 143, "column": 30 } }, "object": { "type": "Identifier", "start": 4389, "end": 4398, "loc": { "start": { "line": 143, "column": 17 }, "end": { "line": 143, "column": 26 }, "identifierName": "LANGUAGES" }, "name": "LANGUAGES" }, "property": { "type": "Identifier", "start": 4399, "end": 4401, "loc": { "start": { "line": 143, "column": 27 }, "end": { "line": 143, "column": 29 }, "identifierName": "id" }, "name": "id" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 4411, "end": 4495, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 148, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 4415, "end": 4420, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 13 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 4416, "end": 4420, "loc": { "start": { "line": 145, "column": 9 }, "end": { "line": 145, "column": 13 }, "identifierName": "data" }, "name": "data" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 4422, "end": 4495, "loc": { "start": { "line": 145, "column": 15 }, "end": { "line": 148, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 4433, "end": 4471, "loc": { "start": { "line": 146, "column": 8 }, "end": { "line": 146, "column": 46 } }, "expression": { "type": "CallExpression", "start": 4433, "end": 4470, "loc": { "start": { "line": 146, "column": 8 }, "end": { "line": 146, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 4433, "end": 4445, "loc": { "start": { "line": 146, "column": 8 }, "end": { "line": 146, "column": 20 } }, "object": { "type": "Identifier", "start": 4433, "end": 4439, "loc": { "start": { "line": 146, "column": 8 }, "end": { "line": 146, "column": 14 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 4440, "end": 4445, "loc": { "start": { "line": 146, "column": 15 }, "end": { "line": 146, "column": 20 }, "identifierName": "error" }, "name": "error" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 4446, "end": 4465, "loc": { "start": { "line": 146, "column": 21 }, "end": { "line": 146, "column": 40 } }, "extra": { "rawValue": "Unknown language:", "raw": "\"Unknown language:\"" }, "value": "Unknown language:" }, { "type": "Identifier", "start": 4467, "end": 4469, "loc": { "start": { "line": 146, "column": 42 }, "end": { "line": 146, "column": 44 }, "identifierName": "id" }, "name": "id" } ] } }, { "type": "ReturnStatement", "start": 4481, "end": 4488, "loc": { "start": { "line": 147, "column": 8 }, "end": { "line": 147, "column": 15 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 4503, "end": 5133, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 163, "column": 5 } }, "test": { "type": "MemberExpression", "start": 4507, "end": 4516, "loc": { "start": { "line": 150, "column": 8 }, "end": { "line": 150, "column": 17 } }, "object": { "type": "Identifier", "start": 4507, "end": 4511, "loc": { "start": { "line": 150, "column": 8 }, "end": { "line": 150, "column": 12 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 4512, "end": 4516, "loc": { "start": { "line": 150, "column": 13 }, "end": { "line": 150, "column": 17 }, "identifierName": "data" }, "name": "data" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 4518, "end": 5133, "loc": { "start": { "line": 150, "column": 19 }, "end": { "line": 163, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 4529, "end": 4569, "loc": { "start": { "line": 151, "column": 8 }, "end": { "line": 151, "column": 48 } }, "expression": { "type": "CallExpression", "start": 4529, "end": 4568, "loc": { "start": { "line": 151, "column": 8 }, "end": { "line": 151, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 4529, "end": 4539, "loc": { "start": { "line": 151, "column": 8 }, "end": { "line": 151, "column": 18 } }, "object": { "type": "Identifier", "start": 4529, "end": 4535, "loc": { "start": { "line": 151, "column": 8 }, "end": { "line": 151, "column": 14 }, "identifierName": "logger" }, "name": "logger" }, "property": { "type": "Identifier", "start": 4536, "end": 4539, "loc": { "start": { "line": 151, "column": 15 }, "end": { "line": 151, "column": 18 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 4540, "end": 4567, "loc": { "start": { "line": 151, "column": 19 }, "end": { "line": 151, "column": 46 } }, "extra": { "rawValue": "Applying translations ...", "raw": "\"Applying translations ...\"" }, "value": "Applying translations ..." } ] } }, { "type": "ExpressionStatement", "start": 4579, "end": 4633, "loc": { "start": { "line": 152, "column": 8 }, "end": { "line": 152, "column": 62 } }, "expression": { "type": "CallExpression", "start": 4579, "end": 4632, "loc": { "start": { "line": 152, "column": 8 }, "end": { "line": 152, "column": 61 } }, "callee": { "type": "Identifier", "start": 4579, "end": 4597, "loc": { "start": { "line": 152, "column": 8 }, "end": { "line": 152, "column": 26 }, "identifierName": "matchDataRecursive" }, "name": "matchDataRecursive" }, "arguments": [ { "type": "MemberExpression", "start": 4598, "end": 4620, "loc": { "start": { "line": 152, "column": 27 }, "end": { "line": 152, "column": 49 } }, "object": { "type": "Identifier", "start": 4598, "end": 4607, "loc": { "start": { "line": 152, "column": 27 }, "end": { "line": 152, "column": 36 }, "identifierName": "shapezAPI" }, "name": "shapezAPI" }, "property": { "type": "Identifier", "start": 4608, "end": 4620, "loc": { "start": { "line": 152, "column": 37 }, "end": { "line": 152, "column": 49 }, "identifierName": "translations" }, "name": "translations" }, "computed": false }, { "type": "MemberExpression", "start": 4622, "end": 4631, "loc": { "start": { "line": 152, "column": 51 }, "end": { "line": 152, "column": 60 } }, "object": { "type": "Identifier", "start": 4622, "end": 4626, "loc": { "start": { "line": 152, "column": 51 }, "end": { "line": 152, "column": 55 }, "identifierName": "data" }, "name": "data" }, "property": { "type": "Identifier", "start": 4627, "end": 4631, "loc": { "start": { "line": 152, "column": 56 }, "end": { "line": 152, "column": 60 }, "identifierName": "data" }, "name": "data" }, "computed": false } ] } }, { "type": "ForStatement", "start": 4643, "end": 4937, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 158, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 4648, "end": 4657, "loc": { "start": { "line": 153, "column": 13 }, "end": { "line": 153, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4652, "end": 4657, "loc": { "start": { "line": 153, "column": 17 }, "end": { "line": 153, "column": 22 } }, "id": { "type": "Identifier", "start": 4652, "end": 4653, "loc": { "start": { "line": 153, "column": 17 }, "end": { "line": 153, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 4656, "end": 4657, "loc": { "start": { "line": 153, "column": 21 }, "end": { "line": 153, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 4659, "end": 4688, "loc": { "start": { "line": 153, "column": 24 }, "end": { "line": 153, "column": 53 } }, "left": { "type": "Identifier", "start": 4659, "end": 4660, "loc": { "start": { "line": 153, "column": 24 }, "end": { "line": 153, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 4663, "end": 4688, "loc": { "start": { "line": 153, "column": 28 }, "end": { "line": 153, "column": 53 } }, "object": { "type": "MemberExpression", "start": 4663, "end": 4681, "loc": { "start": { "line": 153, "column": 28 }, "end": { "line": 153, "column": 46 } }, "object": { "type": "Identifier", "start": 4663, "end": 4672, "loc": { "start": { "line": 153, "column": 28 }, "end": { "line": 153, "column": 37 }, "identifierName": "shapezAPI" }, "name": "shapezAPI" }, "property": { "type": "Identifier", "start": 4673, "end": 4681, "loc": { "start": { "line": 153, "column": 38 }, "end": { "line": 153, "column": 46 }, "identifierName": "modOrder" }, "name": "modOrder" }, "computed": false }, "property": { "type": "Identifier", "start": 4682, "end": 4688, "loc": { "start": { "line": 153, "column": 47 }, "end": { "line": 153, "column": 53 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 4690, "end": 4693, "loc": { "start": { "line": 153, "column": 55 }, "end": { "line": 153, "column": 58 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start": 4690, "end": 4691, "loc": { "start": { "line": 153, "column": 55 }, "end": { "line": 153, "column": 56 }, "identifierName": "i" }, "name": "i" } }, "body": { "type": "BlockStatement", "start": 4695, "end": 4937, "loc": { "start": { "line": 153, "column": 60 }, "end": { "line": 158, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 4710, "end": 4764, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4716, "end": 4763, "loc": { "start": { "line": 154, "column": 18 }, "end": { "line": 154, "column": 65 } }, "id": { "type": "Identifier", "start": 4716, "end": 4719, "loc": { "start": { "line": 154, "column": 18 }, "end": { "line": 154, "column": 21 }, "identifierName": "mod" }, "name": "mod" }, "init": { "type": "CallExpression", "start": 4722, "end": 4763, "loc": { "start": { "line": 154, "column": 24 }, "end": { "line": 154, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 4722, "end": 4740, "loc": { "start": { "line": 154, "column": 24 }, "end": { "line": 154, "column": 42 } }, "object": { "type": "MemberExpression", "start": 4722, "end": 4736, "loc": { "start": { "line": 154, "column": 24 }, "end": { "line": 154, "column": 38 } }, "object": { "type": "Identifier", "start": 4722, "end": 4731, "loc": { "start": { "line": 154, "column": 24 }, "end": { "line": 154, "column": 33 }, "identifierName": "shapezAPI" }, "name": "shapezAPI" }, "property": { "type": "Identifier", "start": 4732, "end": 4736, "loc": { "start": { "line": 154, "column": 34 }, "end": { "line": 154, "column": 38 }, "identifierName": "mods" }, "name": "mods" }, "computed": false }, "property": { "type": "Identifier", "start": 4737, "end": 4740, "loc": { "start": { "line": 154, "column": 39 }, "end": { "line": 154, "column": 42 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 4741, "end": 4762, "loc": { "start": { "line": 154, "column": 43 }, "end": { "line": 154, "column": 64 } }, "object": { "type": "MemberExpression", "start": 4741, "end": 4759, "loc": { "start": { "line": 154, "column": 43 }, "end": { "line": 154, "column": 61 } }, "object": { "type": "Identifier", "start": 4741, "end": 4750, "loc": { "start": { "line": 154, "column": 43 }, "end": { "line": 154, "column": 52 }, "identifierName": "shapezAPI" }, "name": "shapezAPI" }, "property": { "type": "Identifier", "start": 4751, "end": 4759, "loc": { "start": { "line": 154, "column": 53 }, "end": { "line": 154, "column": 61 }, "identifierName": "modOrder" }, "name": "modOrder" }, "computed": false }, "property": { "type": "Identifier", "start": 4760, "end": 4761, "loc": { "start": { "line": 154, "column": 62 }, "end": { "line": 154, "column": 63 }, "identifierName": "i" }, "name": "i" }, "computed": true } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 4778, "end": 4816, "loc": { "start": { "line": 155, "column": 12 }, "end": { "line": 155, "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4784, "end": 4815, "loc": { "start": { "line": 155, "column": 18 }, "end": { "line": 155, "column": 49 } }, "id": { "type": "Identifier", "start": 4784, "end": 4792, "loc": { "start": { "line": 155, "column": 18 }, "end": { "line": 155, "column": 26 }, "identifierName": "language" }, "name": "language" }, "init": { "type": "MemberExpression", "start": 4795, "end": 4815, "loc": { "start": { "line": 155, "column": 29 }, "end": { "line": 155, "column": 49 } }, "object": { "type": "MemberExpression", "start": 4795, "end": 4811, "loc": { "start": { "line": 155, "column": 29 }, "end": { "line": 155, "column": 45 } }, "object": { "type": "Identifier", "start": 4795, "end": 4798, "loc": { "start": { "line": 155, "column": 29 }, "end": { "line": 155, "column": 32 }, "identifierName": "mod" }, "name": "mod" }, "property": { "type": "Identifier", "start": 4799, "end": 4811, "loc": { "start": { "line": 155, "column": 33 }, "end": { "line": 155, "column": 45 }, "identifierName": "translations" }, "name": "translations" }, "computed": false }, "property": { "type": "Identifier", "start": 4812, "end": 4814, "loc": { "start": { "line": 155, "column": 46 }, "end": { "line": 155, "column": 48 }, "identifierName": "id" }, "name": "id" }, "computed": true } } ], "kind": "const" }, { "type": "IfStatement", "start": 4830, "end": 4854, "loc": { "start": { "line": 156, "column": 12 }, "end": { "line": 156, "column": 36 } }, "test": { "type": "UnaryExpression", "start": 4834, "end": 4843, "loc": { "start": { "line": 156, "column": 16 }, "end": { "line": 156, "column": 25 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 4835, "end": 4843, "loc": { "start": { "line": 156, "column": 17 }, "end": { "line": 156, "column": 25 }, "identifierName": "language" }, "name": "language" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "ContinueStatement", "start": 4845, "end": 4854, "loc": { "start": { "line": 156, "column": 27 }, "end": { "line": 156, "column": 36 } }, "label": null }, "alternate": null }, { "type": "ExpressionStatement", "start": 4868, "end": 4926, "loc": { "start": { "line": 157, "column": 12 }, "end": { "line": 157, "column": 70 } }, "expression": { "type": "CallExpression", "start": 4868, "end": 4925, "loc": { "start": { "line": 157, "column": 12 }, "end": { "line": 157, "column": 69 } }, "callee": { "type": "Identifier", "start": 4868, "end": 4891, "loc": { "start": { "line": 157, "column": 12 }, "end": { "line": 157, "column": 35 }, "identifierName": "matchOverwriteRecursive" }, "name": "matchOverwriteRecursive" }, "arguments": [ { "type": "MemberExpression", "start": 4892, "end": 4914, "loc": { "start": { "line": 157, "column": 36 }, "end": { "line": 157, "column": 58 } }, "object": { "type": "Identifier", "start": 4892, "end": 4901, "loc": { "start": { "line": 157, "column": 36 }, "end": { "line": 157, "column": 45 }, "identifierName": "shapezAPI" }, "name": "shapezAPI" }, "property": { "type": "Identifier", "start": 4902, "end": 4914, "loc": { "start": { "line": 157, "column": 46 }, "end": { "line": 157, "column": 58 }, "identifierName": "translations" }, "name": "translations" }, "computed": false }, { "type": "Identifier", "start": 4916, "end": 4924, "loc": { "start": { "line": 157, "column": 60 }, "end": { "line": 157, "column": 68 }, "identifierName": "language" }, "name": "language" } ] } } ], "directives": [] } }, { "type": "ForStatement", "start": 4947, "end": 5126, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 162, "column": 9 } }, "init": { "type": "VariableDeclaration", "start": 4952, "end": 4961, "loc": { "start": { "line": 159, "column": 13 }, "end": { "line": 159, "column": 22 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4956, "end": 4961, "loc": { "start": { "line": 159, "column": 17 }, "end": { "line": 159, "column": 22 } }, "id": { "type": "Identifier", "start": 4956, "end": 4957, "loc": { "start": { "line": 159, "column": 17 }, "end": { "line": 159, "column": 18 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "NumericLiteral", "start": 4960, "end": 4961, "loc": { "start": { "line": 159, "column": 21 }, "end": { "line": 159, "column": 22 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 4963, "end": 4992, "loc": { "start": { "line": 159, "column": 24 }, "end": { "line": 159, "column": 53 } }, "left": { "type": "Identifier", "start": 4963, "end": 4964, "loc": { "start": { "line": 159, "column": 24 }, "end": { "line": 159, "column": 25 }, "identifierName": "i" }, "name": "i" }, "operator": "<", "right": { "type": "MemberExpression", "start": 4967, "end": 4992, "loc": { "start": { "line": 159, "column": 28 }, "end": { "line": 159, "column": 53 } }, "object": { "type": "MemberExpression", "start": 4967, "end": 4985, "loc": { "start": { "line": 159, "column": 28 }, "end": { "line": 159, "column": 46 } }, "object": { "type": "Identifier", "start": 4967, "end": 4976, "loc": { "start": { "line": 159, "column": 28 }, "end": { "line": 159, "column": 37 }, "identifierName": "shapezAPI" }, "name": "shapezAPI" }, "property": { "type": "Identifier", "start": 4977, "end": 4985, "loc": { "start": { "line": 159, "column": 38 }, "end": { "line": 159, "column": 46 }, "identifierName": "modOrder" }, "name": "modOrder" }, "computed": false }, "property": { "type": "Identifier", "start": 4986, "end": 4992, "loc": { "start": { "line": 159, "column": 47 }, "end": { "line": 159, "column": 53 }, "identifierName": "length" }, "name": "length" }, "computed": false } }, "update": { "type": "UpdateExpression", "start": 4994, "end": 4997, "loc": { "start": { "line": 159, "column": 55 }, "end": { "line": 159, "column": 58 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start": 4994, "end": 4995, "loc": { "start": { "line": 159, "column": 55 }, "end": { "line": 159, "column": 56 }, "identifierName": "i" }, "name": "i" } }, "body": { "type": "BlockStatement", "start": 4999, "end": 5126, "loc": { "start": { "line": 159, "column": 60 }, "end": { "line": 162, "column": 9 } }, "body": [ { "type": "VariableDeclaration", "start": 5014, "end": 5068, "loc": { "start": { "line": 160, "column": 12 }, "end": { "line": 160, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5020, "end": 5067, "loc": { "start": { "line": 160, "column": 18 }, "end": { "line": 160, "column": 65 } }, "id": { "type": "Identifier", "start": 5020, "end": 5023, "loc": { "start": { "line": 160, "column": 18 }, "end": { "line": 160, "column": 21 }, "identifierName": "mod" }, "name": "mod" }, "init": { "type": "CallExpression", "start": 5026, "end": 5067, "loc": { "start": { "line": 160, "column": 24 }, "end": { "line": 160, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 5026, "end": 5044, "loc": { "start": { "line": 160, "column": 24 }, "end": { "line": 160, "column": 42 } }, "object": { "type": "MemberExpression", "start": 5026, "end": 5040, "loc": { "start": { "line": 160, "column": 24 }, "end": { "line": 160, "column": 38 } }, "object": { "type": "Identifier", "start": 5026, "end": 5035, "loc": { "start": { "line": 160, "column": 24 }, "end": { "line": 160, "column": 33 }, "identifierName": "shapezAPI" }, "name": "shapezAPI" }, "property": { "type": "Identifier", "start": 5036, "end": 5040, "loc": { "start": { "line": 160, "column": 34 }, "end": { "line": 160, "column": 38 }, "identifierName": "mods" }, "name": "mods" }, "computed": false }, "property": { "type": "Identifier", "start": 5041, "end": 5044, "loc": { "start": { "line": 160, "column": 39 }, "end": { "line": 160, "column": 42 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 5045, "end": 5066, "loc": { "start": { "line": 160, "column": 43 }, "end": { "line": 160, "column": 64 } }, "object": { "type": "MemberExpression", "start": 5045, "end": 5063, "loc": { "start": { "line": 160, "column": 43 }, "end": { "line": 160, "column": 61 } }, "object": { "type": "Identifier", "start": 5045, "end": 5054, "loc": { "start": { "line": 160, "column": 43 }, "end": { "line": 160, "column": 52 }, "identifierName": "shapezAPI" }, "name": "shapezAPI" }, "property": { "type": "Identifier", "start": 5055, "end": 5063, "loc": { "start": { "line": 160, "column": 53 }, "end": { "line": 160, "column": 61 }, "identifierName": "modOrder" }, "name": "modOrder" }, "computed": false }, "property": { "type": "Identifier", "start": 5064, "end": 5065, "loc": { "start": { "line": 160, "column": 62 }, "end": { "line": 160, "column": 63 }, "identifierName": "i" }, "name": "i" }, "computed": true } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 5082, "end": 5115, "loc": { "start": { "line": 161, "column": 12 }, "end": { "line": 161, "column": 45 } }, "expression": { "type": "CallExpression", "start": 5082, "end": 5114, "loc": { "start": { "line": 161, "column": 12 }, "end": { "line": 161, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 5082, "end": 5110, "loc": { "start": { "line": 161, "column": 12 }, "end": { "line": 161, "column": 40 } }, "object": { "type": "Identifier", "start": 5082, "end": 5085, "loc": { "start": { "line": 161, "column": 12 }, "end": { "line": 161, "column": 15 }, "identifierName": "mod" }, "name": "mod" }, "property": { "type": "Identifier", "start": 5086, "end": 5110, "loc": { "start": { "line": 161, "column": 16 }, "end": { "line": 161, "column": 40 }, "identifierName": "updateStaticTranslations" }, "name": "updateStaticTranslations" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 5111, "end": 5113, "loc": { "start": { "line": 161, "column": 41 }, "end": { "line": 161, "column": 43 }, "identifierName": "id" }, "name": "id" } ] } } ], "directives": [] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentLine", "value": " @ts-ignore", "start": 187, "end": 200, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 13 } } }, { "type": "CommentLine", "value": " Replaces all translations by fake translations to see whats translated and what not", "start": 362, "end": 448, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 90 } } }, { "type": "CommentLine", "value": " Language key is something like de-DE or en or en-US", "start": 1047, "end": 1101, "loc": { "start": { "line": 35, "column": 0 }, "end": { "line": 35, "column": 54 } } }, { "type": "CommentLine", "value": " Try to match by key or short key", "start": 1239, "end": 1274, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 39 } } }, { "type": "CommentLine", "value": " If none found, try to find a better alternative by using the base language at least", "start": 1676, "end": 1762, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 90 } } }, { "type": "CommentBlock", "value": "*\r\n * Tries to auto-detect a language\r\n * @returns {string}\r\n ", "start": 2262, "end": 2328, "loc": { "start": { "line": 73, "column": 0 }, "end": { "line": 76, "column": 3 } } }, { "type": "CommentLine", "value": " Fallback", "start": 2894, "end": 2905, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 95, "column": 15 } } }, { "type": "CommentLine", "value": " console.log(\"copy\", key);", "start": 3130, "end": 3158, "loc": { "start": { "line": 106, "column": 12 }, "end": { "line": 106, "column": 40 } } }, { "type": "CommentLine", "value": " console.log(\"match string\", key);", "start": 3396, "end": 3432, "loc": { "start": { "line": 111, "column": 16 }, "end": { "line": 111, "column": 52 } } }, { "type": "CommentLine", "value": "console.log(\"copy\", key);", "start": 3789, "end": 3816, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 126, "column": 35 } } }, { "type": "CommentLine", "value": " console.log(\"match string\", key);", "start": 4083, "end": 4119, "loc": { "start": { "line": 132, "column": 12 }, "end": { "line": 132, "column": 48 } } } ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 0, "end": 6, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7, "end": 8, "loc": { "start": { "line": 1, "column": 7 }, "end": { "line": 1, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 9, "end": 21, "loc": { "start": { "line": 1, "column": 9 }, "end": { "line": 1, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 22, "end": 23, "loc": { "start": { "line": 1, "column": 22 }, "end": { "line": 1, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 24, "end": 28, "loc": { "start": { "line": 1, "column": 24 }, "end": { "line": 1, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./core/config", "start": 29, "end": 44, "loc": { "start": { "line": 1, "column": 29 }, "end": { "line": 1, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 44, "end": 45, "loc": { "start": { "line": 1, "column": 44 }, "end": { "line": 1, "column": 45 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 47, "end": 53, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 54, "end": 55, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createLogger", "start": 56, "end": 68, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 69, "end": 70, "loc": { "start": { "line": 2, "column": 22 }, "end": { "line": 2, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 71, "end": 75, "loc": { "start": { "line": 2, "column": 24 }, "end": { "line": 2, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./core/logging", "start": 76, "end": 92, "loc": { "start": { "line": 2, "column": 29 }, "end": { "line": 2, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 92, "end": 93, "loc": { "start": { "line": 2, "column": 45 }, "end": { "line": 2, "column": 46 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 95, "end": 101, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 102, "end": 103, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "LANGUAGES", "start": 104, "end": 113, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 114, "end": 115, "loc": { "start": { "line": 3, "column": 19 }, "end": { "line": 3, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 116, "end": 120, "loc": { "start": { "line": 3, "column": 21 }, "end": { "line": 3, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./languages", "start": 121, "end": 134, "loc": { "start": { "line": 3, "column": 26 }, "end": { "line": 3, "column": 39 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 134, "end": 135, "loc": { "start": { "line": 3, "column": 39 }, "end": { "line": 3, "column": 40 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 139, "end": 144, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 145, "end": 151, "loc": { "start": { "line": 5, "column": 6 }, "end": { "line": 5, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 152, "end": 153, "loc": { "start": { "line": 5, "column": 13 }, "end": { "line": 5, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createLogger", "start": 154, "end": 166, "loc": { "start": { "line": 5, "column": 15 }, "end": { "line": 5, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 166, "end": 167, "loc": { "start": { "line": 5, "column": 27 }, "end": { "line": 5, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "translations", "start": 167, "end": 181, "loc": { "start": { "line": 5, "column": 28 }, "end": { "line": 5, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 181, "end": 182, "loc": { "start": { "line": 5, "column": 42 }, "end": { "line": 5, "column": 43 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 182, "end": 183, "loc": { "start": { "line": 5, "column": 43 }, "end": { "line": 5, "column": 44 } } }, { "type": "CommentLine", "value": " @ts-ignore", "start": 187, "end": 200, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 13 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 202, "end": 207, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "baseTranslations", "start": 208, "end": 224, "loc": { "start": { "line": 8, "column": 6 }, "end": { "line": 8, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 225, "end": 226, "loc": { "start": { "line": 8, "column": 23 }, "end": { "line": 8, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "require", "start": 227, "end": 234, "loc": { "start": { "line": 8, "column": 25 }, "end": { "line": 8, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 234, "end": 235, "loc": { "start": { "line": 8, "column": 32 }, "end": { "line": 8, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./built-temp/base-en.json", "start": 235, "end": 262, "loc": { "start": { "line": 8, "column": 33 }, "end": { "line": 8, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 262, "end": 263, "loc": { "start": { "line": 8, "column": 60 }, "end": { "line": 8, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 263, "end": 264, "loc": { "start": { "line": 8, "column": 61 }, "end": { "line": 8, "column": 62 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 266, "end": 272, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 6 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 273, "end": 276, "loc": { "start": { "line": 9, "column": 7 }, "end": { "line": 9, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 277, "end": 278, "loc": { "start": { "line": 9, "column": 11 }, "end": { "line": 9, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 279, "end": 280, "loc": { "start": { "line": 9, "column": 13 }, "end": { "line": 9, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "baseTranslations", "start": 281, "end": 297, "loc": { "start": { "line": 9, "column": 15 }, "end": { "line": 9, "column": 31 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 297, "end": 298, "loc": { "start": { "line": 9, "column": 31 }, "end": { "line": 9, "column": 32 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 302, "end": 304, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 2 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 305, "end": 306, "loc": { "start": { "line": 11, "column": 3 }, "end": { "line": 11, "column": 4 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "G_IS_DEV", "start": 306, "end": 314, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 12 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 315, "end": 317, "loc": { "start": { "line": 11, "column": 13 }, "end": { "line": 11, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "globalConfig", "start": 318, "end": 330, "loc": { "start": { "line": 11, "column": 16 }, "end": { "line": 11, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 330, "end": 331, "loc": { "start": { "line": 11, "column": 28 }, "end": { "line": 11, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 331, "end": 336, "loc": { "start": { "line": 11, "column": 29 }, "end": { "line": 11, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 336, "end": 337, "loc": { "start": { "line": 11, "column": 34 }, "end": { "line": 11, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "testTranslations", "start": 337, "end": 353, "loc": { "start": { "line": 11, "column": 35 }, "end": { "line": 11, "column": 51 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 353, "end": 354, "loc": { "start": { "line": 11, "column": 51 }, "end": { "line": 11, "column": 52 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 355, "end": 356, "loc": { "start": { "line": 11, "column": 53 }, "end": { "line": 11, "column": 54 } } }, { "type": "CommentLine", "value": " Replaces all translations by fake translations to see whats translated and what not", "start": 362, "end": 448, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 90 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 454, "end": 459, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapTranslations", "start": 460, "end": 475, "loc": { "start": { "line": 13, "column": 10 }, "end": { "line": 13, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 476, "end": 477, "loc": { "start": { "line": 13, "column": 26 }, "end": { "line": 13, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "obj", "start": 478, "end": 481, "loc": { "start": { "line": 13, "column": 28 }, "end": { "line": 13, "column": 31 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 482, "end": 484, "loc": { "start": { "line": 13, "column": 32 }, "end": { "line": 13, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 485, "end": 486, "loc": { "start": { "line": 13, "column": 35 }, "end": { "line": 13, "column": 36 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 496, "end": 499, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 500, "end": 501, "loc": { "start": { "line": 14, "column": 12 }, "end": { "line": 14, "column": 13 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 501, "end": 506, "loc": { "start": { "line": 14, "column": 13 }, "end": { "line": 14, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 507, "end": 510, "loc": { "start": { "line": 14, "column": 19 }, "end": { "line": 14, "column": 22 } } }, { "type": { "label": "in", "keyword": "in", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "in", "start": 511, "end": 513, "loc": { "start": { "line": 14, "column": 23 }, "end": { "line": 14, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "obj", "start": 514, "end": 517, "loc": { "start": { "line": 14, "column": 26 }, "end": { "line": 14, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 517, "end": 518, "loc": { "start": { "line": 14, "column": 29 }, "end": { "line": 14, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 519, "end": 520, "loc": { "start": { "line": 14, "column": 31 }, "end": { "line": 14, "column": 32 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 534, "end": 539, "loc": { "start": { "line": 15, "column": 12 }, "end": { "line": 15, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 540, "end": 545, "loc": { "start": { "line": 15, "column": 18 }, "end": { "line": 15, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 546, "end": 547, "loc": { "start": { "line": 15, "column": 24 }, "end": { "line": 15, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "obj", "start": 548, "end": 551, "loc": { "start": { "line": 15, "column": 26 }, "end": { "line": 15, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 551, "end": 552, "loc": { "start": { "line": 15, "column": 29 }, "end": { "line": 15, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 552, "end": 555, "loc": { "start": { "line": 15, "column": 30 }, "end": { "line": 15, "column": 33 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 555, "end": 556, "loc": { "start": { "line": 15, "column": 33 }, "end": { "line": 15, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 556, "end": 557, "loc": { "start": { "line": 15, "column": 34 }, "end": { "line": 15, "column": 35 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 571, "end": 573, "loc": { "start": { "line": 16, "column": 12 }, "end": { "line": 16, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 574, "end": 575, "loc": { "start": { "line": 16, "column": 15 }, "end": { "line": 16, "column": 16 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 575, "end": 581, "loc": { "start": { "line": 16, "column": 16 }, "end": { "line": 16, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 582, "end": 587, "loc": { "start": { "line": 16, "column": 23 }, "end": { "line": 16, "column": 28 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 588, "end": 591, "loc": { "start": { "line": 16, "column": 29 }, "end": { "line": 16, "column": 32 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "string", "start": 592, "end": 600, "loc": { "start": { "line": 16, "column": 33 }, "end": { "line": 16, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 600, "end": 601, "loc": { "start": { "line": 16, "column": 41 }, "end": { "line": 16, "column": 42 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 602, "end": 603, "loc": { "start": { "line": 16, "column": 43 }, "end": { "line": 16, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "obj", "start": 621, "end": 624, "loc": { "start": { "line": 17, "column": 16 }, "end": { "line": 17, "column": 19 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 624, "end": 625, "loc": { "start": { "line": 17, "column": 19 }, "end": { "line": 17, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 625, "end": 628, "loc": { "start": { "line": 17, "column": 20 }, "end": { "line": 17, "column": 23 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 628, "end": 629, "loc": { "start": { "line": 17, "column": 23 }, "end": { "line": 17, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 630, "end": 631, "loc": { "start": { "line": 17, "column": 25 }, "end": { "line": 17, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 632, "end": 637, "loc": { "start": { "line": 17, "column": 27 }, "end": { "line": 17, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 637, "end": 638, "loc": { "start": { "line": 17, "column": 32 }, "end": { "line": 17, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 638, "end": 645, "loc": { "start": { "line": 17, "column": 33 }, "end": { "line": 17, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 645, "end": 646, "loc": { "start": { "line": 17, "column": 40 }, "end": { "line": 17, "column": 41 } } }, { "type": { "label": "regexp", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": { "pattern": "[a-z]", "flags": "gi" }, "start": 646, "end": 655, "loc": { "start": { "line": 17, "column": 41 }, "end": { "line": 17, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 655, "end": 656, "loc": { "start": { "line": 17, "column": 50 }, "end": { "line": 17, "column": 51 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "x", "start": 657, "end": 660, "loc": { "start": { "line": 17, "column": 52 }, "end": { "line": 17, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 660, "end": 661, "loc": { "start": { "line": 17, "column": 55 }, "end": { "line": 17, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 661, "end": 662, "loc": { "start": { "line": 17, "column": 56 }, "end": { "line": 17, "column": 57 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 676, "end": 677, "loc": { "start": { "line": 18, "column": 12 }, "end": { "line": 18, "column": 13 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 678, "end": 682, "loc": { "start": { "line": 18, "column": 14 }, "end": { "line": 18, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 683, "end": 684, "loc": { "start": { "line": 18, "column": 19 }, "end": { "line": 18, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapTranslations", "start": 702, "end": 717, "loc": { "start": { "line": 19, "column": 16 }, "end": { "line": 19, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 717, "end": 718, "loc": { "start": { "line": 19, "column": 31 }, "end": { "line": 19, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 718, "end": 723, "loc": { "start": { "line": 19, "column": 32 }, "end": { "line": 19, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 723, "end": 724, "loc": { "start": { "line": 19, "column": 37 }, "end": { "line": 19, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 724, "end": 725, "loc": { "start": { "line": 19, "column": 38 }, "end": { "line": 19, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 739, "end": 740, "loc": { "start": { "line": 20, "column": 12 }, "end": { "line": 20, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 750, "end": 751, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 757, "end": 758, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 5 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 758, "end": 759, "loc": { "start": { "line": 22, "column": 5 }, "end": { "line": 22, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapTranslations", "start": 765, "end": 780, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 780, "end": 781, "loc": { "start": { "line": 23, "column": 19 }, "end": { "line": 23, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "T", "start": 781, "end": 782, "loc": { "start": { "line": 23, "column": 20 }, "end": { "line": 23, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 782, "end": 783, "loc": { "start": { "line": 23, "column": 21 }, "end": { "line": 23, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 783, "end": 784, "loc": { "start": { "line": 23, "column": 22 }, "end": { "line": 23, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 786, "end": 787, "loc": { "start": { "line": 24, "column": 0 }, "end": { "line": 24, "column": 1 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 791, "end": 797, "loc": { "start": { "line": 26, "column": 0 }, "end": { "line": 26, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 798, "end": 806, "loc": { "start": { "line": 26, "column": 7 }, "end": { "line": 26, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "applyLanguage", "start": 807, "end": 820, "loc": { "start": { "line": 26, "column": 16 }, "end": { "line": 26, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 820, "end": 821, "loc": { "start": { "line": 26, "column": 29 }, "end": { "line": 26, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "languageCode", "start": 821, "end": 833, "loc": { "start": { "line": 26, "column": 30 }, "end": { "line": 26, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 833, "end": 834, "loc": { "start": { "line": 26, "column": 42 }, "end": { "line": 26, "column": 43 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 835, "end": 836, "loc": { "start": { "line": 26, "column": 44 }, "end": { "line": 26, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 842, "end": 848, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 848, "end": 849, "loc": { "start": { "line": 27, "column": 10 }, "end": { "line": 27, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 849, "end": 852, "loc": { "start": { "line": 27, "column": 11 }, "end": { "line": 27, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 852, "end": 853, "loc": { "start": { "line": 27, "column": 14 }, "end": { "line": 27, "column": 15 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Applying language:", "start": 853, "end": 873, "loc": { "start": { "line": 27, "column": 15 }, "end": { "line": 27, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 873, "end": 874, "loc": { "start": { "line": 27, "column": 35 }, "end": { "line": 27, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "languageCode", "start": 875, "end": 887, "loc": { "start": { "line": 27, "column": 37 }, "end": { "line": 27, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 887, "end": 888, "loc": { "start": { "line": 27, "column": 49 }, "end": { "line": 27, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 888, "end": 889, "loc": { "start": { "line": 27, "column": 50 }, "end": { "line": 27, "column": 51 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 895, "end": 900, "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 901, "end": 905, "loc": { "start": { "line": 28, "column": 10 }, "end": { "line": 28, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 906, "end": 907, "loc": { "start": { "line": 28, "column": 15 }, "end": { "line": 28, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "LANGUAGES", "start": 908, "end": 917, "loc": { "start": { "line": 28, "column": 17 }, "end": { "line": 28, "column": 26 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 917, "end": 918, "loc": { "start": { "line": 28, "column": 26 }, "end": { "line": 28, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "languageCode", "start": 918, "end": 930, "loc": { "start": { "line": 28, "column": 27 }, "end": { "line": 28, "column": 39 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 930, "end": 931, "loc": { "start": { "line": 28, "column": 39 }, "end": { "line": 28, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 931, "end": 932, "loc": { "start": { "line": 28, "column": 40 }, "end": { "line": 28, "column": 41 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 938, "end": 940, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 941, "end": 942, "loc": { "start": { "line": 29, "column": 7 }, "end": { "line": 29, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 942, "end": 943, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 943, "end": 947, "loc": { "start": { "line": 29, "column": 9 }, "end": { "line": 29, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 947, "end": 948, "loc": { "start": { "line": 29, "column": 13 }, "end": { "line": 29, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 949, "end": 950, "loc": { "start": { "line": 29, "column": 15 }, "end": { "line": 29, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 960, "end": 966, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 966, "end": 967, "loc": { "start": { "line": 30, "column": 14 }, "end": { "line": 30, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "error", "start": 967, "end": 972, "loc": { "start": { "line": 30, "column": 15 }, "end": { "line": 30, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 972, "end": 973, "loc": { "start": { "line": 30, "column": 20 }, "end": { "line": 30, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Language not found:", "start": 973, "end": 994, "loc": { "start": { "line": 30, "column": 21 }, "end": { "line": 30, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 994, "end": 995, "loc": { "start": { "line": 30, "column": 42 }, "end": { "line": 30, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "languageCode", "start": 996, "end": 1008, "loc": { "start": { "line": 30, "column": 44 }, "end": { "line": 30, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1008, "end": 1009, "loc": { "start": { "line": 30, "column": 56 }, "end": { "line": 30, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1009, "end": 1010, "loc": { "start": { "line": 30, "column": 57 }, "end": { "line": 30, "column": 58 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 1020, "end": 1026, "loc": { "start": { "line": 31, "column": 8 }, "end": { "line": 31, "column": 14 } } }, { "type": { "label": "false", "keyword": "false", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "false", "start": 1027, "end": 1032, "loc": { "start": { "line": 31, "column": 15 }, "end": { "line": 31, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1032, "end": 1033, "loc": { "start": { "line": 31, "column": 20 }, "end": { "line": 31, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1039, "end": 1040, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1042, "end": 1043, "loc": { "start": { "line": 33, "column": 0 }, "end": { "line": 33, "column": 1 } } }, { "type": "CommentLine", "value": " Language key is something like de-DE or en or en-US", "start": 1047, "end": 1101, "loc": { "start": { "line": 35, "column": 0 }, "end": { "line": 35, "column": 54 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 1103, "end": 1111, "loc": { "start": { "line": 36, "column": 0 }, "end": { "line": 36, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapLanguageCodeToId", "start": 1112, "end": 1131, "loc": { "start": { "line": 36, "column": 9 }, "end": { "line": 36, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1131, "end": 1132, "loc": { "start": { "line": 36, "column": 28 }, "end": { "line": 36, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "languageKey", "start": 1132, "end": 1143, "loc": { "start": { "line": 36, "column": 29 }, "end": { "line": 36, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1143, "end": 1144, "loc": { "start": { "line": 36, "column": 40 }, "end": { "line": 36, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1145, "end": 1146, "loc": { "start": { "line": 36, "column": 42 }, "end": { "line": 36, "column": 43 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1152, "end": 1157, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 1158, "end": 1161, "loc": { "start": { "line": 37, "column": 10 }, "end": { "line": 37, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1162, "end": 1163, "loc": { "start": { "line": 37, "column": 14 }, "end": { "line": 37, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "languageKey", "start": 1164, "end": 1175, "loc": { "start": { "line": 37, "column": 16 }, "end": { "line": 37, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1175, "end": 1176, "loc": { "start": { "line": 37, "column": 27 }, "end": { "line": 37, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 1176, "end": 1187, "loc": { "start": { "line": 37, "column": 28 }, "end": { "line": 37, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1187, "end": 1188, "loc": { "start": { "line": 37, "column": 39 }, "end": { "line": 37, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1188, "end": 1189, "loc": { "start": { "line": 37, "column": 40 }, "end": { "line": 37, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1189, "end": 1190, "loc": { "start": { "line": 37, "column": 41 }, "end": { "line": 37, "column": 42 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1196, "end": 1201, "loc": { "start": { "line": 38, "column": 4 }, "end": { "line": 38, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shortKey", "start": 1202, "end": 1210, "loc": { "start": { "line": 38, "column": 10 }, "end": { "line": 38, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1211, "end": 1212, "loc": { "start": { "line": 38, "column": 19 }, "end": { "line": 38, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 1213, "end": 1216, "loc": { "start": { "line": 38, "column": 21 }, "end": { "line": 38, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1216, "end": 1217, "loc": { "start": { "line": 38, "column": 24 }, "end": { "line": 38, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 1217, "end": 1222, "loc": { "start": { "line": 38, "column": 25 }, "end": { "line": 38, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1222, "end": 1223, "loc": { "start": { "line": 38, "column": 30 }, "end": { "line": 38, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-", "start": 1223, "end": 1226, "loc": { "start": { "line": 38, "column": 31 }, "end": { "line": 38, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1226, "end": 1227, "loc": { "start": { "line": 38, "column": 34 }, "end": { "line": 38, "column": 35 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1227, "end": 1228, "loc": { "start": { "line": 38, "column": 35 }, "end": { "line": 38, "column": 36 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1228, "end": 1229, "loc": { "start": { "line": 38, "column": 36 }, "end": { "line": 38, "column": 37 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1229, "end": 1230, "loc": { "start": { "line": 38, "column": 37 }, "end": { "line": 38, "column": 38 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1230, "end": 1231, "loc": { "start": { "line": 38, "column": 38 }, "end": { "line": 38, "column": 39 } } }, { "type": "CommentLine", "value": " Try to match by key or short key", "start": 1239, "end": 1274, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 39 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 1280, "end": 1283, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1284, "end": 1285, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 9 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1285, "end": 1290, "loc": { "start": { "line": 41, "column": 9 }, "end": { "line": 41, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1291, "end": 1293, "loc": { "start": { "line": 41, "column": 15 }, "end": { "line": 41, "column": 17 } } }, { "type": { "label": "in", "keyword": "in", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "in", "start": 1294, "end": 1296, "loc": { "start": { "line": 41, "column": 18 }, "end": { "line": 41, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "LANGUAGES", "start": 1297, "end": 1306, "loc": { "start": { "line": 41, "column": 21 }, "end": { "line": 41, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1306, "end": 1307, "loc": { "start": { "line": 41, "column": 30 }, "end": { "line": 41, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1308, "end": 1309, "loc": { "start": { "line": 41, "column": 32 }, "end": { "line": 41, "column": 33 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1319, "end": 1324, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 1325, "end": 1329, "loc": { "start": { "line": 42, "column": 14 }, "end": { "line": 42, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1330, "end": 1331, "loc": { "start": { "line": 42, "column": 19 }, "end": { "line": 42, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "LANGUAGES", "start": 1332, "end": 1341, "loc": { "start": { "line": 42, "column": 21 }, "end": { "line": 42, "column": 30 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1341, "end": 1342, "loc": { "start": { "line": 42, "column": 30 }, "end": { "line": 42, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1342, "end": 1344, "loc": { "start": { "line": 42, "column": 31 }, "end": { "line": 42, "column": 33 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1344, "end": 1345, "loc": { "start": { "line": 42, "column": 33 }, "end": { "line": 42, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1345, "end": 1346, "loc": { "start": { "line": 42, "column": 34 }, "end": { "line": 42, "column": 35 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1356, "end": 1361, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "code", "start": 1362, "end": 1366, "loc": { "start": { "line": 43, "column": 14 }, "end": { "line": 43, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1367, "end": 1368, "loc": { "start": { "line": 43, "column": 19 }, "end": { "line": 43, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 1369, "end": 1373, "loc": { "start": { "line": 43, "column": 21 }, "end": { "line": 43, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1373, "end": 1374, "loc": { "start": { "line": 43, "column": 25 }, "end": { "line": 43, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "code", "start": 1374, "end": 1378, "loc": { "start": { "line": 43, "column": 26 }, "end": { "line": 43, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1378, "end": 1379, "loc": { "start": { "line": 43, "column": 30 }, "end": { "line": 43, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 1379, "end": 1390, "loc": { "start": { "line": 43, "column": 31 }, "end": { "line": 43, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1390, "end": 1391, "loc": { "start": { "line": 43, "column": 42 }, "end": { "line": 43, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1391, "end": 1392, "loc": { "start": { "line": 43, "column": 43 }, "end": { "line": 43, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1392, "end": 1393, "loc": { "start": { "line": 43, "column": 44 }, "end": { "line": 43, "column": 45 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1403, "end": 1405, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1406, "end": 1407, "loc": { "start": { "line": 44, "column": 11 }, "end": { "line": 44, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "code", "start": 1407, "end": 1411, "loc": { "start": { "line": 44, "column": 12 }, "end": { "line": 44, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 1412, "end": 1415, "loc": { "start": { "line": 44, "column": 17 }, "end": { "line": 44, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 1416, "end": 1419, "loc": { "start": { "line": 44, "column": 21 }, "end": { "line": 44, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1419, "end": 1420, "loc": { "start": { "line": 44, "column": 24 }, "end": { "line": 44, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1421, "end": 1422, "loc": { "start": { "line": 44, "column": 26 }, "end": { "line": 44, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 1436, "end": 1443, "loc": { "start": { "line": 45, "column": 12 }, "end": { "line": 45, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1443, "end": 1444, "loc": { "start": { "line": 45, "column": 19 }, "end": { "line": 45, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 1444, "end": 1447, "loc": { "start": { "line": 45, "column": 20 }, "end": { "line": 45, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1447, "end": 1448, "loc": { "start": { "line": 45, "column": 23 }, "end": { "line": 45, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-> Match", "start": 1448, "end": 1458, "loc": { "start": { "line": 45, "column": 24 }, "end": { "line": 45, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1458, "end": 1459, "loc": { "start": { "line": 45, "column": 34 }, "end": { "line": 45, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "languageKey", "start": 1460, "end": 1471, "loc": { "start": { "line": 45, "column": 36 }, "end": { "line": 45, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1471, "end": 1472, "loc": { "start": { "line": 45, "column": 47 }, "end": { "line": 45, "column": 48 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "->", "start": 1473, "end": 1477, "loc": { "start": { "line": 45, "column": 49 }, "end": { "line": 45, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1477, "end": 1478, "loc": { "start": { "line": 45, "column": 53 }, "end": { "line": 45, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1479, "end": 1481, "loc": { "start": { "line": 45, "column": 55 }, "end": { "line": 45, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1481, "end": 1482, "loc": { "start": { "line": 45, "column": 57 }, "end": { "line": 45, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1482, "end": 1483, "loc": { "start": { "line": 45, "column": 58 }, "end": { "line": 45, "column": 59 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 1497, "end": 1503, "loc": { "start": { "line": 46, "column": 12 }, "end": { "line": 46, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1504, "end": 1506, "loc": { "start": { "line": 46, "column": 19 }, "end": { "line": 46, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1506, "end": 1507, "loc": { "start": { "line": 46, "column": 21 }, "end": { "line": 46, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1517, "end": 1518, "loc": { "start": { "line": 47, "column": 8 }, "end": { "line": 47, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1528, "end": 1530, "loc": { "start": { "line": 48, "column": 8 }, "end": { "line": 48, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1531, "end": 1532, "loc": { "start": { "line": 48, "column": 11 }, "end": { "line": 48, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "code", "start": 1532, "end": 1536, "loc": { "start": { "line": 48, "column": 12 }, "end": { "line": 48, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 1537, "end": 1540, "loc": { "start": { "line": 48, "column": 17 }, "end": { "line": 48, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shortKey", "start": 1541, "end": 1549, "loc": { "start": { "line": 48, "column": 21 }, "end": { "line": 48, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1549, "end": 1550, "loc": { "start": { "line": 48, "column": 29 }, "end": { "line": 48, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1551, "end": 1552, "loc": { "start": { "line": 48, "column": 31 }, "end": { "line": 48, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 1566, "end": 1573, "loc": { "start": { "line": 49, "column": 12 }, "end": { "line": 49, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1573, "end": 1574, "loc": { "start": { "line": 49, "column": 19 }, "end": { "line": 49, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 1574, "end": 1577, "loc": { "start": { "line": 49, "column": 20 }, "end": { "line": 49, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1577, "end": 1578, "loc": { "start": { "line": 49, "column": 23 }, "end": { "line": 49, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-> Match by short key", "start": 1578, "end": 1601, "loc": { "start": { "line": 49, "column": 24 }, "end": { "line": 49, "column": 47 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1601, "end": 1602, "loc": { "start": { "line": 49, "column": 47 }, "end": { "line": 49, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "languageKey", "start": 1603, "end": 1614, "loc": { "start": { "line": 49, "column": 49 }, "end": { "line": 49, "column": 60 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1614, "end": 1615, "loc": { "start": { "line": 49, "column": 60 }, "end": { "line": 49, "column": 61 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "->", "start": 1616, "end": 1620, "loc": { "start": { "line": 49, "column": 62 }, "end": { "line": 49, "column": 66 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1620, "end": 1621, "loc": { "start": { "line": 49, "column": 66 }, "end": { "line": 49, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1622, "end": 1624, "loc": { "start": { "line": 49, "column": 68 }, "end": { "line": 49, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1624, "end": 1625, "loc": { "start": { "line": 49, "column": 70 }, "end": { "line": 49, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1625, "end": 1626, "loc": { "start": { "line": 49, "column": 71 }, "end": { "line": 49, "column": 72 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 1640, "end": 1646, "loc": { "start": { "line": 50, "column": 12 }, "end": { "line": 50, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1647, "end": 1649, "loc": { "start": { "line": 50, "column": 19 }, "end": { "line": 50, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1649, "end": 1650, "loc": { "start": { "line": 50, "column": 21 }, "end": { "line": 50, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1660, "end": 1661, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1667, "end": 1668, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 5 } } }, { "type": "CommentLine", "value": " If none found, try to find a better alternative by using the base language at least", "start": 1676, "end": 1762, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 90 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 1768, "end": 1771, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 55, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1772, "end": 1773, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 9 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1773, "end": 1778, "loc": { "start": { "line": 55, "column": 9 }, "end": { "line": 55, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1779, "end": 1781, "loc": { "start": { "line": 55, "column": 15 }, "end": { "line": 55, "column": 17 } } }, { "type": { "label": "in", "keyword": "in", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "in", "start": 1782, "end": 1784, "loc": { "start": { "line": 55, "column": 18 }, "end": { "line": 55, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "LANGUAGES", "start": 1785, "end": 1794, "loc": { "start": { "line": 55, "column": 21 }, "end": { "line": 55, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1794, "end": 1795, "loc": { "start": { "line": 55, "column": 30 }, "end": { "line": 55, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1796, "end": 1797, "loc": { "start": { "line": 55, "column": 32 }, "end": { "line": 55, "column": 33 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1807, "end": 1812, "loc": { "start": { "line": 56, "column": 8 }, "end": { "line": 56, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 1813, "end": 1817, "loc": { "start": { "line": 56, "column": 14 }, "end": { "line": 56, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1818, "end": 1819, "loc": { "start": { "line": 56, "column": 19 }, "end": { "line": 56, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "LANGUAGES", "start": 1820, "end": 1829, "loc": { "start": { "line": 56, "column": 21 }, "end": { "line": 56, "column": 30 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1829, "end": 1830, "loc": { "start": { "line": 56, "column": 30 }, "end": { "line": 56, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 1830, "end": 1832, "loc": { "start": { "line": 56, "column": 31 }, "end": { "line": 56, "column": 33 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1832, "end": 1833, "loc": { "start": { "line": 56, "column": 33 }, "end": { "line": 56, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1833, "end": 1834, "loc": { "start": { "line": 56, "column": 34 }, "end": { "line": 56, "column": 35 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1844, "end": 1849, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "code", "start": 1850, "end": 1854, "loc": { "start": { "line": 57, "column": 14 }, "end": { "line": 57, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1855, "end": 1856, "loc": { "start": { "line": 57, "column": 19 }, "end": { "line": 57, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 1857, "end": 1861, "loc": { "start": { "line": 57, "column": 21 }, "end": { "line": 57, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1861, "end": 1862, "loc": { "start": { "line": 57, "column": 25 }, "end": { "line": 57, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "code", "start": 1862, "end": 1866, "loc": { "start": { "line": 57, "column": 26 }, "end": { "line": 57, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1866, "end": 1867, "loc": { "start": { "line": 57, "column": 30 }, "end": { "line": 57, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 1867, "end": 1878, "loc": { "start": { "line": 57, "column": 31 }, "end": { "line": 57, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1878, "end": 1879, "loc": { "start": { "line": 57, "column": 42 }, "end": { "line": 57, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1879, "end": 1880, "loc": { "start": { "line": 57, "column": 43 }, "end": { "line": 57, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1880, "end": 1881, "loc": { "start": { "line": 57, "column": 44 }, "end": { "line": 57, "column": 45 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1891, "end": 1896, "loc": { "start": { "line": 58, "column": 8 }, "end": { "line": 58, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shortCode", "start": 1897, "end": 1906, "loc": { "start": { "line": 58, "column": 14 }, "end": { "line": 58, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1907, "end": 1908, "loc": { "start": { "line": 58, "column": 24 }, "end": { "line": 58, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "code", "start": 1909, "end": 1913, "loc": { "start": { "line": 58, "column": 26 }, "end": { "line": 58, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1913, "end": 1914, "loc": { "start": { "line": 58, "column": 30 }, "end": { "line": 58, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 1914, "end": 1919, "loc": { "start": { "line": 58, "column": 31 }, "end": { "line": 58, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1919, "end": 1920, "loc": { "start": { "line": 58, "column": 36 }, "end": { "line": 58, "column": 37 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-", "start": 1920, "end": 1923, "loc": { "start": { "line": 58, "column": 37 }, "end": { "line": 58, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1923, "end": 1924, "loc": { "start": { "line": 58, "column": 40 }, "end": { "line": 58, "column": 41 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1924, "end": 1925, "loc": { "start": { "line": 58, "column": 41 }, "end": { "line": 58, "column": 42 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1925, "end": 1926, "loc": { "start": { "line": 58, "column": 42 }, "end": { "line": 58, "column": 43 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1926, "end": 1927, "loc": { "start": { "line": 58, "column": 43 }, "end": { "line": 58, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1927, "end": 1928, "loc": { "start": { "line": 58, "column": 44 }, "end": { "line": 58, "column": 45 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 1940, "end": 1942, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1943, "end": 1944, "loc": { "start": { "line": 60, "column": 11 }, "end": { "line": 60, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shortCode", "start": 1944, "end": 1953, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 21 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 1954, "end": 1957, "loc": { "start": { "line": 60, "column": 22 }, "end": { "line": 60, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 1958, "end": 1961, "loc": { "start": { "line": 60, "column": 26 }, "end": { "line": 60, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1961, "end": 1962, "loc": { "start": { "line": 60, "column": 29 }, "end": { "line": 60, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1963, "end": 1964, "loc": { "start": { "line": 60, "column": 31 }, "end": { "line": 60, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 1978, "end": 1985, "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 61, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1985, "end": 1986, "loc": { "start": { "line": 61, "column": 19 }, "end": { "line": 61, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 1986, "end": 1989, "loc": { "start": { "line": 61, "column": 20 }, "end": { "line": 61, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1989, "end": 1990, "loc": { "start": { "line": 61, "column": 23 }, "end": { "line": 61, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-> Desperate Match", "start": 1990, "end": 2010, "loc": { "start": { "line": 61, "column": 24 }, "end": { "line": 61, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2010, "end": 2011, "loc": { "start": { "line": 61, "column": 44 }, "end": { "line": 61, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "languageKey", "start": 2012, "end": 2023, "loc": { "start": { "line": 61, "column": 46 }, "end": { "line": 61, "column": 57 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2023, "end": 2024, "loc": { "start": { "line": 61, "column": 57 }, "end": { "line": 61, "column": 58 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "->", "start": 2025, "end": 2029, "loc": { "start": { "line": 61, "column": 59 }, "end": { "line": 61, "column": 63 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2029, "end": 2030, "loc": { "start": { "line": 61, "column": 63 }, "end": { "line": 61, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 2031, "end": 2033, "loc": { "start": { "line": 61, "column": 65 }, "end": { "line": 61, "column": 67 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2033, "end": 2034, "loc": { "start": { "line": 61, "column": 67 }, "end": { "line": 61, "column": 68 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2034, "end": 2035, "loc": { "start": { "line": 61, "column": 68 }, "end": { "line": 61, "column": 69 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2049, "end": 2055, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 2056, "end": 2058, "loc": { "start": { "line": 62, "column": 19 }, "end": { "line": 62, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2058, "end": 2059, "loc": { "start": { "line": 62, "column": 21 }, "end": { "line": 62, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2069, "end": 2070, "loc": { "start": { "line": 63, "column": 8 }, "end": { "line": 63, "column": 9 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2080, "end": 2082, "loc": { "start": { "line": 64, "column": 8 }, "end": { "line": 64, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2083, "end": 2084, "loc": { "start": { "line": 64, "column": 11 }, "end": { "line": 64, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shortCode", "start": 2084, "end": 2093, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 21 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 2094, "end": 2097, "loc": { "start": { "line": 64, "column": 22 }, "end": { "line": 64, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shortKey", "start": 2098, "end": 2106, "loc": { "start": { "line": 64, "column": 26 }, "end": { "line": 64, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2106, "end": 2107, "loc": { "start": { "line": 64, "column": 34 }, "end": { "line": 64, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2108, "end": 2109, "loc": { "start": { "line": 64, "column": 36 }, "end": { "line": 64, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 2123, "end": 2130, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2130, "end": 2131, "loc": { "start": { "line": 65, "column": 19 }, "end": { "line": 65, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 2131, "end": 2134, "loc": { "start": { "line": 65, "column": 20 }, "end": { "line": 65, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2134, "end": 2135, "loc": { "start": { "line": 65, "column": 23 }, "end": { "line": 65, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-> Desperate Match by short key", "start": 2135, "end": 2168, "loc": { "start": { "line": 65, "column": 24 }, "end": { "line": 65, "column": 57 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2168, "end": 2169, "loc": { "start": { "line": 65, "column": 57 }, "end": { "line": 65, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "languageKey", "start": 2170, "end": 2181, "loc": { "start": { "line": 65, "column": 59 }, "end": { "line": 65, "column": 70 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2181, "end": 2182, "loc": { "start": { "line": 65, "column": 70 }, "end": { "line": 65, "column": 71 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "->", "start": 2183, "end": 2187, "loc": { "start": { "line": 65, "column": 72 }, "end": { "line": 65, "column": 76 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2187, "end": 2188, "loc": { "start": { "line": 65, "column": 76 }, "end": { "line": 65, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 2189, "end": 2191, "loc": { "start": { "line": 65, "column": 78 }, "end": { "line": 65, "column": 80 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2191, "end": 2192, "loc": { "start": { "line": 65, "column": 80 }, "end": { "line": 65, "column": 81 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2192, "end": 2193, "loc": { "start": { "line": 65, "column": 81 }, "end": { "line": 65, "column": 82 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2207, "end": 2213, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 2214, "end": 2216, "loc": { "start": { "line": 66, "column": 19 }, "end": { "line": 66, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2216, "end": 2217, "loc": { "start": { "line": 66, "column": 21 }, "end": { "line": 66, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2227, "end": 2228, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2234, "end": 2235, "loc": { "start": { "line": 68, "column": 4 }, "end": { "line": 68, "column": 5 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2243, "end": 2249, "loc": { "start": { "line": 70, "column": 4 }, "end": { "line": 70, "column": 10 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 2250, "end": 2254, "loc": { "start": { "line": 70, "column": 11 }, "end": { "line": 70, "column": 15 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2254, "end": 2255, "loc": { "start": { "line": 70, "column": 15 }, "end": { "line": 70, "column": 16 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2257, "end": 2258, "loc": { "start": { "line": 71, "column": 0 }, "end": { "line": 71, "column": 1 } } }, { "type": "CommentBlock", "value": "*\r\n * Tries to auto-detect a language\r\n * @returns {string}\r\n ", "start": 2262, "end": 2328, "loc": { "start": { "line": 73, "column": 0 }, "end": { "line": 76, "column": 3 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 2330, "end": 2336, "loc": { "start": { "line": 77, "column": 0 }, "end": { "line": 77, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 2337, "end": 2345, "loc": { "start": { "line": 77, "column": 7 }, "end": { "line": 77, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "autoDetectLanguageId", "start": 2346, "end": 2366, "loc": { "start": { "line": 77, "column": 16 }, "end": { "line": 77, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2366, "end": 2367, "loc": { "start": { "line": 77, "column": 36 }, "end": { "line": 77, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2367, "end": 2368, "loc": { "start": { "line": 77, "column": 37 }, "end": { "line": 77, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2369, "end": 2370, "loc": { "start": { "line": 77, "column": 39 }, "end": { "line": 77, "column": 40 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 2376, "end": 2379, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "languages", "start": 2380, "end": 2389, "loc": { "start": { "line": 78, "column": 8 }, "end": { "line": 78, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2390, "end": 2391, "loc": { "start": { "line": 78, "column": 18 }, "end": { "line": 78, "column": 19 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2392, "end": 2393, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 21 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2393, "end": 2394, "loc": { "start": { "line": 78, "column": 21 }, "end": { "line": 78, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2394, "end": 2395, "loc": { "start": { "line": 78, "column": 22 }, "end": { "line": 78, "column": 23 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2401, "end": 2403, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2404, "end": 2405, "loc": { "start": { "line": 79, "column": 7 }, "end": { "line": 79, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "navigator", "start": 2405, "end": 2414, "loc": { "start": { "line": 79, "column": 8 }, "end": { "line": 79, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2414, "end": 2415, "loc": { "start": { "line": 79, "column": 17 }, "end": { "line": 79, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "languages", "start": 2415, "end": 2424, "loc": { "start": { "line": 79, "column": 18 }, "end": { "line": 79, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2424, "end": 2425, "loc": { "start": { "line": 79, "column": 27 }, "end": { "line": 79, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2426, "end": 2427, "loc": { "start": { "line": 79, "column": 29 }, "end": { "line": 79, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "languages", "start": 2437, "end": 2446, "loc": { "start": { "line": 80, "column": 8 }, "end": { "line": 80, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2447, "end": 2448, "loc": { "start": { "line": 80, "column": 18 }, "end": { "line": 80, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "navigator", "start": 2449, "end": 2458, "loc": { "start": { "line": 80, "column": 20 }, "end": { "line": 80, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2458, "end": 2459, "loc": { "start": { "line": 80, "column": 29 }, "end": { "line": 80, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "languages", "start": 2459, "end": 2468, "loc": { "start": { "line": 80, "column": 30 }, "end": { "line": 80, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2468, "end": 2469, "loc": { "start": { "line": 80, "column": 39 }, "end": { "line": 80, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slice", "start": 2469, "end": 2474, "loc": { "start": { "line": 80, "column": 40 }, "end": { "line": 80, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2474, "end": 2475, "loc": { "start": { "line": 80, "column": 45 }, "end": { "line": 80, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2475, "end": 2476, "loc": { "start": { "line": 80, "column": 46 }, "end": { "line": 80, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2476, "end": 2477, "loc": { "start": { "line": 80, "column": 47 }, "end": { "line": 80, "column": 48 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2483, "end": 2484, "loc": { "start": { "line": 81, "column": 4 }, "end": { "line": 81, "column": 5 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 2485, "end": 2489, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 10 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2490, "end": 2492, "loc": { "start": { "line": 81, "column": 11 }, "end": { "line": 81, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2493, "end": 2494, "loc": { "start": { "line": 81, "column": 14 }, "end": { "line": 81, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "navigator", "start": 2494, "end": 2503, "loc": { "start": { "line": 81, "column": 15 }, "end": { "line": 81, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2503, "end": 2504, "loc": { "start": { "line": 81, "column": 24 }, "end": { "line": 81, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "language", "start": 2504, "end": 2512, "loc": { "start": { "line": 81, "column": 25 }, "end": { "line": 81, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2512, "end": 2513, "loc": { "start": { "line": 81, "column": 33 }, "end": { "line": 81, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2514, "end": 2515, "loc": { "start": { "line": 81, "column": 35 }, "end": { "line": 81, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "languages", "start": 2525, "end": 2534, "loc": { "start": { "line": 82, "column": 8 }, "end": { "line": 82, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2535, "end": 2536, "loc": { "start": { "line": 82, "column": 18 }, "end": { "line": 82, "column": 19 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2537, "end": 2538, "loc": { "start": { "line": 82, "column": 20 }, "end": { "line": 82, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "navigator", "start": 2538, "end": 2547, "loc": { "start": { "line": 82, "column": 21 }, "end": { "line": 82, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2547, "end": 2548, "loc": { "start": { "line": 82, "column": 30 }, "end": { "line": 82, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "language", "start": 2548, "end": 2556, "loc": { "start": { "line": 82, "column": 31 }, "end": { "line": 82, "column": 39 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2556, "end": 2557, "loc": { "start": { "line": 82, "column": 39 }, "end": { "line": 82, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2557, "end": 2558, "loc": { "start": { "line": 82, "column": 40 }, "end": { "line": 82, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2564, "end": 2565, "loc": { "start": { "line": 83, "column": 4 }, "end": { "line": 83, "column": 5 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 2566, "end": 2570, "loc": { "start": { "line": 83, "column": 6 }, "end": { "line": 83, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2571, "end": 2572, "loc": { "start": { "line": 83, "column": 11 }, "end": { "line": 83, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 2582, "end": 2588, "loc": { "start": { "line": 84, "column": 8 }, "end": { "line": 84, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2588, "end": 2589, "loc": { "start": { "line": 84, "column": 14 }, "end": { "line": 84, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "warn", "start": 2589, "end": 2593, "loc": { "start": { "line": 84, "column": 15 }, "end": { "line": 84, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2593, "end": 2594, "loc": { "start": { "line": 84, "column": 19 }, "end": { "line": 84, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Navigator has no languages prop", "start": 2594, "end": 2627, "loc": { "start": { "line": 84, "column": 20 }, "end": { "line": 84, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2627, "end": 2628, "loc": { "start": { "line": 84, "column": 53 }, "end": { "line": 84, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2628, "end": 2629, "loc": { "start": { "line": 84, "column": 54 }, "end": { "line": 84, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2635, "end": 2636, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 5 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 2644, "end": 2647, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2648, "end": 2649, "loc": { "start": { "line": 87, "column": 8 }, "end": { "line": 87, "column": 9 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 2649, "end": 2652, "loc": { "start": { "line": 87, "column": 9 }, "end": { "line": 87, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2653, "end": 2654, "loc": { "start": { "line": 87, "column": 13 }, "end": { "line": 87, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2655, "end": 2656, "loc": { "start": { "line": 87, "column": 15 }, "end": { "line": 87, "column": 16 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 2657, "end": 2658, "loc": { "start": { "line": 87, "column": 17 }, "end": { "line": 87, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2658, "end": 2659, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2660, "end": 2661, "loc": { "start": { "line": 87, "column": 20 }, "end": { "line": 87, "column": 21 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 2662, "end": 2663, "loc": { "start": { "line": 87, "column": 22 }, "end": { "line": 87, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "languages", "start": 2664, "end": 2673, "loc": { "start": { "line": 87, "column": 24 }, "end": { "line": 87, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2673, "end": 2674, "loc": { "start": { "line": 87, "column": 33 }, "end": { "line": 87, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 2674, "end": 2680, "loc": { "start": { "line": 87, "column": 34 }, "end": { "line": 87, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2680, "end": 2681, "loc": { "start": { "line": 87, "column": 40 }, "end": { "line": 87, "column": 41 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 2682, "end": 2684, "loc": { "start": { "line": 87, "column": 42 }, "end": { "line": 87, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2684, "end": 2685, "loc": { "start": { "line": 87, "column": 44 }, "end": { "line": 87, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2685, "end": 2686, "loc": { "start": { "line": 87, "column": 45 }, "end": { "line": 87, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2687, "end": 2688, "loc": { "start": { "line": 87, "column": 47 }, "end": { "line": 87, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 2698, "end": 2704, "loc": { "start": { "line": 88, "column": 8 }, "end": { "line": 88, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2704, "end": 2705, "loc": { "start": { "line": 88, "column": 14 }, "end": { "line": 88, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 2705, "end": 2708, "loc": { "start": { "line": 88, "column": 15 }, "end": { "line": 88, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2708, "end": 2709, "loc": { "start": { "line": 88, "column": 18 }, "end": { "line": 88, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Trying to find language target for", "start": 2709, "end": 2745, "loc": { "start": { "line": 88, "column": 19 }, "end": { "line": 88, "column": 55 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2745, "end": 2746, "loc": { "start": { "line": 88, "column": 55 }, "end": { "line": 88, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "languages", "start": 2747, "end": 2756, "loc": { "start": { "line": 88, "column": 57 }, "end": { "line": 88, "column": 66 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2756, "end": 2757, "loc": { "start": { "line": 88, "column": 66 }, "end": { "line": 88, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2757, "end": 2758, "loc": { "start": { "line": 88, "column": 67 }, "end": { "line": 88, "column": 68 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2758, "end": 2759, "loc": { "start": { "line": 88, "column": 68 }, "end": { "line": 88, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2759, "end": 2760, "loc": { "start": { "line": 88, "column": 69 }, "end": { "line": 88, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2760, "end": 2761, "loc": { "start": { "line": 88, "column": 70 }, "end": { "line": 88, "column": 71 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 2771, "end": 2776, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trans", "start": 2777, "end": 2782, "loc": { "start": { "line": 89, "column": 14 }, "end": { "line": 89, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2783, "end": 2784, "loc": { "start": { "line": 89, "column": 20 }, "end": { "line": 89, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mapLanguageCodeToId", "start": 2785, "end": 2804, "loc": { "start": { "line": 89, "column": 22 }, "end": { "line": 89, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2804, "end": 2805, "loc": { "start": { "line": 89, "column": 41 }, "end": { "line": 89, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "languages", "start": 2805, "end": 2814, "loc": { "start": { "line": 89, "column": 42 }, "end": { "line": 89, "column": 51 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2814, "end": 2815, "loc": { "start": { "line": 89, "column": 51 }, "end": { "line": 89, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 2815, "end": 2816, "loc": { "start": { "line": 89, "column": 52 }, "end": { "line": 89, "column": 53 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2816, "end": 2817, "loc": { "start": { "line": 89, "column": 53 }, "end": { "line": 89, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2817, "end": 2818, "loc": { "start": { "line": 89, "column": 54 }, "end": { "line": 89, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2818, "end": 2819, "loc": { "start": { "line": 89, "column": 55 }, "end": { "line": 89, "column": 56 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2829, "end": 2831, "loc": { "start": { "line": 90, "column": 8 }, "end": { "line": 90, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2832, "end": 2833, "loc": { "start": { "line": 90, "column": 11 }, "end": { "line": 90, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trans", "start": 2833, "end": 2838, "loc": { "start": { "line": 90, "column": 12 }, "end": { "line": 90, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2838, "end": 2839, "loc": { "start": { "line": 90, "column": 17 }, "end": { "line": 90, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2840, "end": 2841, "loc": { "start": { "line": 90, "column": 19 }, "end": { "line": 90, "column": 20 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2855, "end": 2861, "loc": { "start": { "line": 91, "column": 12 }, "end": { "line": 91, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trans", "start": 2862, "end": 2867, "loc": { "start": { "line": 91, "column": 19 }, "end": { "line": 91, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2867, "end": 2868, "loc": { "start": { "line": 91, "column": 24 }, "end": { "line": 91, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2878, "end": 2879, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2885, "end": 2886, "loc": { "start": { "line": 93, "column": 4 }, "end": { "line": 93, "column": 5 } } }, { "type": "CommentLine", "value": " Fallback", "start": 2894, "end": 2905, "loc": { "start": { "line": 95, "column": 4 }, "end": { "line": 95, "column": 15 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2911, "end": 2917, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 10 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "en", "start": 2918, "end": 2922, "loc": { "start": { "line": 96, "column": 11 }, "end": { "line": 96, "column": 15 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2922, "end": 2923, "loc": { "start": { "line": 96, "column": 15 }, "end": { "line": 96, "column": 16 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2925, "end": 2926, "loc": { "start": { "line": 97, "column": 0 }, "end": { "line": 97, "column": 1 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 2930, "end": 2938, "loc": { "start": { "line": 99, "column": 0 }, "end": { "line": 99, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "matchDataRecursive", "start": 2939, "end": 2957, "loc": { "start": { "line": 99, "column": 9 }, "end": { "line": 99, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2957, "end": 2958, "loc": { "start": { "line": 99, "column": 27 }, "end": { "line": 99, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dest", "start": 2958, "end": 2962, "loc": { "start": { "line": 99, "column": 28 }, "end": { "line": 99, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2962, "end": 2963, "loc": { "start": { "line": 99, "column": 32 }, "end": { "line": 99, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "src", "start": 2964, "end": 2967, "loc": { "start": { "line": 99, "column": 34 }, "end": { "line": 99, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2967, "end": 2968, "loc": { "start": { "line": 99, "column": 37 }, "end": { "line": 99, "column": 38 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2969, "end": 2970, "loc": { "start": { "line": 99, "column": 39 }, "end": { "line": 99, "column": 40 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 2976, "end": 2978, "loc": { "start": { "line": 100, "column": 4 }, "end": { "line": 100, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2979, "end": 2980, "loc": { "start": { "line": 100, "column": 7 }, "end": { "line": 100, "column": 8 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 2980, "end": 2986, "loc": { "start": { "line": 100, "column": 8 }, "end": { "line": 100, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dest", "start": 2987, "end": 2991, "loc": { "start": { "line": 100, "column": 15 }, "end": { "line": 100, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 2992, "end": 2995, "loc": { "start": { "line": 100, "column": 20 }, "end": { "line": 100, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "object", "start": 2996, "end": 3004, "loc": { "start": { "line": 100, "column": 24 }, "end": { "line": 100, "column": 32 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 3005, "end": 3007, "loc": { "start": { "line": 100, "column": 33 }, "end": { "line": 100, "column": 35 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 3008, "end": 3014, "loc": { "start": { "line": 100, "column": 36 }, "end": { "line": 100, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "src", "start": 3015, "end": 3018, "loc": { "start": { "line": 100, "column": 43 }, "end": { "line": 100, "column": 46 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 3019, "end": 3022, "loc": { "start": { "line": 100, "column": 47 }, "end": { "line": 100, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "object", "start": 3023, "end": 3031, "loc": { "start": { "line": 100, "column": 51 }, "end": { "line": 100, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3031, "end": 3032, "loc": { "start": { "line": 100, "column": 59 }, "end": { "line": 100, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3033, "end": 3034, "loc": { "start": { "line": 100, "column": 61 }, "end": { "line": 100, "column": 62 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 3044, "end": 3050, "loc": { "start": { "line": 101, "column": 8 }, "end": { "line": 101, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3050, "end": 3051, "loc": { "start": { "line": 101, "column": 14 }, "end": { "line": 101, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3057, "end": 3058, "loc": { "start": { "line": 102, "column": 4 }, "end": { "line": 102, "column": 5 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 3066, "end": 3069, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3070, "end": 3071, "loc": { "start": { "line": 104, "column": 8 }, "end": { "line": 104, "column": 9 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 3071, "end": 3076, "loc": { "start": { "line": 104, "column": 9 }, "end": { "line": 104, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 3077, "end": 3080, "loc": { "start": { "line": 104, "column": 15 }, "end": { "line": 104, "column": 18 } } }, { "type": { "label": "in", "keyword": "in", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "in", "start": 3081, "end": 3083, "loc": { "start": { "line": 104, "column": 19 }, "end": { "line": 104, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dest", "start": 3084, "end": 3088, "loc": { "start": { "line": 104, "column": 22 }, "end": { "line": 104, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3088, "end": 3089, "loc": { "start": { "line": 104, "column": 26 }, "end": { "line": 104, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3090, "end": 3091, "loc": { "start": { "line": 104, "column": 28 }, "end": { "line": 104, "column": 29 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 3101, "end": 3103, "loc": { "start": { "line": 105, "column": 8 }, "end": { "line": 105, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3104, "end": 3105, "loc": { "start": { "line": 105, "column": 11 }, "end": { "line": 105, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "src", "start": 3105, "end": 3108, "loc": { "start": { "line": 105, "column": 12 }, "end": { "line": 105, "column": 15 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3108, "end": 3109, "loc": { "start": { "line": 105, "column": 15 }, "end": { "line": 105, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 3109, "end": 3112, "loc": { "start": { "line": 105, "column": 16 }, "end": { "line": 105, "column": 19 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3112, "end": 3113, "loc": { "start": { "line": 105, "column": 19 }, "end": { "line": 105, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3113, "end": 3114, "loc": { "start": { "line": 105, "column": 20 }, "end": { "line": 105, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3115, "end": 3116, "loc": { "start": { "line": 105, "column": 22 }, "end": { "line": 105, "column": 23 } } }, { "type": "CommentLine", "value": " console.log(\"copy\", key);", "start": 3130, "end": 3158, "loc": { "start": { "line": 106, "column": 12 }, "end": { "line": 106, "column": 40 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 3172, "end": 3177, "loc": { "start": { "line": 107, "column": 12 }, "end": { "line": 107, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3178, "end": 3182, "loc": { "start": { "line": 107, "column": 18 }, "end": { "line": 107, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3183, "end": 3184, "loc": { "start": { "line": 107, "column": 23 }, "end": { "line": 107, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dest", "start": 3185, "end": 3189, "loc": { "start": { "line": 107, "column": 25 }, "end": { "line": 107, "column": 29 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3189, "end": 3190, "loc": { "start": { "line": 107, "column": 29 }, "end": { "line": 107, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 3190, "end": 3193, "loc": { "start": { "line": 107, "column": 30 }, "end": { "line": 107, "column": 33 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3193, "end": 3194, "loc": { "start": { "line": 107, "column": 33 }, "end": { "line": 107, "column": 34 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3194, "end": 3195, "loc": { "start": { "line": 107, "column": 34 }, "end": { "line": 107, "column": 35 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 3209, "end": 3211, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3212, "end": 3213, "loc": { "start": { "line": 108, "column": 15 }, "end": { "line": 108, "column": 16 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 3213, "end": 3219, "loc": { "start": { "line": 108, "column": 16 }, "end": { "line": 108, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3220, "end": 3224, "loc": { "start": { "line": 108, "column": 23 }, "end": { "line": 108, "column": 27 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3225, "end": 3228, "loc": { "start": { "line": 108, "column": 28 }, "end": { "line": 108, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "object", "start": 3229, "end": 3237, "loc": { "start": { "line": 108, "column": 32 }, "end": { "line": 108, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3237, "end": 3238, "loc": { "start": { "line": 108, "column": 40 }, "end": { "line": 108, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3239, "end": 3240, "loc": { "start": { "line": 108, "column": 42 }, "end": { "line": 108, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "matchDataRecursive", "start": 3258, "end": 3276, "loc": { "start": { "line": 109, "column": 16 }, "end": { "line": 109, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3276, "end": 3277, "loc": { "start": { "line": 109, "column": 34 }, "end": { "line": 109, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dest", "start": 3277, "end": 3281, "loc": { "start": { "line": 109, "column": 35 }, "end": { "line": 109, "column": 39 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3281, "end": 3282, "loc": { "start": { "line": 109, "column": 39 }, "end": { "line": 109, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 3282, "end": 3285, "loc": { "start": { "line": 109, "column": 40 }, "end": { "line": 109, "column": 43 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3285, "end": 3286, "loc": { "start": { "line": 109, "column": 43 }, "end": { "line": 109, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3286, "end": 3287, "loc": { "start": { "line": 109, "column": 44 }, "end": { "line": 109, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "src", "start": 3288, "end": 3291, "loc": { "start": { "line": 109, "column": 46 }, "end": { "line": 109, "column": 49 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3291, "end": 3292, "loc": { "start": { "line": 109, "column": 49 }, "end": { "line": 109, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 3292, "end": 3295, "loc": { "start": { "line": 109, "column": 50 }, "end": { "line": 109, "column": 53 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3295, "end": 3296, "loc": { "start": { "line": 109, "column": 53 }, "end": { "line": 109, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3296, "end": 3297, "loc": { "start": { "line": 109, "column": 54 }, "end": { "line": 109, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3297, "end": 3298, "loc": { "start": { "line": 109, "column": 55 }, "end": { "line": 109, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3312, "end": 3313, "loc": { "start": { "line": 110, "column": 12 }, "end": { "line": 110, "column": 13 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 3314, "end": 3318, "loc": { "start": { "line": 110, "column": 14 }, "end": { "line": 110, "column": 18 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 3319, "end": 3321, "loc": { "start": { "line": 110, "column": 19 }, "end": { "line": 110, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3322, "end": 3323, "loc": { "start": { "line": 110, "column": 22 }, "end": { "line": 110, "column": 23 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 3323, "end": 3329, "loc": { "start": { "line": 110, "column": 23 }, "end": { "line": 110, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3330, "end": 3334, "loc": { "start": { "line": 110, "column": 30 }, "end": { "line": 110, "column": 34 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3335, "end": 3338, "loc": { "start": { "line": 110, "column": 35 }, "end": { "line": 110, "column": 38 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "string", "start": 3339, "end": 3347, "loc": { "start": { "line": 110, "column": 39 }, "end": { "line": 110, "column": 47 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 3348, "end": 3350, "loc": { "start": { "line": 110, "column": 48 }, "end": { "line": 110, "column": 50 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 3351, "end": 3357, "loc": { "start": { "line": 110, "column": 51 }, "end": { "line": 110, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3358, "end": 3362, "loc": { "start": { "line": 110, "column": 58 }, "end": { "line": 110, "column": 62 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3363, "end": 3366, "loc": { "start": { "line": 110, "column": 63 }, "end": { "line": 110, "column": 66 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "number", "start": 3367, "end": 3375, "loc": { "start": { "line": 110, "column": 67 }, "end": { "line": 110, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3375, "end": 3376, "loc": { "start": { "line": 110, "column": 75 }, "end": { "line": 110, "column": 76 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3377, "end": 3378, "loc": { "start": { "line": 110, "column": 77 }, "end": { "line": 110, "column": 78 } } }, { "type": "CommentLine", "value": " console.log(\"match string\", key);", "start": 3396, "end": 3432, "loc": { "start": { "line": 111, "column": 16 }, "end": { "line": 111, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dest", "start": 3450, "end": 3454, "loc": { "start": { "line": 112, "column": 16 }, "end": { "line": 112, "column": 20 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3454, "end": 3455, "loc": { "start": { "line": 112, "column": 20 }, "end": { "line": 112, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 3455, "end": 3458, "loc": { "start": { "line": 112, "column": 21 }, "end": { "line": 112, "column": 24 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3458, "end": 3459, "loc": { "start": { "line": 112, "column": 24 }, "end": { "line": 112, "column": 25 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3460, "end": 3461, "loc": { "start": { "line": 112, "column": 26 }, "end": { "line": 112, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "src", "start": 3462, "end": 3465, "loc": { "start": { "line": 112, "column": 28 }, "end": { "line": 112, "column": 31 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3465, "end": 3466, "loc": { "start": { "line": 112, "column": 31 }, "end": { "line": 112, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 3466, "end": 3469, "loc": { "start": { "line": 112, "column": 32 }, "end": { "line": 112, "column": 35 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3469, "end": 3470, "loc": { "start": { "line": 112, "column": 35 }, "end": { "line": 112, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3470, "end": 3471, "loc": { "start": { "line": 112, "column": 36 }, "end": { "line": 112, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3485, "end": 3486, "loc": { "start": { "line": 113, "column": 12 }, "end": { "line": 113, "column": 13 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 3487, "end": 3491, "loc": { "start": { "line": 113, "column": 14 }, "end": { "line": 113, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3492, "end": 3493, "loc": { "start": { "line": 113, "column": 19 }, "end": { "line": 113, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 3511, "end": 3517, "loc": { "start": { "line": 114, "column": 16 }, "end": { "line": 114, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3517, "end": 3518, "loc": { "start": { "line": 114, "column": 22 }, "end": { "line": 114, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 3518, "end": 3521, "loc": { "start": { "line": 114, "column": 23 }, "end": { "line": 114, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3521, "end": 3522, "loc": { "start": { "line": 114, "column": 26 }, "end": { "line": 114, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Unknown type:", "start": 3522, "end": 3537, "loc": { "start": { "line": 114, "column": 27 }, "end": { "line": 114, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3537, "end": 3538, "loc": { "start": { "line": 114, "column": 42 }, "end": { "line": 114, "column": 43 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 3539, "end": 3545, "loc": { "start": { "line": 114, "column": 44 }, "end": { "line": 114, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3546, "end": 3550, "loc": { "start": { "line": 114, "column": 51 }, "end": { "line": 114, "column": 55 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3550, "end": 3551, "loc": { "start": { "line": 114, "column": 55 }, "end": { "line": 114, "column": 56 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "in key", "start": 3552, "end": 3560, "loc": { "start": { "line": 114, "column": 57 }, "end": { "line": 114, "column": 65 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3560, "end": 3561, "loc": { "start": { "line": 114, "column": 65 }, "end": { "line": 114, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 3562, "end": 3565, "loc": { "start": { "line": 114, "column": 67 }, "end": { "line": 114, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3565, "end": 3566, "loc": { "start": { "line": 114, "column": 70 }, "end": { "line": 114, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3566, "end": 3567, "loc": { "start": { "line": 114, "column": 71 }, "end": { "line": 114, "column": 72 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3581, "end": 3582, "loc": { "start": { "line": 115, "column": 12 }, "end": { "line": 115, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3592, "end": 3593, "loc": { "start": { "line": 116, "column": 8 }, "end": { "line": 116, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3599, "end": 3600, "loc": { "start": { "line": 117, "column": 4 }, "end": { "line": 117, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3602, "end": 3603, "loc": { "start": { "line": 118, "column": 0 }, "end": { "line": 118, "column": 1 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 3607, "end": 3613, "loc": { "start": { "line": 120, "column": 0 }, "end": { "line": 120, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 3614, "end": 3622, "loc": { "start": { "line": 120, "column": 7 }, "end": { "line": 120, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "matchOverwriteRecursive", "start": 3623, "end": 3646, "loc": { "start": { "line": 120, "column": 16 }, "end": { "line": 120, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3646, "end": 3647, "loc": { "start": { "line": 120, "column": 39 }, "end": { "line": 120, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dest", "start": 3647, "end": 3651, "loc": { "start": { "line": 120, "column": 40 }, "end": { "line": 120, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3651, "end": 3652, "loc": { "start": { "line": 120, "column": 44 }, "end": { "line": 120, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "src", "start": 3653, "end": 3656, "loc": { "start": { "line": 120, "column": 46 }, "end": { "line": 120, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3656, "end": 3657, "loc": { "start": { "line": 120, "column": 49 }, "end": { "line": 120, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3658, "end": 3659, "loc": { "start": { "line": 120, "column": 51 }, "end": { "line": 120, "column": 52 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 3665, "end": 3667, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3668, "end": 3669, "loc": { "start": { "line": 121, "column": 7 }, "end": { "line": 121, "column": 8 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 3669, "end": 3675, "loc": { "start": { "line": 121, "column": 8 }, "end": { "line": 121, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dest", "start": 3676, "end": 3680, "loc": { "start": { "line": 121, "column": 15 }, "end": { "line": 121, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 3681, "end": 3684, "loc": { "start": { "line": 121, "column": 20 }, "end": { "line": 121, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "object", "start": 3685, "end": 3693, "loc": { "start": { "line": 121, "column": 24 }, "end": { "line": 121, "column": 32 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 3694, "end": 3696, "loc": { "start": { "line": 121, "column": 33 }, "end": { "line": 121, "column": 35 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 3697, "end": 3703, "loc": { "start": { "line": 121, "column": 36 }, "end": { "line": 121, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "src", "start": 3704, "end": 3707, "loc": { "start": { "line": 121, "column": 43 }, "end": { "line": 121, "column": 46 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 3708, "end": 3711, "loc": { "start": { "line": 121, "column": 47 }, "end": { "line": 121, "column": 50 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "object", "start": 3712, "end": 3720, "loc": { "start": { "line": 121, "column": 51 }, "end": { "line": 121, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3720, "end": 3721, "loc": { "start": { "line": 121, "column": 59 }, "end": { "line": 121, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3722, "end": 3723, "loc": { "start": { "line": 121, "column": 61 }, "end": { "line": 121, "column": 62 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 3733, "end": 3739, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3739, "end": 3740, "loc": { "start": { "line": 122, "column": 14 }, "end": { "line": 122, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3746, "end": 3747, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 123, "column": 5 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 3755, "end": 3758, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 125, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3759, "end": 3760, "loc": { "start": { "line": 125, "column": 8 }, "end": { "line": 125, "column": 9 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 3760, "end": 3765, "loc": { "start": { "line": 125, "column": 9 }, "end": { "line": 125, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 3766, "end": 3769, "loc": { "start": { "line": 125, "column": 15 }, "end": { "line": 125, "column": 18 } } }, { "type": { "label": "in", "keyword": "in", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "in", "start": 3770, "end": 3772, "loc": { "start": { "line": 125, "column": 19 }, "end": { "line": 125, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "src", "start": 3773, "end": 3776, "loc": { "start": { "line": 125, "column": 22 }, "end": { "line": 125, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3776, "end": 3777, "loc": { "start": { "line": 125, "column": 25 }, "end": { "line": 125, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3778, "end": 3779, "loc": { "start": { "line": 125, "column": 27 }, "end": { "line": 125, "column": 28 } } }, { "type": "CommentLine", "value": "console.log(\"copy\", key);", "start": 3789, "end": 3816, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 126, "column": 35 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 3826, "end": 3831, "loc": { "start": { "line": 127, "column": 8 }, "end": { "line": 127, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3832, "end": 3836, "loc": { "start": { "line": 127, "column": 14 }, "end": { "line": 127, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3837, "end": 3838, "loc": { "start": { "line": 127, "column": 19 }, "end": { "line": 127, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "src", "start": 3839, "end": 3842, "loc": { "start": { "line": 127, "column": 21 }, "end": { "line": 127, "column": 24 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3842, "end": 3843, "loc": { "start": { "line": 127, "column": 24 }, "end": { "line": 127, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 3843, "end": 3846, "loc": { "start": { "line": 127, "column": 25 }, "end": { "line": 127, "column": 28 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3846, "end": 3847, "loc": { "start": { "line": 127, "column": 28 }, "end": { "line": 127, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3847, "end": 3848, "loc": { "start": { "line": 127, "column": 29 }, "end": { "line": 127, "column": 30 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 3858, "end": 3860, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 128, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3861, "end": 3862, "loc": { "start": { "line": 128, "column": 11 }, "end": { "line": 128, "column": 12 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 3862, "end": 3868, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 3869, "end": 3873, "loc": { "start": { "line": 128, "column": 19 }, "end": { "line": 128, "column": 23 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3874, "end": 3877, "loc": { "start": { "line": 128, "column": 24 }, "end": { "line": 128, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "object", "start": 3878, "end": 3886, "loc": { "start": { "line": 128, "column": 28 }, "end": { "line": 128, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3886, "end": 3887, "loc": { "start": { "line": 128, "column": 36 }, "end": { "line": 128, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3888, "end": 3889, "loc": { "start": { "line": 128, "column": 38 }, "end": { "line": 128, "column": 39 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 3903, "end": 3905, "loc": { "start": { "line": 129, "column": 12 }, "end": { "line": 129, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3906, "end": 3907, "loc": { "start": { "line": 129, "column": 15 }, "end": { "line": 129, "column": 16 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 3907, "end": 3908, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 129, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dest", "start": 3908, "end": 3912, "loc": { "start": { "line": 129, "column": 17 }, "end": { "line": 129, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3912, "end": 3913, "loc": { "start": { "line": 129, "column": 21 }, "end": { "line": 129, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 3913, "end": 3916, "loc": { "start": { "line": 129, "column": 22 }, "end": { "line": 129, "column": 25 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3916, "end": 3917, "loc": { "start": { "line": 129, "column": 25 }, "end": { "line": 129, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3917, "end": 3918, "loc": { "start": { "line": 129, "column": 26 }, "end": { "line": 129, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dest", "start": 3919, "end": 3923, "loc": { "start": { "line": 129, "column": 28 }, "end": { "line": 129, "column": 32 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3923, "end": 3924, "loc": { "start": { "line": 129, "column": 32 }, "end": { "line": 129, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 3924, "end": 3927, "loc": { "start": { "line": 129, "column": 33 }, "end": { "line": 129, "column": 36 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3927, "end": 3928, "loc": { "start": { "line": 129, "column": 36 }, "end": { "line": 129, "column": 37 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3929, "end": 3930, "loc": { "start": { "line": 129, "column": 38 }, "end": { "line": 129, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3931, "end": 3932, "loc": { "start": { "line": 129, "column": 40 }, "end": { "line": 129, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3932, "end": 3933, "loc": { "start": { "line": 129, "column": 41 }, "end": { "line": 129, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3933, "end": 3934, "loc": { "start": { "line": 129, "column": 42 }, "end": { "line": 129, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "matchOverwriteRecursive", "start": 3948, "end": 3971, "loc": { "start": { "line": 130, "column": 12 }, "end": { "line": 130, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3971, "end": 3972, "loc": { "start": { "line": 130, "column": 35 }, "end": { "line": 130, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dest", "start": 3972, "end": 3976, "loc": { "start": { "line": 130, "column": 36 }, "end": { "line": 130, "column": 40 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3976, "end": 3977, "loc": { "start": { "line": 130, "column": 40 }, "end": { "line": 130, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 3977, "end": 3980, "loc": { "start": { "line": 130, "column": 41 }, "end": { "line": 130, "column": 44 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3980, "end": 3981, "loc": { "start": { "line": 130, "column": 44 }, "end": { "line": 130, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3981, "end": 3982, "loc": { "start": { "line": 130, "column": 45 }, "end": { "line": 130, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "src", "start": 3983, "end": 3986, "loc": { "start": { "line": 130, "column": 47 }, "end": { "line": 130, "column": 50 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3986, "end": 3987, "loc": { "start": { "line": 130, "column": 50 }, "end": { "line": 130, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 3987, "end": 3990, "loc": { "start": { "line": 130, "column": 51 }, "end": { "line": 130, "column": 54 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3990, "end": 3991, "loc": { "start": { "line": 130, "column": 54 }, "end": { "line": 130, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3991, "end": 3992, "loc": { "start": { "line": 130, "column": 55 }, "end": { "line": 130, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3992, "end": 3993, "loc": { "start": { "line": 130, "column": 56 }, "end": { "line": 130, "column": 57 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4003, "end": 4004, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 9 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 4005, "end": 4009, "loc": { "start": { "line": 131, "column": 10 }, "end": { "line": 131, "column": 14 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4010, "end": 4012, "loc": { "start": { "line": 131, "column": 15 }, "end": { "line": 131, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4013, "end": 4014, "loc": { "start": { "line": 131, "column": 18 }, "end": { "line": 131, "column": 19 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 4014, "end": 4020, "loc": { "start": { "line": 131, "column": 19 }, "end": { "line": 131, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 4021, "end": 4025, "loc": { "start": { "line": 131, "column": 26 }, "end": { "line": 131, "column": 30 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 4026, "end": 4029, "loc": { "start": { "line": 131, "column": 31 }, "end": { "line": 131, "column": 34 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "string", "start": 4030, "end": 4038, "loc": { "start": { "line": 131, "column": 35 }, "end": { "line": 131, "column": 43 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 4039, "end": 4041, "loc": { "start": { "line": 131, "column": 44 }, "end": { "line": 131, "column": 46 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 4042, "end": 4048, "loc": { "start": { "line": 131, "column": 47 }, "end": { "line": 131, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 4049, "end": 4053, "loc": { "start": { "line": 131, "column": 54 }, "end": { "line": 131, "column": 58 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 4054, "end": 4057, "loc": { "start": { "line": 131, "column": 59 }, "end": { "line": 131, "column": 62 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "number", "start": 4058, "end": 4066, "loc": { "start": { "line": 131, "column": 63 }, "end": { "line": 131, "column": 71 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4066, "end": 4067, "loc": { "start": { "line": 131, "column": 71 }, "end": { "line": 131, "column": 72 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4068, "end": 4069, "loc": { "start": { "line": 131, "column": 73 }, "end": { "line": 131, "column": 74 } } }, { "type": "CommentLine", "value": " console.log(\"match string\", key);", "start": 4083, "end": 4119, "loc": { "start": { "line": 132, "column": 12 }, "end": { "line": 132, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dest", "start": 4133, "end": 4137, "loc": { "start": { "line": 133, "column": 12 }, "end": { "line": 133, "column": 16 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4137, "end": 4138, "loc": { "start": { "line": 133, "column": 16 }, "end": { "line": 133, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 4138, "end": 4141, "loc": { "start": { "line": 133, "column": 17 }, "end": { "line": 133, "column": 20 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4141, "end": 4142, "loc": { "start": { "line": 133, "column": 20 }, "end": { "line": 133, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4143, "end": 4144, "loc": { "start": { "line": 133, "column": 22 }, "end": { "line": 133, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "src", "start": 4145, "end": 4148, "loc": { "start": { "line": 133, "column": 24 }, "end": { "line": 133, "column": 27 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4148, "end": 4149, "loc": { "start": { "line": 133, "column": 27 }, "end": { "line": 133, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 4149, "end": 4152, "loc": { "start": { "line": 133, "column": 28 }, "end": { "line": 133, "column": 31 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4152, "end": 4153, "loc": { "start": { "line": 133, "column": 31 }, "end": { "line": 133, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4153, "end": 4154, "loc": { "start": { "line": 133, "column": 32 }, "end": { "line": 133, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4164, "end": 4165, "loc": { "start": { "line": 134, "column": 8 }, "end": { "line": 134, "column": 9 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 4166, "end": 4170, "loc": { "start": { "line": 134, "column": 10 }, "end": { "line": 134, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4171, "end": 4172, "loc": { "start": { "line": 134, "column": 15 }, "end": { "line": 134, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 4186, "end": 4192, "loc": { "start": { "line": 135, "column": 12 }, "end": { "line": 135, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4192, "end": 4193, "loc": { "start": { "line": 135, "column": 18 }, "end": { "line": 135, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 4193, "end": 4196, "loc": { "start": { "line": 135, "column": 19 }, "end": { "line": 135, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4196, "end": 4197, "loc": { "start": { "line": 135, "column": 22 }, "end": { "line": 135, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Unknown type:", "start": 4197, "end": 4212, "loc": { "start": { "line": 135, "column": 23 }, "end": { "line": 135, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4212, "end": 4213, "loc": { "start": { "line": 135, "column": 38 }, "end": { "line": 135, "column": 39 } } }, { "type": { "label": "typeof", "keyword": "typeof", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "typeof", "start": 4214, "end": 4220, "loc": { "start": { "line": 135, "column": 40 }, "end": { "line": 135, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 4221, "end": 4225, "loc": { "start": { "line": 135, "column": 47 }, "end": { "line": 135, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4225, "end": 4226, "loc": { "start": { "line": 135, "column": 51 }, "end": { "line": 135, "column": 52 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "in key", "start": 4227, "end": 4235, "loc": { "start": { "line": 135, "column": 53 }, "end": { "line": 135, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4235, "end": 4236, "loc": { "start": { "line": 135, "column": 61 }, "end": { "line": 135, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "key", "start": 4237, "end": 4240, "loc": { "start": { "line": 135, "column": 63 }, "end": { "line": 135, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4240, "end": 4241, "loc": { "start": { "line": 135, "column": 66 }, "end": { "line": 135, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4241, "end": 4242, "loc": { "start": { "line": 135, "column": 67 }, "end": { "line": 135, "column": 68 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4252, "end": 4253, "loc": { "start": { "line": 136, "column": 8 }, "end": { "line": 136, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4259, "end": 4260, "loc": { "start": { "line": 137, "column": 4 }, "end": { "line": 137, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4262, "end": 4263, "loc": { "start": { "line": 138, "column": 0 }, "end": { "line": 138, "column": 1 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 4267, "end": 4273, "loc": { "start": { "line": 140, "column": 0 }, "end": { "line": 140, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 4274, "end": 4282, "loc": { "start": { "line": 140, "column": 7 }, "end": { "line": 140, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updateApplicationLanguage", "start": 4283, "end": 4308, "loc": { "start": { "line": 140, "column": 16 }, "end": { "line": 140, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4308, "end": 4309, "loc": { "start": { "line": 140, "column": 41 }, "end": { "line": 140, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 4309, "end": 4311, "loc": { "start": { "line": 140, "column": 42 }, "end": { "line": 140, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4311, "end": 4312, "loc": { "start": { "line": 140, "column": 44 }, "end": { "line": 140, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4313, "end": 4314, "loc": { "start": { "line": 140, "column": 46 }, "end": { "line": 140, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 4320, "end": 4326, "loc": { "start": { "line": 141, "column": 4 }, "end": { "line": 141, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4326, "end": 4327, "loc": { "start": { "line": 141, "column": 10 }, "end": { "line": 141, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 4327, "end": 4330, "loc": { "start": { "line": 141, "column": 11 }, "end": { "line": 141, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4330, "end": 4331, "loc": { "start": { "line": 141, "column": 14 }, "end": { "line": 141, "column": 15 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Setting application language:", "start": 4331, "end": 4362, "loc": { "start": { "line": 141, "column": 15 }, "end": { "line": 141, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4362, "end": 4363, "loc": { "start": { "line": 141, "column": 46 }, "end": { "line": 141, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 4364, "end": 4366, "loc": { "start": { "line": 141, "column": 48 }, "end": { "line": 141, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4366, "end": 4367, "loc": { "start": { "line": 141, "column": 50 }, "end": { "line": 141, "column": 51 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4367, "end": 4368, "loc": { "start": { "line": 141, "column": 51 }, "end": { "line": 141, "column": 52 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 4376, "end": 4381, "loc": { "start": { "line": 143, "column": 4 }, "end": { "line": 143, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 4382, "end": 4386, "loc": { "start": { "line": 143, "column": 10 }, "end": { "line": 143, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4387, "end": 4388, "loc": { "start": { "line": 143, "column": 15 }, "end": { "line": 143, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "LANGUAGES", "start": 4389, "end": 4398, "loc": { "start": { "line": 143, "column": 17 }, "end": { "line": 143, "column": 26 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4398, "end": 4399, "loc": { "start": { "line": 143, "column": 26 }, "end": { "line": 143, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 4399, "end": 4401, "loc": { "start": { "line": 143, "column": 27 }, "end": { "line": 143, "column": 29 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4401, "end": 4402, "loc": { "start": { "line": 143, "column": 29 }, "end": { "line": 143, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4402, "end": 4403, "loc": { "start": { "line": 143, "column": 30 }, "end": { "line": 143, "column": 31 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4411, "end": 4413, "loc": { "start": { "line": 145, "column": 4 }, "end": { "line": 145, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4414, "end": 4415, "loc": { "start": { "line": 145, "column": 7 }, "end": { "line": 145, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 4415, "end": 4416, "loc": { "start": { "line": 145, "column": 8 }, "end": { "line": 145, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 4416, "end": 4420, "loc": { "start": { "line": 145, "column": 9 }, "end": { "line": 145, "column": 13 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4420, "end": 4421, "loc": { "start": { "line": 145, "column": 13 }, "end": { "line": 145, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4422, "end": 4423, "loc": { "start": { "line": 145, "column": 15 }, "end": { "line": 145, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 4433, "end": 4439, "loc": { "start": { "line": 146, "column": 8 }, "end": { "line": 146, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4439, "end": 4440, "loc": { "start": { "line": 146, "column": 14 }, "end": { "line": 146, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "error", "start": 4440, "end": 4445, "loc": { "start": { "line": 146, "column": 15 }, "end": { "line": 146, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4445, "end": 4446, "loc": { "start": { "line": 146, "column": 20 }, "end": { "line": 146, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Unknown language:", "start": 4446, "end": 4465, "loc": { "start": { "line": 146, "column": 21 }, "end": { "line": 146, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4465, "end": 4466, "loc": { "start": { "line": 146, "column": 40 }, "end": { "line": 146, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 4467, "end": 4469, "loc": { "start": { "line": 146, "column": 42 }, "end": { "line": 146, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4469, "end": 4470, "loc": { "start": { "line": 146, "column": 44 }, "end": { "line": 146, "column": 45 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4470, "end": 4471, "loc": { "start": { "line": 146, "column": 45 }, "end": { "line": 146, "column": 46 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 4481, "end": 4487, "loc": { "start": { "line": 147, "column": 8 }, "end": { "line": 147, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4487, "end": 4488, "loc": { "start": { "line": 147, "column": 14 }, "end": { "line": 147, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4494, "end": 4495, "loc": { "start": { "line": 148, "column": 4 }, "end": { "line": 148, "column": 5 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4503, "end": 4505, "loc": { "start": { "line": 150, "column": 4 }, "end": { "line": 150, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4506, "end": 4507, "loc": { "start": { "line": 150, "column": 7 }, "end": { "line": 150, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 4507, "end": 4511, "loc": { "start": { "line": 150, "column": 8 }, "end": { "line": 150, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4511, "end": 4512, "loc": { "start": { "line": 150, "column": 12 }, "end": { "line": 150, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 4512, "end": 4516, "loc": { "start": { "line": 150, "column": 13 }, "end": { "line": 150, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4516, "end": 4517, "loc": { "start": { "line": 150, "column": 17 }, "end": { "line": 150, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4518, "end": 4519, "loc": { "start": { "line": 150, "column": 19 }, "end": { "line": 150, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "logger", "start": 4529, "end": 4535, "loc": { "start": { "line": 151, "column": 8 }, "end": { "line": 151, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4535, "end": 4536, "loc": { "start": { "line": 151, "column": 14 }, "end": { "line": 151, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 4536, "end": 4539, "loc": { "start": { "line": 151, "column": 15 }, "end": { "line": 151, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4539, "end": 4540, "loc": { "start": { "line": 151, "column": 18 }, "end": { "line": 151, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Applying translations ...", "start": 4540, "end": 4567, "loc": { "start": { "line": 151, "column": 19 }, "end": { "line": 151, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4567, "end": 4568, "loc": { "start": { "line": 151, "column": 46 }, "end": { "line": 151, "column": 47 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4568, "end": 4569, "loc": { "start": { "line": 151, "column": 47 }, "end": { "line": 151, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "matchDataRecursive", "start": 4579, "end": 4597, "loc": { "start": { "line": 152, "column": 8 }, "end": { "line": 152, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4597, "end": 4598, "loc": { "start": { "line": 152, "column": 26 }, "end": { "line": 152, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapezAPI", "start": 4598, "end": 4607, "loc": { "start": { "line": 152, "column": 27 }, "end": { "line": 152, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4607, "end": 4608, "loc": { "start": { "line": 152, "column": 36 }, "end": { "line": 152, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "translations", "start": 4608, "end": 4620, "loc": { "start": { "line": 152, "column": 37 }, "end": { "line": 152, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4620, "end": 4621, "loc": { "start": { "line": 152, "column": 49 }, "end": { "line": 152, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 4622, "end": 4626, "loc": { "start": { "line": 152, "column": 51 }, "end": { "line": 152, "column": 55 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4626, "end": 4627, "loc": { "start": { "line": 152, "column": 55 }, "end": { "line": 152, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "data", "start": 4627, "end": 4631, "loc": { "start": { "line": 152, "column": 56 }, "end": { "line": 152, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4631, "end": 4632, "loc": { "start": { "line": 152, "column": 60 }, "end": { "line": 152, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4632, "end": 4633, "loc": { "start": { "line": 152, "column": 61 }, "end": { "line": 152, "column": 62 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 4643, "end": 4646, "loc": { "start": { "line": 153, "column": 8 }, "end": { "line": 153, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4647, "end": 4648, "loc": { "start": { "line": 153, "column": 12 }, "end": { "line": 153, "column": 13 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 4648, "end": 4651, "loc": { "start": { "line": 153, "column": 13 }, "end": { "line": 153, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4652, "end": 4653, "loc": { "start": { "line": 153, "column": 17 }, "end": { "line": 153, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4654, "end": 4655, "loc": { "start": { "line": 153, "column": 19 }, "end": { "line": 153, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4656, "end": 4657, "loc": { "start": { "line": 153, "column": 21 }, "end": { "line": 153, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4657, "end": 4658, "loc": { "start": { "line": 153, "column": 22 }, "end": { "line": 153, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4659, "end": 4660, "loc": { "start": { "line": 153, "column": 24 }, "end": { "line": 153, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 4661, "end": 4662, "loc": { "start": { "line": 153, "column": 26 }, "end": { "line": 153, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapezAPI", "start": 4663, "end": 4672, "loc": { "start": { "line": 153, "column": 28 }, "end": { "line": 153, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4672, "end": 4673, "loc": { "start": { "line": 153, "column": 37 }, "end": { "line": 153, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modOrder", "start": 4673, "end": 4681, "loc": { "start": { "line": 153, "column": 38 }, "end": { "line": 153, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4681, "end": 4682, "loc": { "start": { "line": 153, "column": 46 }, "end": { "line": 153, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 4682, "end": 4688, "loc": { "start": { "line": 153, "column": 47 }, "end": { "line": 153, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4688, "end": 4689, "loc": { "start": { "line": 153, "column": 53 }, "end": { "line": 153, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4690, "end": 4691, "loc": { "start": { "line": 153, "column": 55 }, "end": { "line": 153, "column": 56 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 4691, "end": 4693, "loc": { "start": { "line": 153, "column": 56 }, "end": { "line": 153, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4693, "end": 4694, "loc": { "start": { "line": 153, "column": 58 }, "end": { "line": 153, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4695, "end": 4696, "loc": { "start": { "line": 153, "column": 60 }, "end": { "line": 153, "column": 61 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 4710, "end": 4715, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mod", "start": 4716, "end": 4719, "loc": { "start": { "line": 154, "column": 18 }, "end": { "line": 154, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4720, "end": 4721, "loc": { "start": { "line": 154, "column": 22 }, "end": { "line": 154, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapezAPI", "start": 4722, "end": 4731, "loc": { "start": { "line": 154, "column": 24 }, "end": { "line": 154, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4731, "end": 4732, "loc": { "start": { "line": 154, "column": 33 }, "end": { "line": 154, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mods", "start": 4732, "end": 4736, "loc": { "start": { "line": 154, "column": 34 }, "end": { "line": 154, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4736, "end": 4737, "loc": { "start": { "line": 154, "column": 38 }, "end": { "line": 154, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 4737, "end": 4740, "loc": { "start": { "line": 154, "column": 39 }, "end": { "line": 154, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4740, "end": 4741, "loc": { "start": { "line": 154, "column": 42 }, "end": { "line": 154, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapezAPI", "start": 4741, "end": 4750, "loc": { "start": { "line": 154, "column": 43 }, "end": { "line": 154, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4750, "end": 4751, "loc": { "start": { "line": 154, "column": 52 }, "end": { "line": 154, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modOrder", "start": 4751, "end": 4759, "loc": { "start": { "line": 154, "column": 53 }, "end": { "line": 154, "column": 61 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4759, "end": 4760, "loc": { "start": { "line": 154, "column": 61 }, "end": { "line": 154, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4760, "end": 4761, "loc": { "start": { "line": 154, "column": 62 }, "end": { "line": 154, "column": 63 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4761, "end": 4762, "loc": { "start": { "line": 154, "column": 63 }, "end": { "line": 154, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4762, "end": 4763, "loc": { "start": { "line": 154, "column": 64 }, "end": { "line": 154, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4763, "end": 4764, "loc": { "start": { "line": 154, "column": 65 }, "end": { "line": 154, "column": 66 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 4778, "end": 4783, "loc": { "start": { "line": 155, "column": 12 }, "end": { "line": 155, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "language", "start": 4784, "end": 4792, "loc": { "start": { "line": 155, "column": 18 }, "end": { "line": 155, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4793, "end": 4794, "loc": { "start": { "line": 155, "column": 27 }, "end": { "line": 155, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mod", "start": 4795, "end": 4798, "loc": { "start": { "line": 155, "column": 29 }, "end": { "line": 155, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4798, "end": 4799, "loc": { "start": { "line": 155, "column": 32 }, "end": { "line": 155, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "translations", "start": 4799, "end": 4811, "loc": { "start": { "line": 155, "column": 33 }, "end": { "line": 155, "column": 45 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4811, "end": 4812, "loc": { "start": { "line": 155, "column": 45 }, "end": { "line": 155, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 4812, "end": 4814, "loc": { "start": { "line": 155, "column": 46 }, "end": { "line": 155, "column": 48 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4814, "end": 4815, "loc": { "start": { "line": 155, "column": 48 }, "end": { "line": 155, "column": 49 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4815, "end": 4816, "loc": { "start": { "line": 155, "column": 49 }, "end": { "line": 155, "column": 50 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 4830, "end": 4832, "loc": { "start": { "line": 156, "column": 12 }, "end": { "line": 156, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4833, "end": 4834, "loc": { "start": { "line": 156, "column": 15 }, "end": { "line": 156, "column": 16 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 4834, "end": 4835, "loc": { "start": { "line": 156, "column": 16 }, "end": { "line": 156, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "language", "start": 4835, "end": 4843, "loc": { "start": { "line": 156, "column": 17 }, "end": { "line": 156, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4843, "end": 4844, "loc": { "start": { "line": 156, "column": 25 }, "end": { "line": 156, "column": 26 } } }, { "type": { "label": "continue", "keyword": "continue", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "continue", "start": 4845, "end": 4853, "loc": { "start": { "line": 156, "column": 27 }, "end": { "line": 156, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4853, "end": 4854, "loc": { "start": { "line": 156, "column": 35 }, "end": { "line": 156, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "matchOverwriteRecursive", "start": 4868, "end": 4891, "loc": { "start": { "line": 157, "column": 12 }, "end": { "line": 157, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4891, "end": 4892, "loc": { "start": { "line": 157, "column": 35 }, "end": { "line": 157, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapezAPI", "start": 4892, "end": 4901, "loc": { "start": { "line": 157, "column": 36 }, "end": { "line": 157, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4901, "end": 4902, "loc": { "start": { "line": 157, "column": 45 }, "end": { "line": 157, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "translations", "start": 4902, "end": 4914, "loc": { "start": { "line": 157, "column": 46 }, "end": { "line": 157, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4914, "end": 4915, "loc": { "start": { "line": 157, "column": 58 }, "end": { "line": 157, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "language", "start": 4916, "end": 4924, "loc": { "start": { "line": 157, "column": 60 }, "end": { "line": 157, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4924, "end": 4925, "loc": { "start": { "line": 157, "column": 68 }, "end": { "line": 157, "column": 69 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4925, "end": 4926, "loc": { "start": { "line": 157, "column": 69 }, "end": { "line": 157, "column": 70 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4936, "end": 4937, "loc": { "start": { "line": 158, "column": 8 }, "end": { "line": 158, "column": 9 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 4947, "end": 4950, "loc": { "start": { "line": 159, "column": 8 }, "end": { "line": 159, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4951, "end": 4952, "loc": { "start": { "line": 159, "column": 12 }, "end": { "line": 159, "column": 13 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 4952, "end": 4955, "loc": { "start": { "line": 159, "column": 13 }, "end": { "line": 159, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4956, "end": 4957, "loc": { "start": { "line": 159, "column": 17 }, "end": { "line": 159, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4958, "end": 4959, "loc": { "start": { "line": 159, "column": 19 }, "end": { "line": 159, "column": 20 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4960, "end": 4961, "loc": { "start": { "line": 159, "column": 21 }, "end": { "line": 159, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4961, "end": 4962, "loc": { "start": { "line": 159, "column": 22 }, "end": { "line": 159, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4963, "end": 4964, "loc": { "start": { "line": 159, "column": 24 }, "end": { "line": 159, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 4965, "end": 4966, "loc": { "start": { "line": 159, "column": 26 }, "end": { "line": 159, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapezAPI", "start": 4967, "end": 4976, "loc": { "start": { "line": 159, "column": 28 }, "end": { "line": 159, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4976, "end": 4977, "loc": { "start": { "line": 159, "column": 37 }, "end": { "line": 159, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modOrder", "start": 4977, "end": 4985, "loc": { "start": { "line": 159, "column": 38 }, "end": { "line": 159, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4985, "end": 4986, "loc": { "start": { "line": 159, "column": 46 }, "end": { "line": 159, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 4986, "end": 4992, "loc": { "start": { "line": 159, "column": 47 }, "end": { "line": 159, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4992, "end": 4993, "loc": { "start": { "line": 159, "column": 53 }, "end": { "line": 159, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 4994, "end": 4995, "loc": { "start": { "line": 159, "column": 55 }, "end": { "line": 159, "column": 56 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 4995, "end": 4997, "loc": { "start": { "line": 159, "column": 56 }, "end": { "line": 159, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4997, "end": 4998, "loc": { "start": { "line": 159, "column": 58 }, "end": { "line": 159, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4999, "end": 5000, "loc": { "start": { "line": 159, "column": 60 }, "end": { "line": 159, "column": 61 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 5014, "end": 5019, "loc": { "start": { "line": 160, "column": 12 }, "end": { "line": 160, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mod", "start": 5020, "end": 5023, "loc": { "start": { "line": 160, "column": 18 }, "end": { "line": 160, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5024, "end": 5025, "loc": { "start": { "line": 160, "column": 22 }, "end": { "line": 160, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapezAPI", "start": 5026, "end": 5035, "loc": { "start": { "line": 160, "column": 24 }, "end": { "line": 160, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5035, "end": 5036, "loc": { "start": { "line": 160, "column": 33 }, "end": { "line": 160, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mods", "start": 5036, "end": 5040, "loc": { "start": { "line": 160, "column": 34 }, "end": { "line": 160, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5040, "end": 5041, "loc": { "start": { "line": 160, "column": 38 }, "end": { "line": 160, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 5041, "end": 5044, "loc": { "start": { "line": 160, "column": 39 }, "end": { "line": 160, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5044, "end": 5045, "loc": { "start": { "line": 160, "column": 42 }, "end": { "line": 160, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shapezAPI", "start": 5045, "end": 5054, "loc": { "start": { "line": 160, "column": 43 }, "end": { "line": 160, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5054, "end": 5055, "loc": { "start": { "line": 160, "column": 52 }, "end": { "line": 160, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "modOrder", "start": 5055, "end": 5063, "loc": { "start": { "line": 160, "column": 53 }, "end": { "line": 160, "column": 61 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5063, "end": 5064, "loc": { "start": { "line": 160, "column": 61 }, "end": { "line": 160, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 5064, "end": 5065, "loc": { "start": { "line": 160, "column": 62 }, "end": { "line": 160, "column": 63 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5065, "end": 5066, "loc": { "start": { "line": 160, "column": 63 }, "end": { "line": 160, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5066, "end": 5067, "loc": { "start": { "line": 160, "column": 64 }, "end": { "line": 160, "column": 65 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5067, "end": 5068, "loc": { "start": { "line": 160, "column": 65 }, "end": { "line": 160, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mod", "start": 5082, "end": 5085, "loc": { "start": { "line": 161, "column": 12 }, "end": { "line": 161, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5085, "end": 5086, "loc": { "start": { "line": 161, "column": 15 }, "end": { "line": 161, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updateStaticTranslations", "start": 5086, "end": 5110, "loc": { "start": { "line": 161, "column": 16 }, "end": { "line": 161, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5110, "end": 5111, "loc": { "start": { "line": 161, "column": 40 }, "end": { "line": 161, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "id", "start": 5111, "end": 5113, "loc": { "start": { "line": 161, "column": 41 }, "end": { "line": 161, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5113, "end": 5114, "loc": { "start": { "line": 161, "column": 43 }, "end": { "line": 161, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5114, "end": 5115, "loc": { "start": { "line": 161, "column": 44 }, "end": { "line": 161, "column": 45 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5125, "end": 5126, "loc": { "start": { "line": 162, "column": 8 }, "end": { "line": 162, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5132, "end": 5133, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 163, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5135, "end": 5136, "loc": { "start": { "line": 164, "column": 0 }, "end": { "line": 164, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5136, "end": 5136, "loc": { "start": { "line": 164, "column": 1 }, "end": { "line": 164, "column": 1 } } } ] }