{ "type": "File", "start": 0, "end": 10148, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 342, "column": 25 } }, "program": { "type": "Program", "start": 0, "end": 10148, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 342, "column": 25 } }, "sourceType": "module", "body": [ { "type": "Identifier", "start": 30, "end": 10119, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 340, "column": 1 } }, "id": { "type": "Identifier", "start": 36, "end": 45, "loc": { "start": { "line": 4, "column": 6 }, "end": { "line": 4, "column": 15 }, "identifierName": "Utilities" }, "name": "Utilities", "leadingComments": null }, "superClass": null, "body": { "type": "ClassBody", "start": 46, "end": 10119, "loc": { "start": { "line": 4, "column": 16 }, "end": { "line": 340, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 114, "end": 282, "loc": { "start": { "line": 8, "column": 2 }, "end": { "line": 13, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 114, "end": 125, "loc": { "start": { "line": 8, "column": 2 }, "end": { "line": 8, "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 126, "end": 148, "loc": { "start": { "line": 8, "column": 14 }, "end": { "line": 8, "column": 36 }, "identifierName": "simpleKeyboardInstance" }, "name": "simpleKeyboardInstance" } ], "body": { "type": "BlockStatement", "start": 149, "end": 282, "loc": { "start": { "line": 8, "column": 37 }, "end": { "line": 13, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 224, "end": 277, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 224, "end": 276, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 224, "end": 251, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 31 } }, "object": { "type": "ThisExpression", "start": 224, "end": 228, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 229, "end": 251, "loc": { "start": { "line": 12, "column": 9 }, "end": { "line": 12, "column": 31 }, "identifierName": "simpleKeyboardInstance" }, "name": "simpleKeyboardInstance" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", "start": 254, "end": 276, "loc": { "start": { "line": 12, "column": 34 }, "end": { "line": 12, "column": 56 }, "identifierName": "simpleKeyboardInstance" }, "name": "simpleKeyboardInstance" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} A simple-keyboard instance\r\n ", "start": 156, "end": 218, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 11, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creates an instance of the Utility service\r\n ", "start": 51, "end": 110, "loc": { "start": { "line": 5, "column": 2 }, "end": { "line": 7, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds default classes to a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @return {string} The classes to be added to the button\r\n ", "start": 288, "end": 466, "loc": { "start": { "line": 15, "column": 2 }, "end": { "line": 20, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 470, "end": 902, "loc": { "start": { "line": 21, "column": 2 }, "end": { "line": 30, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 470, "end": 484, "loc": { "start": { "line": 21, "column": 2 }, "end": { "line": 21, "column": 16 }, "identifierName": "getButtonClass" }, "name": "getButtonClass", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 487, "end": 902, "loc": { "start": { "line": 21, "column": 19 }, "end": { "line": 30, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 487, "end": 493, "loc": { "start": { "line": 21, "column": 19 }, "end": { "line": 21, "column": 25 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 497, "end": 902, "loc": { "start": { "line": 21, "column": 29 }, "end": { "line": 30, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 504, "end": 626, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 126 } }, "declarations": [ { "type": "VariableDeclarator", "start": 508, "end": 625, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 125 } }, "id": { "type": "Identifier", "start": 508, "end": 523, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 23 }, "identifierName": "buttonTypeClass" }, "name": "buttonTypeClass" }, "init": { "type": "ConditionalExpression", "start": 526, "end": 625, "loc": { "start": { "line": 22, "column": 26 }, "end": { "line": 22, "column": 125 } }, "test": { "type": "LogicalExpression", "start": 527, "end": 592, "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 92 } }, "left": { "type": "LogicalExpression", "start": 527, "end": 571, "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 71 } }, "left": { "type": "CallExpression", "start": 527, "end": 547, "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 527, "end": 542, "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 42 } }, "object": { "type": "Identifier", "start": 527, "end": 533, "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 33 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 534, "end": 542, "loc": { "start": { "line": 22, "column": 34 }, "end": { "line": 22, "column": 42 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 543, "end": 546, "loc": { "start": { "line": 22, "column": 43 }, "end": { "line": 22, "column": 46 } }, "extra": { "rawValue": "{", "raw": "\"{\"" }, "value": "{" } ] }, "operator": "&&", "right": { "type": "CallExpression", "start": 551, "end": 571, "loc": { "start": { "line": 22, "column": 51 }, "end": { "line": 22, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 551, "end": 566, "loc": { "start": { "line": 22, "column": 51 }, "end": { "line": 22, "column": 66 } }, "object": { "type": "Identifier", "start": 551, "end": 557, "loc": { "start": { "line": 22, "column": 51 }, "end": { "line": 22, "column": 57 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 558, "end": 566, "loc": { "start": { "line": 22, "column": 58 }, "end": { "line": 22, "column": 66 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 567, "end": 570, "loc": { "start": { "line": 22, "column": 67 }, "end": { "line": 22, "column": 70 } }, "extra": { "rawValue": "}", "raw": "\"}\"" }, "value": "}" } ] } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 575, "end": 592, "loc": { "start": { "line": 22, "column": 75 }, "end": { "line": 22, "column": 92 } }, "left": { "type": "Identifier", "start": 575, "end": 581, "loc": { "start": { "line": 22, "column": 75 }, "end": { "line": 22, "column": 81 }, "identifierName": "button" }, "name": "button" }, "operator": "!==", "right": { "type": "StringLiteral", "start": 586, "end": 592, "loc": { "start": { "line": 22, "column": 86 }, "end": { "line": 22, "column": 92 } }, "extra": { "rawValue": "{//}", "raw": "'{//}'" }, "value": "{//}" } }, "extra": { "parenthesized": true, "parenStart": 526 } }, "consequent": { "type": "StringLiteral", "start": 596, "end": 609, "loc": { "start": { "line": 22, "column": 96 }, "end": { "line": 22, "column": 109 } }, "extra": { "rawValue": "functionBtn", "raw": "\"functionBtn\"" }, "value": "functionBtn" }, "alternate": { "type": "StringLiteral", "start": 612, "end": 625, "loc": { "start": { "line": 22, "column": 112 }, "end": { "line": 22, "column": 125 } }, "extra": { "rawValue": "standardBtn", "raw": "\"standardBtn\"" }, "value": "standardBtn" } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 632, "end": 699, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 71 } }, "declarations": [ { "type": "VariableDeclarator", "start": 636, "end": 698, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 70 } }, "id": { "type": "Identifier", "start": 636, "end": 655, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 27 }, "identifierName": "buttonWithoutBraces" }, "name": "buttonWithoutBraces" }, "init": { "type": "CallExpression", "start": 658, "end": 698, "loc": { "start": { "line": 23, "column": 30 }, "end": { "line": 23, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 658, "end": 689, "loc": { "start": { "line": 23, "column": 30 }, "end": { "line": 23, "column": 61 } }, "object": { "type": "CallExpression", "start": 658, "end": 681, "loc": { "start": { "line": 23, "column": 30 }, "end": { "line": 23, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 658, "end": 672, "loc": { "start": { "line": 23, "column": 30 }, "end": { "line": 23, "column": 44 } }, "object": { "type": "Identifier", "start": 658, "end": 664, "loc": { "start": { "line": 23, "column": 30 }, "end": { "line": 23, "column": 36 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 665, "end": 672, "loc": { "start": { "line": 23, "column": 37 }, "end": { "line": 23, "column": 44 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 673, "end": 676, "loc": { "start": { "line": 23, "column": 45 }, "end": { "line": 23, "column": 48 } }, "extra": { "rawValue": "{", "raw": "\"{\"" }, "value": "{" }, { "type": "StringLiteral", "start": 678, "end": 680, "loc": { "start": { "line": 23, "column": 50 }, "end": { "line": 23, "column": 52 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } ] }, "property": { "type": "Identifier", "start": 682, "end": 689, "loc": { "start": { "line": 23, "column": 54 }, "end": { "line": 23, "column": 61 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 690, "end": 693, "loc": { "start": { "line": 23, "column": 62 }, "end": { "line": 23, "column": 65 } }, "extra": { "rawValue": "}", "raw": "\"}\"" }, "value": "}" }, { "type": "StringLiteral", "start": 695, "end": 697, "loc": { "start": { "line": 23, "column": 67 }, "end": { "line": 23, "column": 69 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 705, "end": 731, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", "start": 709, "end": 730, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 29 } }, "id": { "type": "Identifier", "start": 709, "end": 725, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 24 }, "identifierName": "buttonNormalized" }, "name": "buttonNormalized" }, "init": { "type": "StringLiteral", "start": 728, "end": 730, "loc": { "start": { "line": 24, "column": 27 }, "end": { "line": 24, "column": 29 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } ], "kind": "let" }, { "type": "IfStatement", "start": 739, "end": 839, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 27, "column": 61 } }, "test": { "type": "BinaryExpression", "start": 742, "end": 775, "loc": { "start": { "line": 26, "column": 7 }, "end": { "line": 26, "column": 40 } }, "left": { "type": "Identifier", "start": 742, "end": 757, "loc": { "start": { "line": 26, "column": 7 }, "end": { "line": 26, "column": 22 }, "identifierName": "buttonTypeClass" }, "name": "buttonTypeClass" }, "operator": "!==", "right": { "type": "StringLiteral", "start": 762, "end": 775, "loc": { "start": { "line": 26, "column": 27 }, "end": { "line": 26, "column": 40 } }, "extra": { "rawValue": "standardBtn", "raw": "\"standardBtn\"" }, "value": "standardBtn" } }, "consequent": { "type": "ExpressionStatement", "start": 784, "end": 839, "loc": { "start": { "line": 27, "column": 6 }, "end": { "line": 27, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 784, "end": 838, "loc": { "start": { "line": 27, "column": 6 }, "end": { "line": 27, "column": 60 } }, "operator": "=", "left": { "type": "Identifier", "start": 784, "end": 800, "loc": { "start": { "line": 27, "column": 6 }, "end": { "line": 27, "column": 22 }, "identifierName": "buttonNormalized" }, "name": "buttonNormalized" }, "right": { "type": "TemplateLiteral", "start": 803, "end": 838, "loc": { "start": { "line": 27, "column": 25 }, "end": { "line": 27, "column": 60 } }, "expressions": [ { "type": "Identifier", "start": 817, "end": 836, "loc": { "start": { "line": 27, "column": 39 }, "end": { "line": 27, "column": 58 }, "identifierName": "buttonWithoutBraces" }, "name": "buttonWithoutBraces" } ], "quasis": [ { "type": "TemplateElement", "start": 804, "end": 815, "loc": { "start": { "line": 27, "column": 26 }, "end": { "line": 27, "column": 37 } }, "value": { "raw": " hg-button-", "cooked": " hg-button-" }, "tail": false }, { "type": "TemplateElement", "start": 837, "end": 837, "loc": { "start": { "line": 27, "column": 59 }, "end": { "line": 27, "column": 59 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, "alternate": null }, { "type": "ReturnStatement", "start": 847, "end": 897, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 54 } }, "argument": { "type": "TemplateLiteral", "start": 854, "end": 896, "loc": { "start": { "line": 29, "column": 11 }, "end": { "line": 29, "column": 53 } }, "expressions": [ { "type": "Identifier", "start": 860, "end": 875, "loc": { "start": { "line": 29, "column": 17 }, "end": { "line": 29, "column": 32 }, "identifierName": "buttonTypeClass" }, "name": "buttonTypeClass" }, { "type": "Identifier", "start": 878, "end": 894, "loc": { "start": { "line": 29, "column": 35 }, "end": { "line": 29, "column": 51 }, "identifierName": "buttonNormalized" }, "name": "buttonNormalized" } ], "quasis": [ { "type": "TemplateElement", "start": 855, "end": 858, "loc": { "start": { "line": 29, "column": 12 }, "end": { "line": 29, "column": 15 } }, "value": { "raw": "hg-", "cooked": "hg-" }, "tail": false }, { "type": "TemplateElement", "start": 876, "end": 876, "loc": { "start": { "line": 29, "column": 33 }, "end": { "line": 29, "column": 33 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 895, "end": 895, "loc": { "start": { "line": 29, "column": 52 }, "end": { "line": 29, "column": 52 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds default classes to a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @return {string} The classes to be added to the button\r\n ", "start": 288, "end": 466, "loc": { "start": { "line": 15, "column": 2 }, "end": { "line": 20, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Default button display labels\r\n ", "start": 908, "end": 954, "loc": { "start": { "line": 32, "column": 2 }, "end": { "line": 34, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 958, "end": 2526, "loc": { "start": { "line": 35, "column": 2 }, "end": { "line": 97, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 958, "end": 974, "loc": { "start": { "line": 35, "column": 2 }, "end": { "line": 35, "column": 18 }, "identifierName": "getDefaultDiplay" }, "name": "getDefaultDiplay", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 976, "end": 2526, "loc": { "start": { "line": 35, "column": 20 }, "end": { "line": 97, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 983, "end": 2521, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 96, "column": 6 } }, "argument": { "type": "ObjectExpression", "start": 990, "end": 2520, "loc": { "start": { "line": 36, "column": 11 }, "end": { "line": 96, "column": 5 } }, "properties": [ { "type": "ObjectProperty", "start": 999, "end": 1020, "loc": { "start": { "line": 37, "column": 6 }, "end": { "line": 37, "column": 27 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 999, "end": 1007, "loc": { "start": { "line": 37, "column": 6 }, "end": { "line": 37, "column": 14 } }, "extra": { "rawValue": "{bksp}", "raw": "'{bksp}'" }, "value": "{bksp}" }, "value": { "type": "StringLiteral", "start": 1009, "end": 1020, "loc": { "start": { "line": 37, "column": 16 }, "end": { "line": 37, "column": 27 } }, "extra": { "rawValue": "backspace", "raw": "'backspace'" }, "value": "backspace" } }, { "type": "ObjectProperty", "start": 1029, "end": 1055, "loc": { "start": { "line": 38, "column": 6 }, "end": { "line": 38, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1029, "end": 1042, "loc": { "start": { "line": 38, "column": 6 }, "end": { "line": 38, "column": 19 } }, "extra": { "rawValue": "{backspace}", "raw": "'{backspace}'" }, "value": "{backspace}" }, "value": { "type": "StringLiteral", "start": 1044, "end": 1055, "loc": { "start": { "line": 38, "column": 21 }, "end": { "line": 38, "column": 32 } }, "extra": { "rawValue": "backspace", "raw": "'backspace'" }, "value": "backspace" } }, { "type": "ObjectProperty", "start": 1064, "end": 1084, "loc": { "start": { "line": 39, "column": 6 }, "end": { "line": 39, "column": 26 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1064, "end": 1073, "loc": { "start": { "line": 39, "column": 6 }, "end": { "line": 39, "column": 15 } }, "extra": { "rawValue": "{enter}", "raw": "'{enter}'" }, "value": "{enter}" }, "value": { "type": "StringLiteral", "start": 1075, "end": 1084, "loc": { "start": { "line": 39, "column": 17 }, "end": { "line": 39, "column": 26 } }, "extra": { "rawValue": "< enter", "raw": "'< enter'" }, "value": "< enter" } }, { "type": "ObjectProperty", "start": 1093, "end": 1111, "loc": { "start": { "line": 40, "column": 6 }, "end": { "line": 40, "column": 24 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1093, "end": 1102, "loc": { "start": { "line": 40, "column": 6 }, "end": { "line": 40, "column": 15 } }, "extra": { "rawValue": "{shift}", "raw": "'{shift}'" }, "value": "{shift}" }, "value": { "type": "StringLiteral", "start": 1104, "end": 1111, "loc": { "start": { "line": 40, "column": 17 }, "end": { "line": 40, "column": 24 } }, "extra": { "rawValue": "shift", "raw": "'shift'" }, "value": "shift" } }, { "type": "ObjectProperty", "start": 1120, "end": 1142, "loc": { "start": { "line": 41, "column": 6 }, "end": { "line": 41, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1120, "end": 1133, "loc": { "start": { "line": 41, "column": 6 }, "end": { "line": 41, "column": 19 } }, "extra": { "rawValue": "{shiftleft}", "raw": "'{shiftleft}'" }, "value": "{shiftleft}" }, "value": { "type": "StringLiteral", "start": 1135, "end": 1142, "loc": { "start": { "line": 41, "column": 21 }, "end": { "line": 41, "column": 28 } }, "extra": { "rawValue": "shift", "raw": "'shift'" }, "value": "shift" } }, { "type": "ObjectProperty", "start": 1151, "end": 1174, "loc": { "start": { "line": 42, "column": 6 }, "end": { "line": 42, "column": 29 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1151, "end": 1165, "loc": { "start": { "line": 42, "column": 6 }, "end": { "line": 42, "column": 20 } }, "extra": { "rawValue": "{shiftright}", "raw": "'{shiftright}'" }, "value": "{shiftright}" }, "value": { "type": "StringLiteral", "start": 1167, "end": 1174, "loc": { "start": { "line": 42, "column": 22 }, "end": { "line": 42, "column": 29 } }, "extra": { "rawValue": "shift", "raw": "'shift'" }, "value": "shift" } }, { "type": "ObjectProperty", "start": 1183, "end": 1197, "loc": { "start": { "line": 43, "column": 6 }, "end": { "line": 43, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1183, "end": 1190, "loc": { "start": { "line": 43, "column": 6 }, "end": { "line": 43, "column": 13 } }, "extra": { "rawValue": "{alt}", "raw": "'{alt}'" }, "value": "{alt}" }, "value": { "type": "StringLiteral", "start": 1192, "end": 1197, "loc": { "start": { "line": 43, "column": 15 }, "end": { "line": 43, "column": 20 } }, "extra": { "rawValue": "alt", "raw": "'alt'" }, "value": "alt" } }, { "type": "ObjectProperty", "start": 1206, "end": 1220, "loc": { "start": { "line": 44, "column": 6 }, "end": { "line": 44, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1206, "end": 1211, "loc": { "start": { "line": 44, "column": 6 }, "end": { "line": 44, "column": 11 } }, "extra": { "rawValue": "{s}", "raw": "'{s}'" }, "value": "{s}" }, "value": { "type": "StringLiteral", "start": 1213, "end": 1220, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 20 } }, "extra": { "rawValue": "shift", "raw": "'shift'" }, "value": "shift" } }, { "type": "ObjectProperty", "start": 1229, "end": 1243, "loc": { "start": { "line": 45, "column": 6 }, "end": { "line": 45, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1229, "end": 1236, "loc": { "start": { "line": 45, "column": 6 }, "end": { "line": 45, "column": 13 } }, "extra": { "rawValue": "{tab}", "raw": "'{tab}'" }, "value": "{tab}" }, "value": { "type": "StringLiteral", "start": 1238, "end": 1243, "loc": { "start": { "line": 45, "column": 15 }, "end": { "line": 45, "column": 20 } }, "extra": { "rawValue": "tab", "raw": "'tab'" }, "value": "tab" } }, { "type": "ObjectProperty", "start": 1252, "end": 1268, "loc": { "start": { "line": 46, "column": 6 }, "end": { "line": 46, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1252, "end": 1260, "loc": { "start": { "line": 46, "column": 6 }, "end": { "line": 46, "column": 14 } }, "extra": { "rawValue": "{lock}", "raw": "'{lock}'" }, "value": "{lock}" }, "value": { "type": "StringLiteral", "start": 1262, "end": 1268, "loc": { "start": { "line": 46, "column": 16 }, "end": { "line": 46, "column": 22 } }, "extra": { "rawValue": "caps", "raw": "'caps'" }, "value": "caps" } }, { "type": "ObjectProperty", "start": 1277, "end": 1297, "loc": { "start": { "line": 47, "column": 6 }, "end": { "line": 47, "column": 26 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1277, "end": 1289, "loc": { "start": { "line": 47, "column": 6 }, "end": { "line": 47, "column": 18 } }, "extra": { "rawValue": "{capslock}", "raw": "'{capslock}'" }, "value": "{capslock}" }, "value": { "type": "StringLiteral", "start": 1291, "end": 1297, "loc": { "start": { "line": 47, "column": 20 }, "end": { "line": 47, "column": 26 } }, "extra": { "rawValue": "caps", "raw": "'caps'" }, "value": "caps" } }, { "type": "ObjectProperty", "start": 1306, "end": 1326, "loc": { "start": { "line": 48, "column": 6 }, "end": { "line": 48, "column": 26 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1306, "end": 1316, "loc": { "start": { "line": 48, "column": 6 }, "end": { "line": 48, "column": 16 } }, "extra": { "rawValue": "{accept}", "raw": "'{accept}'" }, "value": "{accept}" }, "value": { "type": "StringLiteral", "start": 1318, "end": 1326, "loc": { "start": { "line": 48, "column": 18 }, "end": { "line": 48, "column": 26 } }, "extra": { "rawValue": "Submit", "raw": "'Submit'" }, "value": "Submit" } }, { "type": "ObjectProperty", "start": 1335, "end": 1349, "loc": { "start": { "line": 49, "column": 6 }, "end": { "line": 49, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1335, "end": 1344, "loc": { "start": { "line": 49, "column": 6 }, "end": { "line": 49, "column": 15 } }, "extra": { "rawValue": "{space}", "raw": "'{space}'" }, "value": "{space}" }, "value": { "type": "StringLiteral", "start": 1346, "end": 1349, "loc": { "start": { "line": 49, "column": 17 }, "end": { "line": 49, "column": 20 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } }, { "type": "ObjectProperty", "start": 1358, "end": 1369, "loc": { "start": { "line": 50, "column": 6 }, "end": { "line": 50, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1358, "end": 1364, "loc": { "start": { "line": 50, "column": 6 }, "end": { "line": 50, "column": 12 } }, "extra": { "rawValue": "{//}", "raw": "'{//}'" }, "value": "{//}" }, "value": { "type": "StringLiteral", "start": 1366, "end": 1369, "loc": { "start": { "line": 50, "column": 14 }, "end": { "line": 50, "column": 17 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } }, { "type": "ObjectProperty", "start": 1378, "end": 1392, "loc": { "start": { "line": 51, "column": 6 }, "end": { "line": 51, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1378, "end": 1385, "loc": { "start": { "line": 51, "column": 6 }, "end": { "line": 51, "column": 13 } }, "extra": { "rawValue": "{esc}", "raw": "\"{esc}\"" }, "value": "{esc}" }, "value": { "type": "StringLiteral", "start": 1387, "end": 1392, "loc": { "start": { "line": 51, "column": 15 }, "end": { "line": 51, "column": 20 } }, "extra": { "rawValue": "esc", "raw": "\"esc\"" }, "value": "esc" } }, { "type": "ObjectProperty", "start": 1401, "end": 1418, "loc": { "start": { "line": 52, "column": 6 }, "end": { "line": 52, "column": 23 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1401, "end": 1411, "loc": { "start": { "line": 52, "column": 6 }, "end": { "line": 52, "column": 16 } }, "extra": { "rawValue": "{escape}", "raw": "\"{escape}\"" }, "value": "{escape}" }, "value": { "type": "StringLiteral", "start": 1413, "end": 1418, "loc": { "start": { "line": 52, "column": 18 }, "end": { "line": 52, "column": 23 } }, "extra": { "rawValue": "esc", "raw": "\"esc\"" }, "value": "esc" } }, { "type": "ObjectProperty", "start": 1427, "end": 1439, "loc": { "start": { "line": 53, "column": 6 }, "end": { "line": 53, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1427, "end": 1433, "loc": { "start": { "line": 53, "column": 6 }, "end": { "line": 53, "column": 12 } }, "extra": { "rawValue": "{f1}", "raw": "\"{f1}\"" }, "value": "{f1}" }, "value": { "type": "StringLiteral", "start": 1435, "end": 1439, "loc": { "start": { "line": 53, "column": 14 }, "end": { "line": 53, "column": 18 } }, "extra": { "rawValue": "f1", "raw": "\"f1\"" }, "value": "f1" } }, { "type": "ObjectProperty", "start": 1448, "end": 1460, "loc": { "start": { "line": 54, "column": 6 }, "end": { "line": 54, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1448, "end": 1454, "loc": { "start": { "line": 54, "column": 6 }, "end": { "line": 54, "column": 12 } }, "extra": { "rawValue": "{f2}", "raw": "\"{f2}\"" }, "value": "{f2}" }, "value": { "type": "StringLiteral", "start": 1456, "end": 1460, "loc": { "start": { "line": 54, "column": 14 }, "end": { "line": 54, "column": 18 } }, "extra": { "rawValue": "f2", "raw": "\"f2\"" }, "value": "f2" } }, { "type": "ObjectProperty", "start": 1469, "end": 1481, "loc": { "start": { "line": 55, "column": 6 }, "end": { "line": 55, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1469, "end": 1475, "loc": { "start": { "line": 55, "column": 6 }, "end": { "line": 55, "column": 12 } }, "extra": { "rawValue": "{f3}", "raw": "\"{f3}\"" }, "value": "{f3}" }, "value": { "type": "StringLiteral", "start": 1477, "end": 1481, "loc": { "start": { "line": 55, "column": 14 }, "end": { "line": 55, "column": 18 } }, "extra": { "rawValue": "f3", "raw": "\"f3\"" }, "value": "f3" } }, { "type": "ObjectProperty", "start": 1490, "end": 1502, "loc": { "start": { "line": 56, "column": 6 }, "end": { "line": 56, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1490, "end": 1496, "loc": { "start": { "line": 56, "column": 6 }, "end": { "line": 56, "column": 12 } }, "extra": { "rawValue": "{f4}", "raw": "\"{f4}\"" }, "value": "{f4}" }, "value": { "type": "StringLiteral", "start": 1498, "end": 1502, "loc": { "start": { "line": 56, "column": 14 }, "end": { "line": 56, "column": 18 } }, "extra": { "rawValue": "f4", "raw": "\"f4\"" }, "value": "f4" } }, { "type": "ObjectProperty", "start": 1511, "end": 1523, "loc": { "start": { "line": 57, "column": 6 }, "end": { "line": 57, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1511, "end": 1517, "loc": { "start": { "line": 57, "column": 6 }, "end": { "line": 57, "column": 12 } }, "extra": { "rawValue": "{f5}", "raw": "\"{f5}\"" }, "value": "{f5}" }, "value": { "type": "StringLiteral", "start": 1519, "end": 1523, "loc": { "start": { "line": 57, "column": 14 }, "end": { "line": 57, "column": 18 } }, "extra": { "rawValue": "f5", "raw": "\"f5\"" }, "value": "f5" } }, { "type": "ObjectProperty", "start": 1532, "end": 1544, "loc": { "start": { "line": 58, "column": 6 }, "end": { "line": 58, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1532, "end": 1538, "loc": { "start": { "line": 58, "column": 6 }, "end": { "line": 58, "column": 12 } }, "extra": { "rawValue": "{f6}", "raw": "\"{f6}\"" }, "value": "{f6}" }, "value": { "type": "StringLiteral", "start": 1540, "end": 1544, "loc": { "start": { "line": 58, "column": 14 }, "end": { "line": 58, "column": 18 } }, "extra": { "rawValue": "f6", "raw": "\"f6\"" }, "value": "f6" } }, { "type": "ObjectProperty", "start": 1553, "end": 1565, "loc": { "start": { "line": 59, "column": 6 }, "end": { "line": 59, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1553, "end": 1559, "loc": { "start": { "line": 59, "column": 6 }, "end": { "line": 59, "column": 12 } }, "extra": { "rawValue": "{f7}", "raw": "\"{f7}\"" }, "value": "{f7}" }, "value": { "type": "StringLiteral", "start": 1561, "end": 1565, "loc": { "start": { "line": 59, "column": 14 }, "end": { "line": 59, "column": 18 } }, "extra": { "rawValue": "f7", "raw": "\"f7\"" }, "value": "f7" } }, { "type": "ObjectProperty", "start": 1574, "end": 1586, "loc": { "start": { "line": 60, "column": 6 }, "end": { "line": 60, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1574, "end": 1580, "loc": { "start": { "line": 60, "column": 6 }, "end": { "line": 60, "column": 12 } }, "extra": { "rawValue": "{f8}", "raw": "\"{f8}\"" }, "value": "{f8}" }, "value": { "type": "StringLiteral", "start": 1582, "end": 1586, "loc": { "start": { "line": 60, "column": 14 }, "end": { "line": 60, "column": 18 } }, "extra": { "rawValue": "f8", "raw": "\"f8\"" }, "value": "f8" } }, { "type": "ObjectProperty", "start": 1595, "end": 1607, "loc": { "start": { "line": 61, "column": 6 }, "end": { "line": 61, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1595, "end": 1601, "loc": { "start": { "line": 61, "column": 6 }, "end": { "line": 61, "column": 12 } }, "extra": { "rawValue": "{f9}", "raw": "\"{f9}\"" }, "value": "{f9}" }, "value": { "type": "StringLiteral", "start": 1603, "end": 1607, "loc": { "start": { "line": 61, "column": 14 }, "end": { "line": 61, "column": 18 } }, "extra": { "rawValue": "f9", "raw": "\"f9\"" }, "value": "f9" } }, { "type": "ObjectProperty", "start": 1616, "end": 1630, "loc": { "start": { "line": 62, "column": 6 }, "end": { "line": 62, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1616, "end": 1623, "loc": { "start": { "line": 62, "column": 6 }, "end": { "line": 62, "column": 13 } }, "extra": { "rawValue": "{f10}", "raw": "\"{f10}\"" }, "value": "{f10}" }, "value": { "type": "StringLiteral", "start": 1625, "end": 1630, "loc": { "start": { "line": 62, "column": 15 }, "end": { "line": 62, "column": 20 } }, "extra": { "rawValue": "f10", "raw": "\"f10\"" }, "value": "f10" } }, { "type": "ObjectProperty", "start": 1639, "end": 1653, "loc": { "start": { "line": 63, "column": 6 }, "end": { "line": 63, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1639, "end": 1646, "loc": { "start": { "line": 63, "column": 6 }, "end": { "line": 63, "column": 13 } }, "extra": { "rawValue": "{f11}", "raw": "\"{f11}\"" }, "value": "{f11}" }, "value": { "type": "StringLiteral", "start": 1648, "end": 1653, "loc": { "start": { "line": 63, "column": 15 }, "end": { "line": 63, "column": 20 } }, "extra": { "rawValue": "f11", "raw": "\"f11\"" }, "value": "f11" } }, { "type": "ObjectProperty", "start": 1662, "end": 1676, "loc": { "start": { "line": 64, "column": 6 }, "end": { "line": 64, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1662, "end": 1669, "loc": { "start": { "line": 64, "column": 6 }, "end": { "line": 64, "column": 13 } }, "extra": { "rawValue": "{f12}", "raw": "\"{f12}\"" }, "value": "{f12}" }, "value": { "type": "StringLiteral", "start": 1671, "end": 1676, "loc": { "start": { "line": 64, "column": 15 }, "end": { "line": 64, "column": 20 } }, "extra": { "rawValue": "f12", "raw": "\"f12\"" }, "value": "f12" } }, { "type": "ObjectProperty", "start": 1685, "end": 1706, "loc": { "start": { "line": 65, "column": 6 }, "end": { "line": 65, "column": 27 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1685, "end": 1701, "loc": { "start": { "line": 65, "column": 6 }, "end": { "line": 65, "column": 22 } }, "extra": { "rawValue": "{numpaddivide}", "raw": "'{numpaddivide}'" }, "value": "{numpaddivide}" }, "value": { "type": "StringLiteral", "start": 1703, "end": 1706, "loc": { "start": { "line": 65, "column": 24 }, "end": { "line": 65, "column": 27 } }, "extra": { "rawValue": "/", "raw": "'/'" }, "value": "/" } }, { "type": "ObjectProperty", "start": 1715, "end": 1734, "loc": { "start": { "line": 66, "column": 6 }, "end": { "line": 66, "column": 25 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1715, "end": 1726, "loc": { "start": { "line": 66, "column": 6 }, "end": { "line": 66, "column": 17 } }, "extra": { "rawValue": "{numlock}", "raw": "'{numlock}'" }, "value": "{numlock}" }, "value": { "type": "StringLiteral", "start": 1728, "end": 1734, "loc": { "start": { "line": 66, "column": 19 }, "end": { "line": 66, "column": 25 } }, "extra": { "rawValue": "lock", "raw": "'lock'" }, "value": "lock" } }, { "type": "ObjectProperty", "start": 1743, "end": 1759, "loc": { "start": { "line": 67, "column": 6 }, "end": { "line": 67, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1743, "end": 1754, "loc": { "start": { "line": 67, "column": 6 }, "end": { "line": 67, "column": 17 } }, "extra": { "rawValue": "{arrowup}", "raw": "\"{arrowup}\"" }, "value": "{arrowup}" }, "value": { "type": "StringLiteral", "start": 1756, "end": 1759, "loc": { "start": { "line": 67, "column": 19 }, "end": { "line": 67, "column": 22 } }, "extra": { "rawValue": "↑", "raw": "\"↑\"" }, "value": "↑" } }, { "type": "ObjectProperty", "start": 1768, "end": 1786, "loc": { "start": { "line": 68, "column": 6 }, "end": { "line": 68, "column": 24 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1768, "end": 1781, "loc": { "start": { "line": 68, "column": 6 }, "end": { "line": 68, "column": 19 } }, "extra": { "rawValue": "{arrowleft}", "raw": "\"{arrowleft}\"" }, "value": "{arrowleft}" }, "value": { "type": "StringLiteral", "start": 1783, "end": 1786, "loc": { "start": { "line": 68, "column": 21 }, "end": { "line": 68, "column": 24 } }, "extra": { "rawValue": "←", "raw": "\"←\"" }, "value": "←" } }, { "type": "ObjectProperty", "start": 1795, "end": 1813, "loc": { "start": { "line": 69, "column": 6 }, "end": { "line": 69, "column": 24 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1795, "end": 1808, "loc": { "start": { "line": 69, "column": 6 }, "end": { "line": 69, "column": 19 } }, "extra": { "rawValue": "{arrowdown}", "raw": "\"{arrowdown}\"" }, "value": "{arrowdown}" }, "value": { "type": "StringLiteral", "start": 1810, "end": 1813, "loc": { "start": { "line": 69, "column": 21 }, "end": { "line": 69, "column": 24 } }, "extra": { "rawValue": "↓", "raw": "\"↓\"" }, "value": "↓" } }, { "type": "ObjectProperty", "start": 1822, "end": 1841, "loc": { "start": { "line": 70, "column": 6 }, "end": { "line": 70, "column": 25 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1822, "end": 1836, "loc": { "start": { "line": 70, "column": 6 }, "end": { "line": 70, "column": 20 } }, "extra": { "rawValue": "{arrowright}", "raw": "\"{arrowright}\"" }, "value": "{arrowright}" }, "value": { "type": "StringLiteral", "start": 1838, "end": 1841, "loc": { "start": { "line": 70, "column": 22 }, "end": { "line": 70, "column": 25 } }, "extra": { "rawValue": "→", "raw": "\"→\"" }, "value": "→" } }, { "type": "ObjectProperty", "start": 1850, "end": 1869, "loc": { "start": { "line": 71, "column": 6 }, "end": { "line": 71, "column": 25 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1850, "end": 1860, "loc": { "start": { "line": 71, "column": 6 }, "end": { "line": 71, "column": 16 } }, "extra": { "rawValue": "{prtscr}", "raw": "\"{prtscr}\"" }, "value": "{prtscr}" }, "value": { "type": "StringLiteral", "start": 1862, "end": 1869, "loc": { "start": { "line": 71, "column": 18 }, "end": { "line": 71, "column": 25 } }, "extra": { "rawValue": "print", "raw": "\"print\"" }, "value": "print" } }, { "type": "ObjectProperty", "start": 1878, "end": 1902, "loc": { "start": { "line": 72, "column": 6 }, "end": { "line": 72, "column": 30 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1878, "end": 1892, "loc": { "start": { "line": 72, "column": 6 }, "end": { "line": 72, "column": 20 } }, "extra": { "rawValue": "{scrolllock}", "raw": "\"{scrolllock}\"" }, "value": "{scrolllock}" }, "value": { "type": "StringLiteral", "start": 1894, "end": 1902, "loc": { "start": { "line": 72, "column": 22 }, "end": { "line": 72, "column": 30 } }, "extra": { "rawValue": "scroll", "raw": "\"scroll\"" }, "value": "scroll" } }, { "type": "ObjectProperty", "start": 1911, "end": 1929, "loc": { "start": { "line": 73, "column": 6 }, "end": { "line": 73, "column": 24 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1911, "end": 1920, "loc": { "start": { "line": 73, "column": 6 }, "end": { "line": 73, "column": 15 } }, "extra": { "rawValue": "{pause}", "raw": "\"{pause}\"" }, "value": "{pause}" }, "value": { "type": "StringLiteral", "start": 1922, "end": 1929, "loc": { "start": { "line": 73, "column": 17 }, "end": { "line": 73, "column": 24 } }, "extra": { "rawValue": "pause", "raw": "\"pause\"" }, "value": "pause" } }, { "type": "ObjectProperty", "start": 1938, "end": 1955, "loc": { "start": { "line": 74, "column": 6 }, "end": { "line": 74, "column": 23 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1938, "end": 1948, "loc": { "start": { "line": 74, "column": 6 }, "end": { "line": 74, "column": 16 } }, "extra": { "rawValue": "{insert}", "raw": "\"{insert}\"" }, "value": "{insert}" }, "value": { "type": "StringLiteral", "start": 1950, "end": 1955, "loc": { "start": { "line": 74, "column": 18 }, "end": { "line": 74, "column": 23 } }, "extra": { "rawValue": "ins", "raw": "\"ins\"" }, "value": "ins" } }, { "type": "ObjectProperty", "start": 1964, "end": 1980, "loc": { "start": { "line": 75, "column": 6 }, "end": { "line": 75, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1964, "end": 1972, "loc": { "start": { "line": 75, "column": 6 }, "end": { "line": 75, "column": 14 } }, "extra": { "rawValue": "{home}", "raw": "\"{home}\"" }, "value": "{home}" }, "value": { "type": "StringLiteral", "start": 1974, "end": 1980, "loc": { "start": { "line": 75, "column": 16 }, "end": { "line": 75, "column": 22 } }, "extra": { "rawValue": "home", "raw": "\"home\"" }, "value": "home" } }, { "type": "ObjectProperty", "start": 1989, "end": 2005, "loc": { "start": { "line": 76, "column": 6 }, "end": { "line": 76, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1989, "end": 1999, "loc": { "start": { "line": 76, "column": 6 }, "end": { "line": 76, "column": 16 } }, "extra": { "rawValue": "{pageup}", "raw": "\"{pageup}\"" }, "value": "{pageup}" }, "value": { "type": "StringLiteral", "start": 2001, "end": 2005, "loc": { "start": { "line": 76, "column": 18 }, "end": { "line": 76, "column": 22 } }, "extra": { "rawValue": "up", "raw": "\"up\"" }, "value": "up" } }, { "type": "ObjectProperty", "start": 2014, "end": 2031, "loc": { "start": { "line": 77, "column": 6 }, "end": { "line": 77, "column": 23 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2014, "end": 2024, "loc": { "start": { "line": 77, "column": 6 }, "end": { "line": 77, "column": 16 } }, "extra": { "rawValue": "{delete}", "raw": "\"{delete}\"" }, "value": "{delete}" }, "value": { "type": "StringLiteral", "start": 2026, "end": 2031, "loc": { "start": { "line": 77, "column": 18 }, "end": { "line": 77, "column": 23 } }, "extra": { "rawValue": "del", "raw": "\"del\"" }, "value": "del" } }, { "type": "ObjectProperty", "start": 2040, "end": 2054, "loc": { "start": { "line": 78, "column": 6 }, "end": { "line": 78, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2040, "end": 2047, "loc": { "start": { "line": 78, "column": 6 }, "end": { "line": 78, "column": 13 } }, "extra": { "rawValue": "{end}", "raw": "\"{end}\"" }, "value": "{end}" }, "value": { "type": "StringLiteral", "start": 2049, "end": 2054, "loc": { "start": { "line": 78, "column": 15 }, "end": { "line": 78, "column": 20 } }, "extra": { "rawValue": "end", "raw": "\"end\"" }, "value": "end" } }, { "type": "ObjectProperty", "start": 2063, "end": 2083, "loc": { "start": { "line": 79, "column": 6 }, "end": { "line": 79, "column": 26 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2063, "end": 2075, "loc": { "start": { "line": 79, "column": 6 }, "end": { "line": 79, "column": 18 } }, "extra": { "rawValue": "{pagedown}", "raw": "\"{pagedown}\"" }, "value": "{pagedown}" }, "value": { "type": "StringLiteral", "start": 2077, "end": 2083, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 26 } }, "extra": { "rawValue": "down", "raw": "\"down\"" }, "value": "down" } }, { "type": "ObjectProperty", "start": 2092, "end": 2115, "loc": { "start": { "line": 80, "column": 6 }, "end": { "line": 80, "column": 29 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2092, "end": 2110, "loc": { "start": { "line": 80, "column": 6 }, "end": { "line": 80, "column": 24 } }, "extra": { "rawValue": "{numpadmultiply}", "raw": "\"{numpadmultiply}\"" }, "value": "{numpadmultiply}" }, "value": { "type": "StringLiteral", "start": 2112, "end": 2115, "loc": { "start": { "line": 80, "column": 26 }, "end": { "line": 80, "column": 29 } }, "extra": { "rawValue": "*", "raw": "\"*\"" }, "value": "*" } }, { "type": "ObjectProperty", "start": 2124, "end": 2147, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 29 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2124, "end": 2142, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 24 } }, "extra": { "rawValue": "{numpadsubtract}", "raw": "\"{numpadsubtract}\"" }, "value": "{numpadsubtract}" }, "value": { "type": "StringLiteral", "start": 2144, "end": 2147, "loc": { "start": { "line": 81, "column": 26 }, "end": { "line": 81, "column": 29 } }, "extra": { "rawValue": "-", "raw": "\"-\"" }, "value": "-" } }, { "type": "ObjectProperty", "start": 2156, "end": 2174, "loc": { "start": { "line": 82, "column": 6 }, "end": { "line": 82, "column": 24 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2156, "end": 2169, "loc": { "start": { "line": 82, "column": 6 }, "end": { "line": 82, "column": 19 } }, "extra": { "rawValue": "{numpadadd}", "raw": "\"{numpadadd}\"" }, "value": "{numpadadd}" }, "value": { "type": "StringLiteral", "start": 2171, "end": 2174, "loc": { "start": { "line": 82, "column": 21 }, "end": { "line": 82, "column": 24 } }, "extra": { "rawValue": "+", "raw": "\"+\"" }, "value": "+" } }, { "type": "ObjectProperty", "start": 2183, "end": 2207, "loc": { "start": { "line": 83, "column": 6 }, "end": { "line": 83, "column": 30 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2183, "end": 2198, "loc": { "start": { "line": 83, "column": 6 }, "end": { "line": 83, "column": 21 } }, "extra": { "rawValue": "{numpadenter}", "raw": "\"{numpadenter}\"" }, "value": "{numpadenter}" }, "value": { "type": "StringLiteral", "start": 2200, "end": 2207, "loc": { "start": { "line": 83, "column": 23 }, "end": { "line": 83, "column": 30 } }, "extra": { "rawValue": "enter", "raw": "\"enter\"" }, "value": "enter" } }, { "type": "ObjectProperty", "start": 2216, "end": 2231, "loc": { "start": { "line": 84, "column": 6 }, "end": { "line": 84, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2216, "end": 2226, "loc": { "start": { "line": 84, "column": 6 }, "end": { "line": 84, "column": 16 } }, "extra": { "rawValue": "{period}", "raw": "\"{period}\"" }, "value": "{period}" }, "value": { "type": "StringLiteral", "start": 2228, "end": 2231, "loc": { "start": { "line": 84, "column": 18 }, "end": { "line": 84, "column": 21 } }, "extra": { "rawValue": ".", "raw": "\".\"" }, "value": "." } }, { "type": "ObjectProperty", "start": 2240, "end": 2262, "loc": { "start": { "line": 85, "column": 6 }, "end": { "line": 85, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2240, "end": 2257, "loc": { "start": { "line": 85, "column": 6 }, "end": { "line": 85, "column": 23 } }, "extra": { "rawValue": "{numpaddecimal}", "raw": "\"{numpaddecimal}\"" }, "value": "{numpaddecimal}" }, "value": { "type": "StringLiteral", "start": 2259, "end": 2262, "loc": { "start": { "line": 85, "column": 25 }, "end": { "line": 85, "column": 28 } }, "extra": { "rawValue": ".", "raw": "\".\"" }, "value": "." } }, { "type": "ObjectProperty", "start": 2271, "end": 2287, "loc": { "start": { "line": 86, "column": 6 }, "end": { "line": 86, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2271, "end": 2282, "loc": { "start": { "line": 86, "column": 6 }, "end": { "line": 86, "column": 17 } }, "extra": { "rawValue": "{numpad0}", "raw": "\"{numpad0}\"" }, "value": "{numpad0}" }, "value": { "type": "StringLiteral", "start": 2284, "end": 2287, "loc": { "start": { "line": 86, "column": 19 }, "end": { "line": 86, "column": 22 } }, "extra": { "rawValue": "0", "raw": "\"0\"" }, "value": "0" } }, { "type": "ObjectProperty", "start": 2296, "end": 2312, "loc": { "start": { "line": 87, "column": 6 }, "end": { "line": 87, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2296, "end": 2307, "loc": { "start": { "line": 87, "column": 6 }, "end": { "line": 87, "column": 17 } }, "extra": { "rawValue": "{numpad1}", "raw": "\"{numpad1}\"" }, "value": "{numpad1}" }, "value": { "type": "StringLiteral", "start": 2309, "end": 2312, "loc": { "start": { "line": 87, "column": 19 }, "end": { "line": 87, "column": 22 } }, "extra": { "rawValue": "1", "raw": "\"1\"" }, "value": "1" } }, { "type": "ObjectProperty", "start": 2321, "end": 2337, "loc": { "start": { "line": 88, "column": 6 }, "end": { "line": 88, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2321, "end": 2332, "loc": { "start": { "line": 88, "column": 6 }, "end": { "line": 88, "column": 17 } }, "extra": { "rawValue": "{numpad2}", "raw": "\"{numpad2}\"" }, "value": "{numpad2}" }, "value": { "type": "StringLiteral", "start": 2334, "end": 2337, "loc": { "start": { "line": 88, "column": 19 }, "end": { "line": 88, "column": 22 } }, "extra": { "rawValue": "2", "raw": "\"2\"" }, "value": "2" } }, { "type": "ObjectProperty", "start": 2346, "end": 2362, "loc": { "start": { "line": 89, "column": 6 }, "end": { "line": 89, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2346, "end": 2357, "loc": { "start": { "line": 89, "column": 6 }, "end": { "line": 89, "column": 17 } }, "extra": { "rawValue": "{numpad3}", "raw": "\"{numpad3}\"" }, "value": "{numpad3}" }, "value": { "type": "StringLiteral", "start": 2359, "end": 2362, "loc": { "start": { "line": 89, "column": 19 }, "end": { "line": 89, "column": 22 } }, "extra": { "rawValue": "3", "raw": "\"3\"" }, "value": "3" } }, { "type": "ObjectProperty", "start": 2371, "end": 2387, "loc": { "start": { "line": 90, "column": 6 }, "end": { "line": 90, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2371, "end": 2382, "loc": { "start": { "line": 90, "column": 6 }, "end": { "line": 90, "column": 17 } }, "extra": { "rawValue": "{numpad4}", "raw": "\"{numpad4}\"" }, "value": "{numpad4}" }, "value": { "type": "StringLiteral", "start": 2384, "end": 2387, "loc": { "start": { "line": 90, "column": 19 }, "end": { "line": 90, "column": 22 } }, "extra": { "rawValue": "4", "raw": "\"4\"" }, "value": "4" } }, { "type": "ObjectProperty", "start": 2396, "end": 2412, "loc": { "start": { "line": 91, "column": 6 }, "end": { "line": 91, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2396, "end": 2407, "loc": { "start": { "line": 91, "column": 6 }, "end": { "line": 91, "column": 17 } }, "extra": { "rawValue": "{numpad5}", "raw": "\"{numpad5}\"" }, "value": "{numpad5}" }, "value": { "type": "StringLiteral", "start": 2409, "end": 2412, "loc": { "start": { "line": 91, "column": 19 }, "end": { "line": 91, "column": 22 } }, "extra": { "rawValue": "5", "raw": "\"5\"" }, "value": "5" } }, { "type": "ObjectProperty", "start": 2421, "end": 2437, "loc": { "start": { "line": 92, "column": 6 }, "end": { "line": 92, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2421, "end": 2432, "loc": { "start": { "line": 92, "column": 6 }, "end": { "line": 92, "column": 17 } }, "extra": { "rawValue": "{numpad6}", "raw": "\"{numpad6}\"" }, "value": "{numpad6}" }, "value": { "type": "StringLiteral", "start": 2434, "end": 2437, "loc": { "start": { "line": 92, "column": 19 }, "end": { "line": 92, "column": 22 } }, "extra": { "rawValue": "6", "raw": "\"6\"" }, "value": "6" } }, { "type": "ObjectProperty", "start": 2446, "end": 2462, "loc": { "start": { "line": 93, "column": 6 }, "end": { "line": 93, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2446, "end": 2457, "loc": { "start": { "line": 93, "column": 6 }, "end": { "line": 93, "column": 17 } }, "extra": { "rawValue": "{numpad7}", "raw": "\"{numpad7}\"" }, "value": "{numpad7}" }, "value": { "type": "StringLiteral", "start": 2459, "end": 2462, "loc": { "start": { "line": 93, "column": 19 }, "end": { "line": 93, "column": 22 } }, "extra": { "rawValue": "7", "raw": "\"7\"" }, "value": "7" } }, { "type": "ObjectProperty", "start": 2471, "end": 2487, "loc": { "start": { "line": 94, "column": 6 }, "end": { "line": 94, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2471, "end": 2482, "loc": { "start": { "line": 94, "column": 6 }, "end": { "line": 94, "column": 17 } }, "extra": { "rawValue": "{numpad8}", "raw": "\"{numpad8}\"" }, "value": "{numpad8}" }, "value": { "type": "StringLiteral", "start": 2484, "end": 2487, "loc": { "start": { "line": 94, "column": 19 }, "end": { "line": 94, "column": 22 } }, "extra": { "rawValue": "8", "raw": "\"8\"" }, "value": "8" } }, { "type": "ObjectProperty", "start": 2496, "end": 2512, "loc": { "start": { "line": 95, "column": 6 }, "end": { "line": 95, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2496, "end": 2507, "loc": { "start": { "line": 95, "column": 6 }, "end": { "line": 95, "column": 17 } }, "extra": { "rawValue": "{numpad9}", "raw": "\"{numpad9}\"" }, "value": "{numpad9}" }, "value": { "type": "StringLiteral", "start": 2509, "end": 2512, "loc": { "start": { "line": 95, "column": 19 }, "end": { "line": 95, "column": 22 } }, "extra": { "rawValue": "9", "raw": "\"9\"" }, "value": "9" } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Default button display labels\r\n ", "start": 908, "end": 954, "loc": { "start": { "line": 32, "column": 2 }, "end": { "line": 34, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the display (label) name for a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {object} display The provided display option\r\n * @param {boolean} mergeDisplay Whether the provided param value should be merged with the default one.\r\n ", "start": 2530, "end": 2828, "loc": { "start": { "line": 98, "column": 2 }, "end": { "line": 104, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 2832, "end": 3104, "loc": { "start": { "line": 105, "column": 2 }, "end": { "line": 113, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2832, "end": 2852, "loc": { "start": { "line": 105, "column": 2 }, "end": { "line": 105, "column": 22 }, "identifierName": "getButtonDisplayName" }, "name": "getButtonDisplayName", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 2855, "end": 3104, "loc": { "start": { "line": 105, "column": 25 }, "end": { "line": 113, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2856, "end": 2862, "loc": { "start": { "line": 105, "column": 26 }, "end": { "line": 105, "column": 32 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 2864, "end": 2871, "loc": { "start": { "line": 105, "column": 34 }, "end": { "line": 105, "column": 41 }, "identifierName": "display" }, "name": "display" }, { "type": "Identifier", "start": 2873, "end": 2885, "loc": { "start": { "line": 105, "column": 43 }, "end": { "line": 105, "column": 55 }, "identifierName": "mergeDisplay" }, "name": "mergeDisplay" } ], "body": { "type": "BlockStatement", "start": 2890, "end": 3104, "loc": { "start": { "line": 105, "column": 60 }, "end": { "line": 113, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 2897, "end": 3058, "loc": { "start": { "line": 106, "column": 4 }, "end": { "line": 110, "column": 5 } }, "test": { "type": "Identifier", "start": 2900, "end": 2912, "loc": { "start": { "line": 106, "column": 7 }, "end": { "line": 106, "column": 19 }, "identifierName": "mergeDisplay" }, "name": "mergeDisplay" }, "consequent": { "type": "BlockStatement", "start": 2913, "end": 2991, "loc": { "start": { "line": 106, "column": 20 }, "end": { "line": 108, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2922, "end": 2984, "loc": { "start": { "line": 107, "column": 6 }, "end": { "line": 107, "column": 68 } }, "expression": { "type": "AssignmentExpression", "start": 2922, "end": 2983, "loc": { "start": { "line": 107, "column": 6 }, "end": { "line": 107, "column": 67 } }, "operator": "=", "left": { "type": "Identifier", "start": 2922, "end": 2929, "loc": { "start": { "line": 107, "column": 6 }, "end": { "line": 107, "column": 13 }, "identifierName": "display" }, "name": "display" }, "right": { "type": "CallExpression", "start": 2932, "end": 2983, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 67 } }, "callee": { "type": "MemberExpression", "start": 2932, "end": 2945, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 29 } }, "object": { "type": "Identifier", "start": 2932, "end": 2938, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 22 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 2939, "end": 2945, "loc": { "start": { "line": 107, "column": 23 }, "end": { "line": 107, "column": 29 }, "identifierName": "assign" }, "name": "assign" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 2946, "end": 2948, "loc": { "start": { "line": 107, "column": 30 }, "end": { "line": 107, "column": 32 } }, "properties": [] }, { "type": "CallExpression", "start": 2950, "end": 2973, "loc": { "start": { "line": 107, "column": 34 }, "end": { "line": 107, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 2950, "end": 2971, "loc": { "start": { "line": 107, "column": 34 }, "end": { "line": 107, "column": 55 } }, "object": { "type": "ThisExpression", "start": 2950, "end": 2954, "loc": { "start": { "line": 107, "column": 34 }, "end": { "line": 107, "column": 38 } } }, "property": { "type": "Identifier", "start": 2955, "end": 2971, "loc": { "start": { "line": 107, "column": 39 }, "end": { "line": 107, "column": 55 }, "identifierName": "getDefaultDiplay" }, "name": "getDefaultDiplay" }, "computed": false }, "arguments": [] }, { "type": "Identifier", "start": 2975, "end": 2982, "loc": { "start": { "line": 107, "column": 59 }, "end": { "line": 107, "column": 66 }, "identifierName": "display" }, "name": "display" } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 2997, "end": 3058, "loc": { "start": { "line": 108, "column": 11 }, "end": { "line": 110, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3006, "end": 3051, "loc": { "start": { "line": 109, "column": 6 }, "end": { "line": 109, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 3006, "end": 3050, "loc": { "start": { "line": 109, "column": 6 }, "end": { "line": 109, "column": 50 } }, "operator": "=", "left": { "type": "Identifier", "start": 3006, "end": 3013, "loc": { "start": { "line": 109, "column": 6 }, "end": { "line": 109, "column": 13 }, "identifierName": "display" }, "name": "display" }, "right": { "type": "LogicalExpression", "start": 3016, "end": 3050, "loc": { "start": { "line": 109, "column": 16 }, "end": { "line": 109, "column": 50 } }, "left": { "type": "Identifier", "start": 3016, "end": 3023, "loc": { "start": { "line": 109, "column": 16 }, "end": { "line": 109, "column": 23 }, "identifierName": "display" }, "name": "display" }, "operator": "||", "right": { "type": "CallExpression", "start": 3027, "end": 3050, "loc": { "start": { "line": 109, "column": 27 }, "end": { "line": 109, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 3027, "end": 3048, "loc": { "start": { "line": 109, "column": 27 }, "end": { "line": 109, "column": 48 } }, "object": { "type": "ThisExpression", "start": 3027, "end": 3031, "loc": { "start": { "line": 109, "column": 27 }, "end": { "line": 109, "column": 31 } } }, "property": { "type": "Identifier", "start": 3032, "end": 3048, "loc": { "start": { "line": 109, "column": 32 }, "end": { "line": 109, "column": 48 }, "identifierName": "getDefaultDiplay" }, "name": "getDefaultDiplay" }, "computed": false }, "arguments": [] } } } } ], "directives": [] } }, { "type": "ReturnStatement", "start": 3066, "end": 3099, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 112, "column": 37 } }, "argument": { "type": "LogicalExpression", "start": 3073, "end": 3098, "loc": { "start": { "line": 112, "column": 11 }, "end": { "line": 112, "column": 36 } }, "left": { "type": "MemberExpression", "start": 3073, "end": 3088, "loc": { "start": { "line": 112, "column": 11 }, "end": { "line": 112, "column": 26 } }, "object": { "type": "Identifier", "start": 3073, "end": 3080, "loc": { "start": { "line": 112, "column": 11 }, "end": { "line": 112, "column": 18 }, "identifierName": "display" }, "name": "display" }, "property": { "type": "Identifier", "start": 3081, "end": 3087, "loc": { "start": { "line": 112, "column": 19 }, "end": { "line": 112, "column": 25 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "operator": "||", "right": { "type": "Identifier", "start": 3092, "end": 3098, "loc": { "start": { "line": 112, "column": 30 }, "end": { "line": 112, "column": 36 }, "identifierName": "button" }, "name": "button" } } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the display (label) name for a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {object} display The provided display option\r\n * @param {boolean} mergeDisplay Whether the provided param value should be merged with the default one.\r\n ", "start": 2530, "end": 2828, "loc": { "start": { "line": 98, "column": 2 }, "end": { "line": 104, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n ", "start": 3114, "end": 3431, "loc": { "start": { "line": 116, "column": 2 }, "end": { "line": 123, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 3435, "end": 5028, "loc": { "start": { "line": 124, "column": 2 }, "end": { "line": 164, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3435, "end": 3450, "loc": { "start": { "line": 124, "column": 2 }, "end": { "line": 124, "column": 17 }, "identifierName": "getUpdatedInput" }, "name": "getUpdatedInput", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 3453, "end": 5028, "loc": { "start": { "line": 124, "column": 20 }, "end": { "line": 164, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3454, "end": 3460, "loc": { "start": { "line": 124, "column": 21 }, "end": { "line": 124, "column": 27 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 3462, "end": 3467, "loc": { "start": { "line": 124, "column": 29 }, "end": { "line": 124, "column": 34 }, "identifierName": "input" }, "name": "input" }, { "type": "Identifier", "start": 3469, "end": 3476, "loc": { "start": { "line": 124, "column": 36 }, "end": { "line": 124, "column": 43 }, "identifierName": "options" }, "name": "options" }, { "type": "Identifier", "start": 3478, "end": 3486, "loc": { "start": { "line": 124, "column": 45 }, "end": { "line": 124, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" } ], "body": { "type": "BlockStatement", "start": 3491, "end": 5028, "loc": { "start": { "line": 124, "column": 58 }, "end": { "line": 164, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 3504, "end": 3523, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 126, "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3508, "end": 3522, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 126, "column": 22 } }, "id": { "type": "Identifier", "start": 3508, "end": 3514, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 126, "column": 14 }, "identifierName": "output" }, "name": "output" }, "init": { "type": "Identifier", "start": 3517, "end": 3522, "loc": { "start": { "line": 126, "column": 17 }, "end": { "line": 126, "column": 22 }, "identifierName": "input" }, "name": "input" } } ], "kind": "let" }, { "type": "IfStatement", "start": 3531, "end": 5001, "loc": { "start": { "line": 128, "column": 4 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "LogicalExpression", "start": 3534, "end": 3604, "loc": { "start": { "line": 128, "column": 7 }, "end": { "line": 128, "column": 77 } }, "left": { "type": "LogicalExpression", "start": 3535, "end": 3582, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 128, "column": 55 } }, "left": { "type": "BinaryExpression", "start": 3535, "end": 3554, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 128, "column": 27 } }, "left": { "type": "Identifier", "start": 3535, "end": 3541, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 128, "column": 14 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 3546, "end": 3554, "loc": { "start": { "line": 128, "column": 19 }, "end": { "line": 128, "column": 27 } }, "extra": { "rawValue": "{bksp}", "raw": "\"{bksp}\"" }, "value": "{bksp}" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 3558, "end": 3582, "loc": { "start": { "line": 128, "column": 31 }, "end": { "line": 128, "column": 55 } }, "left": { "type": "Identifier", "start": 3558, "end": 3564, "loc": { "start": { "line": 128, "column": 31 }, "end": { "line": 128, "column": 37 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 3569, "end": 3582, "loc": { "start": { "line": 128, "column": 42 }, "end": { "line": 128, "column": 55 } }, "extra": { "rawValue": "{backspace}", "raw": "\"{backspace}\"" }, "value": "{backspace}" } }, "extra": { "parenthesized": true, "parenStart": 3534 } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 3587, "end": 3604, "loc": { "start": { "line": 128, "column": 60 }, "end": { "line": 128, "column": 77 } }, "left": { "type": "MemberExpression", "start": 3587, "end": 3600, "loc": { "start": { "line": 128, "column": 60 }, "end": { "line": 128, "column": 73 } }, "object": { "type": "Identifier", "start": 3587, "end": 3593, "loc": { "start": { "line": 128, "column": 60 }, "end": { "line": 128, "column": 66 }, "identifierName": "output" }, "name": "output" }, "property": { "type": "Identifier", "start": 3594, "end": 3600, "loc": { "start": { "line": 128, "column": 67 }, "end": { "line": 128, "column": 73 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 3603, "end": 3604, "loc": { "start": { "line": 128, "column": 76 }, "end": { "line": 128, "column": 77 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, "consequent": { "type": "BlockStatement", "start": 3605, "end": 3664, "loc": { "start": { "line": 128, "column": 78 }, "end": { "line": 131, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3614, "end": 3655, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 47 } }, "expression": { "type": "AssignmentExpression", "start": 3614, "end": 3654, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 46 } }, "operator": "=", "left": { "type": "Identifier", "start": 3614, "end": 3620, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 3623, "end": 3654, "loc": { "start": { "line": 129, "column": 15 }, "end": { "line": 129, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 3623, "end": 3636, "loc": { "start": { "line": 129, "column": 15 }, "end": { "line": 129, "column": 28 } }, "object": { "type": "ThisExpression", "start": 3623, "end": 3627, "loc": { "start": { "line": 129, "column": 15 }, "end": { "line": 129, "column": 19 } } }, "property": { "type": "Identifier", "start": 3628, "end": 3636, "loc": { "start": { "line": 129, "column": 20 }, "end": { "line": 129, "column": 28 }, "identifierName": "removeAt" }, "name": "removeAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3637, "end": 3643, "loc": { "start": { "line": 129, "column": 29 }, "end": { "line": 129, "column": 35 }, "identifierName": "output" }, "name": "output" }, { "type": "Identifier", "start": 3645, "end": 3653, "loc": { "start": { "line": 129, "column": 37 }, "end": { "line": 129, "column": 45 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 3670, "end": 5001, "loc": { "start": { "line": 131, "column": 11 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "BinaryExpression", "start": 3673, "end": 3693, "loc": { "start": { "line": 131, "column": 14 }, "end": { "line": 131, "column": 34 } }, "left": { "type": "Identifier", "start": 3673, "end": 3679, "loc": { "start": { "line": 131, "column": 14 }, "end": { "line": 131, "column": 20 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 3684, "end": 3693, "loc": { "start": { "line": 131, "column": 25 }, "end": { "line": 131, "column": 34 } }, "extra": { "rawValue": "{space}", "raw": "\"{space}\"" }, "value": "{space}" } }, "consequent": { "type": "ExpressionStatement", "start": 3702, "end": 3751, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 3702, "end": 3750, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 3702, "end": 3708, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 3711, "end": 3750, "loc": { "start": { "line": 132, "column": 15 }, "end": { "line": 132, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 3711, "end": 3727, "loc": { "start": { "line": 132, "column": 15 }, "end": { "line": 132, "column": 31 } }, "object": { "type": "ThisExpression", "start": 3711, "end": 3715, "loc": { "start": { "line": 132, "column": 15 }, "end": { "line": 132, "column": 19 } } }, "property": { "type": "Identifier", "start": 3716, "end": 3727, "loc": { "start": { "line": 132, "column": 20 }, "end": { "line": 132, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3728, "end": 3734, "loc": { "start": { "line": 132, "column": 32 }, "end": { "line": 132, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "StringLiteral", "start": 3736, "end": 3739, "loc": { "start": { "line": 132, "column": 40 }, "end": { "line": 132, "column": 43 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " }, { "type": "Identifier", "start": 3741, "end": 3749, "loc": { "start": { "line": 132, "column": 45 }, "end": { "line": 132, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } }, "alternate": { "type": "IfStatement", "start": 3764, "end": 5001, "loc": { "start": { "line": 134, "column": 9 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "LogicalExpression", "start": 3767, "end": 3867, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 112 } }, "left": { "type": "BinaryExpression", "start": 3767, "end": 3785, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 30 } }, "left": { "type": "Identifier", "start": 3767, "end": 3773, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 18 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 3778, "end": 3785, "loc": { "start": { "line": 134, "column": 23 }, "end": { "line": 134, "column": 30 } }, "extra": { "rawValue": "{tab}", "raw": "\"{tab}\"" }, "value": "{tab}" } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 3789, "end": 3867, "loc": { "start": { "line": 134, "column": 34 }, "end": { "line": 134, "column": 112 } }, "operator": "!", "prefix": true, "argument": { "type": "LogicalExpression", "start": 3791, "end": 3866, "loc": { "start": { "line": 134, "column": 36 }, "end": { "line": 134, "column": 111 } }, "left": { "type": "BinaryExpression", "start": 3791, "end": 3832, "loc": { "start": { "line": 134, "column": 36 }, "end": { "line": 134, "column": 77 } }, "left": { "type": "UnaryExpression", "start": 3791, "end": 3818, "loc": { "start": { "line": 134, "column": 36 }, "end": { "line": 134, "column": 63 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 3798, "end": 3818, "loc": { "start": { "line": 134, "column": 43 }, "end": { "line": 134, "column": 63 } }, "object": { "type": "Identifier", "start": 3798, "end": 3805, "loc": { "start": { "line": 134, "column": 43 }, "end": { "line": 134, "column": 50 }, "identifierName": "options" }, "name": "options" }, "property": { "type": "Identifier", "start": 3806, "end": 3818, "loc": { "start": { "line": 134, "column": 51 }, "end": { "line": 134, "column": 63 }, "identifierName": "tabCharOnTab" }, "name": "tabCharOnTab" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 3823, "end": 3832, "loc": { "start": { "line": 134, "column": 68 }, "end": { "line": 134, "column": 77 } }, "extra": { "rawValue": "boolean", "raw": "\"boolean\"" }, "value": "boolean" } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 3836, "end": 3866, "loc": { "start": { "line": 134, "column": 81 }, "end": { "line": 134, "column": 111 } }, "left": { "type": "MemberExpression", "start": 3836, "end": 3856, "loc": { "start": { "line": 134, "column": 81 }, "end": { "line": 134, "column": 101 } }, "object": { "type": "Identifier", "start": 3836, "end": 3843, "loc": { "start": { "line": 134, "column": 81 }, "end": { "line": 134, "column": 88 }, "identifierName": "options" }, "name": "options" }, "property": { "type": "Identifier", "start": 3844, "end": 3856, "loc": { "start": { "line": 134, "column": 89 }, "end": { "line": 134, "column": 101 }, "identifierName": "tabCharOnTab" }, "name": "tabCharOnTab" }, "computed": false }, "operator": "===", "right": { "type": "BooleanLiteral", "start": 3861, "end": 3866, "loc": { "start": { "line": 134, "column": 106 }, "end": { "line": 134, "column": 111 } }, "value": false } }, "extra": { "parenthesized": true, "parenStart": 3790 } }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 3868, "end": 3936, "loc": { "start": { "line": 134, "column": 113 }, "end": { "line": 137, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3877, "end": 3927, "loc": { "start": { "line": 135, "column": 6 }, "end": { "line": 135, "column": 56 } }, "expression": { "type": "AssignmentExpression", "start": 3877, "end": 3926, "loc": { "start": { "line": 135, "column": 6 }, "end": { "line": 135, "column": 55 } }, "operator": "=", "left": { "type": "Identifier", "start": 3877, "end": 3883, "loc": { "start": { "line": 135, "column": 6 }, "end": { "line": 135, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 3886, "end": 3926, "loc": { "start": { "line": 135, "column": 15 }, "end": { "line": 135, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 3886, "end": 3902, "loc": { "start": { "line": 135, "column": 15 }, "end": { "line": 135, "column": 31 } }, "object": { "type": "ThisExpression", "start": 3886, "end": 3890, "loc": { "start": { "line": 135, "column": 15 }, "end": { "line": 135, "column": 19 } } }, "property": { "type": "Identifier", "start": 3891, "end": 3902, "loc": { "start": { "line": 135, "column": 20 }, "end": { "line": 135, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3903, "end": 3909, "loc": { "start": { "line": 135, "column": 32 }, "end": { "line": 135, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "StringLiteral", "start": 3911, "end": 3915, "loc": { "start": { "line": 135, "column": 40 }, "end": { "line": 135, "column": 44 } }, "extra": { "rawValue": "\t", "raw": "\"\\t\"" }, "value": "\t" }, { "type": "Identifier", "start": 3917, "end": 3925, "loc": { "start": { "line": 135, "column": 46 }, "end": { "line": 135, "column": 54 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 3942, "end": 5001, "loc": { "start": { "line": 137, "column": 11 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "LogicalExpression", "start": 3945, "end": 4023, "loc": { "start": { "line": 137, "column": 14 }, "end": { "line": 137, "column": 92 } }, "left": { "type": "LogicalExpression", "start": 3946, "end": 3996, "loc": { "start": { "line": 137, "column": 15 }, "end": { "line": 137, "column": 65 } }, "left": { "type": "BinaryExpression", "start": 3946, "end": 3966, "loc": { "start": { "line": 137, "column": 15 }, "end": { "line": 137, "column": 35 } }, "left": { "type": "Identifier", "start": 3946, "end": 3952, "loc": { "start": { "line": 137, "column": 15 }, "end": { "line": 137, "column": 21 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 3957, "end": 3966, "loc": { "start": { "line": 137, "column": 26 }, "end": { "line": 137, "column": 35 } }, "extra": { "rawValue": "{enter}", "raw": "\"{enter}\"" }, "value": "{enter}" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 3970, "end": 3996, "loc": { "start": { "line": 137, "column": 39 }, "end": { "line": 137, "column": 65 } }, "left": { "type": "Identifier", "start": 3970, "end": 3976, "loc": { "start": { "line": 137, "column": 39 }, "end": { "line": 137, "column": 45 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 3981, "end": 3996, "loc": { "start": { "line": 137, "column": 50 }, "end": { "line": 137, "column": 65 } }, "extra": { "rawValue": "{numpadenter}", "raw": "\"{numpadenter}\"" }, "value": "{numpadenter}" } }, "extra": { "parenthesized": true, "parenStart": 3945 } }, "operator": "&&", "right": { "type": "MemberExpression", "start": 4001, "end": 4023, "loc": { "start": { "line": 137, "column": 70 }, "end": { "line": 137, "column": 92 } }, "object": { "type": "Identifier", "start": 4001, "end": 4008, "loc": { "start": { "line": 137, "column": 70 }, "end": { "line": 137, "column": 77 }, "identifierName": "options" }, "name": "options" }, "property": { "type": "Identifier", "start": 4009, "end": 4023, "loc": { "start": { "line": 137, "column": 78 }, "end": { "line": 137, "column": 92 }, "identifierName": "newLineOnEnter" }, "name": "newLineOnEnter" }, "computed": false } }, "consequent": { "type": "ExpressionStatement", "start": 4032, "end": 4082, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 56 } }, "expression": { "type": "AssignmentExpression", "start": 4032, "end": 4081, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 55 } }, "operator": "=", "left": { "type": "Identifier", "start": 4032, "end": 4038, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 4041, "end": 4081, "loc": { "start": { "line": 138, "column": 15 }, "end": { "line": 138, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 4041, "end": 4057, "loc": { "start": { "line": 138, "column": 15 }, "end": { "line": 138, "column": 31 } }, "object": { "type": "ThisExpression", "start": 4041, "end": 4045, "loc": { "start": { "line": 138, "column": 15 }, "end": { "line": 138, "column": 19 } } }, "property": { "type": "Identifier", "start": 4046, "end": 4057, "loc": { "start": { "line": 138, "column": 20 }, "end": { "line": 138, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4058, "end": 4064, "loc": { "start": { "line": 138, "column": 32 }, "end": { "line": 138, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "StringLiteral", "start": 4066, "end": 4070, "loc": { "start": { "line": 138, "column": 40 }, "end": { "line": 138, "column": 44 } }, "extra": { "rawValue": "\n", "raw": "\"\\n\"" }, "value": "\n" }, { "type": "Identifier", "start": 4072, "end": 4080, "loc": { "start": { "line": 138, "column": 46 }, "end": { "line": 138, "column": 54 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } }, "alternate": { "type": "IfStatement", "start": 4095, "end": 5001, "loc": { "start": { "line": 140, "column": 9 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "LogicalExpression", "start": 4098, "end": 4178, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "column": 92 } }, "left": { "type": "CallExpression", "start": 4098, "end": 4123, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 4098, "end": 4113, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "column": 27 } }, "object": { "type": "Identifier", "start": 4098, "end": 4104, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "column": 18 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 4105, "end": 4113, "loc": { "start": { "line": 140, "column": 19 }, "end": { "line": 140, "column": 27 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 4114, "end": 4122, "loc": { "start": { "line": 140, "column": 28 }, "end": { "line": 140, "column": 36 } }, "extra": { "rawValue": "numpad", "raw": "\"numpad\"" }, "value": "numpad" } ] }, "operator": "&&", "right": { "type": "CallExpression", "start": 4127, "end": 4178, "loc": { "start": { "line": 140, "column": 41 }, "end": { "line": 140, "column": 92 } }, "callee": { "type": "MemberExpression", "start": 4127, "end": 4143, "loc": { "start": { "line": 140, "column": 41 }, "end": { "line": 140, "column": 57 } }, "object": { "type": "Identifier", "start": 4127, "end": 4133, "loc": { "start": { "line": 140, "column": 41 }, "end": { "line": 140, "column": 47 }, "identifierName": "Number" }, "name": "Number" }, "property": { "type": "Identifier", "start": 4134, "end": 4143, "loc": { "start": { "line": 140, "column": 48 }, "end": { "line": 140, "column": 57 }, "identifierName": "isInteger" }, "name": "isInteger" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 4144, "end": 4177, "loc": { "start": { "line": 140, "column": 58 }, "end": { "line": 140, "column": 91 } }, "callee": { "type": "Identifier", "start": 4144, "end": 4150, "loc": { "start": { "line": 140, "column": 58 }, "end": { "line": 140, "column": 64 }, "identifierName": "Number" }, "name": "Number" }, "arguments": [ { "type": "MemberExpression", "start": 4151, "end": 4176, "loc": { "start": { "line": 140, "column": 65 }, "end": { "line": 140, "column": 90 } }, "object": { "type": "Identifier", "start": 4151, "end": 4157, "loc": { "start": { "line": 140, "column": 65 }, "end": { "line": 140, "column": 71 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "BinaryExpression", "start": 4158, "end": 4175, "loc": { "start": { "line": 140, "column": 72 }, "end": { "line": 140, "column": 89 } }, "left": { "type": "MemberExpression", "start": 4158, "end": 4171, "loc": { "start": { "line": 140, "column": 72 }, "end": { "line": 140, "column": 85 } }, "object": { "type": "Identifier", "start": 4158, "end": 4164, "loc": { "start": { "line": 140, "column": 72 }, "end": { "line": 140, "column": 78 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 4165, "end": 4171, "loc": { "start": { "line": 140, "column": 79 }, "end": { "line": 140, "column": 85 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 4174, "end": 4175, "loc": { "start": { "line": 140, "column": 88 }, "end": { "line": 140, "column": 89 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, "computed": true } ] } ] } }, "consequent": { "type": "BlockStatement", "start": 4179, "end": 4266, "loc": { "start": { "line": 140, "column": 93 }, "end": { "line": 142, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 4188, "end": 4259, "loc": { "start": { "line": 141, "column": 6 }, "end": { "line": 141, "column": 77 } }, "expression": { "type": "AssignmentExpression", "start": 4188, "end": 4258, "loc": { "start": { "line": 141, "column": 6 }, "end": { "line": 141, "column": 76 } }, "operator": "=", "left": { "type": "Identifier", "start": 4188, "end": 4194, "loc": { "start": { "line": 141, "column": 6 }, "end": { "line": 141, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 4197, "end": 4258, "loc": { "start": { "line": 141, "column": 15 }, "end": { "line": 141, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 4197, "end": 4213, "loc": { "start": { "line": 141, "column": 15 }, "end": { "line": 141, "column": 31 } }, "object": { "type": "ThisExpression", "start": 4197, "end": 4201, "loc": { "start": { "line": 141, "column": 15 }, "end": { "line": 141, "column": 19 } } }, "property": { "type": "Identifier", "start": 4202, "end": 4213, "loc": { "start": { "line": 141, "column": 20 }, "end": { "line": 141, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4214, "end": 4220, "loc": { "start": { "line": 141, "column": 32 }, "end": { "line": 141, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "MemberExpression", "start": 4222, "end": 4247, "loc": { "start": { "line": 141, "column": 40 }, "end": { "line": 141, "column": 65 } }, "object": { "type": "Identifier", "start": 4222, "end": 4228, "loc": { "start": { "line": 141, "column": 40 }, "end": { "line": 141, "column": 46 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "BinaryExpression", "start": 4229, "end": 4246, "loc": { "start": { "line": 141, "column": 47 }, "end": { "line": 141, "column": 64 } }, "left": { "type": "MemberExpression", "start": 4229, "end": 4242, "loc": { "start": { "line": 141, "column": 47 }, "end": { "line": 141, "column": 60 } }, "object": { "type": "Identifier", "start": 4229, "end": 4235, "loc": { "start": { "line": 141, "column": 47 }, "end": { "line": 141, "column": 53 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 4236, "end": 4242, "loc": { "start": { "line": 141, "column": 54 }, "end": { "line": 141, "column": 60 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 4245, "end": 4246, "loc": { "start": { "line": 141, "column": 63 }, "end": { "line": 141, "column": 64 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, "computed": true }, { "type": "Identifier", "start": 4249, "end": 4257, "loc": { "start": { "line": 141, "column": 67 }, "end": { "line": 141, "column": 75 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 4277, "end": 5001, "loc": { "start": { "line": 143, "column": 9 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "BinaryExpression", "start": 4280, "end": 4307, "loc": { "start": { "line": 143, "column": 12 }, "end": { "line": 143, "column": 39 } }, "left": { "type": "Identifier", "start": 4280, "end": 4286, "loc": { "start": { "line": 143, "column": 12 }, "end": { "line": 143, "column": 18 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 4291, "end": 4307, "loc": { "start": { "line": 143, "column": 23 }, "end": { "line": 143, "column": 39 } }, "extra": { "rawValue": "{numpaddivide}", "raw": "\"{numpaddivide}\"" }, "value": "{numpaddivide}" } }, "consequent": { "type": "ExpressionStatement", "start": 4316, "end": 4365, "loc": { "start": { "line": 144, "column": 6 }, "end": { "line": 144, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 4316, "end": 4364, "loc": { "start": { "line": 144, "column": 6 }, "end": { "line": 144, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 4316, "end": 4322, "loc": { "start": { "line": 144, "column": 6 }, "end": { "line": 144, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 4325, "end": 4364, "loc": { "start": { "line": 144, "column": 15 }, "end": { "line": 144, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 4325, "end": 4341, "loc": { "start": { "line": 144, "column": 15 }, "end": { "line": 144, "column": 31 } }, "object": { "type": "ThisExpression", "start": 4325, "end": 4329, "loc": { "start": { "line": 144, "column": 15 }, "end": { "line": 144, "column": 19 } } }, "property": { "type": "Identifier", "start": 4330, "end": 4341, "loc": { "start": { "line": 144, "column": 20 }, "end": { "line": 144, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4342, "end": 4348, "loc": { "start": { "line": 144, "column": 32 }, "end": { "line": 144, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "StringLiteral", "start": 4350, "end": 4353, "loc": { "start": { "line": 144, "column": 40 }, "end": { "line": 144, "column": 43 } }, "extra": { "rawValue": "/", "raw": "'/'" }, "value": "/" }, { "type": "Identifier", "start": 4355, "end": 4363, "loc": { "start": { "line": 144, "column": 45 }, "end": { "line": 144, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } }, "alternate": { "type": "IfStatement", "start": 4378, "end": 5001, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "BinaryExpression", "start": 4381, "end": 4410, "loc": { "start": { "line": 146, "column": 12 }, "end": { "line": 146, "column": 41 } }, "left": { "type": "Identifier", "start": 4381, "end": 4387, "loc": { "start": { "line": 146, "column": 12 }, "end": { "line": 146, "column": 18 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 4392, "end": 4410, "loc": { "start": { "line": 146, "column": 23 }, "end": { "line": 146, "column": 41 } }, "extra": { "rawValue": "{numpadmultiply}", "raw": "\"{numpadmultiply}\"" }, "value": "{numpadmultiply}" } }, "consequent": { "type": "ExpressionStatement", "start": 4419, "end": 4468, "loc": { "start": { "line": 147, "column": 6 }, "end": { "line": 147, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 4419, "end": 4467, "loc": { "start": { "line": 147, "column": 6 }, "end": { "line": 147, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 4419, "end": 4425, "loc": { "start": { "line": 147, "column": 6 }, "end": { "line": 147, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 4428, "end": 4467, "loc": { "start": { "line": 147, "column": 15 }, "end": { "line": 147, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 4428, "end": 4444, "loc": { "start": { "line": 147, "column": 15 }, "end": { "line": 147, "column": 31 } }, "object": { "type": "ThisExpression", "start": 4428, "end": 4432, "loc": { "start": { "line": 147, "column": 15 }, "end": { "line": 147, "column": 19 } } }, "property": { "type": "Identifier", "start": 4433, "end": 4444, "loc": { "start": { "line": 147, "column": 20 }, "end": { "line": 147, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4445, "end": 4451, "loc": { "start": { "line": 147, "column": 32 }, "end": { "line": 147, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "StringLiteral", "start": 4453, "end": 4456, "loc": { "start": { "line": 147, "column": 40 }, "end": { "line": 147, "column": 43 } }, "extra": { "rawValue": "*", "raw": "'*'" }, "value": "*" }, { "type": "Identifier", "start": 4458, "end": 4466, "loc": { "start": { "line": 147, "column": 45 }, "end": { "line": 147, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } }, "alternate": { "type": "IfStatement", "start": 4479, "end": 5001, "loc": { "start": { "line": 148, "column": 9 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "BinaryExpression", "start": 4482, "end": 4511, "loc": { "start": { "line": 148, "column": 12 }, "end": { "line": 148, "column": 41 } }, "left": { "type": "Identifier", "start": 4482, "end": 4488, "loc": { "start": { "line": 148, "column": 12 }, "end": { "line": 148, "column": 18 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 4493, "end": 4511, "loc": { "start": { "line": 148, "column": 23 }, "end": { "line": 148, "column": 41 } }, "extra": { "rawValue": "{numpadsubtract}", "raw": "\"{numpadsubtract}\"" }, "value": "{numpadsubtract}" } }, "consequent": { "type": "ExpressionStatement", "start": 4520, "end": 4569, "loc": { "start": { "line": 149, "column": 6 }, "end": { "line": 149, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 4520, "end": 4568, "loc": { "start": { "line": 149, "column": 6 }, "end": { "line": 149, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 4520, "end": 4526, "loc": { "start": { "line": 149, "column": 6 }, "end": { "line": 149, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 4529, "end": 4568, "loc": { "start": { "line": 149, "column": 15 }, "end": { "line": 149, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 4529, "end": 4545, "loc": { "start": { "line": 149, "column": 15 }, "end": { "line": 149, "column": 31 } }, "object": { "type": "ThisExpression", "start": 4529, "end": 4533, "loc": { "start": { "line": 149, "column": 15 }, "end": { "line": 149, "column": 19 } } }, "property": { "type": "Identifier", "start": 4534, "end": 4545, "loc": { "start": { "line": 149, "column": 20 }, "end": { "line": 149, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4546, "end": 4552, "loc": { "start": { "line": 149, "column": 32 }, "end": { "line": 149, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "StringLiteral", "start": 4554, "end": 4557, "loc": { "start": { "line": 149, "column": 40 }, "end": { "line": 149, "column": 43 } }, "extra": { "rawValue": "-", "raw": "'-'" }, "value": "-" }, { "type": "Identifier", "start": 4559, "end": 4567, "loc": { "start": { "line": 149, "column": 45 }, "end": { "line": 149, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } }, "alternate": { "type": "IfStatement", "start": 4582, "end": 5001, "loc": { "start": { "line": 151, "column": 9 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "BinaryExpression", "start": 4585, "end": 4609, "loc": { "start": { "line": 151, "column": 12 }, "end": { "line": 151, "column": 36 } }, "left": { "type": "Identifier", "start": 4585, "end": 4591, "loc": { "start": { "line": 151, "column": 12 }, "end": { "line": 151, "column": 18 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 4596, "end": 4609, "loc": { "start": { "line": 151, "column": 23 }, "end": { "line": 151, "column": 36 } }, "extra": { "rawValue": "{numpadadd}", "raw": "\"{numpadadd}\"" }, "value": "{numpadadd}" } }, "consequent": { "type": "ExpressionStatement", "start": 4618, "end": 4667, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 4618, "end": 4666, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 4618, "end": 4624, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 4627, "end": 4666, "loc": { "start": { "line": 152, "column": 15 }, "end": { "line": 152, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 4627, "end": 4643, "loc": { "start": { "line": 152, "column": 15 }, "end": { "line": 152, "column": 31 } }, "object": { "type": "ThisExpression", "start": 4627, "end": 4631, "loc": { "start": { "line": 152, "column": 15 }, "end": { "line": 152, "column": 19 } } }, "property": { "type": "Identifier", "start": 4632, "end": 4643, "loc": { "start": { "line": 152, "column": 20 }, "end": { "line": 152, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4644, "end": 4650, "loc": { "start": { "line": 152, "column": 32 }, "end": { "line": 152, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "StringLiteral", "start": 4652, "end": 4655, "loc": { "start": { "line": 152, "column": 40 }, "end": { "line": 152, "column": 43 } }, "extra": { "rawValue": "+", "raw": "'+'" }, "value": "+" }, { "type": "Identifier", "start": 4657, "end": 4665, "loc": { "start": { "line": 152, "column": 45 }, "end": { "line": 152, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } }, "alternate": { "type": "IfStatement", "start": 4680, "end": 5001, "loc": { "start": { "line": 154, "column": 9 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "BinaryExpression", "start": 4683, "end": 4711, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 40 } }, "left": { "type": "Identifier", "start": 4683, "end": 4689, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 18 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 4694, "end": 4711, "loc": { "start": { "line": 154, "column": 23 }, "end": { "line": 154, "column": 40 } }, "extra": { "rawValue": "{numpaddecimal}", "raw": "\"{numpaddecimal}\"" }, "value": "{numpaddecimal}" } }, "consequent": { "type": "ExpressionStatement", "start": 4720, "end": 4769, "loc": { "start": { "line": 155, "column": 6 }, "end": { "line": 155, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 4720, "end": 4768, "loc": { "start": { "line": 155, "column": 6 }, "end": { "line": 155, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 4720, "end": 4726, "loc": { "start": { "line": 155, "column": 6 }, "end": { "line": 155, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 4729, "end": 4768, "loc": { "start": { "line": 155, "column": 15 }, "end": { "line": 155, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 4729, "end": 4745, "loc": { "start": { "line": 155, "column": 15 }, "end": { "line": 155, "column": 31 } }, "object": { "type": "ThisExpression", "start": 4729, "end": 4733, "loc": { "start": { "line": 155, "column": 15 }, "end": { "line": 155, "column": 19 } } }, "property": { "type": "Identifier", "start": 4734, "end": 4745, "loc": { "start": { "line": 155, "column": 20 }, "end": { "line": 155, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4746, "end": 4752, "loc": { "start": { "line": 155, "column": 32 }, "end": { "line": 155, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "StringLiteral", "start": 4754, "end": 4757, "loc": { "start": { "line": 155, "column": 40 }, "end": { "line": 155, "column": 43 } }, "extra": { "rawValue": ".", "raw": "'.'" }, "value": "." }, { "type": "Identifier", "start": 4759, "end": 4767, "loc": { "start": { "line": 155, "column": 45 }, "end": { "line": 155, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } }, "alternate": { "type": "IfStatement", "start": 4782, "end": 5001, "loc": { "start": { "line": 157, "column": 9 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "LogicalExpression", "start": 4785, "end": 4817, "loc": { "start": { "line": 157, "column": 12 }, "end": { "line": 157, "column": 44 } }, "left": { "type": "BinaryExpression", "start": 4785, "end": 4799, "loc": { "start": { "line": 157, "column": 12 }, "end": { "line": 157, "column": 26 } }, "left": { "type": "Identifier", "start": 4785, "end": 4791, "loc": { "start": { "line": 157, "column": 12 }, "end": { "line": 157, "column": 18 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 4796, "end": 4799, "loc": { "start": { "line": 157, "column": 23 }, "end": { "line": 157, "column": 26 } }, "extra": { "rawValue": "{", "raw": "\"{\"" }, "value": "{" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 4803, "end": 4817, "loc": { "start": { "line": 157, "column": 30 }, "end": { "line": 157, "column": 44 } }, "left": { "type": "Identifier", "start": 4803, "end": 4809, "loc": { "start": { "line": 157, "column": 30 }, "end": { "line": 157, "column": 36 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 4814, "end": 4817, "loc": { "start": { "line": 157, "column": 41 }, "end": { "line": 157, "column": 44 } }, "extra": { "rawValue": "}", "raw": "\"}\"" }, "value": "}" } } }, "consequent": { "type": "ExpressionStatement", "start": 4826, "end": 4878, "loc": { "start": { "line": 158, "column": 6 }, "end": { "line": 158, "column": 58 } }, "expression": { "type": "AssignmentExpression", "start": 4826, "end": 4877, "loc": { "start": { "line": 158, "column": 6 }, "end": { "line": 158, "column": 57 } }, "operator": "=", "left": { "type": "Identifier", "start": 4826, "end": 4832, "loc": { "start": { "line": 158, "column": 6 }, "end": { "line": 158, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 4835, "end": 4877, "loc": { "start": { "line": 158, "column": 15 }, "end": { "line": 158, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 4835, "end": 4851, "loc": { "start": { "line": 158, "column": 15 }, "end": { "line": 158, "column": 31 } }, "object": { "type": "ThisExpression", "start": 4835, "end": 4839, "loc": { "start": { "line": 158, "column": 15 }, "end": { "line": 158, "column": 19 } } }, "property": { "type": "Identifier", "start": 4840, "end": 4851, "loc": { "start": { "line": 158, "column": 20 }, "end": { "line": 158, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4852, "end": 4858, "loc": { "start": { "line": 158, "column": 32 }, "end": { "line": 158, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "Identifier", "start": 4860, "end": 4866, "loc": { "start": { "line": 158, "column": 40 }, "end": { "line": 158, "column": 46 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 4868, "end": 4876, "loc": { "start": { "line": 158, "column": 48 }, "end": { "line": 158, "column": 56 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } }, "alternate": { "type": "IfStatement", "start": 4891, "end": 5001, "loc": { "start": { "line": 160, "column": 9 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "LogicalExpression", "start": 4894, "end": 4940, "loc": { "start": { "line": 160, "column": 12 }, "end": { "line": 160, "column": 58 } }, "left": { "type": "UnaryExpression", "start": 4894, "end": 4915, "loc": { "start": { "line": 160, "column": 12 }, "end": { "line": 160, "column": 33 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 4895, "end": 4915, "loc": { "start": { "line": 160, "column": 13 }, "end": { "line": 160, "column": 33 } }, "callee": { "type": "MemberExpression", "start": 4895, "end": 4910, "loc": { "start": { "line": 160, "column": 13 }, "end": { "line": 160, "column": 28 } }, "object": { "type": "Identifier", "start": 4895, "end": 4901, "loc": { "start": { "line": 160, "column": 13 }, "end": { "line": 160, "column": 19 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 4902, "end": 4910, "loc": { "start": { "line": 160, "column": 20 }, "end": { "line": 160, "column": 28 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 4911, "end": 4914, "loc": { "start": { "line": 160, "column": 29 }, "end": { "line": 160, "column": 32 } }, "extra": { "rawValue": "{", "raw": "\"{\"" }, "value": "{" } ] }, "extra": { "parenthesizedArgument": false } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 4919, "end": 4940, "loc": { "start": { "line": 160, "column": 37 }, "end": { "line": 160, "column": 58 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 4920, "end": 4940, "loc": { "start": { "line": 160, "column": 38 }, "end": { "line": 160, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 4920, "end": 4935, "loc": { "start": { "line": 160, "column": 38 }, "end": { "line": 160, "column": 53 } }, "object": { "type": "Identifier", "start": 4920, "end": 4926, "loc": { "start": { "line": 160, "column": 38 }, "end": { "line": 160, "column": 44 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 4927, "end": 4935, "loc": { "start": { "line": 160, "column": 45 }, "end": { "line": 160, "column": 53 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 4936, "end": 4939, "loc": { "start": { "line": 160, "column": 54 }, "end": { "line": 160, "column": 57 } }, "extra": { "rawValue": "}", "raw": "\"}\"" }, "value": "}" } ] }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "ExpressionStatement", "start": 4949, "end": 5001, "loc": { "start": { "line": 161, "column": 6 }, "end": { "line": 161, "column": 58 } }, "expression": { "type": "AssignmentExpression", "start": 4949, "end": 5000, "loc": { "start": { "line": 161, "column": 6 }, "end": { "line": 161, "column": 57 } }, "operator": "=", "left": { "type": "Identifier", "start": 4949, "end": 4955, "loc": { "start": { "line": 161, "column": 6 }, "end": { "line": 161, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 4958, "end": 5000, "loc": { "start": { "line": 161, "column": 15 }, "end": { "line": 161, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 4958, "end": 4974, "loc": { "start": { "line": 161, "column": 15 }, "end": { "line": 161, "column": 31 } }, "object": { "type": "ThisExpression", "start": 4958, "end": 4962, "loc": { "start": { "line": 161, "column": 15 }, "end": { "line": 161, "column": 19 } } }, "property": { "type": "Identifier", "start": 4963, "end": 4974, "loc": { "start": { "line": 161, "column": 20 }, "end": { "line": 161, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4975, "end": 4981, "loc": { "start": { "line": 161, "column": 32 }, "end": { "line": 161, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "Identifier", "start": 4983, "end": 4989, "loc": { "start": { "line": 161, "column": 40 }, "end": { "line": 161, "column": 46 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 4991, "end": 4999, "loc": { "start": { "line": 161, "column": 48 }, "end": { "line": 161, "column": 56 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } }, "alternate": null } } } } } } } } } } } }, { "type": "ReturnStatement", "start": 5009, "end": 5023, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 163, "column": 18 } }, "argument": { "type": "Identifier", "start": 5016, "end": 5022, "loc": { "start": { "line": 163, "column": 11 }, "end": { "line": 163, "column": 17 }, "identifierName": "output" }, "name": "output" } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n ", "start": 3114, "end": 3431, "loc": { "start": { "line": 116, "column": 2 }, "end": { "line": 123, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Moves the cursor position by a given amount\r\n * \r\n * @param {number} length Represents by how many characters the input should be moved\r\n * @param {boolean} minus Whether the cursor should be moved to the left or not.\r\n ", "start": 5032, "end": 5274, "loc": { "start": { "line": 165, "column": 2 }, "end": { "line": 170, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 5278, "end": 5621, "loc": { "start": { "line": 171, "column": 2 }, "end": { "line": 178, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5278, "end": 5292, "loc": { "start": { "line": 171, "column": 2 }, "end": { "line": 171, "column": 16 }, "identifierName": "updateCaretPos" }, "name": "updateCaretPos", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 5295, "end": 5621, "loc": { "start": { "line": 171, "column": 19 }, "end": { "line": 178, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 5296, "end": 5302, "loc": { "start": { "line": 171, "column": 20 }, "end": { "line": 171, "column": 26 }, "identifierName": "length" }, "name": "length" }, { "type": "Identifier", "start": 5304, "end": 5309, "loc": { "start": { "line": 171, "column": 28 }, "end": { "line": 171, "column": 33 }, "identifierName": "minus" }, "name": "minus" } ], "body": { "type": "BlockStatement", "start": 5314, "end": 5621, "loc": { "start": { "line": 171, "column": 38 }, "end": { "line": 178, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 5321, "end": 5616, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 177, "column": 5 } }, "test": { "type": "Identifier", "start": 5324, "end": 5329, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 12 }, "identifierName": "minus" }, "name": "minus" }, "consequent": { "type": "BlockStatement", "start": 5330, "end": 5499, "loc": { "start": { "line": 172, "column": 13 }, "end": { "line": 175, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 5339, "end": 5492, "loc": { "start": { "line": 173, "column": 6 }, "end": { "line": 174, "column": 102 } }, "test": { "type": "BinaryExpression", "start": 5342, "end": 5387, "loc": { "start": { "line": 173, "column": 9 }, "end": { "line": 173, "column": 54 } }, "left": { "type": "MemberExpression", "start": 5342, "end": 5383, "loc": { "start": { "line": 173, "column": 9 }, "end": { "line": 173, "column": 50 } }, "object": { "type": "MemberExpression", "start": 5342, "end": 5369, "loc": { "start": { "line": 173, "column": 9 }, "end": { "line": 173, "column": 36 } }, "object": { "type": "ThisExpression", "start": 5342, "end": 5346, "loc": { "start": { "line": 173, "column": 9 }, "end": { "line": 173, "column": 13 } } }, "property": { "type": "Identifier", "start": 5347, "end": 5369, "loc": { "start": { "line": 173, "column": 14 }, "end": { "line": 173, "column": 36 }, "identifierName": "simpleKeyboardInstance" }, "name": "simpleKeyboardInstance" }, "computed": false }, "property": { "type": "Identifier", "start": 5370, "end": 5383, "loc": { "start": { "line": 173, "column": 37 }, "end": { "line": 173, "column": 50 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 5386, "end": 5387, "loc": { "start": { "line": 173, "column": 53 }, "end": { "line": 173, "column": 54 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "ExpressionStatement", "start": 5398, "end": 5492, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 102 } }, "expression": { "type": "AssignmentExpression", "start": 5398, "end": 5492, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 102 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5398, "end": 5439, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 49 } }, "object": { "type": "MemberExpression", "start": 5398, "end": 5425, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 35 } }, "object": { "type": "ThisExpression", "start": 5398, "end": 5402, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 12 } } }, "property": { "type": "Identifier", "start": 5403, "end": 5425, "loc": { "start": { "line": 174, "column": 13 }, "end": { "line": 174, "column": 35 }, "identifierName": "simpleKeyboardInstance" }, "name": "simpleKeyboardInstance" }, "computed": false }, "property": { "type": "Identifier", "start": 5426, "end": 5439, "loc": { "start": { "line": 174, "column": 36 }, "end": { "line": 174, "column": 49 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 5442, "end": 5492, "loc": { "start": { "line": 174, "column": 52 }, "end": { "line": 174, "column": 102 } }, "left": { "type": "MemberExpression", "start": 5442, "end": 5483, "loc": { "start": { "line": 174, "column": 52 }, "end": { "line": 174, "column": 93 } }, "object": { "type": "MemberExpression", "start": 5442, "end": 5469, "loc": { "start": { "line": 174, "column": 52 }, "end": { "line": 174, "column": 79 } }, "object": { "type": "ThisExpression", "start": 5442, "end": 5446, "loc": { "start": { "line": 174, "column": 52 }, "end": { "line": 174, "column": 56 } } }, "property": { "type": "Identifier", "start": 5447, "end": 5469, "loc": { "start": { "line": 174, "column": 57 }, "end": { "line": 174, "column": 79 }, "identifierName": "simpleKeyboardInstance" }, "name": "simpleKeyboardInstance" }, "computed": false }, "property": { "type": "Identifier", "start": 5470, "end": 5483, "loc": { "start": { "line": 174, "column": 80 }, "end": { "line": 174, "column": 93 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false }, "operator": "-", "right": { "type": "Identifier", "start": 5486, "end": 5492, "loc": { "start": { "line": 174, "column": 96 }, "end": { "line": 174, "column": 102 }, "identifierName": "length" }, "name": "length" } } } }, "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 5505, "end": 5616, "loc": { "start": { "line": 175, "column": 11 }, "end": { "line": 177, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5514, "end": 5609, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 101 } }, "expression": { "type": "AssignmentExpression", "start": 5514, "end": 5608, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 100 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5514, "end": 5555, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 47 } }, "object": { "type": "MemberExpression", "start": 5514, "end": 5541, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 33 } }, "object": { "type": "ThisExpression", "start": 5514, "end": 5518, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 10 } } }, "property": { "type": "Identifier", "start": 5519, "end": 5541, "loc": { "start": { "line": 176, "column": 11 }, "end": { "line": 176, "column": 33 }, "identifierName": "simpleKeyboardInstance" }, "name": "simpleKeyboardInstance" }, "computed": false }, "property": { "type": "Identifier", "start": 5542, "end": 5555, "loc": { "start": { "line": 176, "column": 34 }, "end": { "line": 176, "column": 47 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 5558, "end": 5608, "loc": { "start": { "line": 176, "column": 50 }, "end": { "line": 176, "column": 100 } }, "left": { "type": "MemberExpression", "start": 5558, "end": 5599, "loc": { "start": { "line": 176, "column": 50 }, "end": { "line": 176, "column": 91 } }, "object": { "type": "MemberExpression", "start": 5558, "end": 5585, "loc": { "start": { "line": 176, "column": 50 }, "end": { "line": 176, "column": 77 } }, "object": { "type": "ThisExpression", "start": 5558, "end": 5562, "loc": { "start": { "line": 176, "column": 50 }, "end": { "line": 176, "column": 54 } } }, "property": { "type": "Identifier", "start": 5563, "end": 5585, "loc": { "start": { "line": 176, "column": 55 }, "end": { "line": 176, "column": 77 }, "identifierName": "simpleKeyboardInstance" }, "name": "simpleKeyboardInstance" }, "computed": false }, "property": { "type": "Identifier", "start": 5586, "end": 5599, "loc": { "start": { "line": 176, "column": 78 }, "end": { "line": 176, "column": 91 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false }, "operator": "+", "right": { "type": "Identifier", "start": 5602, "end": 5608, "loc": { "start": { "line": 176, "column": 94 }, "end": { "line": 176, "column": 100 }, "identifierName": "length" }, "name": "length" } } } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Moves the cursor position by a given amount\r\n * \r\n * @param {number} length Represents by how many characters the input should be moved\r\n * @param {boolean} minus Whether the cursor should be moved to the left or not.\r\n ", "start": 5032, "end": 5274, "loc": { "start": { "line": 165, "column": 2 }, "end": { "line": 170, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n ", "start": 5627, "end": 5879, "loc": { "start": { "line": 180, "column": 2 }, "end": { "line": 186, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 5883, "end": 6428, "loc": { "start": { "line": 187, "column": 2 }, "end": { "line": 209, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5883, "end": 5894, "loc": { "start": { "line": 187, "column": 2 }, "end": { "line": 187, "column": 13 }, "identifierName": "addStringAt" }, "name": "addStringAt", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 5895, "end": 5901, "loc": { "start": { "line": 187, "column": 14 }, "end": { "line": 187, "column": 20 }, "identifierName": "source" }, "name": "source" }, { "type": "Identifier", "start": 5903, "end": 5909, "loc": { "start": { "line": 187, "column": 22 }, "end": { "line": 187, "column": 28 }, "identifierName": "string" }, "name": "string" }, { "type": "Identifier", "start": 5911, "end": 5919, "loc": { "start": { "line": 187, "column": 30 }, "end": { "line": 187, "column": 38 }, "identifierName": "position" }, "name": "position" } ], "body": { "type": "BlockStatement", "start": 5920, "end": 6428, "loc": { "start": { "line": 187, "column": 39 }, "end": { "line": 209, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 5927, "end": 5938, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5931, "end": 5937, "loc": { "start": { "line": 188, "column": 8 }, "end": { "line": 188, "column": 14 } }, "id": { "type": "Identifier", "start": 5931, "end": 5937, "loc": { "start": { "line": 188, "column": 8 }, "end": { "line": 188, "column": 14 }, "identifierName": "output" }, "name": "output" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 5946, "end": 6042, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 192, "column": 5 } }, "test": { "type": "MemberExpression", "start": 5949, "end": 5990, "loc": { "start": { "line": 190, "column": 7 }, "end": { "line": 190, "column": 48 } }, "object": { "type": "MemberExpression", "start": 5949, "end": 5984, "loc": { "start": { "line": 190, "column": 7 }, "end": { "line": 190, "column": 42 } }, "object": { "type": "MemberExpression", "start": 5949, "end": 5976, "loc": { "start": { "line": 190, "column": 7 }, "end": { "line": 190, "column": 34 } }, "object": { "type": "ThisExpression", "start": 5949, "end": 5953, "loc": { "start": { "line": 190, "column": 7 }, "end": { "line": 190, "column": 11 } } }, "property": { "type": "Identifier", "start": 5954, "end": 5976, "loc": { "start": { "line": 190, "column": 12 }, "end": { "line": 190, "column": 34 }, "identifierName": "simpleKeyboardInstance" }, "name": "simpleKeyboardInstance" }, "computed": false }, "property": { "type": "Identifier", "start": 5977, "end": 5984, "loc": { "start": { "line": 190, "column": 35 }, "end": { "line": 190, "column": 42 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 5985, "end": 5990, "loc": { "start": { "line": 190, "column": 43 }, "end": { "line": 190, "column": 48 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 5991, "end": 6042, "loc": { "start": { "line": 190, "column": 49 }, "end": { "line": 192, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6000, "end": 6035, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 191, "column": 41 } }, "expression": { "type": "CallExpression", "start": 6000, "end": 6034, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 191, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 6000, "end": 6011, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 191, "column": 17 } }, "object": { "type": "Identifier", "start": 6000, "end": 6007, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 191, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 6008, "end": 6011, "loc": { "start": { "line": 191, "column": 14 }, "end": { "line": 191, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6012, "end": 6023, "loc": { "start": { "line": 191, "column": 18 }, "end": { "line": 191, "column": 29 } }, "extra": { "rawValue": "Caret at:", "raw": "\"Caret at:\"" }, "value": "Caret at:" }, { "type": "Identifier", "start": 6025, "end": 6033, "loc": { "start": { "line": 191, "column": 31 }, "end": { "line": 191, "column": 39 }, "identifierName": "position" }, "name": "position" } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 6050, "end": 6401, "loc": { "start": { "line": 194, "column": 4 }, "end": { "line": 206, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 6053, "end": 6080, "loc": { "start": { "line": 194, "column": 7 }, "end": { "line": 194, "column": 34 } }, "left": { "type": "UnaryExpression", "start": 6053, "end": 6062, "loc": { "start": { "line": 194, "column": 7 }, "end": { "line": 194, "column": 16 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 6054, "end": 6062, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 16 }, "identifierName": "position" }, "name": "position" }, "extra": { "parenthesizedArgument": false } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 6066, "end": 6080, "loc": { "start": { "line": 194, "column": 20 }, "end": { "line": 194, "column": 34 } }, "left": { "type": "Identifier", "start": 6066, "end": 6074, "loc": { "start": { "line": 194, "column": 20 }, "end": { "line": 194, "column": 28 }, "identifierName": "position" }, "name": "position" }, "operator": "!==", "right": { "type": "NumericLiteral", "start": 6079, "end": 6080, "loc": { "start": { "line": 194, "column": 33 }, "end": { "line": 194, "column": 34 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, "consequent": { "type": "BlockStatement", "start": 6081, "end": 6122, "loc": { "start": { "line": 194, "column": 35 }, "end": { "line": 196, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6090, "end": 6115, "loc": { "start": { "line": 195, "column": 6 }, "end": { "line": 195, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 6090, "end": 6114, "loc": { "start": { "line": 195, "column": 6 }, "end": { "line": 195, "column": 30 } }, "operator": "=", "left": { "type": "Identifier", "start": 6090, "end": 6096, "loc": { "start": { "line": 195, "column": 6 }, "end": { "line": 195, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "BinaryExpression", "start": 6099, "end": 6114, "loc": { "start": { "line": 195, "column": 15 }, "end": { "line": 195, "column": 30 } }, "left": { "type": "Identifier", "start": 6099, "end": 6105, "loc": { "start": { "line": 195, "column": 15 }, "end": { "line": 195, "column": 21 }, "identifierName": "source" }, "name": "source" }, "operator": "+", "right": { "type": "Identifier", "start": 6108, "end": 6114, "loc": { "start": { "line": 195, "column": 24 }, "end": { "line": 195, "column": 30 }, "identifierName": "string" }, "name": "string" } } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 6128, "end": 6401, "loc": { "start": { "line": 196, "column": 11 }, "end": { "line": 206, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6137, "end": 6215, "loc": { "start": { "line": 197, "column": 6 }, "end": { "line": 197, "column": 84 } }, "expression": { "type": "AssignmentExpression", "start": 6137, "end": 6214, "loc": { "start": { "line": 197, "column": 6 }, "end": { "line": 197, "column": 83 } }, "operator": "=", "left": { "type": "Identifier", "start": 6137, "end": 6143, "loc": { "start": { "line": 197, "column": 6 }, "end": { "line": 197, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 6146, "end": 6214, "loc": { "start": { "line": 197, "column": 15 }, "end": { "line": 197, "column": 83 } }, "callee": { "type": "MemberExpression", "start": 6146, "end": 6210, "loc": { "start": { "line": 197, "column": 15 }, "end": { "line": 197, "column": 79 } }, "object": { "type": "ArrayExpression", "start": 6146, "end": 6205, "loc": { "start": { "line": 197, "column": 15 }, "end": { "line": 197, "column": 74 } }, "elements": [ { "type": "CallExpression", "start": 6147, "end": 6172, "loc": { "start": { "line": 197, "column": 16 }, "end": { "line": 197, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 6147, "end": 6159, "loc": { "start": { "line": 197, "column": 16 }, "end": { "line": 197, "column": 28 } }, "object": { "type": "Identifier", "start": 6147, "end": 6153, "loc": { "start": { "line": 197, "column": 16 }, "end": { "line": 197, "column": 22 }, "identifierName": "source" }, "name": "source" }, "property": { "type": "Identifier", "start": 6154, "end": 6159, "loc": { "start": { "line": 197, "column": 23 }, "end": { "line": 197, "column": 28 }, "identifierName": "slice" }, "name": "slice" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 6160, "end": 6161, "loc": { "start": { "line": 197, "column": 29 }, "end": { "line": 197, "column": 30 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 6163, "end": 6171, "loc": { "start": { "line": 197, "column": 32 }, "end": { "line": 197, "column": 40 }, "identifierName": "position" }, "name": "position" } ] }, { "type": "Identifier", "start": 6174, "end": 6180, "loc": { "start": { "line": 197, "column": 43 }, "end": { "line": 197, "column": 49 }, "identifierName": "string" }, "name": "string" }, { "type": "CallExpression", "start": 6182, "end": 6204, "loc": { "start": { "line": 197, "column": 51 }, "end": { "line": 197, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 6182, "end": 6194, "loc": { "start": { "line": 197, "column": 51 }, "end": { "line": 197, "column": 63 } }, "object": { "type": "Identifier", "start": 6182, "end": 6188, "loc": { "start": { "line": 197, "column": 51 }, "end": { "line": 197, "column": 57 }, "identifierName": "source" }, "name": "source" }, "property": { "type": "Identifier", "start": 6189, "end": 6194, "loc": { "start": { "line": 197, "column": 58 }, "end": { "line": 197, "column": 63 }, "identifierName": "slice" }, "name": "slice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6195, "end": 6203, "loc": { "start": { "line": 197, "column": 64 }, "end": { "line": 197, "column": 72 }, "identifierName": "position" }, "name": "position" } ] } ] }, "property": { "type": "Identifier", "start": 6206, "end": 6210, "loc": { "start": { "line": 197, "column": 75 }, "end": { "line": 197, "column": 79 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6211, "end": 6213, "loc": { "start": { "line": 197, "column": 80 }, "end": { "line": 197, "column": 82 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } ] } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Avoid caret position change when maxLength is set\r\n ", "start": 6225, "end": 6299, "loc": { "start": { "line": 199, "column": 6 }, "end": { "line": 201, "column": 9 } } } ] }, { "type": "IfStatement", "start": 6307, "end": 6392, "loc": { "start": { "line": 202, "column": 6 }, "end": { "line": 204, "column": 7 } }, "test": { "type": "UnaryExpression", "start": 6310, "end": 6336, "loc": { "start": { "line": 202, "column": 9 }, "end": { "line": 202, "column": 35 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 6311, "end": 6336, "loc": { "start": { "line": 202, "column": 10 }, "end": { "line": 202, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 6311, "end": 6334, "loc": { "start": { "line": 202, "column": 10 }, "end": { "line": 202, "column": 33 } }, "object": { "type": "ThisExpression", "start": 6311, "end": 6315, "loc": { "start": { "line": 202, "column": 10 }, "end": { "line": 202, "column": 14 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6316, "end": 6334, "loc": { "start": { "line": 202, "column": 15 }, "end": { "line": 202, "column": 33 }, "identifierName": "isMaxLengthReached" }, "name": "isMaxLengthReached" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 6337, "end": 6392, "loc": { "start": { "line": 202, "column": 36 }, "end": { "line": 204, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 6348, "end": 6383, "loc": { "start": { "line": 203, "column": 8 }, "end": { "line": 203, "column": 43 } }, "expression": { "type": "CallExpression", "start": 6348, "end": 6382, "loc": { "start": { "line": 203, "column": 8 }, "end": { "line": 203, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 6348, "end": 6367, "loc": { "start": { "line": 203, "column": 8 }, "end": { "line": 203, "column": 27 } }, "object": { "type": "ThisExpression", "start": 6348, "end": 6352, "loc": { "start": { "line": 203, "column": 8 }, "end": { "line": 203, "column": 12 } } }, "property": { "type": "Identifier", "start": 6353, "end": 6367, "loc": { "start": { "line": 203, "column": 13 }, "end": { "line": 203, "column": 27 }, "identifierName": "updateCaretPos" }, "name": "updateCaretPos" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 6368, "end": 6381, "loc": { "start": { "line": 203, "column": 28 }, "end": { "line": 203, "column": 41 } }, "object": { "type": "Identifier", "start": 6368, "end": 6374, "loc": { "start": { "line": 203, "column": 28 }, "end": { "line": 203, "column": 34 }, "identifierName": "string" }, "name": "string" }, "property": { "type": "Identifier", "start": 6375, "end": 6381, "loc": { "start": { "line": 203, "column": 35 }, "end": { "line": 203, "column": 41 }, "identifierName": "length" }, "name": "length" }, "computed": false } ] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Avoid caret position change when maxLength is set\r\n ", "start": 6225, "end": 6299, "loc": { "start": { "line": 199, "column": 6 }, "end": { "line": 201, "column": 9 } } } ] } ], "directives": [] } }, { "type": "ReturnStatement", "start": 6409, "end": 6423, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 208, "column": 18 } }, "argument": { "type": "Identifier", "start": 6416, "end": 6422, "loc": { "start": { "line": 208, "column": 11 }, "end": { "line": 208, "column": 17 }, "identifierName": "output" }, "name": "output" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n ", "start": 5627, "end": 5879, "loc": { "start": { "line": 180, "column": 2 }, "end": { "line": 186, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n ", "start": 6434, "end": 6654, "loc": { "start": { "line": 211, "column": 2 }, "end": { "line": 216, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 6658, "end": 7888, "loc": { "start": { "line": 217, "column": 2 }, "end": { "line": 256, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6658, "end": 6666, "loc": { "start": { "line": 217, "column": 2 }, "end": { "line": 217, "column": 10 }, "identifierName": "removeAt" }, "name": "removeAt", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6667, "end": 6673, "loc": { "start": { "line": 217, "column": 11 }, "end": { "line": 217, "column": 17 }, "identifierName": "source" }, "name": "source" }, { "type": "Identifier", "start": 6675, "end": 6683, "loc": { "start": { "line": 217, "column": 19 }, "end": { "line": 217, "column": 27 }, "identifierName": "position" }, "name": "position" } ], "body": { "type": "BlockStatement", "start": 6684, "end": 7888, "loc": { "start": { "line": 217, "column": 28 }, "end": { "line": 256, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 6691, "end": 6772, "loc": { "start": { "line": 218, "column": 4 }, "end": { "line": 220, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 6694, "end": 6741, "loc": { "start": { "line": 218, "column": 7 }, "end": { "line": 218, "column": 54 } }, "left": { "type": "MemberExpression", "start": 6694, "end": 6735, "loc": { "start": { "line": 218, "column": 7 }, "end": { "line": 218, "column": 48 } }, "object": { "type": "MemberExpression", "start": 6694, "end": 6721, "loc": { "start": { "line": 218, "column": 7 }, "end": { "line": 218, "column": 34 } }, "object": { "type": "ThisExpression", "start": 6694, "end": 6698, "loc": { "start": { "line": 218, "column": 7 }, "end": { "line": 218, "column": 11 } } }, "property": { "type": "Identifier", "start": 6699, "end": 6721, "loc": { "start": { "line": 218, "column": 12 }, "end": { "line": 218, "column": 34 }, "identifierName": "simpleKeyboardInstance" }, "name": "simpleKeyboardInstance" }, "computed": false }, "property": { "type": "Identifier", "start": 6722, "end": 6735, "loc": { "start": { "line": 218, "column": 35 }, "end": { "line": 218, "column": 48 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 6740, "end": 6741, "loc": { "start": { "line": 218, "column": 53 }, "end": { "line": 218, "column": 54 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 6742, "end": 6772, "loc": { "start": { "line": 218, "column": 55 }, "end": { "line": 220, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 6751, "end": 6765, "loc": { "start": { "line": 219, "column": 6 }, "end": { "line": 219, "column": 20 } }, "argument": { "type": "Identifier", "start": 6758, "end": 6764, "loc": { "start": { "line": 219, "column": 13 }, "end": { "line": 219, "column": 19 }, "identifierName": "source" }, "name": "source" } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 6780, "end": 6791, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6784, "end": 6790, "loc": { "start": { "line": 222, "column": 8 }, "end": { "line": 222, "column": 14 } }, "id": { "type": "Identifier", "start": 6784, "end": 6790, "loc": { "start": { "line": 222, "column": 8 }, "end": { "line": 222, "column": 14 }, "identifierName": "output" }, "name": "output" }, "init": null } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 6797, "end": 6814, "loc": { "start": { "line": 223, "column": 4 }, "end": { "line": 223, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6801, "end": 6813, "loc": { "start": { "line": 223, "column": 8 }, "end": { "line": 223, "column": 20 } }, "id": { "type": "Identifier", "start": 6801, "end": 6813, "loc": { "start": { "line": 223, "column": 8 }, "end": { "line": 223, "column": 20 }, "identifierName": "prevTwoChars" }, "name": "prevTwoChars" }, "init": null } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 6820, "end": 6837, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 224, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6824, "end": 6836, "loc": { "start": { "line": 224, "column": 8 }, "end": { "line": 224, "column": 20 } }, "id": { "type": "Identifier", "start": 6824, "end": 6836, "loc": { "start": { "line": 224, "column": 8 }, "end": { "line": 224, "column": 20 }, "identifierName": "emojiMatched" }, "name": "emojiMatched" }, "init": null } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 6843, "end": 6901, "loc": { "start": { "line": 225, "column": 4 }, "end": { "line": 225, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6847, "end": 6900, "loc": { "start": { "line": 225, "column": 8 }, "end": { "line": 225, "column": 61 } }, "id": { "type": "Identifier", "start": 6847, "end": 6862, "loc": { "start": { "line": 225, "column": 8 }, "end": { "line": 225, "column": 23 }, "identifierName": "emojiMatchedReg" }, "name": "emojiMatchedReg" }, "init": { "type": "RegExpLiteral", "start": 6865, "end": 6900, "loc": { "start": { "line": 225, "column": 26 }, "end": { "line": 225, "column": 61 } }, "extra": { "raw": "/([\\uD800-\\uDBFF][\\uDC00-\\uDFFF])/g" }, "pattern": "([\\uD800-\\uDBFF][\\uDC00-\\uDFFF])", "flags": "g" } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Emojis are made out of two characters, so we must take a custom approach to trim them.\r\n * For more info: https://mathiasbynens.be/notes/javascript-unicode\r\n ", "start": 6909, "end": 7089, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 230, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7095, "end": 7861, "loc": { "start": { "line": 231, "column": 4 }, "end": { "line": 253, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 7098, "end": 7123, "loc": { "start": { "line": 231, "column": 7 }, "end": { "line": 231, "column": 32 } }, "left": { "type": "Identifier", "start": 7098, "end": 7106, "loc": { "start": { "line": 231, "column": 7 }, "end": { "line": 231, "column": 15 }, "identifierName": "position" }, "name": "position", "leadingComments": null }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 7110, "end": 7123, "loc": { "start": { "line": 231, "column": 19 }, "end": { "line": 231, "column": 32 } }, "left": { "type": "Identifier", "start": 7110, "end": 7118, "loc": { "start": { "line": 231, "column": 19 }, "end": { "line": 231, "column": 27 }, "identifierName": "position" }, "name": "position" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 7122, "end": 7123, "loc": { "start": { "line": 231, "column": 31 }, "end": { "line": 231, "column": 32 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 7124, "end": 7540, "loc": { "start": { "line": 231, "column": 33 }, "end": { "line": 242, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 7133, "end": 7188, "loc": { "start": { "line": 232, "column": 6 }, "end": { "line": 232, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 7133, "end": 7188, "loc": { "start": { "line": 232, "column": 6 }, "end": { "line": 232, "column": 61 } }, "operator": "=", "left": { "type": "Identifier", "start": 7133, "end": 7145, "loc": { "start": { "line": 232, "column": 6 }, "end": { "line": 232, "column": 18 }, "identifierName": "prevTwoChars" }, "name": "prevTwoChars" }, "right": { "type": "CallExpression", "start": 7148, "end": 7188, "loc": { "start": { "line": 232, "column": 21 }, "end": { "line": 232, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 7148, "end": 7164, "loc": { "start": { "line": 232, "column": 21 }, "end": { "line": 232, "column": 37 } }, "object": { "type": "Identifier", "start": 7148, "end": 7154, "loc": { "start": { "line": 232, "column": 21 }, "end": { "line": 232, "column": 27 }, "identifierName": "source" }, "name": "source" }, "property": { "type": "Identifier", "start": 7155, "end": 7164, "loc": { "start": { "line": 232, "column": 28 }, "end": { "line": 232, "column": 37 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 7165, "end": 7177, "loc": { "start": { "line": 232, "column": 38 }, "end": { "line": 232, "column": 50 } }, "left": { "type": "Identifier", "start": 7165, "end": 7173, "loc": { "start": { "line": 232, "column": 38 }, "end": { "line": 232, "column": 46 }, "identifierName": "position" }, "name": "position" }, "operator": "-", "right": { "type": "NumericLiteral", "start": 7176, "end": 7177, "loc": { "start": { "line": 232, "column": 49 }, "end": { "line": 232, "column": 50 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, { "type": "Identifier", "start": 7179, "end": 7187, "loc": { "start": { "line": 232, "column": 52 }, "end": { "line": 232, "column": 60 }, "identifierName": "position" }, "name": "position" } ] } } }, { "type": "ExpressionStatement", "start": 7196, "end": 7247, "loc": { "start": { "line": 233, "column": 6 }, "end": { "line": 233, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 7196, "end": 7246, "loc": { "start": { "line": 233, "column": 6 }, "end": { "line": 233, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", "start": 7196, "end": 7208, "loc": { "start": { "line": 233, "column": 6 }, "end": { "line": 233, "column": 18 }, "identifierName": "emojiMatched" }, "name": "emojiMatched" }, "right": { "type": "CallExpression", "start": 7211, "end": 7246, "loc": { "start": { "line": 233, "column": 21 }, "end": { "line": 233, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 7211, "end": 7229, "loc": { "start": { "line": 233, "column": 21 }, "end": { "line": 233, "column": 39 } }, "object": { "type": "Identifier", "start": 7211, "end": 7223, "loc": { "start": { "line": 233, "column": 21 }, "end": { "line": 233, "column": 33 }, "identifierName": "prevTwoChars" }, "name": "prevTwoChars" }, "property": { "type": "Identifier", "start": 7224, "end": 7229, "loc": { "start": { "line": 233, "column": 34 }, "end": { "line": 233, "column": 39 }, "identifierName": "match" }, "name": "match" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7230, "end": 7245, "loc": { "start": { "line": 233, "column": 40 }, "end": { "line": 233, "column": 55 }, "identifierName": "emojiMatchedReg" }, "name": "emojiMatchedReg" } ] } } }, { "type": "IfStatement", "start": 7257, "end": 7533, "loc": { "start": { "line": 235, "column": 6 }, "end": { "line": 241, "column": 7 } }, "test": { "type": "Identifier", "start": 7260, "end": 7272, "loc": { "start": { "line": 235, "column": 9 }, "end": { "line": 235, "column": 21 }, "identifierName": "emojiMatched" }, "name": "emojiMatched" }, "consequent": { "type": "BlockStatement", "start": 7273, "end": 7400, "loc": { "start": { "line": 235, "column": 22 }, "end": { "line": 238, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 7284, "end": 7352, "loc": { "start": { "line": 236, "column": 8 }, "end": { "line": 236, "column": 76 } }, "expression": { "type": "AssignmentExpression", "start": 7284, "end": 7351, "loc": { "start": { "line": 236, "column": 8 }, "end": { "line": 236, "column": 75 } }, "operator": "=", "left": { "type": "Identifier", "start": 7284, "end": 7290, "loc": { "start": { "line": 236, "column": 8 }, "end": { "line": 236, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "BinaryExpression", "start": 7293, "end": 7351, "loc": { "start": { "line": 236, "column": 17 }, "end": { "line": 236, "column": 75 } }, "left": { "type": "CallExpression", "start": 7293, "end": 7325, "loc": { "start": { "line": 236, "column": 17 }, "end": { "line": 236, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 7293, "end": 7306, "loc": { "start": { "line": 236, "column": 17 }, "end": { "line": 236, "column": 30 } }, "object": { "type": "Identifier", "start": 7293, "end": 7299, "loc": { "start": { "line": 236, "column": 17 }, "end": { "line": 236, "column": 23 }, "identifierName": "source" }, "name": "source" }, "property": { "type": "Identifier", "start": 7300, "end": 7306, "loc": { "start": { "line": 236, "column": 24 }, "end": { "line": 236, "column": 30 }, "identifierName": "substr" }, "name": "substr" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 7307, "end": 7308, "loc": { "start": { "line": 236, "column": 31 }, "end": { "line": 236, "column": 32 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "BinaryExpression", "start": 7311, "end": 7323, "loc": { "start": { "line": 236, "column": 35 }, "end": { "line": 236, "column": 47 } }, "left": { "type": "Identifier", "start": 7311, "end": 7319, "loc": { "start": { "line": 236, "column": 35 }, "end": { "line": 236, "column": 43 }, "identifierName": "position" }, "name": "position" }, "operator": "-", "right": { "type": "NumericLiteral", "start": 7322, "end": 7323, "loc": { "start": { "line": 236, "column": 46 }, "end": { "line": 236, "column": 47 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, "extra": { "parenthesized": true, "parenStart": 7310 } } ] }, "operator": "+", "right": { "type": "CallExpression", "start": 7328, "end": 7351, "loc": { "start": { "line": 236, "column": 52 }, "end": { "line": 236, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 7328, "end": 7341, "loc": { "start": { "line": 236, "column": 52 }, "end": { "line": 236, "column": 65 } }, "object": { "type": "Identifier", "start": 7328, "end": 7334, "loc": { "start": { "line": 236, "column": 52 }, "end": { "line": 236, "column": 58 }, "identifierName": "source" }, "name": "source" }, "property": { "type": "Identifier", "start": 7335, "end": 7341, "loc": { "start": { "line": 236, "column": 59 }, "end": { "line": 236, "column": 65 }, "identifierName": "substr" }, "name": "substr" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7342, "end": 7350, "loc": { "start": { "line": 236, "column": 66 }, "end": { "line": 236, "column": 74 }, "identifierName": "position" }, "name": "position" } ] } } } }, { "type": "ExpressionStatement", "start": 7362, "end": 7391, "loc": { "start": { "line": 237, "column": 8 }, "end": { "line": 237, "column": 37 } }, "expression": { "type": "CallExpression", "start": 7362, "end": 7390, "loc": { "start": { "line": 237, "column": 8 }, "end": { "line": 237, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 7362, "end": 7381, "loc": { "start": { "line": 237, "column": 8 }, "end": { "line": 237, "column": 27 } }, "object": { "type": "ThisExpression", "start": 7362, "end": 7366, "loc": { "start": { "line": 237, "column": 8 }, "end": { "line": 237, "column": 12 } } }, "property": { "type": "Identifier", "start": 7367, "end": 7381, "loc": { "start": { "line": 237, "column": 13 }, "end": { "line": 237, "column": 27 }, "identifierName": "updateCaretPos" }, "name": "updateCaretPos" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 7382, "end": 7383, "loc": { "start": { "line": 237, "column": 28 }, "end": { "line": 237, "column": 29 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, { "type": "BooleanLiteral", "start": 7385, "end": 7389, "loc": { "start": { "line": 237, "column": 31 }, "end": { "line": 237, "column": 35 } }, "value": true } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 7406, "end": 7533, "loc": { "start": { "line": 238, "column": 13 }, "end": { "line": 241, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 7417, "end": 7485, "loc": { "start": { "line": 239, "column": 8 }, "end": { "line": 239, "column": 76 } }, "expression": { "type": "AssignmentExpression", "start": 7417, "end": 7484, "loc": { "start": { "line": 239, "column": 8 }, "end": { "line": 239, "column": 75 } }, "operator": "=", "left": { "type": "Identifier", "start": 7417, "end": 7423, "loc": { "start": { "line": 239, "column": 8 }, "end": { "line": 239, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "BinaryExpression", "start": 7426, "end": 7484, "loc": { "start": { "line": 239, "column": 17 }, "end": { "line": 239, "column": 75 } }, "left": { "type": "CallExpression", "start": 7426, "end": 7458, "loc": { "start": { "line": 239, "column": 17 }, "end": { "line": 239, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 7426, "end": 7439, "loc": { "start": { "line": 239, "column": 17 }, "end": { "line": 239, "column": 30 } }, "object": { "type": "Identifier", "start": 7426, "end": 7432, "loc": { "start": { "line": 239, "column": 17 }, "end": { "line": 239, "column": 23 }, "identifierName": "source" }, "name": "source" }, "property": { "type": "Identifier", "start": 7433, "end": 7439, "loc": { "start": { "line": 239, "column": 24 }, "end": { "line": 239, "column": 30 }, "identifierName": "substr" }, "name": "substr" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 7440, "end": 7441, "loc": { "start": { "line": 239, "column": 31 }, "end": { "line": 239, "column": 32 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "BinaryExpression", "start": 7444, "end": 7456, "loc": { "start": { "line": 239, "column": 35 }, "end": { "line": 239, "column": 47 } }, "left": { "type": "Identifier", "start": 7444, "end": 7452, "loc": { "start": { "line": 239, "column": 35 }, "end": { "line": 239, "column": 43 }, "identifierName": "position" }, "name": "position" }, "operator": "-", "right": { "type": "NumericLiteral", "start": 7455, "end": 7456, "loc": { "start": { "line": 239, "column": 46 }, "end": { "line": 239, "column": 47 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "extra": { "parenthesized": true, "parenStart": 7443 } } ] }, "operator": "+", "right": { "type": "CallExpression", "start": 7461, "end": 7484, "loc": { "start": { "line": 239, "column": 52 }, "end": { "line": 239, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 7461, "end": 7474, "loc": { "start": { "line": 239, "column": 52 }, "end": { "line": 239, "column": 65 } }, "object": { "type": "Identifier", "start": 7461, "end": 7467, "loc": { "start": { "line": 239, "column": 52 }, "end": { "line": 239, "column": 58 }, "identifierName": "source" }, "name": "source" }, "property": { "type": "Identifier", "start": 7468, "end": 7474, "loc": { "start": { "line": 239, "column": 59 }, "end": { "line": 239, "column": 65 }, "identifierName": "substr" }, "name": "substr" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7475, "end": 7483, "loc": { "start": { "line": 239, "column": 66 }, "end": { "line": 239, "column": 74 }, "identifierName": "position" }, "name": "position" } ] } } } }, { "type": "ExpressionStatement", "start": 7495, "end": 7524, "loc": { "start": { "line": 240, "column": 8 }, "end": { "line": 240, "column": 37 } }, "expression": { "type": "CallExpression", "start": 7495, "end": 7523, "loc": { "start": { "line": 240, "column": 8 }, "end": { "line": 240, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 7495, "end": 7514, "loc": { "start": { "line": 240, "column": 8 }, "end": { "line": 240, "column": 27 } }, "object": { "type": "ThisExpression", "start": 7495, "end": 7499, "loc": { "start": { "line": 240, "column": 8 }, "end": { "line": 240, "column": 12 } } }, "property": { "type": "Identifier", "start": 7500, "end": 7514, "loc": { "start": { "line": 240, "column": 13 }, "end": { "line": 240, "column": 27 }, "identifierName": "updateCaretPos" }, "name": "updateCaretPos" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 7515, "end": 7516, "loc": { "start": { "line": 240, "column": 28 }, "end": { "line": 240, "column": 29 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, { "type": "BooleanLiteral", "start": 7518, "end": 7522, "loc": { "start": { "line": 240, "column": 31 }, "end": { "line": 240, "column": 35 } }, "value": true } ] } } ], "directives": [] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 7546, "end": 7861, "loc": { "start": { "line": 242, "column": 11 }, "end": { "line": 253, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 7555, "end": 7587, "loc": { "start": { "line": 243, "column": 6 }, "end": { "line": 243, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 7555, "end": 7586, "loc": { "start": { "line": 243, "column": 6 }, "end": { "line": 243, "column": 37 } }, "operator": "=", "left": { "type": "Identifier", "start": 7555, "end": 7567, "loc": { "start": { "line": 243, "column": 6 }, "end": { "line": 243, "column": 18 }, "identifierName": "prevTwoChars" }, "name": "prevTwoChars" }, "right": { "type": "CallExpression", "start": 7570, "end": 7586, "loc": { "start": { "line": 243, "column": 21 }, "end": { "line": 243, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 7570, "end": 7582, "loc": { "start": { "line": 243, "column": 21 }, "end": { "line": 243, "column": 33 } }, "object": { "type": "Identifier", "start": 7570, "end": 7576, "loc": { "start": { "line": 243, "column": 21 }, "end": { "line": 243, "column": 27 }, "identifierName": "source" }, "name": "source" }, "property": { "type": "Identifier", "start": 7577, "end": 7582, "loc": { "start": { "line": 243, "column": 28 }, "end": { "line": 243, "column": 33 }, "identifierName": "slice" }, "name": "slice" }, "computed": false }, "arguments": [ { "type": "UnaryExpression", "start": 7583, "end": 7585, "loc": { "start": { "line": 243, "column": 34 }, "end": { "line": 243, "column": 36 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", "start": 7584, "end": 7585, "loc": { "start": { "line": 243, "column": 35 }, "end": { "line": 243, "column": 36 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, "extra": { "parenthesizedArgument": false } } ] } } }, { "type": "ExpressionStatement", "start": 7595, "end": 7646, "loc": { "start": { "line": 244, "column": 6 }, "end": { "line": 244, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 7595, "end": 7645, "loc": { "start": { "line": 244, "column": 6 }, "end": { "line": 244, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", "start": 7595, "end": 7607, "loc": { "start": { "line": 244, "column": 6 }, "end": { "line": 244, "column": 18 }, "identifierName": "emojiMatched" }, "name": "emojiMatched" }, "right": { "type": "CallExpression", "start": 7610, "end": 7645, "loc": { "start": { "line": 244, "column": 21 }, "end": { "line": 244, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 7610, "end": 7628, "loc": { "start": { "line": 244, "column": 21 }, "end": { "line": 244, "column": 39 } }, "object": { "type": "Identifier", "start": 7610, "end": 7622, "loc": { "start": { "line": 244, "column": 21 }, "end": { "line": 244, "column": 33 }, "identifierName": "prevTwoChars" }, "name": "prevTwoChars" }, "property": { "type": "Identifier", "start": 7623, "end": 7628, "loc": { "start": { "line": 244, "column": 34 }, "end": { "line": 244, "column": 39 }, "identifierName": "match" }, "name": "match" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7629, "end": 7644, "loc": { "start": { "line": 244, "column": 40 }, "end": { "line": 244, "column": 55 }, "identifierName": "emojiMatchedReg" }, "name": "emojiMatchedReg" } ] } } }, { "type": "IfStatement", "start": 7656, "end": 7854, "loc": { "start": { "line": 246, "column": 6 }, "end": { "line": 252, "column": 7 } }, "test": { "type": "Identifier", "start": 7659, "end": 7671, "loc": { "start": { "line": 246, "column": 9 }, "end": { "line": 246, "column": 21 }, "identifierName": "emojiMatched" }, "name": "emojiMatched" }, "consequent": { "type": "BlockStatement", "start": 7672, "end": 7760, "loc": { "start": { "line": 246, "column": 22 }, "end": { "line": 249, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 7683, "end": 7712, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 7683, "end": 7711, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", "start": 7683, "end": 7689, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 7692, "end": 7711, "loc": { "start": { "line": 247, "column": 17 }, "end": { "line": 247, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 7692, "end": 7704, "loc": { "start": { "line": 247, "column": 17 }, "end": { "line": 247, "column": 29 } }, "object": { "type": "Identifier", "start": 7692, "end": 7698, "loc": { "start": { "line": 247, "column": 17 }, "end": { "line": 247, "column": 23 }, "identifierName": "source" }, "name": "source" }, "property": { "type": "Identifier", "start": 7699, "end": 7704, "loc": { "start": { "line": 247, "column": 24 }, "end": { "line": 247, "column": 29 }, "identifierName": "slice" }, "name": "slice" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 7705, "end": 7706, "loc": { "start": { "line": 247, "column": 30 }, "end": { "line": 247, "column": 31 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "UnaryExpression", "start": 7708, "end": 7710, "loc": { "start": { "line": 247, "column": 33 }, "end": { "line": 247, "column": 35 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", "start": 7709, "end": 7710, "loc": { "start": { "line": 247, "column": 34 }, "end": { "line": 247, "column": 35 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, "extra": { "parenthesizedArgument": false } } ] } } }, { "type": "ExpressionStatement", "start": 7722, "end": 7751, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 37 } }, "expression": { "type": "CallExpression", "start": 7722, "end": 7750, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 7722, "end": 7741, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 27 } }, "object": { "type": "ThisExpression", "start": 7722, "end": 7726, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 12 } } }, "property": { "type": "Identifier", "start": 7727, "end": 7741, "loc": { "start": { "line": 248, "column": 13 }, "end": { "line": 248, "column": 27 }, "identifierName": "updateCaretPos" }, "name": "updateCaretPos" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 7742, "end": 7743, "loc": { "start": { "line": 248, "column": 28 }, "end": { "line": 248, "column": 29 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, { "type": "BooleanLiteral", "start": 7745, "end": 7749, "loc": { "start": { "line": 248, "column": 31 }, "end": { "line": 248, "column": 35 } }, "value": true } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 7766, "end": 7854, "loc": { "start": { "line": 249, "column": 13 }, "end": { "line": 252, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 7777, "end": 7806, "loc": { "start": { "line": 250, "column": 8 }, "end": { "line": 250, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 7777, "end": 7805, "loc": { "start": { "line": 250, "column": 8 }, "end": { "line": 250, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", "start": 7777, "end": 7783, "loc": { "start": { "line": 250, "column": 8 }, "end": { "line": 250, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 7786, "end": 7805, "loc": { "start": { "line": 250, "column": 17 }, "end": { "line": 250, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 7786, "end": 7798, "loc": { "start": { "line": 250, "column": 17 }, "end": { "line": 250, "column": 29 } }, "object": { "type": "Identifier", "start": 7786, "end": 7792, "loc": { "start": { "line": 250, "column": 17 }, "end": { "line": 250, "column": 23 }, "identifierName": "source" }, "name": "source" }, "property": { "type": "Identifier", "start": 7793, "end": 7798, "loc": { "start": { "line": 250, "column": 24 }, "end": { "line": 250, "column": 29 }, "identifierName": "slice" }, "name": "slice" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 7799, "end": 7800, "loc": { "start": { "line": 250, "column": 30 }, "end": { "line": 250, "column": 31 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "UnaryExpression", "start": 7802, "end": 7804, "loc": { "start": { "line": 250, "column": 33 }, "end": { "line": 250, "column": 35 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", "start": 7803, "end": 7804, "loc": { "start": { "line": 250, "column": 34 }, "end": { "line": 250, "column": 35 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "extra": { "parenthesizedArgument": false } } ] } } }, { "type": "ExpressionStatement", "start": 7816, "end": 7845, "loc": { "start": { "line": 251, "column": 8 }, "end": { "line": 251, "column": 37 } }, "expression": { "type": "CallExpression", "start": 7816, "end": 7844, "loc": { "start": { "line": 251, "column": 8 }, "end": { "line": 251, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 7816, "end": 7835, "loc": { "start": { "line": 251, "column": 8 }, "end": { "line": 251, "column": 27 } }, "object": { "type": "ThisExpression", "start": 7816, "end": 7820, "loc": { "start": { "line": 251, "column": 8 }, "end": { "line": 251, "column": 12 } } }, "property": { "type": "Identifier", "start": 7821, "end": 7835, "loc": { "start": { "line": 251, "column": 13 }, "end": { "line": 251, "column": 27 }, "identifierName": "updateCaretPos" }, "name": "updateCaretPos" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 7836, "end": 7837, "loc": { "start": { "line": 251, "column": 28 }, "end": { "line": 251, "column": 29 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, { "type": "BooleanLiteral", "start": 7839, "end": 7843, "loc": { "start": { "line": 251, "column": 31 }, "end": { "line": 251, "column": 35 } }, "value": true } ] } } ], "directives": [] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Emojis are made out of two characters, so we must take a custom approach to trim them.\r\n * For more info: https://mathiasbynens.be/notes/javascript-unicode\r\n ", "start": 6909, "end": 7089, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 230, "column": 7 } } } ] }, { "type": "ReturnStatement", "start": 7869, "end": 7883, "loc": { "start": { "line": 255, "column": 4 }, "end": { "line": 255, "column": 18 } }, "argument": { "type": "Identifier", "start": 7876, "end": 7882, "loc": { "start": { "line": 255, "column": 11 }, "end": { "line": 255, "column": 17 }, "identifierName": "output" }, "name": "output" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n ", "start": 6434, "end": 6654, "loc": { "start": { "line": 211, "column": 2 }, "end": { "line": 216, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n ", "start": 7892, "end": 8123, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 263, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 8127, "end": 9385, "loc": { "start": { "line": 264, "column": 2 }, "end": { "line": 312, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8127, "end": 8142, "loc": { "start": { "line": 264, "column": 2 }, "end": { "line": 264, "column": 17 }, "identifierName": "handleMaxLength" }, "name": "handleMaxLength", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8143, "end": 8151, "loc": { "start": { "line": 264, "column": 18 }, "end": { "line": 264, "column": 26 }, "identifierName": "inputObj" }, "name": "inputObj" }, { "type": "Identifier", "start": 8153, "end": 8160, "loc": { "start": { "line": 264, "column": 28 }, "end": { "line": 264, "column": 35 }, "identifierName": "options" }, "name": "options" }, { "type": "Identifier", "start": 8162, "end": 8174, "loc": { "start": { "line": 264, "column": 37 }, "end": { "line": 264, "column": 49 }, "identifierName": "updatedInput" }, "name": "updatedInput" } ], "body": { "type": "BlockStatement", "start": 8175, "end": 9385, "loc": { "start": { "line": 264, "column": 50 }, "end": { "line": 312, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 8182, "end": 8216, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 265, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8186, "end": 8215, "loc": { "start": { "line": 265, "column": 8 }, "end": { "line": 265, "column": 37 } }, "id": { "type": "Identifier", "start": 8186, "end": 8195, "loc": { "start": { "line": 265, "column": 8 }, "end": { "line": 265, "column": 17 }, "identifierName": "maxLength" }, "name": "maxLength" }, "init": { "type": "MemberExpression", "start": 8198, "end": 8215, "loc": { "start": { "line": 265, "column": 20 }, "end": { "line": 265, "column": 37 } }, "object": { "type": "Identifier", "start": 8198, "end": 8205, "loc": { "start": { "line": 265, "column": 20 }, "end": { "line": 265, "column": 27 }, "identifierName": "options" }, "name": "options" }, "property": { "type": "Identifier", "start": 8206, "end": 8215, "loc": { "start": { "line": 265, "column": 28 }, "end": { "line": 265, "column": 37 }, "identifierName": "maxLength" }, "name": "maxLength" }, "computed": false } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 8222, "end": 8269, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 266, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8226, "end": 8268, "loc": { "start": { "line": 266, "column": 8 }, "end": { "line": 266, "column": 50 } }, "id": { "type": "Identifier", "start": 8226, "end": 8238, "loc": { "start": { "line": 266, "column": 8 }, "end": { "line": 266, "column": 20 }, "identifierName": "currentInput" }, "name": "currentInput" }, "init": { "type": "MemberExpression", "start": 8241, "end": 8268, "loc": { "start": { "line": 266, "column": 23 }, "end": { "line": 266, "column": 50 } }, "object": { "type": "Identifier", "start": 8241, "end": 8249, "loc": { "start": { "line": 266, "column": 23 }, "end": { "line": 266, "column": 31 }, "identifierName": "inputObj" }, "name": "inputObj" }, "property": { "type": "MemberExpression", "start": 8250, "end": 8267, "loc": { "start": { "line": 266, "column": 32 }, "end": { "line": 266, "column": 49 } }, "object": { "type": "Identifier", "start": 8250, "end": 8257, "loc": { "start": { "line": 266, "column": 32 }, "end": { "line": 266, "column": 39 }, "identifierName": "options" }, "name": "options" }, "property": { "type": "Identifier", "start": 8258, "end": 8267, "loc": { "start": { "line": 266, "column": 40 }, "end": { "line": 266, "column": 49 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 8275, "end": 8325, "loc": { "start": { "line": 267, "column": 4 }, "end": { "line": 267, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8279, "end": 8324, "loc": { "start": { "line": 267, "column": 8 }, "end": { "line": 267, "column": 53 } }, "id": { "type": "Identifier", "start": 8279, "end": 8288, "loc": { "start": { "line": 267, "column": 8 }, "end": { "line": 267, "column": 17 }, "identifierName": "condition" }, "name": "condition" }, "init": { "type": "BinaryExpression", "start": 8291, "end": 8324, "loc": { "start": { "line": 267, "column": 20 }, "end": { "line": 267, "column": 53 } }, "left": { "type": "MemberExpression", "start": 8291, "end": 8310, "loc": { "start": { "line": 267, "column": 20 }, "end": { "line": 267, "column": 39 } }, "object": { "type": "Identifier", "start": 8291, "end": 8303, "loc": { "start": { "line": 267, "column": 20 }, "end": { "line": 267, "column": 32 }, "identifierName": "currentInput" }, "name": "currentInput" }, "property": { "type": "Identifier", "start": 8304, "end": 8310, "loc": { "start": { "line": 267, "column": 33 }, "end": { "line": 267, "column": 39 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "===", "right": { "type": "Identifier", "start": 8315, "end": 8324, "loc": { "start": { "line": 267, "column": 44 }, "end": { "line": 267, "column": 53 }, "identifierName": "maxLength" }, "name": "maxLength" } } } ], "kind": "let" }, { "type": "IfStatement", "start": 8335, "end": 8553, "loc": { "start": { "line": 270, "column": 4 }, "end": { "line": 278, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 8475, "end": 8517, "loc": { "start": { "line": 275, "column": 6 }, "end": { "line": 275, "column": 48 } }, "left": { "type": "MemberExpression", "start": 8475, "end": 8494, "loc": { "start": { "line": 275, "column": 6 }, "end": { "line": 275, "column": 25 } }, "object": { "type": "Identifier", "start": 8475, "end": 8487, "loc": { "start": { "line": 275, "column": 6 }, "end": { "line": 275, "column": 18 }, "identifierName": "updatedInput" }, "name": "updatedInput", "leadingComments": null }, "property": { "type": "Identifier", "start": 8488, "end": 8494, "loc": { "start": { "line": 275, "column": 19 }, "end": { "line": 275, "column": 25 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "operator": "<=", "right": { "type": "MemberExpression", "start": 8498, "end": 8517, "loc": { "start": { "line": 275, "column": 29 }, "end": { "line": 275, "column": 48 } }, "object": { "type": "Identifier", "start": 8498, "end": 8510, "loc": { "start": { "line": 275, "column": 29 }, "end": { "line": 275, "column": 41 }, "identifierName": "currentInput" }, "name": "currentInput" }, "property": { "type": "Identifier", "start": 8511, "end": 8517, "loc": { "start": { "line": 275, "column": 42 }, "end": { "line": 275, "column": 48 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If pressing this button won't add more characters\r\n * We exit out of this limiter function\r\n ", "start": 8346, "end": 8467, "loc": { "start": { "line": 271, "column": 6 }, "end": { "line": 274, "column": 9 } } } ] }, "consequent": { "type": "BlockStatement", "start": 8524, "end": 8553, "loc": { "start": { "line": 276, "column": 5 }, "end": { "line": 278, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 8533, "end": 8546, "loc": { "start": { "line": 277, "column": 6 }, "end": { "line": 277, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 8540, "end": 8545, "loc": { "start": { "line": 277, "column": 13 }, "end": { "line": 277, "column": 18 } }, "value": false } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 8561, "end": 8983, "loc": { "start": { "line": 280, "column": 4 }, "end": { "line": 295, "column": 5 } }, "test": { "type": "CallExpression", "start": 8564, "end": 8591, "loc": { "start": { "line": 280, "column": 7 }, "end": { "line": 280, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 8564, "end": 8580, "loc": { "start": { "line": 280, "column": 7 }, "end": { "line": 280, "column": 23 } }, "object": { "type": "Identifier", "start": 8564, "end": 8570, "loc": { "start": { "line": 280, "column": 7 }, "end": { "line": 280, "column": 13 }, "identifierName": "Number" }, "name": "Number" }, "property": { "type": "Identifier", "start": 8571, "end": 8580, "loc": { "start": { "line": 280, "column": 14 }, "end": { "line": 280, "column": 23 }, "identifierName": "isInteger" }, "name": "isInteger" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8581, "end": 8590, "loc": { "start": { "line": 280, "column": 24 }, "end": { "line": 280, "column": 33 }, "identifierName": "maxLength" }, "name": "maxLength" } ] }, "consequent": { "type": "BlockStatement", "start": 8592, "end": 8983, "loc": { "start": { "line": 280, "column": 35 }, "end": { "line": 295, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 8601, "end": 8689, "loc": { "start": { "line": 281, "column": 6 }, "end": { "line": 283, "column": 7 } }, "test": { "type": "MemberExpression", "start": 8604, "end": 8617, "loc": { "start": { "line": 281, "column": 9 }, "end": { "line": 281, "column": 22 } }, "object": { "type": "Identifier", "start": 8604, "end": 8611, "loc": { "start": { "line": 281, "column": 9 }, "end": { "line": 281, "column": 16 }, "identifierName": "options" }, "name": "options" }, "property": { "type": "Identifier", "start": 8612, "end": 8617, "loc": { "start": { "line": 281, "column": 17 }, "end": { "line": 281, "column": 22 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 8618, "end": 8689, "loc": { "start": { "line": 281, "column": 23 }, "end": { "line": 283, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 8629, "end": 8680, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 59 } }, "expression": { "type": "CallExpression", "start": 8629, "end": 8679, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 8629, "end": 8640, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 19 } }, "object": { "type": "Identifier", "start": 8629, "end": 8636, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 8637, "end": 8640, "loc": { "start": { "line": 282, "column": 16 }, "end": { "line": 282, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8641, "end": 8667, "loc": { "start": { "line": 282, "column": 20 }, "end": { "line": 282, "column": 46 } }, "extra": { "rawValue": "maxLength (num) reached:", "raw": "\"maxLength (num) reached:\"" }, "value": "maxLength (num) reached:" }, { "type": "Identifier", "start": 8669, "end": 8678, "loc": { "start": { "line": 282, "column": 48 }, "end": { "line": 282, "column": 57 }, "identifierName": "condition" }, "name": "condition" } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 8699, "end": 8976, "loc": { "start": { "line": 285, "column": 6 }, "end": { "line": 294, "column": 7 } }, "test": { "type": "Identifier", "start": 8702, "end": 8711, "loc": { "start": { "line": 285, "column": 9 }, "end": { "line": 285, "column": 18 }, "identifierName": "condition" }, "name": "condition" }, "consequent": { "type": "BlockStatement", "start": 8712, "end": 8897, "loc": { "start": { "line": 285, "column": 19 }, "end": { "line": 291, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 8837, "end": 8866, "loc": { "start": { "line": 289, "column": 8 }, "end": { "line": 289, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 8837, "end": 8865, "loc": { "start": { "line": 289, "column": 8 }, "end": { "line": 289, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8837, "end": 8858, "loc": { "start": { "line": 289, "column": 8 }, "end": { "line": 289, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8837, "end": 8841, "loc": { "start": { "line": 289, "column": 8 }, "end": { "line": 289, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8842, "end": 8858, "loc": { "start": { "line": 289, "column": 13 }, "end": { "line": 289, "column": 29 }, "identifierName": "maxLengthReached" }, "name": "maxLengthReached" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 8861, "end": 8865, "loc": { "start": { "line": 289, "column": 32 }, "end": { "line": 289, "column": 36 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Boolean value that shows whether maxLength has been reached\r\n ", "start": 8723, "end": 8827, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 288, "column": 11 } } } ] }, { "type": "ReturnStatement", "start": 8876, "end": 8888, "loc": { "start": { "line": 290, "column": 8 }, "end": { "line": 290, "column": 20 } }, "argument": { "type": "BooleanLiteral", "start": 8883, "end": 8887, "loc": { "start": { "line": 290, "column": 15 }, "end": { "line": 290, "column": 19 } }, "value": true } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 8903, "end": 8976, "loc": { "start": { "line": 291, "column": 13 }, "end": { "line": 294, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 8914, "end": 8944, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 8914, "end": 8943, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8914, "end": 8935, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8914, "end": 8918, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 12 } } }, "property": { "type": "Identifier", "start": 8919, "end": 8935, "loc": { "start": { "line": 292, "column": 13 }, "end": { "line": 292, "column": 29 }, "identifierName": "maxLengthReached" }, "name": "maxLengthReached" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 8938, "end": 8943, "loc": { "start": { "line": 292, "column": 32 }, "end": { "line": 292, "column": 37 } }, "value": false } } }, { "type": "ReturnStatement", "start": 8954, "end": 8967, "loc": { "start": { "line": 293, "column": 8 }, "end": { "line": 293, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 8961, "end": 8966, "loc": { "start": { "line": 293, "column": 15 }, "end": { "line": 293, "column": 20 } }, "value": false } } ], "directives": [] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 8991, "end": 9380, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 311, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 8994, "end": 9023, "loc": { "start": { "line": 297, "column": 7 }, "end": { "line": 297, "column": 36 } }, "left": { "type": "UnaryExpression", "start": 8994, "end": 9010, "loc": { "start": { "line": 297, "column": 7 }, "end": { "line": 297, "column": 23 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 9001, "end": 9010, "loc": { "start": { "line": 297, "column": 14 }, "end": { "line": 297, "column": 23 }, "identifierName": "maxLength" }, "name": "maxLength" }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 9015, "end": 9023, "loc": { "start": { "line": 297, "column": 28 }, "end": { "line": 297, "column": 36 } }, "extra": { "rawValue": "object", "raw": "\"object\"" }, "value": "object" } }, "consequent": { "type": "BlockStatement", "start": 9024, "end": 9380, "loc": { "start": { "line": 297, "column": 37 }, "end": { "line": 311, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 9033, "end": 9102, "loc": { "start": { "line": 298, "column": 6 }, "end": { "line": 298, "column": 75 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9037, "end": 9101, "loc": { "start": { "line": 298, "column": 10 }, "end": { "line": 298, "column": 74 } }, "id": { "type": "Identifier", "start": 9037, "end": 9046, "loc": { "start": { "line": 298, "column": 10 }, "end": { "line": 298, "column": 19 }, "identifierName": "condition" }, "name": "condition" }, "init": { "type": "BinaryExpression", "start": 9049, "end": 9101, "loc": { "start": { "line": 298, "column": 22 }, "end": { "line": 298, "column": 74 } }, "left": { "type": "MemberExpression", "start": 9049, "end": 9068, "loc": { "start": { "line": 298, "column": 22 }, "end": { "line": 298, "column": 41 } }, "object": { "type": "Identifier", "start": 9049, "end": 9061, "loc": { "start": { "line": 298, "column": 22 }, "end": { "line": 298, "column": 34 }, "identifierName": "currentInput" }, "name": "currentInput" }, "property": { "type": "Identifier", "start": 9062, "end": 9068, "loc": { "start": { "line": 298, "column": 35 }, "end": { "line": 298, "column": 41 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "===", "right": { "type": "MemberExpression", "start": 9073, "end": 9101, "loc": { "start": { "line": 298, "column": 46 }, "end": { "line": 298, "column": 74 } }, "object": { "type": "Identifier", "start": 9073, "end": 9082, "loc": { "start": { "line": 298, "column": 46 }, "end": { "line": 298, "column": 55 }, "identifierName": "maxLength" }, "name": "maxLength" }, "property": { "type": "MemberExpression", "start": 9083, "end": 9100, "loc": { "start": { "line": 298, "column": 56 }, "end": { "line": 298, "column": 73 } }, "object": { "type": "Identifier", "start": 9083, "end": 9090, "loc": { "start": { "line": 298, "column": 56 }, "end": { "line": 298, "column": 63 }, "identifierName": "options" }, "name": "options" }, "property": { "type": "Identifier", "start": 9091, "end": 9100, "loc": { "start": { "line": 298, "column": 64 }, "end": { "line": 298, "column": 73 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } } } ], "kind": "let" }, { "type": "IfStatement", "start": 9112, "end": 9200, "loc": { "start": { "line": 300, "column": 6 }, "end": { "line": 302, "column": 7 } }, "test": { "type": "MemberExpression", "start": 9115, "end": 9128, "loc": { "start": { "line": 300, "column": 9 }, "end": { "line": 300, "column": 22 } }, "object": { "type": "Identifier", "start": 9115, "end": 9122, "loc": { "start": { "line": 300, "column": 9 }, "end": { "line": 300, "column": 16 }, "identifierName": "options" }, "name": "options" }, "property": { "type": "Identifier", "start": 9123, "end": 9128, "loc": { "start": { "line": 300, "column": 17 }, "end": { "line": 300, "column": 22 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 9129, "end": 9200, "loc": { "start": { "line": 300, "column": 23 }, "end": { "line": 302, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 9140, "end": 9191, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 59 } }, "expression": { "type": "CallExpression", "start": 9140, "end": 9190, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 9140, "end": 9151, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 19 } }, "object": { "type": "Identifier", "start": 9140, "end": 9147, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 9148, "end": 9151, "loc": { "start": { "line": 301, "column": 16 }, "end": { "line": 301, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9152, "end": 9178, "loc": { "start": { "line": 301, "column": 20 }, "end": { "line": 301, "column": 46 } }, "extra": { "rawValue": "maxLength (obj) reached:", "raw": "\"maxLength (obj) reached:\"" }, "value": "maxLength (obj) reached:" }, { "type": "Identifier", "start": 9180, "end": 9189, "loc": { "start": { "line": 301, "column": 48 }, "end": { "line": 301, "column": 57 }, "identifierName": "condition" }, "name": "condition" } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 9210, "end": 9373, "loc": { "start": { "line": 304, "column": 6 }, "end": { "line": 310, "column": 7 } }, "test": { "type": "Identifier", "start": 9213, "end": 9222, "loc": { "start": { "line": 304, "column": 9 }, "end": { "line": 304, "column": 18 }, "identifierName": "condition" }, "name": "condition" }, "consequent": { "type": "BlockStatement", "start": 9223, "end": 9294, "loc": { "start": { "line": 304, "column": 19 }, "end": { "line": 307, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 9234, "end": 9263, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 9234, "end": 9262, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9234, "end": 9255, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 29 } }, "object": { "type": "ThisExpression", "start": 9234, "end": 9238, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 12 } } }, "property": { "type": "Identifier", "start": 9239, "end": 9255, "loc": { "start": { "line": 305, "column": 13 }, "end": { "line": 305, "column": 29 }, "identifierName": "maxLengthReached" }, "name": "maxLengthReached" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 9258, "end": 9262, "loc": { "start": { "line": 305, "column": 32 }, "end": { "line": 305, "column": 36 } }, "value": true } } }, { "type": "ReturnStatement", "start": 9273, "end": 9285, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 306, "column": 20 } }, "argument": { "type": "BooleanLiteral", "start": 9280, "end": 9284, "loc": { "start": { "line": 306, "column": 15 }, "end": { "line": 306, "column": 19 } }, "value": true } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 9300, "end": 9373, "loc": { "start": { "line": 307, "column": 13 }, "end": { "line": 310, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 9311, "end": 9341, "loc": { "start": { "line": 308, "column": 8 }, "end": { "line": 308, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 9311, "end": 9340, "loc": { "start": { "line": 308, "column": 8 }, "end": { "line": 308, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9311, "end": 9332, "loc": { "start": { "line": 308, "column": 8 }, "end": { "line": 308, "column": 29 } }, "object": { "type": "ThisExpression", "start": 9311, "end": 9315, "loc": { "start": { "line": 308, "column": 8 }, "end": { "line": 308, "column": 12 } } }, "property": { "type": "Identifier", "start": 9316, "end": 9332, "loc": { "start": { "line": 308, "column": 13 }, "end": { "line": 308, "column": 29 }, "identifierName": "maxLengthReached" }, "name": "maxLengthReached" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 9335, "end": 9340, "loc": { "start": { "line": 308, "column": 32 }, "end": { "line": 308, "column": 37 } }, "value": false } } }, { "type": "ReturnStatement", "start": 9351, "end": 9364, "loc": { "start": { "line": 309, "column": 8 }, "end": { "line": 309, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 9358, "end": 9363, "loc": { "start": { "line": 309, "column": 15 }, "end": { "line": 309, "column": 20 } }, "value": false } } ], "directives": [] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n ", "start": 7892, "end": 8123, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 263, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Gets the current value of maxLengthReached\r\n ", "start": 9391, "end": 9450, "loc": { "start": { "line": 314, "column": 2 }, "end": { "line": 316, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 9454, "end": 9531, "loc": { "start": { "line": 317, "column": 2 }, "end": { "line": 319, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9454, "end": 9472, "loc": { "start": { "line": 317, "column": 2 }, "end": { "line": 317, "column": 20 }, "identifierName": "isMaxLengthReached" }, "name": "isMaxLengthReached", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 9475, "end": 9531, "loc": { "start": { "line": 317, "column": 23 }, "end": { "line": 319, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9481, "end": 9531, "loc": { "start": { "line": 317, "column": 29 }, "end": { "line": 319, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 9488, "end": 9526, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 318, "column": 42 } }, "argument": { "type": "CallExpression", "start": 9495, "end": 9525, "loc": { "start": { "line": 318, "column": 11 }, "end": { "line": 318, "column": 41 } }, "callee": { "type": "Identifier", "start": 9495, "end": 9502, "loc": { "start": { "line": 318, "column": 11 }, "end": { "line": 318, "column": 18 }, "identifierName": "Boolean" }, "name": "Boolean" }, "arguments": [ { "type": "MemberExpression", "start": 9503, "end": 9524, "loc": { "start": { "line": 318, "column": 19 }, "end": { "line": 318, "column": 40 } }, "object": { "type": "ThisExpression", "start": 9503, "end": 9507, "loc": { "start": { "line": 318, "column": 19 }, "end": { "line": 318, "column": 23 } } }, "property": { "type": "Identifier", "start": 9508, "end": 9524, "loc": { "start": { "line": 318, "column": 24 }, "end": { "line": 318, "column": 40 }, "identifierName": "maxLengthReached" }, "name": "maxLengthReached" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Gets the current value of maxLengthReached\r\n ", "start": 9391, "end": 9450, "loc": { "start": { "line": 314, "column": 2 }, "end": { "line": 316, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n ", "start": 9537, "end": 9659, "loc": { "start": { "line": 321, "column": 2 }, "end": { "line": 325, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 9663, "end": 9827, "loc": { "start": { "line": 326, "column": 2 }, "end": { "line": 328, "column": 4 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9663, "end": 9672, "loc": { "start": { "line": 326, "column": 2 }, "end": { "line": 326, "column": 11 }, "identifierName": "camelCase" }, "name": "camelCase", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 9675, "end": 9826, "loc": { "start": { "line": 326, "column": 14 }, "end": { "line": 328, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9676, "end": 9682, "loc": { "start": { "line": 326, "column": 15 }, "end": { "line": 326, "column": 21 }, "identifierName": "string" }, "name": "string" } ], "body": { "type": "BlockStatement", "start": 9687, "end": 9826, "loc": { "start": { "line": 326, "column": 26 }, "end": { "line": 328, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 9694, "end": 9821, "loc": { "start": { "line": 327, "column": 4 }, "end": { "line": 327, "column": 131 } }, "argument": { "type": "CallExpression", "start": 9701, "end": 9820, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 130 } }, "callee": { "type": "MemberExpression", "start": 9701, "end": 9754, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 64 } }, "object": { "type": "CallExpression", "start": 9701, "end": 9747, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 9701, "end": 9734, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 44 } }, "object": { "type": "CallExpression", "start": 9701, "end": 9728, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 9701, "end": 9726, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 36 } }, "object": { "type": "CallExpression", "start": 9701, "end": 9721, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 31 } }, "callee": { "type": "MemberExpression", "start": 9701, "end": 9719, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 29 } }, "object": { "type": "Identifier", "start": 9701, "end": 9707, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 17 }, "identifierName": "string" }, "name": "string" }, "property": { "type": "Identifier", "start": 9708, "end": 9719, "loc": { "start": { "line": 327, "column": 18 }, "end": { "line": 327, "column": 29 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 9722, "end": 9726, "loc": { "start": { "line": 327, "column": 32 }, "end": { "line": 327, "column": 36 }, "identifierName": "trim" }, "name": "trim" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 9729, "end": 9734, "loc": { "start": { "line": 327, "column": 39 }, "end": { "line": 327, "column": 44 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "RegExpLiteral", "start": 9735, "end": 9746, "loc": { "start": { "line": 327, "column": 45 }, "end": { "line": 327, "column": 56 } }, "extra": { "raw": "/[.\\-_\\s]/g" }, "pattern": "[.\\-_\\s]", "flags": "g" } ] }, "property": { "type": "Identifier", "start": 9748, "end": 9754, "loc": { "start": { "line": 327, "column": 58 }, "end": { "line": 327, "column": 64 }, "identifierName": "reduce" }, "name": "reduce" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 9755, "end": 9819, "loc": { "start": { "line": 327, "column": 65 }, "end": { "line": 327, "column": 129 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 9756, "end": 9762, "loc": { "start": { "line": 327, "column": 66 }, "end": { "line": 327, "column": 72 }, "identifierName": "string" }, "name": "string" }, { "type": "Identifier", "start": 9764, "end": 9768, "loc": { "start": { "line": 327, "column": 74 }, "end": { "line": 327, "column": 78 }, "identifierName": "word" }, "name": "word" } ], "body": { "type": "BinaryExpression", "start": 9773, "end": 9819, "loc": { "start": { "line": 327, "column": 83 }, "end": { "line": 327, "column": 129 } }, "left": { "type": "BinaryExpression", "start": 9773, "end": 9803, "loc": { "start": { "line": 327, "column": 83 }, "end": { "line": 327, "column": 113 } }, "left": { "type": "Identifier", "start": 9773, "end": 9779, "loc": { "start": { "line": 327, "column": 83 }, "end": { "line": 327, "column": 89 }, "identifierName": "string" }, "name": "string" }, "operator": "+", "right": { "type": "CallExpression", "start": 9782, "end": 9803, "loc": { "start": { "line": 327, "column": 92 }, "end": { "line": 327, "column": 113 } }, "callee": { "type": "MemberExpression", "start": 9782, "end": 9801, "loc": { "start": { "line": 327, "column": 92 }, "end": { "line": 327, "column": 111 } }, "object": { "type": "MemberExpression", "start": 9782, "end": 9789, "loc": { "start": { "line": 327, "column": 92 }, "end": { "line": 327, "column": 99 } }, "object": { "type": "Identifier", "start": 9782, "end": 9786, "loc": { "start": { "line": 327, "column": 92 }, "end": { "line": 327, "column": 96 }, "identifierName": "word" }, "name": "word" }, "property": { "type": "NumericLiteral", "start": 9787, "end": 9788, "loc": { "start": { "line": 327, "column": 97 }, "end": { "line": 327, "column": 98 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "property": { "type": "Identifier", "start": 9790, "end": 9801, "loc": { "start": { "line": 327, "column": 100 }, "end": { "line": 327, "column": 111 }, "identifierName": "toUpperCase" }, "name": "toUpperCase" }, "computed": false }, "arguments": [] } }, "operator": "+", "right": { "type": "CallExpression", "start": 9806, "end": 9819, "loc": { "start": { "line": 327, "column": 116 }, "end": { "line": 327, "column": 129 } }, "callee": { "type": "MemberExpression", "start": 9806, "end": 9816, "loc": { "start": { "line": 327, "column": 116 }, "end": { "line": 327, "column": 126 } }, "object": { "type": "Identifier", "start": 9806, "end": 9810, "loc": { "start": { "line": 327, "column": 116 }, "end": { "line": 327, "column": 120 }, "identifierName": "word" }, "name": "word" }, "property": { "type": "Identifier", "start": 9811, "end": 9816, "loc": { "start": { "line": 327, "column": 121 }, "end": { "line": 327, "column": 126 }, "identifierName": "slice" }, "name": "slice" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 9817, "end": 9818, "loc": { "start": { "line": 327, "column": 127 }, "end": { "line": 327, "column": 128 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } } } ] } } ], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n ", "start": 9537, "end": 9659, "loc": { "start": { "line": 321, "column": 2 }, "end": { "line": 325, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Counts the number of duplicates in a given array\r\n * \r\n * @param {Array} array The haystack to search in\r\n * @param {string} value The needle to search for\r\n ", "start": 9833, "end": 10013, "loc": { "start": { "line": 330, "column": 2 }, "end": { "line": 335, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 10017, "end": 10114, "loc": { "start": { "line": 336, "column": 2 }, "end": { "line": 338, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10017, "end": 10029, "loc": { "start": { "line": 336, "column": 2 }, "end": { "line": 336, "column": 14 }, "identifierName": "countInArray" }, "name": "countInArray", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 10032, "end": 10114, "loc": { "start": { "line": 336, "column": 17 }, "end": { "line": 338, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10033, "end": 10038, "loc": { "start": { "line": 336, "column": 18 }, "end": { "line": 336, "column": 23 }, "identifierName": "array" }, "name": "array" }, { "type": "Identifier", "start": 10040, "end": 10045, "loc": { "start": { "line": 336, "column": 25 }, "end": { "line": 336, "column": 30 }, "identifierName": "value" }, "name": "value" } ], "body": { "type": "BlockStatement", "start": 10050, "end": 10114, "loc": { "start": { "line": 336, "column": 35 }, "end": { "line": 338, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 10057, "end": 10109, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 337, "column": 56 } }, "argument": { "type": "CallExpression", "start": 10064, "end": 10108, "loc": { "start": { "line": 337, "column": 11 }, "end": { "line": 337, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 10064, "end": 10076, "loc": { "start": { "line": 337, "column": 11 }, "end": { "line": 337, "column": 23 } }, "object": { "type": "Identifier", "start": 10064, "end": 10069, "loc": { "start": { "line": 337, "column": 11 }, "end": { "line": 337, "column": 16 }, "identifierName": "array" }, "name": "array" }, "property": { "type": "Identifier", "start": 10070, "end": 10076, "loc": { "start": { "line": 337, "column": 17 }, "end": { "line": 337, "column": 23 }, "identifierName": "reduce" }, "name": "reduce" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10077, "end": 10104, "loc": { "start": { "line": 337, "column": 24 }, "end": { "line": 337, "column": 51 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 10078, "end": 10079, "loc": { "start": { "line": 337, "column": 25 }, "end": { "line": 337, "column": 26 }, "identifierName": "n" }, "name": "n" }, { "type": "Identifier", "start": 10081, "end": 10082, "loc": { "start": { "line": 337, "column": 28 }, "end": { "line": 337, "column": 29 }, "identifierName": "x" }, "name": "x" } ], "body": { "type": "BinaryExpression", "start": 10087, "end": 10104, "loc": { "start": { "line": 337, "column": 34 }, "end": { "line": 337, "column": 51 } }, "left": { "type": "Identifier", "start": 10087, "end": 10088, "loc": { "start": { "line": 337, "column": 34 }, "end": { "line": 337, "column": 35 }, "identifierName": "n" }, "name": "n" }, "operator": "+", "right": { "type": "BinaryExpression", "start": 10092, "end": 10103, "loc": { "start": { "line": 337, "column": 39 }, "end": { "line": 337, "column": 50 } }, "left": { "type": "Identifier", "start": 10092, "end": 10093, "loc": { "start": { "line": 337, "column": 39 }, "end": { "line": 337, "column": 40 }, "identifierName": "x" }, "name": "x" }, "operator": "===", "right": { "type": "Identifier", "start": 10098, "end": 10103, "loc": { "start": { "line": 337, "column": 45 }, "end": { "line": 337, "column": 50 }, "identifierName": "value" }, "name": "value" }, "extra": { "parenthesized": true, "parenStart": 10091 } } } }, { "type": "NumericLiteral", "start": 10106, "end": 10107, "loc": { "start": { "line": 337, "column": 53 }, "end": { "line": 337, "column": 54 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] } } ], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Counts the number of duplicates in a given array\r\n * \r\n * @param {Array} array The haystack to search in\r\n * @param {string} value The needle to search for\r\n ", "start": 9833, "end": 10013, "loc": { "start": { "line": 330, "column": 2 }, "end": { "line": 335, "column": 5 } } } ] } ] }, "leadingComments": [], "name": "_", "trailingComments": [] }, { "type": "Identifier", "start": 10123, "end": 10148, "loc": { "start": { "line": 342, "column": 0 }, "end": { "line": 342, "column": 25 } }, "declaration": { "type": "Identifier", "start": 10138, "end": 10147, "loc": { "start": { "line": 342, "column": 15 }, "end": { "line": 342, "column": 24 }, "identifierName": "Utilities" }, "name": "Utilities" }, "name": "_", "leadingComments": [], "trailingComments": [] }, { "type": "ExportDefaultDeclaration", "start": 10123, "end": 10148, "loc": { "start": { "line": 342, "column": 0 }, "end": { "line": 342, "column": 25 } }, "declaration": { "type": "ClassDeclaration", "start": 30, "end": 10119, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 340, "column": 1 } }, "id": { "type": "Identifier", "start": 36, "end": 45, "loc": { "start": { "line": 4, "column": 6 }, "end": { "line": 4, "column": 15 }, "identifierName": "Utilities" }, "name": "Utilities", "leadingComments": null }, "superClass": null, "body": { "type": "ClassBody", "start": 46, "end": 10119, "loc": { "start": { "line": 4, "column": 16 }, "end": { "line": 340, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 114, "end": 282, "loc": { "start": { "line": 8, "column": 2 }, "end": { "line": 13, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 114, "end": 125, "loc": { "start": { "line": 8, "column": 2 }, "end": { "line": 8, "column": 13 }, "identifierName": "constructor" }, "name": "constructor", "leadingComments": null }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 126, "end": 148, "loc": { "start": { "line": 8, "column": 14 }, "end": { "line": 8, "column": 36 }, "identifierName": "simpleKeyboardInstance" }, "name": "simpleKeyboardInstance" } ], "body": { "type": "BlockStatement", "start": 149, "end": 282, "loc": { "start": { "line": 8, "column": 37 }, "end": { "line": 13, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 224, "end": 277, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 224, "end": 276, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 56 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 224, "end": 251, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 31 } }, "object": { "type": "ThisExpression", "start": 224, "end": 228, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 229, "end": 251, "loc": { "start": { "line": 12, "column": 9 }, "end": { "line": 12, "column": 31 }, "identifierName": "simpleKeyboardInstance" }, "name": "simpleKeyboardInstance" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", "start": 254, "end": 276, "loc": { "start": { "line": 12, "column": 34 }, "end": { "line": 12, "column": 56 }, "identifierName": "simpleKeyboardInstance" }, "name": "simpleKeyboardInstance" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {object} A simple-keyboard instance\r\n ", "start": 156, "end": 218, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 11, "column": 7 } } } ] } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Creates an instance of the Utility service\r\n ", "start": 51, "end": 110, "loc": { "start": { "line": 5, "column": 2 }, "end": { "line": 7, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds default classes to a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @return {string} The classes to be added to the button\r\n ", "start": 288, "end": 466, "loc": { "start": { "line": 15, "column": 2 }, "end": { "line": 20, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 470, "end": 902, "loc": { "start": { "line": 21, "column": 2 }, "end": { "line": 30, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 470, "end": 484, "loc": { "start": { "line": 21, "column": 2 }, "end": { "line": 21, "column": 16 }, "identifierName": "getButtonClass" }, "name": "getButtonClass", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 487, "end": 902, "loc": { "start": { "line": 21, "column": 19 }, "end": { "line": 30, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 487, "end": 493, "loc": { "start": { "line": 21, "column": 19 }, "end": { "line": 21, "column": 25 }, "identifierName": "button" }, "name": "button" } ], "body": { "type": "BlockStatement", "start": 497, "end": 902, "loc": { "start": { "line": 21, "column": 29 }, "end": { "line": 30, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 504, "end": 626, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 126 } }, "declarations": [ { "type": "VariableDeclarator", "start": 508, "end": 625, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 125 } }, "id": { "type": "Identifier", "start": 508, "end": 523, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 23 }, "identifierName": "buttonTypeClass" }, "name": "buttonTypeClass" }, "init": { "type": "ConditionalExpression", "start": 526, "end": 625, "loc": { "start": { "line": 22, "column": 26 }, "end": { "line": 22, "column": 125 } }, "test": { "type": "LogicalExpression", "start": 527, "end": 592, "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 92 } }, "left": { "type": "LogicalExpression", "start": 527, "end": 571, "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 71 } }, "left": { "type": "CallExpression", "start": 527, "end": 547, "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 47 } }, "callee": { "type": "MemberExpression", "start": 527, "end": 542, "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 42 } }, "object": { "type": "Identifier", "start": 527, "end": 533, "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 33 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 534, "end": 542, "loc": { "start": { "line": 22, "column": 34 }, "end": { "line": 22, "column": 42 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 543, "end": 546, "loc": { "start": { "line": 22, "column": 43 }, "end": { "line": 22, "column": 46 } }, "extra": { "rawValue": "{", "raw": "\"{\"" }, "value": "{" } ] }, "operator": "&&", "right": { "type": "CallExpression", "start": 551, "end": 571, "loc": { "start": { "line": 22, "column": 51 }, "end": { "line": 22, "column": 71 } }, "callee": { "type": "MemberExpression", "start": 551, "end": 566, "loc": { "start": { "line": 22, "column": 51 }, "end": { "line": 22, "column": 66 } }, "object": { "type": "Identifier", "start": 551, "end": 557, "loc": { "start": { "line": 22, "column": 51 }, "end": { "line": 22, "column": 57 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 558, "end": 566, "loc": { "start": { "line": 22, "column": 58 }, "end": { "line": 22, "column": 66 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 567, "end": 570, "loc": { "start": { "line": 22, "column": 67 }, "end": { "line": 22, "column": 70 } }, "extra": { "rawValue": "}", "raw": "\"}\"" }, "value": "}" } ] } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 575, "end": 592, "loc": { "start": { "line": 22, "column": 75 }, "end": { "line": 22, "column": 92 } }, "left": { "type": "Identifier", "start": 575, "end": 581, "loc": { "start": { "line": 22, "column": 75 }, "end": { "line": 22, "column": 81 }, "identifierName": "button" }, "name": "button" }, "operator": "!==", "right": { "type": "StringLiteral", "start": 586, "end": 592, "loc": { "start": { "line": 22, "column": 86 }, "end": { "line": 22, "column": 92 } }, "extra": { "rawValue": "{//}", "raw": "'{//}'" }, "value": "{//}" } }, "extra": { "parenthesized": true, "parenStart": 526 } }, "consequent": { "type": "StringLiteral", "start": 596, "end": 609, "loc": { "start": { "line": 22, "column": 96 }, "end": { "line": 22, "column": 109 } }, "extra": { "rawValue": "functionBtn", "raw": "\"functionBtn\"" }, "value": "functionBtn" }, "alternate": { "type": "StringLiteral", "start": 612, "end": 625, "loc": { "start": { "line": 22, "column": 112 }, "end": { "line": 22, "column": 125 } }, "extra": { "rawValue": "standardBtn", "raw": "\"standardBtn\"" }, "value": "standardBtn" } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 632, "end": 699, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 71 } }, "declarations": [ { "type": "VariableDeclarator", "start": 636, "end": 698, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 70 } }, "id": { "type": "Identifier", "start": 636, "end": 655, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 27 }, "identifierName": "buttonWithoutBraces" }, "name": "buttonWithoutBraces" }, "init": { "type": "CallExpression", "start": 658, "end": 698, "loc": { "start": { "line": 23, "column": 30 }, "end": { "line": 23, "column": 70 } }, "callee": { "type": "MemberExpression", "start": 658, "end": 689, "loc": { "start": { "line": 23, "column": 30 }, "end": { "line": 23, "column": 61 } }, "object": { "type": "CallExpression", "start": 658, "end": 681, "loc": { "start": { "line": 23, "column": 30 }, "end": { "line": 23, "column": 53 } }, "callee": { "type": "MemberExpression", "start": 658, "end": 672, "loc": { "start": { "line": 23, "column": 30 }, "end": { "line": 23, "column": 44 } }, "object": { "type": "Identifier", "start": 658, "end": 664, "loc": { "start": { "line": 23, "column": 30 }, "end": { "line": 23, "column": 36 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 665, "end": 672, "loc": { "start": { "line": 23, "column": 37 }, "end": { "line": 23, "column": 44 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 673, "end": 676, "loc": { "start": { "line": 23, "column": 45 }, "end": { "line": 23, "column": 48 } }, "extra": { "rawValue": "{", "raw": "\"{\"" }, "value": "{" }, { "type": "StringLiteral", "start": 678, "end": 680, "loc": { "start": { "line": 23, "column": 50 }, "end": { "line": 23, "column": 52 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } ] }, "property": { "type": "Identifier", "start": 682, "end": 689, "loc": { "start": { "line": 23, "column": 54 }, "end": { "line": 23, "column": 61 }, "identifierName": "replace" }, "name": "replace" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 690, "end": 693, "loc": { "start": { "line": 23, "column": 62 }, "end": { "line": 23, "column": 65 } }, "extra": { "rawValue": "}", "raw": "\"}\"" }, "value": "}" }, { "type": "StringLiteral", "start": 695, "end": 697, "loc": { "start": { "line": 23, "column": 67 }, "end": { "line": 23, "column": 69 } }, "extra": { "rawValue": "", "raw": "\"\"" }, "value": "" } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 705, "end": 731, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", "start": 709, "end": 730, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 29 } }, "id": { "type": "Identifier", "start": 709, "end": 725, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 24 }, "identifierName": "buttonNormalized" }, "name": "buttonNormalized" }, "init": { "type": "StringLiteral", "start": 728, "end": 730, "loc": { "start": { "line": 24, "column": 27 }, "end": { "line": 24, "column": 29 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } } ], "kind": "let" }, { "type": "IfStatement", "start": 739, "end": 839, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 27, "column": 61 } }, "test": { "type": "BinaryExpression", "start": 742, "end": 775, "loc": { "start": { "line": 26, "column": 7 }, "end": { "line": 26, "column": 40 } }, "left": { "type": "Identifier", "start": 742, "end": 757, "loc": { "start": { "line": 26, "column": 7 }, "end": { "line": 26, "column": 22 }, "identifierName": "buttonTypeClass" }, "name": "buttonTypeClass" }, "operator": "!==", "right": { "type": "StringLiteral", "start": 762, "end": 775, "loc": { "start": { "line": 26, "column": 27 }, "end": { "line": 26, "column": 40 } }, "extra": { "rawValue": "standardBtn", "raw": "\"standardBtn\"" }, "value": "standardBtn" } }, "consequent": { "type": "ExpressionStatement", "start": 784, "end": 839, "loc": { "start": { "line": 27, "column": 6 }, "end": { "line": 27, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 784, "end": 838, "loc": { "start": { "line": 27, "column": 6 }, "end": { "line": 27, "column": 60 } }, "operator": "=", "left": { "type": "Identifier", "start": 784, "end": 800, "loc": { "start": { "line": 27, "column": 6 }, "end": { "line": 27, "column": 22 }, "identifierName": "buttonNormalized" }, "name": "buttonNormalized" }, "right": { "type": "TemplateLiteral", "start": 803, "end": 838, "loc": { "start": { "line": 27, "column": 25 }, "end": { "line": 27, "column": 60 } }, "expressions": [ { "type": "Identifier", "start": 817, "end": 836, "loc": { "start": { "line": 27, "column": 39 }, "end": { "line": 27, "column": 58 }, "identifierName": "buttonWithoutBraces" }, "name": "buttonWithoutBraces" } ], "quasis": [ { "type": "TemplateElement", "start": 804, "end": 815, "loc": { "start": { "line": 27, "column": 26 }, "end": { "line": 27, "column": 37 } }, "value": { "raw": " hg-button-", "cooked": " hg-button-" }, "tail": false }, { "type": "TemplateElement", "start": 837, "end": 837, "loc": { "start": { "line": 27, "column": 59 }, "end": { "line": 27, "column": 59 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } }, "alternate": null }, { "type": "ReturnStatement", "start": 847, "end": 897, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 54 } }, "argument": { "type": "TemplateLiteral", "start": 854, "end": 896, "loc": { "start": { "line": 29, "column": 11 }, "end": { "line": 29, "column": 53 } }, "expressions": [ { "type": "Identifier", "start": 860, "end": 875, "loc": { "start": { "line": 29, "column": 17 }, "end": { "line": 29, "column": 32 }, "identifierName": "buttonTypeClass" }, "name": "buttonTypeClass" }, { "type": "Identifier", "start": 878, "end": 894, "loc": { "start": { "line": 29, "column": 35 }, "end": { "line": 29, "column": 51 }, "identifierName": "buttonNormalized" }, "name": "buttonNormalized" } ], "quasis": [ { "type": "TemplateElement", "start": 855, "end": 858, "loc": { "start": { "line": 29, "column": 12 }, "end": { "line": 29, "column": 15 } }, "value": { "raw": "hg-", "cooked": "hg-" }, "tail": false }, { "type": "TemplateElement", "start": 876, "end": 876, "loc": { "start": { "line": 29, "column": 33 }, "end": { "line": 29, "column": 33 } }, "value": { "raw": "", "cooked": "" }, "tail": false }, { "type": "TemplateElement", "start": 895, "end": 895, "loc": { "start": { "line": 29, "column": 52 }, "end": { "line": 29, "column": 52 } }, "value": { "raw": "", "cooked": "" }, "tail": true } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds default classes to a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @return {string} The classes to be added to the button\r\n ", "start": 288, "end": 466, "loc": { "start": { "line": 15, "column": 2 }, "end": { "line": 20, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Default button display labels\r\n ", "start": 908, "end": 954, "loc": { "start": { "line": 32, "column": 2 }, "end": { "line": 34, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 958, "end": 2526, "loc": { "start": { "line": 35, "column": 2 }, "end": { "line": 97, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 958, "end": 974, "loc": { "start": { "line": 35, "column": 2 }, "end": { "line": 35, "column": 18 }, "identifierName": "getDefaultDiplay" }, "name": "getDefaultDiplay", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 976, "end": 2526, "loc": { "start": { "line": 35, "column": 20 }, "end": { "line": 97, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 983, "end": 2521, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 96, "column": 6 } }, "argument": { "type": "ObjectExpression", "start": 990, "end": 2520, "loc": { "start": { "line": 36, "column": 11 }, "end": { "line": 96, "column": 5 } }, "properties": [ { "type": "ObjectProperty", "start": 999, "end": 1020, "loc": { "start": { "line": 37, "column": 6 }, "end": { "line": 37, "column": 27 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 999, "end": 1007, "loc": { "start": { "line": 37, "column": 6 }, "end": { "line": 37, "column": 14 } }, "extra": { "rawValue": "{bksp}", "raw": "'{bksp}'" }, "value": "{bksp}" }, "value": { "type": "StringLiteral", "start": 1009, "end": 1020, "loc": { "start": { "line": 37, "column": 16 }, "end": { "line": 37, "column": 27 } }, "extra": { "rawValue": "backspace", "raw": "'backspace'" }, "value": "backspace" } }, { "type": "ObjectProperty", "start": 1029, "end": 1055, "loc": { "start": { "line": 38, "column": 6 }, "end": { "line": 38, "column": 32 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1029, "end": 1042, "loc": { "start": { "line": 38, "column": 6 }, "end": { "line": 38, "column": 19 } }, "extra": { "rawValue": "{backspace}", "raw": "'{backspace}'" }, "value": "{backspace}" }, "value": { "type": "StringLiteral", "start": 1044, "end": 1055, "loc": { "start": { "line": 38, "column": 21 }, "end": { "line": 38, "column": 32 } }, "extra": { "rawValue": "backspace", "raw": "'backspace'" }, "value": "backspace" } }, { "type": "ObjectProperty", "start": 1064, "end": 1084, "loc": { "start": { "line": 39, "column": 6 }, "end": { "line": 39, "column": 26 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1064, "end": 1073, "loc": { "start": { "line": 39, "column": 6 }, "end": { "line": 39, "column": 15 } }, "extra": { "rawValue": "{enter}", "raw": "'{enter}'" }, "value": "{enter}" }, "value": { "type": "StringLiteral", "start": 1075, "end": 1084, "loc": { "start": { "line": 39, "column": 17 }, "end": { "line": 39, "column": 26 } }, "extra": { "rawValue": "< enter", "raw": "'< enter'" }, "value": "< enter" } }, { "type": "ObjectProperty", "start": 1093, "end": 1111, "loc": { "start": { "line": 40, "column": 6 }, "end": { "line": 40, "column": 24 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1093, "end": 1102, "loc": { "start": { "line": 40, "column": 6 }, "end": { "line": 40, "column": 15 } }, "extra": { "rawValue": "{shift}", "raw": "'{shift}'" }, "value": "{shift}" }, "value": { "type": "StringLiteral", "start": 1104, "end": 1111, "loc": { "start": { "line": 40, "column": 17 }, "end": { "line": 40, "column": 24 } }, "extra": { "rawValue": "shift", "raw": "'shift'" }, "value": "shift" } }, { "type": "ObjectProperty", "start": 1120, "end": 1142, "loc": { "start": { "line": 41, "column": 6 }, "end": { "line": 41, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1120, "end": 1133, "loc": { "start": { "line": 41, "column": 6 }, "end": { "line": 41, "column": 19 } }, "extra": { "rawValue": "{shiftleft}", "raw": "'{shiftleft}'" }, "value": "{shiftleft}" }, "value": { "type": "StringLiteral", "start": 1135, "end": 1142, "loc": { "start": { "line": 41, "column": 21 }, "end": { "line": 41, "column": 28 } }, "extra": { "rawValue": "shift", "raw": "'shift'" }, "value": "shift" } }, { "type": "ObjectProperty", "start": 1151, "end": 1174, "loc": { "start": { "line": 42, "column": 6 }, "end": { "line": 42, "column": 29 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1151, "end": 1165, "loc": { "start": { "line": 42, "column": 6 }, "end": { "line": 42, "column": 20 } }, "extra": { "rawValue": "{shiftright}", "raw": "'{shiftright}'" }, "value": "{shiftright}" }, "value": { "type": "StringLiteral", "start": 1167, "end": 1174, "loc": { "start": { "line": 42, "column": 22 }, "end": { "line": 42, "column": 29 } }, "extra": { "rawValue": "shift", "raw": "'shift'" }, "value": "shift" } }, { "type": "ObjectProperty", "start": 1183, "end": 1197, "loc": { "start": { "line": 43, "column": 6 }, "end": { "line": 43, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1183, "end": 1190, "loc": { "start": { "line": 43, "column": 6 }, "end": { "line": 43, "column": 13 } }, "extra": { "rawValue": "{alt}", "raw": "'{alt}'" }, "value": "{alt}" }, "value": { "type": "StringLiteral", "start": 1192, "end": 1197, "loc": { "start": { "line": 43, "column": 15 }, "end": { "line": 43, "column": 20 } }, "extra": { "rawValue": "alt", "raw": "'alt'" }, "value": "alt" } }, { "type": "ObjectProperty", "start": 1206, "end": 1220, "loc": { "start": { "line": 44, "column": 6 }, "end": { "line": 44, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1206, "end": 1211, "loc": { "start": { "line": 44, "column": 6 }, "end": { "line": 44, "column": 11 } }, "extra": { "rawValue": "{s}", "raw": "'{s}'" }, "value": "{s}" }, "value": { "type": "StringLiteral", "start": 1213, "end": 1220, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 20 } }, "extra": { "rawValue": "shift", "raw": "'shift'" }, "value": "shift" } }, { "type": "ObjectProperty", "start": 1229, "end": 1243, "loc": { "start": { "line": 45, "column": 6 }, "end": { "line": 45, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1229, "end": 1236, "loc": { "start": { "line": 45, "column": 6 }, "end": { "line": 45, "column": 13 } }, "extra": { "rawValue": "{tab}", "raw": "'{tab}'" }, "value": "{tab}" }, "value": { "type": "StringLiteral", "start": 1238, "end": 1243, "loc": { "start": { "line": 45, "column": 15 }, "end": { "line": 45, "column": 20 } }, "extra": { "rawValue": "tab", "raw": "'tab'" }, "value": "tab" } }, { "type": "ObjectProperty", "start": 1252, "end": 1268, "loc": { "start": { "line": 46, "column": 6 }, "end": { "line": 46, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1252, "end": 1260, "loc": { "start": { "line": 46, "column": 6 }, "end": { "line": 46, "column": 14 } }, "extra": { "rawValue": "{lock}", "raw": "'{lock}'" }, "value": "{lock}" }, "value": { "type": "StringLiteral", "start": 1262, "end": 1268, "loc": { "start": { "line": 46, "column": 16 }, "end": { "line": 46, "column": 22 } }, "extra": { "rawValue": "caps", "raw": "'caps'" }, "value": "caps" } }, { "type": "ObjectProperty", "start": 1277, "end": 1297, "loc": { "start": { "line": 47, "column": 6 }, "end": { "line": 47, "column": 26 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1277, "end": 1289, "loc": { "start": { "line": 47, "column": 6 }, "end": { "line": 47, "column": 18 } }, "extra": { "rawValue": "{capslock}", "raw": "'{capslock}'" }, "value": "{capslock}" }, "value": { "type": "StringLiteral", "start": 1291, "end": 1297, "loc": { "start": { "line": 47, "column": 20 }, "end": { "line": 47, "column": 26 } }, "extra": { "rawValue": "caps", "raw": "'caps'" }, "value": "caps" } }, { "type": "ObjectProperty", "start": 1306, "end": 1326, "loc": { "start": { "line": 48, "column": 6 }, "end": { "line": 48, "column": 26 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1306, "end": 1316, "loc": { "start": { "line": 48, "column": 6 }, "end": { "line": 48, "column": 16 } }, "extra": { "rawValue": "{accept}", "raw": "'{accept}'" }, "value": "{accept}" }, "value": { "type": "StringLiteral", "start": 1318, "end": 1326, "loc": { "start": { "line": 48, "column": 18 }, "end": { "line": 48, "column": 26 } }, "extra": { "rawValue": "Submit", "raw": "'Submit'" }, "value": "Submit" } }, { "type": "ObjectProperty", "start": 1335, "end": 1349, "loc": { "start": { "line": 49, "column": 6 }, "end": { "line": 49, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1335, "end": 1344, "loc": { "start": { "line": 49, "column": 6 }, "end": { "line": 49, "column": 15 } }, "extra": { "rawValue": "{space}", "raw": "'{space}'" }, "value": "{space}" }, "value": { "type": "StringLiteral", "start": 1346, "end": 1349, "loc": { "start": { "line": 49, "column": 17 }, "end": { "line": 49, "column": 20 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } }, { "type": "ObjectProperty", "start": 1358, "end": 1369, "loc": { "start": { "line": 50, "column": 6 }, "end": { "line": 50, "column": 17 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1358, "end": 1364, "loc": { "start": { "line": 50, "column": 6 }, "end": { "line": 50, "column": 12 } }, "extra": { "rawValue": "{//}", "raw": "'{//}'" }, "value": "{//}" }, "value": { "type": "StringLiteral", "start": 1366, "end": 1369, "loc": { "start": { "line": 50, "column": 14 }, "end": { "line": 50, "column": 17 } }, "extra": { "rawValue": " ", "raw": "' '" }, "value": " " } }, { "type": "ObjectProperty", "start": 1378, "end": 1392, "loc": { "start": { "line": 51, "column": 6 }, "end": { "line": 51, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1378, "end": 1385, "loc": { "start": { "line": 51, "column": 6 }, "end": { "line": 51, "column": 13 } }, "extra": { "rawValue": "{esc}", "raw": "\"{esc}\"" }, "value": "{esc}" }, "value": { "type": "StringLiteral", "start": 1387, "end": 1392, "loc": { "start": { "line": 51, "column": 15 }, "end": { "line": 51, "column": 20 } }, "extra": { "rawValue": "esc", "raw": "\"esc\"" }, "value": "esc" } }, { "type": "ObjectProperty", "start": 1401, "end": 1418, "loc": { "start": { "line": 52, "column": 6 }, "end": { "line": 52, "column": 23 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1401, "end": 1411, "loc": { "start": { "line": 52, "column": 6 }, "end": { "line": 52, "column": 16 } }, "extra": { "rawValue": "{escape}", "raw": "\"{escape}\"" }, "value": "{escape}" }, "value": { "type": "StringLiteral", "start": 1413, "end": 1418, "loc": { "start": { "line": 52, "column": 18 }, "end": { "line": 52, "column": 23 } }, "extra": { "rawValue": "esc", "raw": "\"esc\"" }, "value": "esc" } }, { "type": "ObjectProperty", "start": 1427, "end": 1439, "loc": { "start": { "line": 53, "column": 6 }, "end": { "line": 53, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1427, "end": 1433, "loc": { "start": { "line": 53, "column": 6 }, "end": { "line": 53, "column": 12 } }, "extra": { "rawValue": "{f1}", "raw": "\"{f1}\"" }, "value": "{f1}" }, "value": { "type": "StringLiteral", "start": 1435, "end": 1439, "loc": { "start": { "line": 53, "column": 14 }, "end": { "line": 53, "column": 18 } }, "extra": { "rawValue": "f1", "raw": "\"f1\"" }, "value": "f1" } }, { "type": "ObjectProperty", "start": 1448, "end": 1460, "loc": { "start": { "line": 54, "column": 6 }, "end": { "line": 54, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1448, "end": 1454, "loc": { "start": { "line": 54, "column": 6 }, "end": { "line": 54, "column": 12 } }, "extra": { "rawValue": "{f2}", "raw": "\"{f2}\"" }, "value": "{f2}" }, "value": { "type": "StringLiteral", "start": 1456, "end": 1460, "loc": { "start": { "line": 54, "column": 14 }, "end": { "line": 54, "column": 18 } }, "extra": { "rawValue": "f2", "raw": "\"f2\"" }, "value": "f2" } }, { "type": "ObjectProperty", "start": 1469, "end": 1481, "loc": { "start": { "line": 55, "column": 6 }, "end": { "line": 55, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1469, "end": 1475, "loc": { "start": { "line": 55, "column": 6 }, "end": { "line": 55, "column": 12 } }, "extra": { "rawValue": "{f3}", "raw": "\"{f3}\"" }, "value": "{f3}" }, "value": { "type": "StringLiteral", "start": 1477, "end": 1481, "loc": { "start": { "line": 55, "column": 14 }, "end": { "line": 55, "column": 18 } }, "extra": { "rawValue": "f3", "raw": "\"f3\"" }, "value": "f3" } }, { "type": "ObjectProperty", "start": 1490, "end": 1502, "loc": { "start": { "line": 56, "column": 6 }, "end": { "line": 56, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1490, "end": 1496, "loc": { "start": { "line": 56, "column": 6 }, "end": { "line": 56, "column": 12 } }, "extra": { "rawValue": "{f4}", "raw": "\"{f4}\"" }, "value": "{f4}" }, "value": { "type": "StringLiteral", "start": 1498, "end": 1502, "loc": { "start": { "line": 56, "column": 14 }, "end": { "line": 56, "column": 18 } }, "extra": { "rawValue": "f4", "raw": "\"f4\"" }, "value": "f4" } }, { "type": "ObjectProperty", "start": 1511, "end": 1523, "loc": { "start": { "line": 57, "column": 6 }, "end": { "line": 57, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1511, "end": 1517, "loc": { "start": { "line": 57, "column": 6 }, "end": { "line": 57, "column": 12 } }, "extra": { "rawValue": "{f5}", "raw": "\"{f5}\"" }, "value": "{f5}" }, "value": { "type": "StringLiteral", "start": 1519, "end": 1523, "loc": { "start": { "line": 57, "column": 14 }, "end": { "line": 57, "column": 18 } }, "extra": { "rawValue": "f5", "raw": "\"f5\"" }, "value": "f5" } }, { "type": "ObjectProperty", "start": 1532, "end": 1544, "loc": { "start": { "line": 58, "column": 6 }, "end": { "line": 58, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1532, "end": 1538, "loc": { "start": { "line": 58, "column": 6 }, "end": { "line": 58, "column": 12 } }, "extra": { "rawValue": "{f6}", "raw": "\"{f6}\"" }, "value": "{f6}" }, "value": { "type": "StringLiteral", "start": 1540, "end": 1544, "loc": { "start": { "line": 58, "column": 14 }, "end": { "line": 58, "column": 18 } }, "extra": { "rawValue": "f6", "raw": "\"f6\"" }, "value": "f6" } }, { "type": "ObjectProperty", "start": 1553, "end": 1565, "loc": { "start": { "line": 59, "column": 6 }, "end": { "line": 59, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1553, "end": 1559, "loc": { "start": { "line": 59, "column": 6 }, "end": { "line": 59, "column": 12 } }, "extra": { "rawValue": "{f7}", "raw": "\"{f7}\"" }, "value": "{f7}" }, "value": { "type": "StringLiteral", "start": 1561, "end": 1565, "loc": { "start": { "line": 59, "column": 14 }, "end": { "line": 59, "column": 18 } }, "extra": { "rawValue": "f7", "raw": "\"f7\"" }, "value": "f7" } }, { "type": "ObjectProperty", "start": 1574, "end": 1586, "loc": { "start": { "line": 60, "column": 6 }, "end": { "line": 60, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1574, "end": 1580, "loc": { "start": { "line": 60, "column": 6 }, "end": { "line": 60, "column": 12 } }, "extra": { "rawValue": "{f8}", "raw": "\"{f8}\"" }, "value": "{f8}" }, "value": { "type": "StringLiteral", "start": 1582, "end": 1586, "loc": { "start": { "line": 60, "column": 14 }, "end": { "line": 60, "column": 18 } }, "extra": { "rawValue": "f8", "raw": "\"f8\"" }, "value": "f8" } }, { "type": "ObjectProperty", "start": 1595, "end": 1607, "loc": { "start": { "line": 61, "column": 6 }, "end": { "line": 61, "column": 18 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1595, "end": 1601, "loc": { "start": { "line": 61, "column": 6 }, "end": { "line": 61, "column": 12 } }, "extra": { "rawValue": "{f9}", "raw": "\"{f9}\"" }, "value": "{f9}" }, "value": { "type": "StringLiteral", "start": 1603, "end": 1607, "loc": { "start": { "line": 61, "column": 14 }, "end": { "line": 61, "column": 18 } }, "extra": { "rawValue": "f9", "raw": "\"f9\"" }, "value": "f9" } }, { "type": "ObjectProperty", "start": 1616, "end": 1630, "loc": { "start": { "line": 62, "column": 6 }, "end": { "line": 62, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1616, "end": 1623, "loc": { "start": { "line": 62, "column": 6 }, "end": { "line": 62, "column": 13 } }, "extra": { "rawValue": "{f10}", "raw": "\"{f10}\"" }, "value": "{f10}" }, "value": { "type": "StringLiteral", "start": 1625, "end": 1630, "loc": { "start": { "line": 62, "column": 15 }, "end": { "line": 62, "column": 20 } }, "extra": { "rawValue": "f10", "raw": "\"f10\"" }, "value": "f10" } }, { "type": "ObjectProperty", "start": 1639, "end": 1653, "loc": { "start": { "line": 63, "column": 6 }, "end": { "line": 63, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1639, "end": 1646, "loc": { "start": { "line": 63, "column": 6 }, "end": { "line": 63, "column": 13 } }, "extra": { "rawValue": "{f11}", "raw": "\"{f11}\"" }, "value": "{f11}" }, "value": { "type": "StringLiteral", "start": 1648, "end": 1653, "loc": { "start": { "line": 63, "column": 15 }, "end": { "line": 63, "column": 20 } }, "extra": { "rawValue": "f11", "raw": "\"f11\"" }, "value": "f11" } }, { "type": "ObjectProperty", "start": 1662, "end": 1676, "loc": { "start": { "line": 64, "column": 6 }, "end": { "line": 64, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1662, "end": 1669, "loc": { "start": { "line": 64, "column": 6 }, "end": { "line": 64, "column": 13 } }, "extra": { "rawValue": "{f12}", "raw": "\"{f12}\"" }, "value": "{f12}" }, "value": { "type": "StringLiteral", "start": 1671, "end": 1676, "loc": { "start": { "line": 64, "column": 15 }, "end": { "line": 64, "column": 20 } }, "extra": { "rawValue": "f12", "raw": "\"f12\"" }, "value": "f12" } }, { "type": "ObjectProperty", "start": 1685, "end": 1706, "loc": { "start": { "line": 65, "column": 6 }, "end": { "line": 65, "column": 27 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1685, "end": 1701, "loc": { "start": { "line": 65, "column": 6 }, "end": { "line": 65, "column": 22 } }, "extra": { "rawValue": "{numpaddivide}", "raw": "'{numpaddivide}'" }, "value": "{numpaddivide}" }, "value": { "type": "StringLiteral", "start": 1703, "end": 1706, "loc": { "start": { "line": 65, "column": 24 }, "end": { "line": 65, "column": 27 } }, "extra": { "rawValue": "/", "raw": "'/'" }, "value": "/" } }, { "type": "ObjectProperty", "start": 1715, "end": 1734, "loc": { "start": { "line": 66, "column": 6 }, "end": { "line": 66, "column": 25 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1715, "end": 1726, "loc": { "start": { "line": 66, "column": 6 }, "end": { "line": 66, "column": 17 } }, "extra": { "rawValue": "{numlock}", "raw": "'{numlock}'" }, "value": "{numlock}" }, "value": { "type": "StringLiteral", "start": 1728, "end": 1734, "loc": { "start": { "line": 66, "column": 19 }, "end": { "line": 66, "column": 25 } }, "extra": { "rawValue": "lock", "raw": "'lock'" }, "value": "lock" } }, { "type": "ObjectProperty", "start": 1743, "end": 1759, "loc": { "start": { "line": 67, "column": 6 }, "end": { "line": 67, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1743, "end": 1754, "loc": { "start": { "line": 67, "column": 6 }, "end": { "line": 67, "column": 17 } }, "extra": { "rawValue": "{arrowup}", "raw": "\"{arrowup}\"" }, "value": "{arrowup}" }, "value": { "type": "StringLiteral", "start": 1756, "end": 1759, "loc": { "start": { "line": 67, "column": 19 }, "end": { "line": 67, "column": 22 } }, "extra": { "rawValue": "↑", "raw": "\"↑\"" }, "value": "↑" } }, { "type": "ObjectProperty", "start": 1768, "end": 1786, "loc": { "start": { "line": 68, "column": 6 }, "end": { "line": 68, "column": 24 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1768, "end": 1781, "loc": { "start": { "line": 68, "column": 6 }, "end": { "line": 68, "column": 19 } }, "extra": { "rawValue": "{arrowleft}", "raw": "\"{arrowleft}\"" }, "value": "{arrowleft}" }, "value": { "type": "StringLiteral", "start": 1783, "end": 1786, "loc": { "start": { "line": 68, "column": 21 }, "end": { "line": 68, "column": 24 } }, "extra": { "rawValue": "←", "raw": "\"←\"" }, "value": "←" } }, { "type": "ObjectProperty", "start": 1795, "end": 1813, "loc": { "start": { "line": 69, "column": 6 }, "end": { "line": 69, "column": 24 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1795, "end": 1808, "loc": { "start": { "line": 69, "column": 6 }, "end": { "line": 69, "column": 19 } }, "extra": { "rawValue": "{arrowdown}", "raw": "\"{arrowdown}\"" }, "value": "{arrowdown}" }, "value": { "type": "StringLiteral", "start": 1810, "end": 1813, "loc": { "start": { "line": 69, "column": 21 }, "end": { "line": 69, "column": 24 } }, "extra": { "rawValue": "↓", "raw": "\"↓\"" }, "value": "↓" } }, { "type": "ObjectProperty", "start": 1822, "end": 1841, "loc": { "start": { "line": 70, "column": 6 }, "end": { "line": 70, "column": 25 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1822, "end": 1836, "loc": { "start": { "line": 70, "column": 6 }, "end": { "line": 70, "column": 20 } }, "extra": { "rawValue": "{arrowright}", "raw": "\"{arrowright}\"" }, "value": "{arrowright}" }, "value": { "type": "StringLiteral", "start": 1838, "end": 1841, "loc": { "start": { "line": 70, "column": 22 }, "end": { "line": 70, "column": 25 } }, "extra": { "rawValue": "→", "raw": "\"→\"" }, "value": "→" } }, { "type": "ObjectProperty", "start": 1850, "end": 1869, "loc": { "start": { "line": 71, "column": 6 }, "end": { "line": 71, "column": 25 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1850, "end": 1860, "loc": { "start": { "line": 71, "column": 6 }, "end": { "line": 71, "column": 16 } }, "extra": { "rawValue": "{prtscr}", "raw": "\"{prtscr}\"" }, "value": "{prtscr}" }, "value": { "type": "StringLiteral", "start": 1862, "end": 1869, "loc": { "start": { "line": 71, "column": 18 }, "end": { "line": 71, "column": 25 } }, "extra": { "rawValue": "print", "raw": "\"print\"" }, "value": "print" } }, { "type": "ObjectProperty", "start": 1878, "end": 1902, "loc": { "start": { "line": 72, "column": 6 }, "end": { "line": 72, "column": 30 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1878, "end": 1892, "loc": { "start": { "line": 72, "column": 6 }, "end": { "line": 72, "column": 20 } }, "extra": { "rawValue": "{scrolllock}", "raw": "\"{scrolllock}\"" }, "value": "{scrolllock}" }, "value": { "type": "StringLiteral", "start": 1894, "end": 1902, "loc": { "start": { "line": 72, "column": 22 }, "end": { "line": 72, "column": 30 } }, "extra": { "rawValue": "scroll", "raw": "\"scroll\"" }, "value": "scroll" } }, { "type": "ObjectProperty", "start": 1911, "end": 1929, "loc": { "start": { "line": 73, "column": 6 }, "end": { "line": 73, "column": 24 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1911, "end": 1920, "loc": { "start": { "line": 73, "column": 6 }, "end": { "line": 73, "column": 15 } }, "extra": { "rawValue": "{pause}", "raw": "\"{pause}\"" }, "value": "{pause}" }, "value": { "type": "StringLiteral", "start": 1922, "end": 1929, "loc": { "start": { "line": 73, "column": 17 }, "end": { "line": 73, "column": 24 } }, "extra": { "rawValue": "pause", "raw": "\"pause\"" }, "value": "pause" } }, { "type": "ObjectProperty", "start": 1938, "end": 1955, "loc": { "start": { "line": 74, "column": 6 }, "end": { "line": 74, "column": 23 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1938, "end": 1948, "loc": { "start": { "line": 74, "column": 6 }, "end": { "line": 74, "column": 16 } }, "extra": { "rawValue": "{insert}", "raw": "\"{insert}\"" }, "value": "{insert}" }, "value": { "type": "StringLiteral", "start": 1950, "end": 1955, "loc": { "start": { "line": 74, "column": 18 }, "end": { "line": 74, "column": 23 } }, "extra": { "rawValue": "ins", "raw": "\"ins\"" }, "value": "ins" } }, { "type": "ObjectProperty", "start": 1964, "end": 1980, "loc": { "start": { "line": 75, "column": 6 }, "end": { "line": 75, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1964, "end": 1972, "loc": { "start": { "line": 75, "column": 6 }, "end": { "line": 75, "column": 14 } }, "extra": { "rawValue": "{home}", "raw": "\"{home}\"" }, "value": "{home}" }, "value": { "type": "StringLiteral", "start": 1974, "end": 1980, "loc": { "start": { "line": 75, "column": 16 }, "end": { "line": 75, "column": 22 } }, "extra": { "rawValue": "home", "raw": "\"home\"" }, "value": "home" } }, { "type": "ObjectProperty", "start": 1989, "end": 2005, "loc": { "start": { "line": 76, "column": 6 }, "end": { "line": 76, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 1989, "end": 1999, "loc": { "start": { "line": 76, "column": 6 }, "end": { "line": 76, "column": 16 } }, "extra": { "rawValue": "{pageup}", "raw": "\"{pageup}\"" }, "value": "{pageup}" }, "value": { "type": "StringLiteral", "start": 2001, "end": 2005, "loc": { "start": { "line": 76, "column": 18 }, "end": { "line": 76, "column": 22 } }, "extra": { "rawValue": "up", "raw": "\"up\"" }, "value": "up" } }, { "type": "ObjectProperty", "start": 2014, "end": 2031, "loc": { "start": { "line": 77, "column": 6 }, "end": { "line": 77, "column": 23 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2014, "end": 2024, "loc": { "start": { "line": 77, "column": 6 }, "end": { "line": 77, "column": 16 } }, "extra": { "rawValue": "{delete}", "raw": "\"{delete}\"" }, "value": "{delete}" }, "value": { "type": "StringLiteral", "start": 2026, "end": 2031, "loc": { "start": { "line": 77, "column": 18 }, "end": { "line": 77, "column": 23 } }, "extra": { "rawValue": "del", "raw": "\"del\"" }, "value": "del" } }, { "type": "ObjectProperty", "start": 2040, "end": 2054, "loc": { "start": { "line": 78, "column": 6 }, "end": { "line": 78, "column": 20 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2040, "end": 2047, "loc": { "start": { "line": 78, "column": 6 }, "end": { "line": 78, "column": 13 } }, "extra": { "rawValue": "{end}", "raw": "\"{end}\"" }, "value": "{end}" }, "value": { "type": "StringLiteral", "start": 2049, "end": 2054, "loc": { "start": { "line": 78, "column": 15 }, "end": { "line": 78, "column": 20 } }, "extra": { "rawValue": "end", "raw": "\"end\"" }, "value": "end" } }, { "type": "ObjectProperty", "start": 2063, "end": 2083, "loc": { "start": { "line": 79, "column": 6 }, "end": { "line": 79, "column": 26 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2063, "end": 2075, "loc": { "start": { "line": 79, "column": 6 }, "end": { "line": 79, "column": 18 } }, "extra": { "rawValue": "{pagedown}", "raw": "\"{pagedown}\"" }, "value": "{pagedown}" }, "value": { "type": "StringLiteral", "start": 2077, "end": 2083, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 26 } }, "extra": { "rawValue": "down", "raw": "\"down\"" }, "value": "down" } }, { "type": "ObjectProperty", "start": 2092, "end": 2115, "loc": { "start": { "line": 80, "column": 6 }, "end": { "line": 80, "column": 29 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2092, "end": 2110, "loc": { "start": { "line": 80, "column": 6 }, "end": { "line": 80, "column": 24 } }, "extra": { "rawValue": "{numpadmultiply}", "raw": "\"{numpadmultiply}\"" }, "value": "{numpadmultiply}" }, "value": { "type": "StringLiteral", "start": 2112, "end": 2115, "loc": { "start": { "line": 80, "column": 26 }, "end": { "line": 80, "column": 29 } }, "extra": { "rawValue": "*", "raw": "\"*\"" }, "value": "*" } }, { "type": "ObjectProperty", "start": 2124, "end": 2147, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 29 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2124, "end": 2142, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 24 } }, "extra": { "rawValue": "{numpadsubtract}", "raw": "\"{numpadsubtract}\"" }, "value": "{numpadsubtract}" }, "value": { "type": "StringLiteral", "start": 2144, "end": 2147, "loc": { "start": { "line": 81, "column": 26 }, "end": { "line": 81, "column": 29 } }, "extra": { "rawValue": "-", "raw": "\"-\"" }, "value": "-" } }, { "type": "ObjectProperty", "start": 2156, "end": 2174, "loc": { "start": { "line": 82, "column": 6 }, "end": { "line": 82, "column": 24 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2156, "end": 2169, "loc": { "start": { "line": 82, "column": 6 }, "end": { "line": 82, "column": 19 } }, "extra": { "rawValue": "{numpadadd}", "raw": "\"{numpadadd}\"" }, "value": "{numpadadd}" }, "value": { "type": "StringLiteral", "start": 2171, "end": 2174, "loc": { "start": { "line": 82, "column": 21 }, "end": { "line": 82, "column": 24 } }, "extra": { "rawValue": "+", "raw": "\"+\"" }, "value": "+" } }, { "type": "ObjectProperty", "start": 2183, "end": 2207, "loc": { "start": { "line": 83, "column": 6 }, "end": { "line": 83, "column": 30 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2183, "end": 2198, "loc": { "start": { "line": 83, "column": 6 }, "end": { "line": 83, "column": 21 } }, "extra": { "rawValue": "{numpadenter}", "raw": "\"{numpadenter}\"" }, "value": "{numpadenter}" }, "value": { "type": "StringLiteral", "start": 2200, "end": 2207, "loc": { "start": { "line": 83, "column": 23 }, "end": { "line": 83, "column": 30 } }, "extra": { "rawValue": "enter", "raw": "\"enter\"" }, "value": "enter" } }, { "type": "ObjectProperty", "start": 2216, "end": 2231, "loc": { "start": { "line": 84, "column": 6 }, "end": { "line": 84, "column": 21 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2216, "end": 2226, "loc": { "start": { "line": 84, "column": 6 }, "end": { "line": 84, "column": 16 } }, "extra": { "rawValue": "{period}", "raw": "\"{period}\"" }, "value": "{period}" }, "value": { "type": "StringLiteral", "start": 2228, "end": 2231, "loc": { "start": { "line": 84, "column": 18 }, "end": { "line": 84, "column": 21 } }, "extra": { "rawValue": ".", "raw": "\".\"" }, "value": "." } }, { "type": "ObjectProperty", "start": 2240, "end": 2262, "loc": { "start": { "line": 85, "column": 6 }, "end": { "line": 85, "column": 28 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2240, "end": 2257, "loc": { "start": { "line": 85, "column": 6 }, "end": { "line": 85, "column": 23 } }, "extra": { "rawValue": "{numpaddecimal}", "raw": "\"{numpaddecimal}\"" }, "value": "{numpaddecimal}" }, "value": { "type": "StringLiteral", "start": 2259, "end": 2262, "loc": { "start": { "line": 85, "column": 25 }, "end": { "line": 85, "column": 28 } }, "extra": { "rawValue": ".", "raw": "\".\"" }, "value": "." } }, { "type": "ObjectProperty", "start": 2271, "end": 2287, "loc": { "start": { "line": 86, "column": 6 }, "end": { "line": 86, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2271, "end": 2282, "loc": { "start": { "line": 86, "column": 6 }, "end": { "line": 86, "column": 17 } }, "extra": { "rawValue": "{numpad0}", "raw": "\"{numpad0}\"" }, "value": "{numpad0}" }, "value": { "type": "StringLiteral", "start": 2284, "end": 2287, "loc": { "start": { "line": 86, "column": 19 }, "end": { "line": 86, "column": 22 } }, "extra": { "rawValue": "0", "raw": "\"0\"" }, "value": "0" } }, { "type": "ObjectProperty", "start": 2296, "end": 2312, "loc": { "start": { "line": 87, "column": 6 }, "end": { "line": 87, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2296, "end": 2307, "loc": { "start": { "line": 87, "column": 6 }, "end": { "line": 87, "column": 17 } }, "extra": { "rawValue": "{numpad1}", "raw": "\"{numpad1}\"" }, "value": "{numpad1}" }, "value": { "type": "StringLiteral", "start": 2309, "end": 2312, "loc": { "start": { "line": 87, "column": 19 }, "end": { "line": 87, "column": 22 } }, "extra": { "rawValue": "1", "raw": "\"1\"" }, "value": "1" } }, { "type": "ObjectProperty", "start": 2321, "end": 2337, "loc": { "start": { "line": 88, "column": 6 }, "end": { "line": 88, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2321, "end": 2332, "loc": { "start": { "line": 88, "column": 6 }, "end": { "line": 88, "column": 17 } }, "extra": { "rawValue": "{numpad2}", "raw": "\"{numpad2}\"" }, "value": "{numpad2}" }, "value": { "type": "StringLiteral", "start": 2334, "end": 2337, "loc": { "start": { "line": 88, "column": 19 }, "end": { "line": 88, "column": 22 } }, "extra": { "rawValue": "2", "raw": "\"2\"" }, "value": "2" } }, { "type": "ObjectProperty", "start": 2346, "end": 2362, "loc": { "start": { "line": 89, "column": 6 }, "end": { "line": 89, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2346, "end": 2357, "loc": { "start": { "line": 89, "column": 6 }, "end": { "line": 89, "column": 17 } }, "extra": { "rawValue": "{numpad3}", "raw": "\"{numpad3}\"" }, "value": "{numpad3}" }, "value": { "type": "StringLiteral", "start": 2359, "end": 2362, "loc": { "start": { "line": 89, "column": 19 }, "end": { "line": 89, "column": 22 } }, "extra": { "rawValue": "3", "raw": "\"3\"" }, "value": "3" } }, { "type": "ObjectProperty", "start": 2371, "end": 2387, "loc": { "start": { "line": 90, "column": 6 }, "end": { "line": 90, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2371, "end": 2382, "loc": { "start": { "line": 90, "column": 6 }, "end": { "line": 90, "column": 17 } }, "extra": { "rawValue": "{numpad4}", "raw": "\"{numpad4}\"" }, "value": "{numpad4}" }, "value": { "type": "StringLiteral", "start": 2384, "end": 2387, "loc": { "start": { "line": 90, "column": 19 }, "end": { "line": 90, "column": 22 } }, "extra": { "rawValue": "4", "raw": "\"4\"" }, "value": "4" } }, { "type": "ObjectProperty", "start": 2396, "end": 2412, "loc": { "start": { "line": 91, "column": 6 }, "end": { "line": 91, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2396, "end": 2407, "loc": { "start": { "line": 91, "column": 6 }, "end": { "line": 91, "column": 17 } }, "extra": { "rawValue": "{numpad5}", "raw": "\"{numpad5}\"" }, "value": "{numpad5}" }, "value": { "type": "StringLiteral", "start": 2409, "end": 2412, "loc": { "start": { "line": 91, "column": 19 }, "end": { "line": 91, "column": 22 } }, "extra": { "rawValue": "5", "raw": "\"5\"" }, "value": "5" } }, { "type": "ObjectProperty", "start": 2421, "end": 2437, "loc": { "start": { "line": 92, "column": 6 }, "end": { "line": 92, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2421, "end": 2432, "loc": { "start": { "line": 92, "column": 6 }, "end": { "line": 92, "column": 17 } }, "extra": { "rawValue": "{numpad6}", "raw": "\"{numpad6}\"" }, "value": "{numpad6}" }, "value": { "type": "StringLiteral", "start": 2434, "end": 2437, "loc": { "start": { "line": 92, "column": 19 }, "end": { "line": 92, "column": 22 } }, "extra": { "rawValue": "6", "raw": "\"6\"" }, "value": "6" } }, { "type": "ObjectProperty", "start": 2446, "end": 2462, "loc": { "start": { "line": 93, "column": 6 }, "end": { "line": 93, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2446, "end": 2457, "loc": { "start": { "line": 93, "column": 6 }, "end": { "line": 93, "column": 17 } }, "extra": { "rawValue": "{numpad7}", "raw": "\"{numpad7}\"" }, "value": "{numpad7}" }, "value": { "type": "StringLiteral", "start": 2459, "end": 2462, "loc": { "start": { "line": 93, "column": 19 }, "end": { "line": 93, "column": 22 } }, "extra": { "rawValue": "7", "raw": "\"7\"" }, "value": "7" } }, { "type": "ObjectProperty", "start": 2471, "end": 2487, "loc": { "start": { "line": 94, "column": 6 }, "end": { "line": 94, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2471, "end": 2482, "loc": { "start": { "line": 94, "column": 6 }, "end": { "line": 94, "column": 17 } }, "extra": { "rawValue": "{numpad8}", "raw": "\"{numpad8}\"" }, "value": "{numpad8}" }, "value": { "type": "StringLiteral", "start": 2484, "end": 2487, "loc": { "start": { "line": 94, "column": 19 }, "end": { "line": 94, "column": 22 } }, "extra": { "rawValue": "8", "raw": "\"8\"" }, "value": "8" } }, { "type": "ObjectProperty", "start": 2496, "end": 2512, "loc": { "start": { "line": 95, "column": 6 }, "end": { "line": 95, "column": 22 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "StringLiteral", "start": 2496, "end": 2507, "loc": { "start": { "line": 95, "column": 6 }, "end": { "line": 95, "column": 17 } }, "extra": { "rawValue": "{numpad9}", "raw": "\"{numpad9}\"" }, "value": "{numpad9}" }, "value": { "type": "StringLiteral", "start": 2509, "end": 2512, "loc": { "start": { "line": 95, "column": 19 }, "end": { "line": 95, "column": 22 } }, "extra": { "rawValue": "9", "raw": "\"9\"" }, "value": "9" } } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Default button display labels\r\n ", "start": 908, "end": 954, "loc": { "start": { "line": 32, "column": 2 }, "end": { "line": 34, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the display (label) name for a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {object} display The provided display option\r\n * @param {boolean} mergeDisplay Whether the provided param value should be merged with the default one.\r\n ", "start": 2530, "end": 2828, "loc": { "start": { "line": 98, "column": 2 }, "end": { "line": 104, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 2832, "end": 3104, "loc": { "start": { "line": 105, "column": 2 }, "end": { "line": 113, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2832, "end": 2852, "loc": { "start": { "line": 105, "column": 2 }, "end": { "line": 105, "column": 22 }, "identifierName": "getButtonDisplayName" }, "name": "getButtonDisplayName", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 2855, "end": 3104, "loc": { "start": { "line": 105, "column": 25 }, "end": { "line": 113, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2856, "end": 2862, "loc": { "start": { "line": 105, "column": 26 }, "end": { "line": 105, "column": 32 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 2864, "end": 2871, "loc": { "start": { "line": 105, "column": 34 }, "end": { "line": 105, "column": 41 }, "identifierName": "display" }, "name": "display" }, { "type": "Identifier", "start": 2873, "end": 2885, "loc": { "start": { "line": 105, "column": 43 }, "end": { "line": 105, "column": 55 }, "identifierName": "mergeDisplay" }, "name": "mergeDisplay" } ], "body": { "type": "BlockStatement", "start": 2890, "end": 3104, "loc": { "start": { "line": 105, "column": 60 }, "end": { "line": 113, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 2897, "end": 3058, "loc": { "start": { "line": 106, "column": 4 }, "end": { "line": 110, "column": 5 } }, "test": { "type": "Identifier", "start": 2900, "end": 2912, "loc": { "start": { "line": 106, "column": 7 }, "end": { "line": 106, "column": 19 }, "identifierName": "mergeDisplay" }, "name": "mergeDisplay" }, "consequent": { "type": "BlockStatement", "start": 2913, "end": 2991, "loc": { "start": { "line": 106, "column": 20 }, "end": { "line": 108, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2922, "end": 2984, "loc": { "start": { "line": 107, "column": 6 }, "end": { "line": 107, "column": 68 } }, "expression": { "type": "AssignmentExpression", "start": 2922, "end": 2983, "loc": { "start": { "line": 107, "column": 6 }, "end": { "line": 107, "column": 67 } }, "operator": "=", "left": { "type": "Identifier", "start": 2922, "end": 2929, "loc": { "start": { "line": 107, "column": 6 }, "end": { "line": 107, "column": 13 }, "identifierName": "display" }, "name": "display" }, "right": { "type": "CallExpression", "start": 2932, "end": 2983, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 67 } }, "callee": { "type": "MemberExpression", "start": 2932, "end": 2945, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 29 } }, "object": { "type": "Identifier", "start": 2932, "end": 2938, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 22 }, "identifierName": "Object" }, "name": "Object" }, "property": { "type": "Identifier", "start": 2939, "end": 2945, "loc": { "start": { "line": 107, "column": 23 }, "end": { "line": 107, "column": 29 }, "identifierName": "assign" }, "name": "assign" }, "computed": false }, "arguments": [ { "type": "ObjectExpression", "start": 2946, "end": 2948, "loc": { "start": { "line": 107, "column": 30 }, "end": { "line": 107, "column": 32 } }, "properties": [] }, { "type": "CallExpression", "start": 2950, "end": 2973, "loc": { "start": { "line": 107, "column": 34 }, "end": { "line": 107, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 2950, "end": 2971, "loc": { "start": { "line": 107, "column": 34 }, "end": { "line": 107, "column": 55 } }, "object": { "type": "ThisExpression", "start": 2950, "end": 2954, "loc": { "start": { "line": 107, "column": 34 }, "end": { "line": 107, "column": 38 } } }, "property": { "type": "Identifier", "start": 2955, "end": 2971, "loc": { "start": { "line": 107, "column": 39 }, "end": { "line": 107, "column": 55 }, "identifierName": "getDefaultDiplay" }, "name": "getDefaultDiplay" }, "computed": false }, "arguments": [] }, { "type": "Identifier", "start": 2975, "end": 2982, "loc": { "start": { "line": 107, "column": 59 }, "end": { "line": 107, "column": 66 }, "identifierName": "display" }, "name": "display" } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 2997, "end": 3058, "loc": { "start": { "line": 108, "column": 11 }, "end": { "line": 110, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3006, "end": 3051, "loc": { "start": { "line": 109, "column": 6 }, "end": { "line": 109, "column": 51 } }, "expression": { "type": "AssignmentExpression", "start": 3006, "end": 3050, "loc": { "start": { "line": 109, "column": 6 }, "end": { "line": 109, "column": 50 } }, "operator": "=", "left": { "type": "Identifier", "start": 3006, "end": 3013, "loc": { "start": { "line": 109, "column": 6 }, "end": { "line": 109, "column": 13 }, "identifierName": "display" }, "name": "display" }, "right": { "type": "LogicalExpression", "start": 3016, "end": 3050, "loc": { "start": { "line": 109, "column": 16 }, "end": { "line": 109, "column": 50 } }, "left": { "type": "Identifier", "start": 3016, "end": 3023, "loc": { "start": { "line": 109, "column": 16 }, "end": { "line": 109, "column": 23 }, "identifierName": "display" }, "name": "display" }, "operator": "||", "right": { "type": "CallExpression", "start": 3027, "end": 3050, "loc": { "start": { "line": 109, "column": 27 }, "end": { "line": 109, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 3027, "end": 3048, "loc": { "start": { "line": 109, "column": 27 }, "end": { "line": 109, "column": 48 } }, "object": { "type": "ThisExpression", "start": 3027, "end": 3031, "loc": { "start": { "line": 109, "column": 27 }, "end": { "line": 109, "column": 31 } } }, "property": { "type": "Identifier", "start": 3032, "end": 3048, "loc": { "start": { "line": 109, "column": 32 }, "end": { "line": 109, "column": 48 }, "identifierName": "getDefaultDiplay" }, "name": "getDefaultDiplay" }, "computed": false }, "arguments": [] } } } } ], "directives": [] } }, { "type": "ReturnStatement", "start": 3066, "end": 3099, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 112, "column": 37 } }, "argument": { "type": "LogicalExpression", "start": 3073, "end": 3098, "loc": { "start": { "line": 112, "column": 11 }, "end": { "line": 112, "column": 36 } }, "left": { "type": "MemberExpression", "start": 3073, "end": 3088, "loc": { "start": { "line": 112, "column": 11 }, "end": { "line": 112, "column": 26 } }, "object": { "type": "Identifier", "start": 3073, "end": 3080, "loc": { "start": { "line": 112, "column": 11 }, "end": { "line": 112, "column": 18 }, "identifierName": "display" }, "name": "display" }, "property": { "type": "Identifier", "start": 3081, "end": 3087, "loc": { "start": { "line": 112, "column": 19 }, "end": { "line": 112, "column": 25 }, "identifierName": "button" }, "name": "button" }, "computed": true }, "operator": "||", "right": { "type": "Identifier", "start": 3092, "end": 3098, "loc": { "start": { "line": 112, "column": 30 }, "end": { "line": 112, "column": 36 }, "identifierName": "button" }, "name": "button" } } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the display (label) name for a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {object} display The provided display option\r\n * @param {boolean} mergeDisplay Whether the provided param value should be merged with the default one.\r\n ", "start": 2530, "end": 2828, "loc": { "start": { "line": 98, "column": 2 }, "end": { "line": 104, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n ", "start": 3114, "end": 3431, "loc": { "start": { "line": 116, "column": 2 }, "end": { "line": 123, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 3435, "end": 5028, "loc": { "start": { "line": 124, "column": 2 }, "end": { "line": 164, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 3435, "end": 3450, "loc": { "start": { "line": 124, "column": 2 }, "end": { "line": 124, "column": 17 }, "identifierName": "getUpdatedInput" }, "name": "getUpdatedInput", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 3453, "end": 5028, "loc": { "start": { "line": 124, "column": 20 }, "end": { "line": 164, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3454, "end": 3460, "loc": { "start": { "line": 124, "column": 21 }, "end": { "line": 124, "column": 27 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 3462, "end": 3467, "loc": { "start": { "line": 124, "column": 29 }, "end": { "line": 124, "column": 34 }, "identifierName": "input" }, "name": "input" }, { "type": "Identifier", "start": 3469, "end": 3476, "loc": { "start": { "line": 124, "column": 36 }, "end": { "line": 124, "column": 43 }, "identifierName": "options" }, "name": "options" }, { "type": "Identifier", "start": 3478, "end": 3486, "loc": { "start": { "line": 124, "column": 45 }, "end": { "line": 124, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" } ], "body": { "type": "BlockStatement", "start": 3491, "end": 5028, "loc": { "start": { "line": 124, "column": 58 }, "end": { "line": 164, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 3504, "end": 3523, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 126, "column": 23 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3508, "end": 3522, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 126, "column": 22 } }, "id": { "type": "Identifier", "start": 3508, "end": 3514, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 126, "column": 14 }, "identifierName": "output" }, "name": "output" }, "init": { "type": "Identifier", "start": 3517, "end": 3522, "loc": { "start": { "line": 126, "column": 17 }, "end": { "line": 126, "column": 22 }, "identifierName": "input" }, "name": "input" } } ], "kind": "let" }, { "type": "IfStatement", "start": 3531, "end": 5001, "loc": { "start": { "line": 128, "column": 4 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "LogicalExpression", "start": 3534, "end": 3604, "loc": { "start": { "line": 128, "column": 7 }, "end": { "line": 128, "column": 77 } }, "left": { "type": "LogicalExpression", "start": 3535, "end": 3582, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 128, "column": 55 } }, "left": { "type": "BinaryExpression", "start": 3535, "end": 3554, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 128, "column": 27 } }, "left": { "type": "Identifier", "start": 3535, "end": 3541, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 128, "column": 14 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 3546, "end": 3554, "loc": { "start": { "line": 128, "column": 19 }, "end": { "line": 128, "column": 27 } }, "extra": { "rawValue": "{bksp}", "raw": "\"{bksp}\"" }, "value": "{bksp}" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 3558, "end": 3582, "loc": { "start": { "line": 128, "column": 31 }, "end": { "line": 128, "column": 55 } }, "left": { "type": "Identifier", "start": 3558, "end": 3564, "loc": { "start": { "line": 128, "column": 31 }, "end": { "line": 128, "column": 37 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 3569, "end": 3582, "loc": { "start": { "line": 128, "column": 42 }, "end": { "line": 128, "column": 55 } }, "extra": { "rawValue": "{backspace}", "raw": "\"{backspace}\"" }, "value": "{backspace}" } }, "extra": { "parenthesized": true, "parenStart": 3534 } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 3587, "end": 3604, "loc": { "start": { "line": 128, "column": 60 }, "end": { "line": 128, "column": 77 } }, "left": { "type": "MemberExpression", "start": 3587, "end": 3600, "loc": { "start": { "line": 128, "column": 60 }, "end": { "line": 128, "column": 73 } }, "object": { "type": "Identifier", "start": 3587, "end": 3593, "loc": { "start": { "line": 128, "column": 60 }, "end": { "line": 128, "column": 66 }, "identifierName": "output" }, "name": "output" }, "property": { "type": "Identifier", "start": 3594, "end": 3600, "loc": { "start": { "line": 128, "column": 67 }, "end": { "line": 128, "column": 73 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 3603, "end": 3604, "loc": { "start": { "line": 128, "column": 76 }, "end": { "line": 128, "column": 77 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, "consequent": { "type": "BlockStatement", "start": 3605, "end": 3664, "loc": { "start": { "line": 128, "column": 78 }, "end": { "line": 131, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3614, "end": 3655, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 47 } }, "expression": { "type": "AssignmentExpression", "start": 3614, "end": 3654, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 46 } }, "operator": "=", "left": { "type": "Identifier", "start": 3614, "end": 3620, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 3623, "end": 3654, "loc": { "start": { "line": 129, "column": 15 }, "end": { "line": 129, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 3623, "end": 3636, "loc": { "start": { "line": 129, "column": 15 }, "end": { "line": 129, "column": 28 } }, "object": { "type": "ThisExpression", "start": 3623, "end": 3627, "loc": { "start": { "line": 129, "column": 15 }, "end": { "line": 129, "column": 19 } } }, "property": { "type": "Identifier", "start": 3628, "end": 3636, "loc": { "start": { "line": 129, "column": 20 }, "end": { "line": 129, "column": 28 }, "identifierName": "removeAt" }, "name": "removeAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3637, "end": 3643, "loc": { "start": { "line": 129, "column": 29 }, "end": { "line": 129, "column": 35 }, "identifierName": "output" }, "name": "output" }, { "type": "Identifier", "start": 3645, "end": 3653, "loc": { "start": { "line": 129, "column": 37 }, "end": { "line": 129, "column": 45 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 3670, "end": 5001, "loc": { "start": { "line": 131, "column": 11 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "BinaryExpression", "start": 3673, "end": 3693, "loc": { "start": { "line": 131, "column": 14 }, "end": { "line": 131, "column": 34 } }, "left": { "type": "Identifier", "start": 3673, "end": 3679, "loc": { "start": { "line": 131, "column": 14 }, "end": { "line": 131, "column": 20 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 3684, "end": 3693, "loc": { "start": { "line": 131, "column": 25 }, "end": { "line": 131, "column": 34 } }, "extra": { "rawValue": "{space}", "raw": "\"{space}\"" }, "value": "{space}" } }, "consequent": { "type": "ExpressionStatement", "start": 3702, "end": 3751, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 3702, "end": 3750, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 3702, "end": 3708, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 3711, "end": 3750, "loc": { "start": { "line": 132, "column": 15 }, "end": { "line": 132, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 3711, "end": 3727, "loc": { "start": { "line": 132, "column": 15 }, "end": { "line": 132, "column": 31 } }, "object": { "type": "ThisExpression", "start": 3711, "end": 3715, "loc": { "start": { "line": 132, "column": 15 }, "end": { "line": 132, "column": 19 } } }, "property": { "type": "Identifier", "start": 3716, "end": 3727, "loc": { "start": { "line": 132, "column": 20 }, "end": { "line": 132, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3728, "end": 3734, "loc": { "start": { "line": 132, "column": 32 }, "end": { "line": 132, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "StringLiteral", "start": 3736, "end": 3739, "loc": { "start": { "line": 132, "column": 40 }, "end": { "line": 132, "column": 43 } }, "extra": { "rawValue": " ", "raw": "\" \"" }, "value": " " }, { "type": "Identifier", "start": 3741, "end": 3749, "loc": { "start": { "line": 132, "column": 45 }, "end": { "line": 132, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } }, "alternate": { "type": "IfStatement", "start": 3764, "end": 5001, "loc": { "start": { "line": 134, "column": 9 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "LogicalExpression", "start": 3767, "end": 3867, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 112 } }, "left": { "type": "BinaryExpression", "start": 3767, "end": 3785, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 30 } }, "left": { "type": "Identifier", "start": 3767, "end": 3773, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 18 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 3778, "end": 3785, "loc": { "start": { "line": 134, "column": 23 }, "end": { "line": 134, "column": 30 } }, "extra": { "rawValue": "{tab}", "raw": "\"{tab}\"" }, "value": "{tab}" } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 3789, "end": 3867, "loc": { "start": { "line": 134, "column": 34 }, "end": { "line": 134, "column": 112 } }, "operator": "!", "prefix": true, "argument": { "type": "LogicalExpression", "start": 3791, "end": 3866, "loc": { "start": { "line": 134, "column": 36 }, "end": { "line": 134, "column": 111 } }, "left": { "type": "BinaryExpression", "start": 3791, "end": 3832, "loc": { "start": { "line": 134, "column": 36 }, "end": { "line": 134, "column": 77 } }, "left": { "type": "UnaryExpression", "start": 3791, "end": 3818, "loc": { "start": { "line": 134, "column": 36 }, "end": { "line": 134, "column": 63 } }, "operator": "typeof", "prefix": true, "argument": { "type": "MemberExpression", "start": 3798, "end": 3818, "loc": { "start": { "line": 134, "column": 43 }, "end": { "line": 134, "column": 63 } }, "object": { "type": "Identifier", "start": 3798, "end": 3805, "loc": { "start": { "line": 134, "column": 43 }, "end": { "line": 134, "column": 50 }, "identifierName": "options" }, "name": "options" }, "property": { "type": "Identifier", "start": 3806, "end": 3818, "loc": { "start": { "line": 134, "column": 51 }, "end": { "line": 134, "column": 63 }, "identifierName": "tabCharOnTab" }, "name": "tabCharOnTab" }, "computed": false }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 3823, "end": 3832, "loc": { "start": { "line": 134, "column": 68 }, "end": { "line": 134, "column": 77 } }, "extra": { "rawValue": "boolean", "raw": "\"boolean\"" }, "value": "boolean" } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 3836, "end": 3866, "loc": { "start": { "line": 134, "column": 81 }, "end": { "line": 134, "column": 111 } }, "left": { "type": "MemberExpression", "start": 3836, "end": 3856, "loc": { "start": { "line": 134, "column": 81 }, "end": { "line": 134, "column": 101 } }, "object": { "type": "Identifier", "start": 3836, "end": 3843, "loc": { "start": { "line": 134, "column": 81 }, "end": { "line": 134, "column": 88 }, "identifierName": "options" }, "name": "options" }, "property": { "type": "Identifier", "start": 3844, "end": 3856, "loc": { "start": { "line": 134, "column": 89 }, "end": { "line": 134, "column": 101 }, "identifierName": "tabCharOnTab" }, "name": "tabCharOnTab" }, "computed": false }, "operator": "===", "right": { "type": "BooleanLiteral", "start": 3861, "end": 3866, "loc": { "start": { "line": 134, "column": 106 }, "end": { "line": 134, "column": 111 } }, "value": false } }, "extra": { "parenthesized": true, "parenStart": 3790 } }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 3868, "end": 3936, "loc": { "start": { "line": 134, "column": 113 }, "end": { "line": 137, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 3877, "end": 3927, "loc": { "start": { "line": 135, "column": 6 }, "end": { "line": 135, "column": 56 } }, "expression": { "type": "AssignmentExpression", "start": 3877, "end": 3926, "loc": { "start": { "line": 135, "column": 6 }, "end": { "line": 135, "column": 55 } }, "operator": "=", "left": { "type": "Identifier", "start": 3877, "end": 3883, "loc": { "start": { "line": 135, "column": 6 }, "end": { "line": 135, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 3886, "end": 3926, "loc": { "start": { "line": 135, "column": 15 }, "end": { "line": 135, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 3886, "end": 3902, "loc": { "start": { "line": 135, "column": 15 }, "end": { "line": 135, "column": 31 } }, "object": { "type": "ThisExpression", "start": 3886, "end": 3890, "loc": { "start": { "line": 135, "column": 15 }, "end": { "line": 135, "column": 19 } } }, "property": { "type": "Identifier", "start": 3891, "end": 3902, "loc": { "start": { "line": 135, "column": 20 }, "end": { "line": 135, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3903, "end": 3909, "loc": { "start": { "line": 135, "column": 32 }, "end": { "line": 135, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "StringLiteral", "start": 3911, "end": 3915, "loc": { "start": { "line": 135, "column": 40 }, "end": { "line": 135, "column": 44 } }, "extra": { "rawValue": "\t", "raw": "\"\\t\"" }, "value": "\t" }, { "type": "Identifier", "start": 3917, "end": 3925, "loc": { "start": { "line": 135, "column": 46 }, "end": { "line": 135, "column": 54 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 3942, "end": 5001, "loc": { "start": { "line": 137, "column": 11 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "LogicalExpression", "start": 3945, "end": 4023, "loc": { "start": { "line": 137, "column": 14 }, "end": { "line": 137, "column": 92 } }, "left": { "type": "LogicalExpression", "start": 3946, "end": 3996, "loc": { "start": { "line": 137, "column": 15 }, "end": { "line": 137, "column": 65 } }, "left": { "type": "BinaryExpression", "start": 3946, "end": 3966, "loc": { "start": { "line": 137, "column": 15 }, "end": { "line": 137, "column": 35 } }, "left": { "type": "Identifier", "start": 3946, "end": 3952, "loc": { "start": { "line": 137, "column": 15 }, "end": { "line": 137, "column": 21 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 3957, "end": 3966, "loc": { "start": { "line": 137, "column": 26 }, "end": { "line": 137, "column": 35 } }, "extra": { "rawValue": "{enter}", "raw": "\"{enter}\"" }, "value": "{enter}" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 3970, "end": 3996, "loc": { "start": { "line": 137, "column": 39 }, "end": { "line": 137, "column": 65 } }, "left": { "type": "Identifier", "start": 3970, "end": 3976, "loc": { "start": { "line": 137, "column": 39 }, "end": { "line": 137, "column": 45 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 3981, "end": 3996, "loc": { "start": { "line": 137, "column": 50 }, "end": { "line": 137, "column": 65 } }, "extra": { "rawValue": "{numpadenter}", "raw": "\"{numpadenter}\"" }, "value": "{numpadenter}" } }, "extra": { "parenthesized": true, "parenStart": 3945 } }, "operator": "&&", "right": { "type": "MemberExpression", "start": 4001, "end": 4023, "loc": { "start": { "line": 137, "column": 70 }, "end": { "line": 137, "column": 92 } }, "object": { "type": "Identifier", "start": 4001, "end": 4008, "loc": { "start": { "line": 137, "column": 70 }, "end": { "line": 137, "column": 77 }, "identifierName": "options" }, "name": "options" }, "property": { "type": "Identifier", "start": 4009, "end": 4023, "loc": { "start": { "line": 137, "column": 78 }, "end": { "line": 137, "column": 92 }, "identifierName": "newLineOnEnter" }, "name": "newLineOnEnter" }, "computed": false } }, "consequent": { "type": "ExpressionStatement", "start": 4032, "end": 4082, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 56 } }, "expression": { "type": "AssignmentExpression", "start": 4032, "end": 4081, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 55 } }, "operator": "=", "left": { "type": "Identifier", "start": 4032, "end": 4038, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 4041, "end": 4081, "loc": { "start": { "line": 138, "column": 15 }, "end": { "line": 138, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 4041, "end": 4057, "loc": { "start": { "line": 138, "column": 15 }, "end": { "line": 138, "column": 31 } }, "object": { "type": "ThisExpression", "start": 4041, "end": 4045, "loc": { "start": { "line": 138, "column": 15 }, "end": { "line": 138, "column": 19 } } }, "property": { "type": "Identifier", "start": 4046, "end": 4057, "loc": { "start": { "line": 138, "column": 20 }, "end": { "line": 138, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4058, "end": 4064, "loc": { "start": { "line": 138, "column": 32 }, "end": { "line": 138, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "StringLiteral", "start": 4066, "end": 4070, "loc": { "start": { "line": 138, "column": 40 }, "end": { "line": 138, "column": 44 } }, "extra": { "rawValue": "\n", "raw": "\"\\n\"" }, "value": "\n" }, { "type": "Identifier", "start": 4072, "end": 4080, "loc": { "start": { "line": 138, "column": 46 }, "end": { "line": 138, "column": 54 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } }, "alternate": { "type": "IfStatement", "start": 4095, "end": 5001, "loc": { "start": { "line": 140, "column": 9 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "LogicalExpression", "start": 4098, "end": 4178, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "column": 92 } }, "left": { "type": "CallExpression", "start": 4098, "end": 4123, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 4098, "end": 4113, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "column": 27 } }, "object": { "type": "Identifier", "start": 4098, "end": 4104, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "column": 18 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 4105, "end": 4113, "loc": { "start": { "line": 140, "column": 19 }, "end": { "line": 140, "column": 27 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 4114, "end": 4122, "loc": { "start": { "line": 140, "column": 28 }, "end": { "line": 140, "column": 36 } }, "extra": { "rawValue": "numpad", "raw": "\"numpad\"" }, "value": "numpad" } ] }, "operator": "&&", "right": { "type": "CallExpression", "start": 4127, "end": 4178, "loc": { "start": { "line": 140, "column": 41 }, "end": { "line": 140, "column": 92 } }, "callee": { "type": "MemberExpression", "start": 4127, "end": 4143, "loc": { "start": { "line": 140, "column": 41 }, "end": { "line": 140, "column": 57 } }, "object": { "type": "Identifier", "start": 4127, "end": 4133, "loc": { "start": { "line": 140, "column": 41 }, "end": { "line": 140, "column": 47 }, "identifierName": "Number" }, "name": "Number" }, "property": { "type": "Identifier", "start": 4134, "end": 4143, "loc": { "start": { "line": 140, "column": 48 }, "end": { "line": 140, "column": 57 }, "identifierName": "isInteger" }, "name": "isInteger" }, "computed": false }, "arguments": [ { "type": "CallExpression", "start": 4144, "end": 4177, "loc": { "start": { "line": 140, "column": 58 }, "end": { "line": 140, "column": 91 } }, "callee": { "type": "Identifier", "start": 4144, "end": 4150, "loc": { "start": { "line": 140, "column": 58 }, "end": { "line": 140, "column": 64 }, "identifierName": "Number" }, "name": "Number" }, "arguments": [ { "type": "MemberExpression", "start": 4151, "end": 4176, "loc": { "start": { "line": 140, "column": 65 }, "end": { "line": 140, "column": 90 } }, "object": { "type": "Identifier", "start": 4151, "end": 4157, "loc": { "start": { "line": 140, "column": 65 }, "end": { "line": 140, "column": 71 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "BinaryExpression", "start": 4158, "end": 4175, "loc": { "start": { "line": 140, "column": 72 }, "end": { "line": 140, "column": 89 } }, "left": { "type": "MemberExpression", "start": 4158, "end": 4171, "loc": { "start": { "line": 140, "column": 72 }, "end": { "line": 140, "column": 85 } }, "object": { "type": "Identifier", "start": 4158, "end": 4164, "loc": { "start": { "line": 140, "column": 72 }, "end": { "line": 140, "column": 78 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 4165, "end": 4171, "loc": { "start": { "line": 140, "column": 79 }, "end": { "line": 140, "column": 85 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 4174, "end": 4175, "loc": { "start": { "line": 140, "column": 88 }, "end": { "line": 140, "column": 89 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, "computed": true } ] } ] } }, "consequent": { "type": "BlockStatement", "start": 4179, "end": 4266, "loc": { "start": { "line": 140, "column": 93 }, "end": { "line": 142, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 4188, "end": 4259, "loc": { "start": { "line": 141, "column": 6 }, "end": { "line": 141, "column": 77 } }, "expression": { "type": "AssignmentExpression", "start": 4188, "end": 4258, "loc": { "start": { "line": 141, "column": 6 }, "end": { "line": 141, "column": 76 } }, "operator": "=", "left": { "type": "Identifier", "start": 4188, "end": 4194, "loc": { "start": { "line": 141, "column": 6 }, "end": { "line": 141, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 4197, "end": 4258, "loc": { "start": { "line": 141, "column": 15 }, "end": { "line": 141, "column": 76 } }, "callee": { "type": "MemberExpression", "start": 4197, "end": 4213, "loc": { "start": { "line": 141, "column": 15 }, "end": { "line": 141, "column": 31 } }, "object": { "type": "ThisExpression", "start": 4197, "end": 4201, "loc": { "start": { "line": 141, "column": 15 }, "end": { "line": 141, "column": 19 } } }, "property": { "type": "Identifier", "start": 4202, "end": 4213, "loc": { "start": { "line": 141, "column": 20 }, "end": { "line": 141, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4214, "end": 4220, "loc": { "start": { "line": 141, "column": 32 }, "end": { "line": 141, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "MemberExpression", "start": 4222, "end": 4247, "loc": { "start": { "line": 141, "column": 40 }, "end": { "line": 141, "column": 65 } }, "object": { "type": "Identifier", "start": 4222, "end": 4228, "loc": { "start": { "line": 141, "column": 40 }, "end": { "line": 141, "column": 46 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "BinaryExpression", "start": 4229, "end": 4246, "loc": { "start": { "line": 141, "column": 47 }, "end": { "line": 141, "column": 64 } }, "left": { "type": "MemberExpression", "start": 4229, "end": 4242, "loc": { "start": { "line": 141, "column": 47 }, "end": { "line": 141, "column": 60 } }, "object": { "type": "Identifier", "start": 4229, "end": 4235, "loc": { "start": { "line": 141, "column": 47 }, "end": { "line": 141, "column": 53 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 4236, "end": 4242, "loc": { "start": { "line": 141, "column": 54 }, "end": { "line": 141, "column": 60 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 4245, "end": 4246, "loc": { "start": { "line": 141, "column": 63 }, "end": { "line": 141, "column": 64 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, "computed": true }, { "type": "Identifier", "start": 4249, "end": 4257, "loc": { "start": { "line": 141, "column": 67 }, "end": { "line": 141, "column": 75 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 4277, "end": 5001, "loc": { "start": { "line": 143, "column": 9 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "BinaryExpression", "start": 4280, "end": 4307, "loc": { "start": { "line": 143, "column": 12 }, "end": { "line": 143, "column": 39 } }, "left": { "type": "Identifier", "start": 4280, "end": 4286, "loc": { "start": { "line": 143, "column": 12 }, "end": { "line": 143, "column": 18 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 4291, "end": 4307, "loc": { "start": { "line": 143, "column": 23 }, "end": { "line": 143, "column": 39 } }, "extra": { "rawValue": "{numpaddivide}", "raw": "\"{numpaddivide}\"" }, "value": "{numpaddivide}" } }, "consequent": { "type": "ExpressionStatement", "start": 4316, "end": 4365, "loc": { "start": { "line": 144, "column": 6 }, "end": { "line": 144, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 4316, "end": 4364, "loc": { "start": { "line": 144, "column": 6 }, "end": { "line": 144, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 4316, "end": 4322, "loc": { "start": { "line": 144, "column": 6 }, "end": { "line": 144, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 4325, "end": 4364, "loc": { "start": { "line": 144, "column": 15 }, "end": { "line": 144, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 4325, "end": 4341, "loc": { "start": { "line": 144, "column": 15 }, "end": { "line": 144, "column": 31 } }, "object": { "type": "ThisExpression", "start": 4325, "end": 4329, "loc": { "start": { "line": 144, "column": 15 }, "end": { "line": 144, "column": 19 } } }, "property": { "type": "Identifier", "start": 4330, "end": 4341, "loc": { "start": { "line": 144, "column": 20 }, "end": { "line": 144, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4342, "end": 4348, "loc": { "start": { "line": 144, "column": 32 }, "end": { "line": 144, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "StringLiteral", "start": 4350, "end": 4353, "loc": { "start": { "line": 144, "column": 40 }, "end": { "line": 144, "column": 43 } }, "extra": { "rawValue": "/", "raw": "'/'" }, "value": "/" }, { "type": "Identifier", "start": 4355, "end": 4363, "loc": { "start": { "line": 144, "column": 45 }, "end": { "line": 144, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } }, "alternate": { "type": "IfStatement", "start": 4378, "end": 5001, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "BinaryExpression", "start": 4381, "end": 4410, "loc": { "start": { "line": 146, "column": 12 }, "end": { "line": 146, "column": 41 } }, "left": { "type": "Identifier", "start": 4381, "end": 4387, "loc": { "start": { "line": 146, "column": 12 }, "end": { "line": 146, "column": 18 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 4392, "end": 4410, "loc": { "start": { "line": 146, "column": 23 }, "end": { "line": 146, "column": 41 } }, "extra": { "rawValue": "{numpadmultiply}", "raw": "\"{numpadmultiply}\"" }, "value": "{numpadmultiply}" } }, "consequent": { "type": "ExpressionStatement", "start": 4419, "end": 4468, "loc": { "start": { "line": 147, "column": 6 }, "end": { "line": 147, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 4419, "end": 4467, "loc": { "start": { "line": 147, "column": 6 }, "end": { "line": 147, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 4419, "end": 4425, "loc": { "start": { "line": 147, "column": 6 }, "end": { "line": 147, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 4428, "end": 4467, "loc": { "start": { "line": 147, "column": 15 }, "end": { "line": 147, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 4428, "end": 4444, "loc": { "start": { "line": 147, "column": 15 }, "end": { "line": 147, "column": 31 } }, "object": { "type": "ThisExpression", "start": 4428, "end": 4432, "loc": { "start": { "line": 147, "column": 15 }, "end": { "line": 147, "column": 19 } } }, "property": { "type": "Identifier", "start": 4433, "end": 4444, "loc": { "start": { "line": 147, "column": 20 }, "end": { "line": 147, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4445, "end": 4451, "loc": { "start": { "line": 147, "column": 32 }, "end": { "line": 147, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "StringLiteral", "start": 4453, "end": 4456, "loc": { "start": { "line": 147, "column": 40 }, "end": { "line": 147, "column": 43 } }, "extra": { "rawValue": "*", "raw": "'*'" }, "value": "*" }, { "type": "Identifier", "start": 4458, "end": 4466, "loc": { "start": { "line": 147, "column": 45 }, "end": { "line": 147, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } }, "alternate": { "type": "IfStatement", "start": 4479, "end": 5001, "loc": { "start": { "line": 148, "column": 9 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "BinaryExpression", "start": 4482, "end": 4511, "loc": { "start": { "line": 148, "column": 12 }, "end": { "line": 148, "column": 41 } }, "left": { "type": "Identifier", "start": 4482, "end": 4488, "loc": { "start": { "line": 148, "column": 12 }, "end": { "line": 148, "column": 18 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 4493, "end": 4511, "loc": { "start": { "line": 148, "column": 23 }, "end": { "line": 148, "column": 41 } }, "extra": { "rawValue": "{numpadsubtract}", "raw": "\"{numpadsubtract}\"" }, "value": "{numpadsubtract}" } }, "consequent": { "type": "ExpressionStatement", "start": 4520, "end": 4569, "loc": { "start": { "line": 149, "column": 6 }, "end": { "line": 149, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 4520, "end": 4568, "loc": { "start": { "line": 149, "column": 6 }, "end": { "line": 149, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 4520, "end": 4526, "loc": { "start": { "line": 149, "column": 6 }, "end": { "line": 149, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 4529, "end": 4568, "loc": { "start": { "line": 149, "column": 15 }, "end": { "line": 149, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 4529, "end": 4545, "loc": { "start": { "line": 149, "column": 15 }, "end": { "line": 149, "column": 31 } }, "object": { "type": "ThisExpression", "start": 4529, "end": 4533, "loc": { "start": { "line": 149, "column": 15 }, "end": { "line": 149, "column": 19 } } }, "property": { "type": "Identifier", "start": 4534, "end": 4545, "loc": { "start": { "line": 149, "column": 20 }, "end": { "line": 149, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4546, "end": 4552, "loc": { "start": { "line": 149, "column": 32 }, "end": { "line": 149, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "StringLiteral", "start": 4554, "end": 4557, "loc": { "start": { "line": 149, "column": 40 }, "end": { "line": 149, "column": 43 } }, "extra": { "rawValue": "-", "raw": "'-'" }, "value": "-" }, { "type": "Identifier", "start": 4559, "end": 4567, "loc": { "start": { "line": 149, "column": 45 }, "end": { "line": 149, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } }, "alternate": { "type": "IfStatement", "start": 4582, "end": 5001, "loc": { "start": { "line": 151, "column": 9 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "BinaryExpression", "start": 4585, "end": 4609, "loc": { "start": { "line": 151, "column": 12 }, "end": { "line": 151, "column": 36 } }, "left": { "type": "Identifier", "start": 4585, "end": 4591, "loc": { "start": { "line": 151, "column": 12 }, "end": { "line": 151, "column": 18 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 4596, "end": 4609, "loc": { "start": { "line": 151, "column": 23 }, "end": { "line": 151, "column": 36 } }, "extra": { "rawValue": "{numpadadd}", "raw": "\"{numpadadd}\"" }, "value": "{numpadadd}" } }, "consequent": { "type": "ExpressionStatement", "start": 4618, "end": 4667, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 4618, "end": 4666, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 4618, "end": 4624, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 4627, "end": 4666, "loc": { "start": { "line": 152, "column": 15 }, "end": { "line": 152, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 4627, "end": 4643, "loc": { "start": { "line": 152, "column": 15 }, "end": { "line": 152, "column": 31 } }, "object": { "type": "ThisExpression", "start": 4627, "end": 4631, "loc": { "start": { "line": 152, "column": 15 }, "end": { "line": 152, "column": 19 } } }, "property": { "type": "Identifier", "start": 4632, "end": 4643, "loc": { "start": { "line": 152, "column": 20 }, "end": { "line": 152, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4644, "end": 4650, "loc": { "start": { "line": 152, "column": 32 }, "end": { "line": 152, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "StringLiteral", "start": 4652, "end": 4655, "loc": { "start": { "line": 152, "column": 40 }, "end": { "line": 152, "column": 43 } }, "extra": { "rawValue": "+", "raw": "'+'" }, "value": "+" }, { "type": "Identifier", "start": 4657, "end": 4665, "loc": { "start": { "line": 152, "column": 45 }, "end": { "line": 152, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } }, "alternate": { "type": "IfStatement", "start": 4680, "end": 5001, "loc": { "start": { "line": 154, "column": 9 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "BinaryExpression", "start": 4683, "end": 4711, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 40 } }, "left": { "type": "Identifier", "start": 4683, "end": 4689, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 18 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 4694, "end": 4711, "loc": { "start": { "line": 154, "column": 23 }, "end": { "line": 154, "column": 40 } }, "extra": { "rawValue": "{numpaddecimal}", "raw": "\"{numpaddecimal}\"" }, "value": "{numpaddecimal}" } }, "consequent": { "type": "ExpressionStatement", "start": 4720, "end": 4769, "loc": { "start": { "line": 155, "column": 6 }, "end": { "line": 155, "column": 55 } }, "expression": { "type": "AssignmentExpression", "start": 4720, "end": 4768, "loc": { "start": { "line": 155, "column": 6 }, "end": { "line": 155, "column": 54 } }, "operator": "=", "left": { "type": "Identifier", "start": 4720, "end": 4726, "loc": { "start": { "line": 155, "column": 6 }, "end": { "line": 155, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 4729, "end": 4768, "loc": { "start": { "line": 155, "column": 15 }, "end": { "line": 155, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 4729, "end": 4745, "loc": { "start": { "line": 155, "column": 15 }, "end": { "line": 155, "column": 31 } }, "object": { "type": "ThisExpression", "start": 4729, "end": 4733, "loc": { "start": { "line": 155, "column": 15 }, "end": { "line": 155, "column": 19 } } }, "property": { "type": "Identifier", "start": 4734, "end": 4745, "loc": { "start": { "line": 155, "column": 20 }, "end": { "line": 155, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4746, "end": 4752, "loc": { "start": { "line": 155, "column": 32 }, "end": { "line": 155, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "StringLiteral", "start": 4754, "end": 4757, "loc": { "start": { "line": 155, "column": 40 }, "end": { "line": 155, "column": 43 } }, "extra": { "rawValue": ".", "raw": "'.'" }, "value": "." }, { "type": "Identifier", "start": 4759, "end": 4767, "loc": { "start": { "line": 155, "column": 45 }, "end": { "line": 155, "column": 53 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } }, "alternate": { "type": "IfStatement", "start": 4782, "end": 5001, "loc": { "start": { "line": 157, "column": 9 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "LogicalExpression", "start": 4785, "end": 4817, "loc": { "start": { "line": 157, "column": 12 }, "end": { "line": 157, "column": 44 } }, "left": { "type": "BinaryExpression", "start": 4785, "end": 4799, "loc": { "start": { "line": 157, "column": 12 }, "end": { "line": 157, "column": 26 } }, "left": { "type": "Identifier", "start": 4785, "end": 4791, "loc": { "start": { "line": 157, "column": 12 }, "end": { "line": 157, "column": 18 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 4796, "end": 4799, "loc": { "start": { "line": 157, "column": 23 }, "end": { "line": 157, "column": 26 } }, "extra": { "rawValue": "{", "raw": "\"{\"" }, "value": "{" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 4803, "end": 4817, "loc": { "start": { "line": 157, "column": 30 }, "end": { "line": 157, "column": 44 } }, "left": { "type": "Identifier", "start": 4803, "end": 4809, "loc": { "start": { "line": 157, "column": 30 }, "end": { "line": 157, "column": 36 }, "identifierName": "button" }, "name": "button" }, "operator": "===", "right": { "type": "StringLiteral", "start": 4814, "end": 4817, "loc": { "start": { "line": 157, "column": 41 }, "end": { "line": 157, "column": 44 } }, "extra": { "rawValue": "}", "raw": "\"}\"" }, "value": "}" } } }, "consequent": { "type": "ExpressionStatement", "start": 4826, "end": 4878, "loc": { "start": { "line": 158, "column": 6 }, "end": { "line": 158, "column": 58 } }, "expression": { "type": "AssignmentExpression", "start": 4826, "end": 4877, "loc": { "start": { "line": 158, "column": 6 }, "end": { "line": 158, "column": 57 } }, "operator": "=", "left": { "type": "Identifier", "start": 4826, "end": 4832, "loc": { "start": { "line": 158, "column": 6 }, "end": { "line": 158, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 4835, "end": 4877, "loc": { "start": { "line": 158, "column": 15 }, "end": { "line": 158, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 4835, "end": 4851, "loc": { "start": { "line": 158, "column": 15 }, "end": { "line": 158, "column": 31 } }, "object": { "type": "ThisExpression", "start": 4835, "end": 4839, "loc": { "start": { "line": 158, "column": 15 }, "end": { "line": 158, "column": 19 } } }, "property": { "type": "Identifier", "start": 4840, "end": 4851, "loc": { "start": { "line": 158, "column": 20 }, "end": { "line": 158, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4852, "end": 4858, "loc": { "start": { "line": 158, "column": 32 }, "end": { "line": 158, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "Identifier", "start": 4860, "end": 4866, "loc": { "start": { "line": 158, "column": 40 }, "end": { "line": 158, "column": 46 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 4868, "end": 4876, "loc": { "start": { "line": 158, "column": 48 }, "end": { "line": 158, "column": 56 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } }, "alternate": { "type": "IfStatement", "start": 4891, "end": 5001, "loc": { "start": { "line": 160, "column": 9 }, "end": { "line": 161, "column": 58 } }, "test": { "type": "LogicalExpression", "start": 4894, "end": 4940, "loc": { "start": { "line": 160, "column": 12 }, "end": { "line": 160, "column": 58 } }, "left": { "type": "UnaryExpression", "start": 4894, "end": 4915, "loc": { "start": { "line": 160, "column": 12 }, "end": { "line": 160, "column": 33 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 4895, "end": 4915, "loc": { "start": { "line": 160, "column": 13 }, "end": { "line": 160, "column": 33 } }, "callee": { "type": "MemberExpression", "start": 4895, "end": 4910, "loc": { "start": { "line": 160, "column": 13 }, "end": { "line": 160, "column": 28 } }, "object": { "type": "Identifier", "start": 4895, "end": 4901, "loc": { "start": { "line": 160, "column": 13 }, "end": { "line": 160, "column": 19 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 4902, "end": 4910, "loc": { "start": { "line": 160, "column": 20 }, "end": { "line": 160, "column": 28 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 4911, "end": 4914, "loc": { "start": { "line": 160, "column": 29 }, "end": { "line": 160, "column": 32 } }, "extra": { "rawValue": "{", "raw": "\"{\"" }, "value": "{" } ] }, "extra": { "parenthesizedArgument": false } }, "operator": "&&", "right": { "type": "UnaryExpression", "start": 4919, "end": 4940, "loc": { "start": { "line": 160, "column": 37 }, "end": { "line": 160, "column": 58 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 4920, "end": 4940, "loc": { "start": { "line": 160, "column": 38 }, "end": { "line": 160, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 4920, "end": 4935, "loc": { "start": { "line": 160, "column": 38 }, "end": { "line": 160, "column": 53 } }, "object": { "type": "Identifier", "start": 4920, "end": 4926, "loc": { "start": { "line": 160, "column": 38 }, "end": { "line": 160, "column": 44 }, "identifierName": "button" }, "name": "button" }, "property": { "type": "Identifier", "start": 4927, "end": 4935, "loc": { "start": { "line": 160, "column": 45 }, "end": { "line": 160, "column": 53 }, "identifierName": "includes" }, "name": "includes" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 4936, "end": 4939, "loc": { "start": { "line": 160, "column": 54 }, "end": { "line": 160, "column": 57 } }, "extra": { "rawValue": "}", "raw": "\"}\"" }, "value": "}" } ] }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "ExpressionStatement", "start": 4949, "end": 5001, "loc": { "start": { "line": 161, "column": 6 }, "end": { "line": 161, "column": 58 } }, "expression": { "type": "AssignmentExpression", "start": 4949, "end": 5000, "loc": { "start": { "line": 161, "column": 6 }, "end": { "line": 161, "column": 57 } }, "operator": "=", "left": { "type": "Identifier", "start": 4949, "end": 4955, "loc": { "start": { "line": 161, "column": 6 }, "end": { "line": 161, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 4958, "end": 5000, "loc": { "start": { "line": 161, "column": 15 }, "end": { "line": 161, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 4958, "end": 4974, "loc": { "start": { "line": 161, "column": 15 }, "end": { "line": 161, "column": 31 } }, "object": { "type": "ThisExpression", "start": 4958, "end": 4962, "loc": { "start": { "line": 161, "column": 15 }, "end": { "line": 161, "column": 19 } } }, "property": { "type": "Identifier", "start": 4963, "end": 4974, "loc": { "start": { "line": 161, "column": 20 }, "end": { "line": 161, "column": 31 }, "identifierName": "addStringAt" }, "name": "addStringAt" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4975, "end": 4981, "loc": { "start": { "line": 161, "column": 32 }, "end": { "line": 161, "column": 38 }, "identifierName": "output" }, "name": "output" }, { "type": "Identifier", "start": 4983, "end": 4989, "loc": { "start": { "line": 161, "column": 40 }, "end": { "line": 161, "column": 46 }, "identifierName": "button" }, "name": "button" }, { "type": "Identifier", "start": 4991, "end": 4999, "loc": { "start": { "line": 161, "column": 48 }, "end": { "line": 161, "column": 56 }, "identifierName": "caretPos" }, "name": "caretPos" } ] } } }, "alternate": null } } } } } } } } } } } }, { "type": "ReturnStatement", "start": 5009, "end": 5023, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 163, "column": 18 } }, "argument": { "type": "Identifier", "start": 5016, "end": 5022, "loc": { "start": { "line": 163, "column": 11 }, "end": { "line": 163, "column": 17 }, "identifierName": "output" }, "name": "output" } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n ", "start": 3114, "end": 3431, "loc": { "start": { "line": 116, "column": 2 }, "end": { "line": 123, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Moves the cursor position by a given amount\r\n * \r\n * @param {number} length Represents by how many characters the input should be moved\r\n * @param {boolean} minus Whether the cursor should be moved to the left or not.\r\n ", "start": 5032, "end": 5274, "loc": { "start": { "line": 165, "column": 2 }, "end": { "line": 170, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 5278, "end": 5621, "loc": { "start": { "line": 171, "column": 2 }, "end": { "line": 178, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5278, "end": 5292, "loc": { "start": { "line": 171, "column": 2 }, "end": { "line": 171, "column": 16 }, "identifierName": "updateCaretPos" }, "name": "updateCaretPos", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 5295, "end": 5621, "loc": { "start": { "line": 171, "column": 19 }, "end": { "line": 178, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 5296, "end": 5302, "loc": { "start": { "line": 171, "column": 20 }, "end": { "line": 171, "column": 26 }, "identifierName": "length" }, "name": "length" }, { "type": "Identifier", "start": 5304, "end": 5309, "loc": { "start": { "line": 171, "column": 28 }, "end": { "line": 171, "column": 33 }, "identifierName": "minus" }, "name": "minus" } ], "body": { "type": "BlockStatement", "start": 5314, "end": 5621, "loc": { "start": { "line": 171, "column": 38 }, "end": { "line": 178, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 5321, "end": 5616, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 177, "column": 5 } }, "test": { "type": "Identifier", "start": 5324, "end": 5329, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 12 }, "identifierName": "minus" }, "name": "minus" }, "consequent": { "type": "BlockStatement", "start": 5330, "end": 5499, "loc": { "start": { "line": 172, "column": 13 }, "end": { "line": 175, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 5339, "end": 5492, "loc": { "start": { "line": 173, "column": 6 }, "end": { "line": 174, "column": 102 } }, "test": { "type": "BinaryExpression", "start": 5342, "end": 5387, "loc": { "start": { "line": 173, "column": 9 }, "end": { "line": 173, "column": 54 } }, "left": { "type": "MemberExpression", "start": 5342, "end": 5383, "loc": { "start": { "line": 173, "column": 9 }, "end": { "line": 173, "column": 50 } }, "object": { "type": "MemberExpression", "start": 5342, "end": 5369, "loc": { "start": { "line": 173, "column": 9 }, "end": { "line": 173, "column": 36 } }, "object": { "type": "ThisExpression", "start": 5342, "end": 5346, "loc": { "start": { "line": 173, "column": 9 }, "end": { "line": 173, "column": 13 } } }, "property": { "type": "Identifier", "start": 5347, "end": 5369, "loc": { "start": { "line": 173, "column": 14 }, "end": { "line": 173, "column": 36 }, "identifierName": "simpleKeyboardInstance" }, "name": "simpleKeyboardInstance" }, "computed": false }, "property": { "type": "Identifier", "start": 5370, "end": 5383, "loc": { "start": { "line": 173, "column": 37 }, "end": { "line": 173, "column": 50 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 5386, "end": 5387, "loc": { "start": { "line": 173, "column": 53 }, "end": { "line": 173, "column": 54 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "ExpressionStatement", "start": 5398, "end": 5492, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 102 } }, "expression": { "type": "AssignmentExpression", "start": 5398, "end": 5492, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 102 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5398, "end": 5439, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 49 } }, "object": { "type": "MemberExpression", "start": 5398, "end": 5425, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 35 } }, "object": { "type": "ThisExpression", "start": 5398, "end": 5402, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 12 } } }, "property": { "type": "Identifier", "start": 5403, "end": 5425, "loc": { "start": { "line": 174, "column": 13 }, "end": { "line": 174, "column": 35 }, "identifierName": "simpleKeyboardInstance" }, "name": "simpleKeyboardInstance" }, "computed": false }, "property": { "type": "Identifier", "start": 5426, "end": 5439, "loc": { "start": { "line": 174, "column": 36 }, "end": { "line": 174, "column": 49 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 5442, "end": 5492, "loc": { "start": { "line": 174, "column": 52 }, "end": { "line": 174, "column": 102 } }, "left": { "type": "MemberExpression", "start": 5442, "end": 5483, "loc": { "start": { "line": 174, "column": 52 }, "end": { "line": 174, "column": 93 } }, "object": { "type": "MemberExpression", "start": 5442, "end": 5469, "loc": { "start": { "line": 174, "column": 52 }, "end": { "line": 174, "column": 79 } }, "object": { "type": "ThisExpression", "start": 5442, "end": 5446, "loc": { "start": { "line": 174, "column": 52 }, "end": { "line": 174, "column": 56 } } }, "property": { "type": "Identifier", "start": 5447, "end": 5469, "loc": { "start": { "line": 174, "column": 57 }, "end": { "line": 174, "column": 79 }, "identifierName": "simpleKeyboardInstance" }, "name": "simpleKeyboardInstance" }, "computed": false }, "property": { "type": "Identifier", "start": 5470, "end": 5483, "loc": { "start": { "line": 174, "column": 80 }, "end": { "line": 174, "column": 93 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false }, "operator": "-", "right": { "type": "Identifier", "start": 5486, "end": 5492, "loc": { "start": { "line": 174, "column": 96 }, "end": { "line": 174, "column": 102 }, "identifierName": "length" }, "name": "length" } } } }, "alternate": null } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 5505, "end": 5616, "loc": { "start": { "line": 175, "column": 11 }, "end": { "line": 177, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 5514, "end": 5609, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 101 } }, "expression": { "type": "AssignmentExpression", "start": 5514, "end": 5608, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 100 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 5514, "end": 5555, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 47 } }, "object": { "type": "MemberExpression", "start": 5514, "end": 5541, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 33 } }, "object": { "type": "ThisExpression", "start": 5514, "end": 5518, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 10 } } }, "property": { "type": "Identifier", "start": 5519, "end": 5541, "loc": { "start": { "line": 176, "column": 11 }, "end": { "line": 176, "column": 33 }, "identifierName": "simpleKeyboardInstance" }, "name": "simpleKeyboardInstance" }, "computed": false }, "property": { "type": "Identifier", "start": 5542, "end": 5555, "loc": { "start": { "line": 176, "column": 34 }, "end": { "line": 176, "column": 47 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false }, "right": { "type": "BinaryExpression", "start": 5558, "end": 5608, "loc": { "start": { "line": 176, "column": 50 }, "end": { "line": 176, "column": 100 } }, "left": { "type": "MemberExpression", "start": 5558, "end": 5599, "loc": { "start": { "line": 176, "column": 50 }, "end": { "line": 176, "column": 91 } }, "object": { "type": "MemberExpression", "start": 5558, "end": 5585, "loc": { "start": { "line": 176, "column": 50 }, "end": { "line": 176, "column": 77 } }, "object": { "type": "ThisExpression", "start": 5558, "end": 5562, "loc": { "start": { "line": 176, "column": 50 }, "end": { "line": 176, "column": 54 } } }, "property": { "type": "Identifier", "start": 5563, "end": 5585, "loc": { "start": { "line": 176, "column": 55 }, "end": { "line": 176, "column": 77 }, "identifierName": "simpleKeyboardInstance" }, "name": "simpleKeyboardInstance" }, "computed": false }, "property": { "type": "Identifier", "start": 5586, "end": 5599, "loc": { "start": { "line": 176, "column": 78 }, "end": { "line": 176, "column": 91 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false }, "operator": "+", "right": { "type": "Identifier", "start": 5602, "end": 5608, "loc": { "start": { "line": 176, "column": 94 }, "end": { "line": 176, "column": 100 }, "identifierName": "length" }, "name": "length" } } } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Moves the cursor position by a given amount\r\n * \r\n * @param {number} length Represents by how many characters the input should be moved\r\n * @param {boolean} minus Whether the cursor should be moved to the left or not.\r\n ", "start": 5032, "end": 5274, "loc": { "start": { "line": 165, "column": 2 }, "end": { "line": 170, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n ", "start": 5627, "end": 5879, "loc": { "start": { "line": 180, "column": 2 }, "end": { "line": 186, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 5883, "end": 6428, "loc": { "start": { "line": 187, "column": 2 }, "end": { "line": 209, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 5883, "end": 5894, "loc": { "start": { "line": 187, "column": 2 }, "end": { "line": 187, "column": 13 }, "identifierName": "addStringAt" }, "name": "addStringAt", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 5895, "end": 5901, "loc": { "start": { "line": 187, "column": 14 }, "end": { "line": 187, "column": 20 }, "identifierName": "source" }, "name": "source" }, { "type": "Identifier", "start": 5903, "end": 5909, "loc": { "start": { "line": 187, "column": 22 }, "end": { "line": 187, "column": 28 }, "identifierName": "string" }, "name": "string" }, { "type": "Identifier", "start": 5911, "end": 5919, "loc": { "start": { "line": 187, "column": 30 }, "end": { "line": 187, "column": 38 }, "identifierName": "position" }, "name": "position" } ], "body": { "type": "BlockStatement", "start": 5920, "end": 6428, "loc": { "start": { "line": 187, "column": 39 }, "end": { "line": 209, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 5927, "end": 5938, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", "start": 5931, "end": 5937, "loc": { "start": { "line": 188, "column": 8 }, "end": { "line": 188, "column": 14 } }, "id": { "type": "Identifier", "start": 5931, "end": 5937, "loc": { "start": { "line": 188, "column": 8 }, "end": { "line": 188, "column": 14 }, "identifierName": "output" }, "name": "output" }, "init": null } ], "kind": "let" }, { "type": "IfStatement", "start": 5946, "end": 6042, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 192, "column": 5 } }, "test": { "type": "MemberExpression", "start": 5949, "end": 5990, "loc": { "start": { "line": 190, "column": 7 }, "end": { "line": 190, "column": 48 } }, "object": { "type": "MemberExpression", "start": 5949, "end": 5984, "loc": { "start": { "line": 190, "column": 7 }, "end": { "line": 190, "column": 42 } }, "object": { "type": "MemberExpression", "start": 5949, "end": 5976, "loc": { "start": { "line": 190, "column": 7 }, "end": { "line": 190, "column": 34 } }, "object": { "type": "ThisExpression", "start": 5949, "end": 5953, "loc": { "start": { "line": 190, "column": 7 }, "end": { "line": 190, "column": 11 } } }, "property": { "type": "Identifier", "start": 5954, "end": 5976, "loc": { "start": { "line": 190, "column": 12 }, "end": { "line": 190, "column": 34 }, "identifierName": "simpleKeyboardInstance" }, "name": "simpleKeyboardInstance" }, "computed": false }, "property": { "type": "Identifier", "start": 5977, "end": 5984, "loc": { "start": { "line": 190, "column": 35 }, "end": { "line": 190, "column": 42 }, "identifierName": "options" }, "name": "options" }, "computed": false }, "property": { "type": "Identifier", "start": 5985, "end": 5990, "loc": { "start": { "line": 190, "column": 43 }, "end": { "line": 190, "column": 48 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 5991, "end": 6042, "loc": { "start": { "line": 190, "column": 49 }, "end": { "line": 192, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6000, "end": 6035, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 191, "column": 41 } }, "expression": { "type": "CallExpression", "start": 6000, "end": 6034, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 191, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 6000, "end": 6011, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 191, "column": 17 } }, "object": { "type": "Identifier", "start": 6000, "end": 6007, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 191, "column": 13 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 6008, "end": 6011, "loc": { "start": { "line": 191, "column": 14 }, "end": { "line": 191, "column": 17 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6012, "end": 6023, "loc": { "start": { "line": 191, "column": 18 }, "end": { "line": 191, "column": 29 } }, "extra": { "rawValue": "Caret at:", "raw": "\"Caret at:\"" }, "value": "Caret at:" }, { "type": "Identifier", "start": 6025, "end": 6033, "loc": { "start": { "line": 191, "column": 31 }, "end": { "line": 191, "column": 39 }, "identifierName": "position" }, "name": "position" } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 6050, "end": 6401, "loc": { "start": { "line": 194, "column": 4 }, "end": { "line": 206, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 6053, "end": 6080, "loc": { "start": { "line": 194, "column": 7 }, "end": { "line": 194, "column": 34 } }, "left": { "type": "UnaryExpression", "start": 6053, "end": 6062, "loc": { "start": { "line": 194, "column": 7 }, "end": { "line": 194, "column": 16 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 6054, "end": 6062, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 16 }, "identifierName": "position" }, "name": "position" }, "extra": { "parenthesizedArgument": false } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 6066, "end": 6080, "loc": { "start": { "line": 194, "column": 20 }, "end": { "line": 194, "column": 34 } }, "left": { "type": "Identifier", "start": 6066, "end": 6074, "loc": { "start": { "line": 194, "column": 20 }, "end": { "line": 194, "column": 28 }, "identifierName": "position" }, "name": "position" }, "operator": "!==", "right": { "type": "NumericLiteral", "start": 6079, "end": 6080, "loc": { "start": { "line": 194, "column": 33 }, "end": { "line": 194, "column": 34 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, "consequent": { "type": "BlockStatement", "start": 6081, "end": 6122, "loc": { "start": { "line": 194, "column": 35 }, "end": { "line": 196, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6090, "end": 6115, "loc": { "start": { "line": 195, "column": 6 }, "end": { "line": 195, "column": 31 } }, "expression": { "type": "AssignmentExpression", "start": 6090, "end": 6114, "loc": { "start": { "line": 195, "column": 6 }, "end": { "line": 195, "column": 30 } }, "operator": "=", "left": { "type": "Identifier", "start": 6090, "end": 6096, "loc": { "start": { "line": 195, "column": 6 }, "end": { "line": 195, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "BinaryExpression", "start": 6099, "end": 6114, "loc": { "start": { "line": 195, "column": 15 }, "end": { "line": 195, "column": 30 } }, "left": { "type": "Identifier", "start": 6099, "end": 6105, "loc": { "start": { "line": 195, "column": 15 }, "end": { "line": 195, "column": 21 }, "identifierName": "source" }, "name": "source" }, "operator": "+", "right": { "type": "Identifier", "start": 6108, "end": 6114, "loc": { "start": { "line": 195, "column": 24 }, "end": { "line": 195, "column": 30 }, "identifierName": "string" }, "name": "string" } } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 6128, "end": 6401, "loc": { "start": { "line": 196, "column": 11 }, "end": { "line": 206, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 6137, "end": 6215, "loc": { "start": { "line": 197, "column": 6 }, "end": { "line": 197, "column": 84 } }, "expression": { "type": "AssignmentExpression", "start": 6137, "end": 6214, "loc": { "start": { "line": 197, "column": 6 }, "end": { "line": 197, "column": 83 } }, "operator": "=", "left": { "type": "Identifier", "start": 6137, "end": 6143, "loc": { "start": { "line": 197, "column": 6 }, "end": { "line": 197, "column": 12 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 6146, "end": 6214, "loc": { "start": { "line": 197, "column": 15 }, "end": { "line": 197, "column": 83 } }, "callee": { "type": "MemberExpression", "start": 6146, "end": 6210, "loc": { "start": { "line": 197, "column": 15 }, "end": { "line": 197, "column": 79 } }, "object": { "type": "ArrayExpression", "start": 6146, "end": 6205, "loc": { "start": { "line": 197, "column": 15 }, "end": { "line": 197, "column": 74 } }, "elements": [ { "type": "CallExpression", "start": 6147, "end": 6172, "loc": { "start": { "line": 197, "column": 16 }, "end": { "line": 197, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 6147, "end": 6159, "loc": { "start": { "line": 197, "column": 16 }, "end": { "line": 197, "column": 28 } }, "object": { "type": "Identifier", "start": 6147, "end": 6153, "loc": { "start": { "line": 197, "column": 16 }, "end": { "line": 197, "column": 22 }, "identifierName": "source" }, "name": "source" }, "property": { "type": "Identifier", "start": 6154, "end": 6159, "loc": { "start": { "line": 197, "column": 23 }, "end": { "line": 197, "column": 28 }, "identifierName": "slice" }, "name": "slice" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 6160, "end": 6161, "loc": { "start": { "line": 197, "column": 29 }, "end": { "line": 197, "column": 30 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "Identifier", "start": 6163, "end": 6171, "loc": { "start": { "line": 197, "column": 32 }, "end": { "line": 197, "column": 40 }, "identifierName": "position" }, "name": "position" } ] }, { "type": "Identifier", "start": 6174, "end": 6180, "loc": { "start": { "line": 197, "column": 43 }, "end": { "line": 197, "column": 49 }, "identifierName": "string" }, "name": "string" }, { "type": "CallExpression", "start": 6182, "end": 6204, "loc": { "start": { "line": 197, "column": 51 }, "end": { "line": 197, "column": 73 } }, "callee": { "type": "MemberExpression", "start": 6182, "end": 6194, "loc": { "start": { "line": 197, "column": 51 }, "end": { "line": 197, "column": 63 } }, "object": { "type": "Identifier", "start": 6182, "end": 6188, "loc": { "start": { "line": 197, "column": 51 }, "end": { "line": 197, "column": 57 }, "identifierName": "source" }, "name": "source" }, "property": { "type": "Identifier", "start": 6189, "end": 6194, "loc": { "start": { "line": 197, "column": 58 }, "end": { "line": 197, "column": 63 }, "identifierName": "slice" }, "name": "slice" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 6195, "end": 6203, "loc": { "start": { "line": 197, "column": 64 }, "end": { "line": 197, "column": 72 }, "identifierName": "position" }, "name": "position" } ] } ] }, "property": { "type": "Identifier", "start": 6206, "end": 6210, "loc": { "start": { "line": 197, "column": 75 }, "end": { "line": 197, "column": 79 }, "identifierName": "join" }, "name": "join" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 6211, "end": 6213, "loc": { "start": { "line": 197, "column": 80 }, "end": { "line": 197, "column": 82 } }, "extra": { "rawValue": "", "raw": "''" }, "value": "" } ] } }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Avoid caret position change when maxLength is set\r\n ", "start": 6225, "end": 6299, "loc": { "start": { "line": 199, "column": 6 }, "end": { "line": 201, "column": 9 } } } ] }, { "type": "IfStatement", "start": 6307, "end": 6392, "loc": { "start": { "line": 202, "column": 6 }, "end": { "line": 204, "column": 7 } }, "test": { "type": "UnaryExpression", "start": 6310, "end": 6336, "loc": { "start": { "line": 202, "column": 9 }, "end": { "line": 202, "column": 35 } }, "operator": "!", "prefix": true, "argument": { "type": "CallExpression", "start": 6311, "end": 6336, "loc": { "start": { "line": 202, "column": 10 }, "end": { "line": 202, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 6311, "end": 6334, "loc": { "start": { "line": 202, "column": 10 }, "end": { "line": 202, "column": 33 } }, "object": { "type": "ThisExpression", "start": 6311, "end": 6315, "loc": { "start": { "line": 202, "column": 10 }, "end": { "line": 202, "column": 14 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 6316, "end": 6334, "loc": { "start": { "line": 202, "column": 15 }, "end": { "line": 202, "column": 33 }, "identifierName": "isMaxLengthReached" }, "name": "isMaxLengthReached" }, "computed": false, "leadingComments": null }, "arguments": [], "leadingComments": null }, "extra": { "parenthesizedArgument": false }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 6337, "end": 6392, "loc": { "start": { "line": 202, "column": 36 }, "end": { "line": 204, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 6348, "end": 6383, "loc": { "start": { "line": 203, "column": 8 }, "end": { "line": 203, "column": 43 } }, "expression": { "type": "CallExpression", "start": 6348, "end": 6382, "loc": { "start": { "line": 203, "column": 8 }, "end": { "line": 203, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 6348, "end": 6367, "loc": { "start": { "line": 203, "column": 8 }, "end": { "line": 203, "column": 27 } }, "object": { "type": "ThisExpression", "start": 6348, "end": 6352, "loc": { "start": { "line": 203, "column": 8 }, "end": { "line": 203, "column": 12 } } }, "property": { "type": "Identifier", "start": 6353, "end": 6367, "loc": { "start": { "line": 203, "column": 13 }, "end": { "line": 203, "column": 27 }, "identifierName": "updateCaretPos" }, "name": "updateCaretPos" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 6368, "end": 6381, "loc": { "start": { "line": 203, "column": 28 }, "end": { "line": 203, "column": 41 } }, "object": { "type": "Identifier", "start": 6368, "end": 6374, "loc": { "start": { "line": 203, "column": 28 }, "end": { "line": 203, "column": 34 }, "identifierName": "string" }, "name": "string" }, "property": { "type": "Identifier", "start": 6375, "end": 6381, "loc": { "start": { "line": 203, "column": 35 }, "end": { "line": 203, "column": 41 }, "identifierName": "length" }, "name": "length" }, "computed": false } ] } } ], "directives": [] }, "alternate": null, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Avoid caret position change when maxLength is set\r\n ", "start": 6225, "end": 6299, "loc": { "start": { "line": 199, "column": 6 }, "end": { "line": 201, "column": 9 } } } ] } ], "directives": [] } }, { "type": "ReturnStatement", "start": 6409, "end": 6423, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 208, "column": 18 } }, "argument": { "type": "Identifier", "start": 6416, "end": 6422, "loc": { "start": { "line": 208, "column": 11 }, "end": { "line": 208, "column": 17 }, "identifierName": "output" }, "name": "output" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n ", "start": 5627, "end": 5879, "loc": { "start": { "line": 180, "column": 2 }, "end": { "line": 186, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n ", "start": 6434, "end": 6654, "loc": { "start": { "line": 211, "column": 2 }, "end": { "line": 216, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 6658, "end": 7888, "loc": { "start": { "line": 217, "column": 2 }, "end": { "line": 256, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 6658, "end": 6666, "loc": { "start": { "line": 217, "column": 2 }, "end": { "line": 217, "column": 10 }, "identifierName": "removeAt" }, "name": "removeAt", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 6667, "end": 6673, "loc": { "start": { "line": 217, "column": 11 }, "end": { "line": 217, "column": 17 }, "identifierName": "source" }, "name": "source" }, { "type": "Identifier", "start": 6675, "end": 6683, "loc": { "start": { "line": 217, "column": 19 }, "end": { "line": 217, "column": 27 }, "identifierName": "position" }, "name": "position" } ], "body": { "type": "BlockStatement", "start": 6684, "end": 7888, "loc": { "start": { "line": 217, "column": 28 }, "end": { "line": 256, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 6691, "end": 6772, "loc": { "start": { "line": 218, "column": 4 }, "end": { "line": 220, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 6694, "end": 6741, "loc": { "start": { "line": 218, "column": 7 }, "end": { "line": 218, "column": 54 } }, "left": { "type": "MemberExpression", "start": 6694, "end": 6735, "loc": { "start": { "line": 218, "column": 7 }, "end": { "line": 218, "column": 48 } }, "object": { "type": "MemberExpression", "start": 6694, "end": 6721, "loc": { "start": { "line": 218, "column": 7 }, "end": { "line": 218, "column": 34 } }, "object": { "type": "ThisExpression", "start": 6694, "end": 6698, "loc": { "start": { "line": 218, "column": 7 }, "end": { "line": 218, "column": 11 } } }, "property": { "type": "Identifier", "start": 6699, "end": 6721, "loc": { "start": { "line": 218, "column": 12 }, "end": { "line": 218, "column": 34 }, "identifierName": "simpleKeyboardInstance" }, "name": "simpleKeyboardInstance" }, "computed": false }, "property": { "type": "Identifier", "start": 6722, "end": 6735, "loc": { "start": { "line": 218, "column": 35 }, "end": { "line": 218, "column": 48 }, "identifierName": "caretPosition" }, "name": "caretPosition" }, "computed": false }, "operator": "===", "right": { "type": "NumericLiteral", "start": 6740, "end": 6741, "loc": { "start": { "line": 218, "column": 53 }, "end": { "line": 218, "column": 54 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 6742, "end": 6772, "loc": { "start": { "line": 218, "column": 55 }, "end": { "line": 220, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 6751, "end": 6765, "loc": { "start": { "line": 219, "column": 6 }, "end": { "line": 219, "column": 20 } }, "argument": { "type": "Identifier", "start": 6758, "end": 6764, "loc": { "start": { "line": 219, "column": 13 }, "end": { "line": 219, "column": 19 }, "identifierName": "source" }, "name": "source" } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 6780, "end": 6791, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 15 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6784, "end": 6790, "loc": { "start": { "line": 222, "column": 8 }, "end": { "line": 222, "column": 14 } }, "id": { "type": "Identifier", "start": 6784, "end": 6790, "loc": { "start": { "line": 222, "column": 8 }, "end": { "line": 222, "column": 14 }, "identifierName": "output" }, "name": "output" }, "init": null } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 6797, "end": 6814, "loc": { "start": { "line": 223, "column": 4 }, "end": { "line": 223, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6801, "end": 6813, "loc": { "start": { "line": 223, "column": 8 }, "end": { "line": 223, "column": 20 } }, "id": { "type": "Identifier", "start": 6801, "end": 6813, "loc": { "start": { "line": 223, "column": 8 }, "end": { "line": 223, "column": 20 }, "identifierName": "prevTwoChars" }, "name": "prevTwoChars" }, "init": null } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 6820, "end": 6837, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 224, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6824, "end": 6836, "loc": { "start": { "line": 224, "column": 8 }, "end": { "line": 224, "column": 20 } }, "id": { "type": "Identifier", "start": 6824, "end": 6836, "loc": { "start": { "line": 224, "column": 8 }, "end": { "line": 224, "column": 20 }, "identifierName": "emojiMatched" }, "name": "emojiMatched" }, "init": null } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 6843, "end": 6901, "loc": { "start": { "line": 225, "column": 4 }, "end": { "line": 225, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", "start": 6847, "end": 6900, "loc": { "start": { "line": 225, "column": 8 }, "end": { "line": 225, "column": 61 } }, "id": { "type": "Identifier", "start": 6847, "end": 6862, "loc": { "start": { "line": 225, "column": 8 }, "end": { "line": 225, "column": 23 }, "identifierName": "emojiMatchedReg" }, "name": "emojiMatchedReg" }, "init": { "type": "RegExpLiteral", "start": 6865, "end": 6900, "loc": { "start": { "line": 225, "column": 26 }, "end": { "line": 225, "column": 61 } }, "extra": { "raw": "/([\\uD800-\\uDBFF][\\uDC00-\\uDFFF])/g" }, "pattern": "([\\uD800-\\uDBFF][\\uDC00-\\uDFFF])", "flags": "g" } } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Emojis are made out of two characters, so we must take a custom approach to trim them.\r\n * For more info: https://mathiasbynens.be/notes/javascript-unicode\r\n ", "start": 6909, "end": 7089, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 230, "column": 7 } } } ] }, { "type": "IfStatement", "start": 7095, "end": 7861, "loc": { "start": { "line": 231, "column": 4 }, "end": { "line": 253, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 7098, "end": 7123, "loc": { "start": { "line": 231, "column": 7 }, "end": { "line": 231, "column": 32 } }, "left": { "type": "Identifier", "start": 7098, "end": 7106, "loc": { "start": { "line": 231, "column": 7 }, "end": { "line": 231, "column": 15 }, "identifierName": "position" }, "name": "position", "leadingComments": null }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 7110, "end": 7123, "loc": { "start": { "line": 231, "column": 19 }, "end": { "line": 231, "column": 32 } }, "left": { "type": "Identifier", "start": 7110, "end": 7118, "loc": { "start": { "line": 231, "column": 19 }, "end": { "line": 231, "column": 27 }, "identifierName": "position" }, "name": "position" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 7122, "end": 7123, "loc": { "start": { "line": 231, "column": 31 }, "end": { "line": 231, "column": 32 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 7124, "end": 7540, "loc": { "start": { "line": 231, "column": 33 }, "end": { "line": 242, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 7133, "end": 7188, "loc": { "start": { "line": 232, "column": 6 }, "end": { "line": 232, "column": 61 } }, "expression": { "type": "AssignmentExpression", "start": 7133, "end": 7188, "loc": { "start": { "line": 232, "column": 6 }, "end": { "line": 232, "column": 61 } }, "operator": "=", "left": { "type": "Identifier", "start": 7133, "end": 7145, "loc": { "start": { "line": 232, "column": 6 }, "end": { "line": 232, "column": 18 }, "identifierName": "prevTwoChars" }, "name": "prevTwoChars" }, "right": { "type": "CallExpression", "start": 7148, "end": 7188, "loc": { "start": { "line": 232, "column": 21 }, "end": { "line": 232, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 7148, "end": 7164, "loc": { "start": { "line": 232, "column": 21 }, "end": { "line": 232, "column": 37 } }, "object": { "type": "Identifier", "start": 7148, "end": 7154, "loc": { "start": { "line": 232, "column": 21 }, "end": { "line": 232, "column": 27 }, "identifierName": "source" }, "name": "source" }, "property": { "type": "Identifier", "start": 7155, "end": 7164, "loc": { "start": { "line": 232, "column": 28 }, "end": { "line": 232, "column": 37 }, "identifierName": "substring" }, "name": "substring" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 7165, "end": 7177, "loc": { "start": { "line": 232, "column": 38 }, "end": { "line": 232, "column": 50 } }, "left": { "type": "Identifier", "start": 7165, "end": 7173, "loc": { "start": { "line": 232, "column": 38 }, "end": { "line": 232, "column": 46 }, "identifierName": "position" }, "name": "position" }, "operator": "-", "right": { "type": "NumericLiteral", "start": 7176, "end": 7177, "loc": { "start": { "line": 232, "column": 49 }, "end": { "line": 232, "column": 50 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, { "type": "Identifier", "start": 7179, "end": 7187, "loc": { "start": { "line": 232, "column": 52 }, "end": { "line": 232, "column": 60 }, "identifierName": "position" }, "name": "position" } ] } } }, { "type": "ExpressionStatement", "start": 7196, "end": 7247, "loc": { "start": { "line": 233, "column": 6 }, "end": { "line": 233, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 7196, "end": 7246, "loc": { "start": { "line": 233, "column": 6 }, "end": { "line": 233, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", "start": 7196, "end": 7208, "loc": { "start": { "line": 233, "column": 6 }, "end": { "line": 233, "column": 18 }, "identifierName": "emojiMatched" }, "name": "emojiMatched" }, "right": { "type": "CallExpression", "start": 7211, "end": 7246, "loc": { "start": { "line": 233, "column": 21 }, "end": { "line": 233, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 7211, "end": 7229, "loc": { "start": { "line": 233, "column": 21 }, "end": { "line": 233, "column": 39 } }, "object": { "type": "Identifier", "start": 7211, "end": 7223, "loc": { "start": { "line": 233, "column": 21 }, "end": { "line": 233, "column": 33 }, "identifierName": "prevTwoChars" }, "name": "prevTwoChars" }, "property": { "type": "Identifier", "start": 7224, "end": 7229, "loc": { "start": { "line": 233, "column": 34 }, "end": { "line": 233, "column": 39 }, "identifierName": "match" }, "name": "match" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7230, "end": 7245, "loc": { "start": { "line": 233, "column": 40 }, "end": { "line": 233, "column": 55 }, "identifierName": "emojiMatchedReg" }, "name": "emojiMatchedReg" } ] } } }, { "type": "IfStatement", "start": 7257, "end": 7533, "loc": { "start": { "line": 235, "column": 6 }, "end": { "line": 241, "column": 7 } }, "test": { "type": "Identifier", "start": 7260, "end": 7272, "loc": { "start": { "line": 235, "column": 9 }, "end": { "line": 235, "column": 21 }, "identifierName": "emojiMatched" }, "name": "emojiMatched" }, "consequent": { "type": "BlockStatement", "start": 7273, "end": 7400, "loc": { "start": { "line": 235, "column": 22 }, "end": { "line": 238, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 7284, "end": 7352, "loc": { "start": { "line": 236, "column": 8 }, "end": { "line": 236, "column": 76 } }, "expression": { "type": "AssignmentExpression", "start": 7284, "end": 7351, "loc": { "start": { "line": 236, "column": 8 }, "end": { "line": 236, "column": 75 } }, "operator": "=", "left": { "type": "Identifier", "start": 7284, "end": 7290, "loc": { "start": { "line": 236, "column": 8 }, "end": { "line": 236, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "BinaryExpression", "start": 7293, "end": 7351, "loc": { "start": { "line": 236, "column": 17 }, "end": { "line": 236, "column": 75 } }, "left": { "type": "CallExpression", "start": 7293, "end": 7325, "loc": { "start": { "line": 236, "column": 17 }, "end": { "line": 236, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 7293, "end": 7306, "loc": { "start": { "line": 236, "column": 17 }, "end": { "line": 236, "column": 30 } }, "object": { "type": "Identifier", "start": 7293, "end": 7299, "loc": { "start": { "line": 236, "column": 17 }, "end": { "line": 236, "column": 23 }, "identifierName": "source" }, "name": "source" }, "property": { "type": "Identifier", "start": 7300, "end": 7306, "loc": { "start": { "line": 236, "column": 24 }, "end": { "line": 236, "column": 30 }, "identifierName": "substr" }, "name": "substr" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 7307, "end": 7308, "loc": { "start": { "line": 236, "column": 31 }, "end": { "line": 236, "column": 32 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "BinaryExpression", "start": 7311, "end": 7323, "loc": { "start": { "line": 236, "column": 35 }, "end": { "line": 236, "column": 47 } }, "left": { "type": "Identifier", "start": 7311, "end": 7319, "loc": { "start": { "line": 236, "column": 35 }, "end": { "line": 236, "column": 43 }, "identifierName": "position" }, "name": "position" }, "operator": "-", "right": { "type": "NumericLiteral", "start": 7322, "end": 7323, "loc": { "start": { "line": 236, "column": 46 }, "end": { "line": 236, "column": 47 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, "extra": { "parenthesized": true, "parenStart": 7310 } } ] }, "operator": "+", "right": { "type": "CallExpression", "start": 7328, "end": 7351, "loc": { "start": { "line": 236, "column": 52 }, "end": { "line": 236, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 7328, "end": 7341, "loc": { "start": { "line": 236, "column": 52 }, "end": { "line": 236, "column": 65 } }, "object": { "type": "Identifier", "start": 7328, "end": 7334, "loc": { "start": { "line": 236, "column": 52 }, "end": { "line": 236, "column": 58 }, "identifierName": "source" }, "name": "source" }, "property": { "type": "Identifier", "start": 7335, "end": 7341, "loc": { "start": { "line": 236, "column": 59 }, "end": { "line": 236, "column": 65 }, "identifierName": "substr" }, "name": "substr" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7342, "end": 7350, "loc": { "start": { "line": 236, "column": 66 }, "end": { "line": 236, "column": 74 }, "identifierName": "position" }, "name": "position" } ] } } } }, { "type": "ExpressionStatement", "start": 7362, "end": 7391, "loc": { "start": { "line": 237, "column": 8 }, "end": { "line": 237, "column": 37 } }, "expression": { "type": "CallExpression", "start": 7362, "end": 7390, "loc": { "start": { "line": 237, "column": 8 }, "end": { "line": 237, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 7362, "end": 7381, "loc": { "start": { "line": 237, "column": 8 }, "end": { "line": 237, "column": 27 } }, "object": { "type": "ThisExpression", "start": 7362, "end": 7366, "loc": { "start": { "line": 237, "column": 8 }, "end": { "line": 237, "column": 12 } } }, "property": { "type": "Identifier", "start": 7367, "end": 7381, "loc": { "start": { "line": 237, "column": 13 }, "end": { "line": 237, "column": 27 }, "identifierName": "updateCaretPos" }, "name": "updateCaretPos" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 7382, "end": 7383, "loc": { "start": { "line": 237, "column": 28 }, "end": { "line": 237, "column": 29 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, { "type": "BooleanLiteral", "start": 7385, "end": 7389, "loc": { "start": { "line": 237, "column": 31 }, "end": { "line": 237, "column": 35 } }, "value": true } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 7406, "end": 7533, "loc": { "start": { "line": 238, "column": 13 }, "end": { "line": 241, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 7417, "end": 7485, "loc": { "start": { "line": 239, "column": 8 }, "end": { "line": 239, "column": 76 } }, "expression": { "type": "AssignmentExpression", "start": 7417, "end": 7484, "loc": { "start": { "line": 239, "column": 8 }, "end": { "line": 239, "column": 75 } }, "operator": "=", "left": { "type": "Identifier", "start": 7417, "end": 7423, "loc": { "start": { "line": 239, "column": 8 }, "end": { "line": 239, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "BinaryExpression", "start": 7426, "end": 7484, "loc": { "start": { "line": 239, "column": 17 }, "end": { "line": 239, "column": 75 } }, "left": { "type": "CallExpression", "start": 7426, "end": 7458, "loc": { "start": { "line": 239, "column": 17 }, "end": { "line": 239, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 7426, "end": 7439, "loc": { "start": { "line": 239, "column": 17 }, "end": { "line": 239, "column": 30 } }, "object": { "type": "Identifier", "start": 7426, "end": 7432, "loc": { "start": { "line": 239, "column": 17 }, "end": { "line": 239, "column": 23 }, "identifierName": "source" }, "name": "source" }, "property": { "type": "Identifier", "start": 7433, "end": 7439, "loc": { "start": { "line": 239, "column": 24 }, "end": { "line": 239, "column": 30 }, "identifierName": "substr" }, "name": "substr" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 7440, "end": 7441, "loc": { "start": { "line": 239, "column": 31 }, "end": { "line": 239, "column": 32 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "BinaryExpression", "start": 7444, "end": 7456, "loc": { "start": { "line": 239, "column": 35 }, "end": { "line": 239, "column": 47 } }, "left": { "type": "Identifier", "start": 7444, "end": 7452, "loc": { "start": { "line": 239, "column": 35 }, "end": { "line": 239, "column": 43 }, "identifierName": "position" }, "name": "position" }, "operator": "-", "right": { "type": "NumericLiteral", "start": 7455, "end": 7456, "loc": { "start": { "line": 239, "column": 46 }, "end": { "line": 239, "column": 47 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "extra": { "parenthesized": true, "parenStart": 7443 } } ] }, "operator": "+", "right": { "type": "CallExpression", "start": 7461, "end": 7484, "loc": { "start": { "line": 239, "column": 52 }, "end": { "line": 239, "column": 75 } }, "callee": { "type": "MemberExpression", "start": 7461, "end": 7474, "loc": { "start": { "line": 239, "column": 52 }, "end": { "line": 239, "column": 65 } }, "object": { "type": "Identifier", "start": 7461, "end": 7467, "loc": { "start": { "line": 239, "column": 52 }, "end": { "line": 239, "column": 58 }, "identifierName": "source" }, "name": "source" }, "property": { "type": "Identifier", "start": 7468, "end": 7474, "loc": { "start": { "line": 239, "column": 59 }, "end": { "line": 239, "column": 65 }, "identifierName": "substr" }, "name": "substr" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7475, "end": 7483, "loc": { "start": { "line": 239, "column": 66 }, "end": { "line": 239, "column": 74 }, "identifierName": "position" }, "name": "position" } ] } } } }, { "type": "ExpressionStatement", "start": 7495, "end": 7524, "loc": { "start": { "line": 240, "column": 8 }, "end": { "line": 240, "column": 37 } }, "expression": { "type": "CallExpression", "start": 7495, "end": 7523, "loc": { "start": { "line": 240, "column": 8 }, "end": { "line": 240, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 7495, "end": 7514, "loc": { "start": { "line": 240, "column": 8 }, "end": { "line": 240, "column": 27 } }, "object": { "type": "ThisExpression", "start": 7495, "end": 7499, "loc": { "start": { "line": 240, "column": 8 }, "end": { "line": 240, "column": 12 } } }, "property": { "type": "Identifier", "start": 7500, "end": 7514, "loc": { "start": { "line": 240, "column": 13 }, "end": { "line": 240, "column": 27 }, "identifierName": "updateCaretPos" }, "name": "updateCaretPos" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 7515, "end": 7516, "loc": { "start": { "line": 240, "column": 28 }, "end": { "line": 240, "column": 29 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, { "type": "BooleanLiteral", "start": 7518, "end": 7522, "loc": { "start": { "line": 240, "column": 31 }, "end": { "line": 240, "column": 35 } }, "value": true } ] } } ], "directives": [] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 7546, "end": 7861, "loc": { "start": { "line": 242, "column": 11 }, "end": { "line": 253, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 7555, "end": 7587, "loc": { "start": { "line": 243, "column": 6 }, "end": { "line": 243, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 7555, "end": 7586, "loc": { "start": { "line": 243, "column": 6 }, "end": { "line": 243, "column": 37 } }, "operator": "=", "left": { "type": "Identifier", "start": 7555, "end": 7567, "loc": { "start": { "line": 243, "column": 6 }, "end": { "line": 243, "column": 18 }, "identifierName": "prevTwoChars" }, "name": "prevTwoChars" }, "right": { "type": "CallExpression", "start": 7570, "end": 7586, "loc": { "start": { "line": 243, "column": 21 }, "end": { "line": 243, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 7570, "end": 7582, "loc": { "start": { "line": 243, "column": 21 }, "end": { "line": 243, "column": 33 } }, "object": { "type": "Identifier", "start": 7570, "end": 7576, "loc": { "start": { "line": 243, "column": 21 }, "end": { "line": 243, "column": 27 }, "identifierName": "source" }, "name": "source" }, "property": { "type": "Identifier", "start": 7577, "end": 7582, "loc": { "start": { "line": 243, "column": 28 }, "end": { "line": 243, "column": 33 }, "identifierName": "slice" }, "name": "slice" }, "computed": false }, "arguments": [ { "type": "UnaryExpression", "start": 7583, "end": 7585, "loc": { "start": { "line": 243, "column": 34 }, "end": { "line": 243, "column": 36 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", "start": 7584, "end": 7585, "loc": { "start": { "line": 243, "column": 35 }, "end": { "line": 243, "column": 36 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, "extra": { "parenthesizedArgument": false } } ] } } }, { "type": "ExpressionStatement", "start": 7595, "end": 7646, "loc": { "start": { "line": 244, "column": 6 }, "end": { "line": 244, "column": 57 } }, "expression": { "type": "AssignmentExpression", "start": 7595, "end": 7645, "loc": { "start": { "line": 244, "column": 6 }, "end": { "line": 244, "column": 56 } }, "operator": "=", "left": { "type": "Identifier", "start": 7595, "end": 7607, "loc": { "start": { "line": 244, "column": 6 }, "end": { "line": 244, "column": 18 }, "identifierName": "emojiMatched" }, "name": "emojiMatched" }, "right": { "type": "CallExpression", "start": 7610, "end": 7645, "loc": { "start": { "line": 244, "column": 21 }, "end": { "line": 244, "column": 56 } }, "callee": { "type": "MemberExpression", "start": 7610, "end": 7628, "loc": { "start": { "line": 244, "column": 21 }, "end": { "line": 244, "column": 39 } }, "object": { "type": "Identifier", "start": 7610, "end": 7622, "loc": { "start": { "line": 244, "column": 21 }, "end": { "line": 244, "column": 33 }, "identifierName": "prevTwoChars" }, "name": "prevTwoChars" }, "property": { "type": "Identifier", "start": 7623, "end": 7628, "loc": { "start": { "line": 244, "column": 34 }, "end": { "line": 244, "column": 39 }, "identifierName": "match" }, "name": "match" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 7629, "end": 7644, "loc": { "start": { "line": 244, "column": 40 }, "end": { "line": 244, "column": 55 }, "identifierName": "emojiMatchedReg" }, "name": "emojiMatchedReg" } ] } } }, { "type": "IfStatement", "start": 7656, "end": 7854, "loc": { "start": { "line": 246, "column": 6 }, "end": { "line": 252, "column": 7 } }, "test": { "type": "Identifier", "start": 7659, "end": 7671, "loc": { "start": { "line": 246, "column": 9 }, "end": { "line": 246, "column": 21 }, "identifierName": "emojiMatched" }, "name": "emojiMatched" }, "consequent": { "type": "BlockStatement", "start": 7672, "end": 7760, "loc": { "start": { "line": 246, "column": 22 }, "end": { "line": 249, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 7683, "end": 7712, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 7683, "end": 7711, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", "start": 7683, "end": 7689, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 7692, "end": 7711, "loc": { "start": { "line": 247, "column": 17 }, "end": { "line": 247, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 7692, "end": 7704, "loc": { "start": { "line": 247, "column": 17 }, "end": { "line": 247, "column": 29 } }, "object": { "type": "Identifier", "start": 7692, "end": 7698, "loc": { "start": { "line": 247, "column": 17 }, "end": { "line": 247, "column": 23 }, "identifierName": "source" }, "name": "source" }, "property": { "type": "Identifier", "start": 7699, "end": 7704, "loc": { "start": { "line": 247, "column": 24 }, "end": { "line": 247, "column": 29 }, "identifierName": "slice" }, "name": "slice" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 7705, "end": 7706, "loc": { "start": { "line": 247, "column": 30 }, "end": { "line": 247, "column": 31 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "UnaryExpression", "start": 7708, "end": 7710, "loc": { "start": { "line": 247, "column": 33 }, "end": { "line": 247, "column": 35 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", "start": 7709, "end": 7710, "loc": { "start": { "line": 247, "column": 34 }, "end": { "line": 247, "column": 35 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, "extra": { "parenthesizedArgument": false } } ] } } }, { "type": "ExpressionStatement", "start": 7722, "end": 7751, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 37 } }, "expression": { "type": "CallExpression", "start": 7722, "end": 7750, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 7722, "end": 7741, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 27 } }, "object": { "type": "ThisExpression", "start": 7722, "end": 7726, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 12 } } }, "property": { "type": "Identifier", "start": 7727, "end": 7741, "loc": { "start": { "line": 248, "column": 13 }, "end": { "line": 248, "column": 27 }, "identifierName": "updateCaretPos" }, "name": "updateCaretPos" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 7742, "end": 7743, "loc": { "start": { "line": 248, "column": 28 }, "end": { "line": 248, "column": 29 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 }, { "type": "BooleanLiteral", "start": 7745, "end": 7749, "loc": { "start": { "line": 248, "column": 31 }, "end": { "line": 248, "column": 35 } }, "value": true } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 7766, "end": 7854, "loc": { "start": { "line": 249, "column": 13 }, "end": { "line": 252, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 7777, "end": 7806, "loc": { "start": { "line": 250, "column": 8 }, "end": { "line": 250, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 7777, "end": 7805, "loc": { "start": { "line": 250, "column": 8 }, "end": { "line": 250, "column": 36 } }, "operator": "=", "left": { "type": "Identifier", "start": 7777, "end": 7783, "loc": { "start": { "line": 250, "column": 8 }, "end": { "line": 250, "column": 14 }, "identifierName": "output" }, "name": "output" }, "right": { "type": "CallExpression", "start": 7786, "end": 7805, "loc": { "start": { "line": 250, "column": 17 }, "end": { "line": 250, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 7786, "end": 7798, "loc": { "start": { "line": 250, "column": 17 }, "end": { "line": 250, "column": 29 } }, "object": { "type": "Identifier", "start": 7786, "end": 7792, "loc": { "start": { "line": 250, "column": 17 }, "end": { "line": 250, "column": 23 }, "identifierName": "source" }, "name": "source" }, "property": { "type": "Identifier", "start": 7793, "end": 7798, "loc": { "start": { "line": 250, "column": 24 }, "end": { "line": 250, "column": 29 }, "identifierName": "slice" }, "name": "slice" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 7799, "end": 7800, "loc": { "start": { "line": 250, "column": 30 }, "end": { "line": 250, "column": 31 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, { "type": "UnaryExpression", "start": 7802, "end": 7804, "loc": { "start": { "line": 250, "column": 33 }, "end": { "line": 250, "column": 35 } }, "operator": "-", "prefix": true, "argument": { "type": "NumericLiteral", "start": 7803, "end": 7804, "loc": { "start": { "line": 250, "column": 34 }, "end": { "line": 250, "column": 35 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, "extra": { "parenthesizedArgument": false } } ] } } }, { "type": "ExpressionStatement", "start": 7816, "end": 7845, "loc": { "start": { "line": 251, "column": 8 }, "end": { "line": 251, "column": 37 } }, "expression": { "type": "CallExpression", "start": 7816, "end": 7844, "loc": { "start": { "line": 251, "column": 8 }, "end": { "line": 251, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 7816, "end": 7835, "loc": { "start": { "line": 251, "column": 8 }, "end": { "line": 251, "column": 27 } }, "object": { "type": "ThisExpression", "start": 7816, "end": 7820, "loc": { "start": { "line": 251, "column": 8 }, "end": { "line": 251, "column": 12 } } }, "property": { "type": "Identifier", "start": 7821, "end": 7835, "loc": { "start": { "line": 251, "column": 13 }, "end": { "line": 251, "column": 27 }, "identifierName": "updateCaretPos" }, "name": "updateCaretPos" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 7836, "end": 7837, "loc": { "start": { "line": 251, "column": 28 }, "end": { "line": 251, "column": 29 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 }, { "type": "BooleanLiteral", "start": 7839, "end": 7843, "loc": { "start": { "line": 251, "column": 31 }, "end": { "line": 251, "column": 35 } }, "value": true } ] } } ], "directives": [] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Emojis are made out of two characters, so we must take a custom approach to trim them.\r\n * For more info: https://mathiasbynens.be/notes/javascript-unicode\r\n ", "start": 6909, "end": 7089, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 230, "column": 7 } } } ] }, { "type": "ReturnStatement", "start": 7869, "end": 7883, "loc": { "start": { "line": 255, "column": 4 }, "end": { "line": 255, "column": 18 } }, "argument": { "type": "Identifier", "start": 7876, "end": 7882, "loc": { "start": { "line": 255, "column": 11 }, "end": { "line": 255, "column": 17 }, "identifierName": "output" }, "name": "output" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n ", "start": 6434, "end": 6654, "loc": { "start": { "line": 211, "column": 2 }, "end": { "line": 216, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n ", "start": 7892, "end": 8123, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 263, "column": 5 } } } ] }, { "type": "ClassMethod", "start": 8127, "end": 9385, "loc": { "start": { "line": 264, "column": 2 }, "end": { "line": 312, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 8127, "end": 8142, "loc": { "start": { "line": 264, "column": 2 }, "end": { "line": 264, "column": 17 }, "identifierName": "handleMaxLength" }, "name": "handleMaxLength", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 8143, "end": 8151, "loc": { "start": { "line": 264, "column": 18 }, "end": { "line": 264, "column": 26 }, "identifierName": "inputObj" }, "name": "inputObj" }, { "type": "Identifier", "start": 8153, "end": 8160, "loc": { "start": { "line": 264, "column": 28 }, "end": { "line": 264, "column": 35 }, "identifierName": "options" }, "name": "options" }, { "type": "Identifier", "start": 8162, "end": 8174, "loc": { "start": { "line": 264, "column": 37 }, "end": { "line": 264, "column": 49 }, "identifierName": "updatedInput" }, "name": "updatedInput" } ], "body": { "type": "BlockStatement", "start": 8175, "end": 9385, "loc": { "start": { "line": 264, "column": 50 }, "end": { "line": 312, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 8182, "end": 8216, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 265, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8186, "end": 8215, "loc": { "start": { "line": 265, "column": 8 }, "end": { "line": 265, "column": 37 } }, "id": { "type": "Identifier", "start": 8186, "end": 8195, "loc": { "start": { "line": 265, "column": 8 }, "end": { "line": 265, "column": 17 }, "identifierName": "maxLength" }, "name": "maxLength" }, "init": { "type": "MemberExpression", "start": 8198, "end": 8215, "loc": { "start": { "line": 265, "column": 20 }, "end": { "line": 265, "column": 37 } }, "object": { "type": "Identifier", "start": 8198, "end": 8205, "loc": { "start": { "line": 265, "column": 20 }, "end": { "line": 265, "column": 27 }, "identifierName": "options" }, "name": "options" }, "property": { "type": "Identifier", "start": 8206, "end": 8215, "loc": { "start": { "line": 265, "column": 28 }, "end": { "line": 265, "column": 37 }, "identifierName": "maxLength" }, "name": "maxLength" }, "computed": false } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 8222, "end": 8269, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 266, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8226, "end": 8268, "loc": { "start": { "line": 266, "column": 8 }, "end": { "line": 266, "column": 50 } }, "id": { "type": "Identifier", "start": 8226, "end": 8238, "loc": { "start": { "line": 266, "column": 8 }, "end": { "line": 266, "column": 20 }, "identifierName": "currentInput" }, "name": "currentInput" }, "init": { "type": "MemberExpression", "start": 8241, "end": 8268, "loc": { "start": { "line": 266, "column": 23 }, "end": { "line": 266, "column": 50 } }, "object": { "type": "Identifier", "start": 8241, "end": 8249, "loc": { "start": { "line": 266, "column": 23 }, "end": { "line": 266, "column": 31 }, "identifierName": "inputObj" }, "name": "inputObj" }, "property": { "type": "MemberExpression", "start": 8250, "end": 8267, "loc": { "start": { "line": 266, "column": 32 }, "end": { "line": 266, "column": 49 } }, "object": { "type": "Identifier", "start": 8250, "end": 8257, "loc": { "start": { "line": 266, "column": 32 }, "end": { "line": 266, "column": 39 }, "identifierName": "options" }, "name": "options" }, "property": { "type": "Identifier", "start": 8258, "end": 8267, "loc": { "start": { "line": 266, "column": 40 }, "end": { "line": 266, "column": 49 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 8275, "end": 8325, "loc": { "start": { "line": 267, "column": 4 }, "end": { "line": 267, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 8279, "end": 8324, "loc": { "start": { "line": 267, "column": 8 }, "end": { "line": 267, "column": 53 } }, "id": { "type": "Identifier", "start": 8279, "end": 8288, "loc": { "start": { "line": 267, "column": 8 }, "end": { "line": 267, "column": 17 }, "identifierName": "condition" }, "name": "condition" }, "init": { "type": "BinaryExpression", "start": 8291, "end": 8324, "loc": { "start": { "line": 267, "column": 20 }, "end": { "line": 267, "column": 53 } }, "left": { "type": "MemberExpression", "start": 8291, "end": 8310, "loc": { "start": { "line": 267, "column": 20 }, "end": { "line": 267, "column": 39 } }, "object": { "type": "Identifier", "start": 8291, "end": 8303, "loc": { "start": { "line": 267, "column": 20 }, "end": { "line": 267, "column": 32 }, "identifierName": "currentInput" }, "name": "currentInput" }, "property": { "type": "Identifier", "start": 8304, "end": 8310, "loc": { "start": { "line": 267, "column": 33 }, "end": { "line": 267, "column": 39 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "===", "right": { "type": "Identifier", "start": 8315, "end": 8324, "loc": { "start": { "line": 267, "column": 44 }, "end": { "line": 267, "column": 53 }, "identifierName": "maxLength" }, "name": "maxLength" } } } ], "kind": "let" }, { "type": "IfStatement", "start": 8335, "end": 8553, "loc": { "start": { "line": 270, "column": 4 }, "end": { "line": 278, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 8475, "end": 8517, "loc": { "start": { "line": 275, "column": 6 }, "end": { "line": 275, "column": 48 } }, "left": { "type": "MemberExpression", "start": 8475, "end": 8494, "loc": { "start": { "line": 275, "column": 6 }, "end": { "line": 275, "column": 25 } }, "object": { "type": "Identifier", "start": 8475, "end": 8487, "loc": { "start": { "line": 275, "column": 6 }, "end": { "line": 275, "column": 18 }, "identifierName": "updatedInput" }, "name": "updatedInput", "leadingComments": null }, "property": { "type": "Identifier", "start": 8488, "end": 8494, "loc": { "start": { "line": 275, "column": 19 }, "end": { "line": 275, "column": 25 }, "identifierName": "length" }, "name": "length" }, "computed": false, "leadingComments": null }, "operator": "<=", "right": { "type": "MemberExpression", "start": 8498, "end": 8517, "loc": { "start": { "line": 275, "column": 29 }, "end": { "line": 275, "column": 48 } }, "object": { "type": "Identifier", "start": 8498, "end": 8510, "loc": { "start": { "line": 275, "column": 29 }, "end": { "line": 275, "column": 41 }, "identifierName": "currentInput" }, "name": "currentInput" }, "property": { "type": "Identifier", "start": 8511, "end": 8517, "loc": { "start": { "line": 275, "column": 42 }, "end": { "line": 275, "column": 48 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * If pressing this button won't add more characters\r\n * We exit out of this limiter function\r\n ", "start": 8346, "end": 8467, "loc": { "start": { "line": 271, "column": 6 }, "end": { "line": 274, "column": 9 } } } ] }, "consequent": { "type": "BlockStatement", "start": 8524, "end": 8553, "loc": { "start": { "line": 276, "column": 5 }, "end": { "line": 278, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 8533, "end": 8546, "loc": { "start": { "line": 277, "column": 6 }, "end": { "line": 277, "column": 19 } }, "argument": { "type": "BooleanLiteral", "start": 8540, "end": 8545, "loc": { "start": { "line": 277, "column": 13 }, "end": { "line": 277, "column": 18 } }, "value": false } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 8561, "end": 8983, "loc": { "start": { "line": 280, "column": 4 }, "end": { "line": 295, "column": 5 } }, "test": { "type": "CallExpression", "start": 8564, "end": 8591, "loc": { "start": { "line": 280, "column": 7 }, "end": { "line": 280, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 8564, "end": 8580, "loc": { "start": { "line": 280, "column": 7 }, "end": { "line": 280, "column": 23 } }, "object": { "type": "Identifier", "start": 8564, "end": 8570, "loc": { "start": { "line": 280, "column": 7 }, "end": { "line": 280, "column": 13 }, "identifierName": "Number" }, "name": "Number" }, "property": { "type": "Identifier", "start": 8571, "end": 8580, "loc": { "start": { "line": 280, "column": 14 }, "end": { "line": 280, "column": 23 }, "identifierName": "isInteger" }, "name": "isInteger" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 8581, "end": 8590, "loc": { "start": { "line": 280, "column": 24 }, "end": { "line": 280, "column": 33 }, "identifierName": "maxLength" }, "name": "maxLength" } ] }, "consequent": { "type": "BlockStatement", "start": 8592, "end": 8983, "loc": { "start": { "line": 280, "column": 35 }, "end": { "line": 295, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 8601, "end": 8689, "loc": { "start": { "line": 281, "column": 6 }, "end": { "line": 283, "column": 7 } }, "test": { "type": "MemberExpression", "start": 8604, "end": 8617, "loc": { "start": { "line": 281, "column": 9 }, "end": { "line": 281, "column": 22 } }, "object": { "type": "Identifier", "start": 8604, "end": 8611, "loc": { "start": { "line": 281, "column": 9 }, "end": { "line": 281, "column": 16 }, "identifierName": "options" }, "name": "options" }, "property": { "type": "Identifier", "start": 8612, "end": 8617, "loc": { "start": { "line": 281, "column": 17 }, "end": { "line": 281, "column": 22 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 8618, "end": 8689, "loc": { "start": { "line": 281, "column": 23 }, "end": { "line": 283, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 8629, "end": 8680, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 59 } }, "expression": { "type": "CallExpression", "start": 8629, "end": 8679, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 8629, "end": 8640, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 19 } }, "object": { "type": "Identifier", "start": 8629, "end": 8636, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 8637, "end": 8640, "loc": { "start": { "line": 282, "column": 16 }, "end": { "line": 282, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 8641, "end": 8667, "loc": { "start": { "line": 282, "column": 20 }, "end": { "line": 282, "column": 46 } }, "extra": { "rawValue": "maxLength (num) reached:", "raw": "\"maxLength (num) reached:\"" }, "value": "maxLength (num) reached:" }, { "type": "Identifier", "start": 8669, "end": 8678, "loc": { "start": { "line": 282, "column": 48 }, "end": { "line": 282, "column": 57 }, "identifierName": "condition" }, "name": "condition" } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 8699, "end": 8976, "loc": { "start": { "line": 285, "column": 6 }, "end": { "line": 294, "column": 7 } }, "test": { "type": "Identifier", "start": 8702, "end": 8711, "loc": { "start": { "line": 285, "column": 9 }, "end": { "line": 285, "column": 18 }, "identifierName": "condition" }, "name": "condition" }, "consequent": { "type": "BlockStatement", "start": 8712, "end": 8897, "loc": { "start": { "line": 285, "column": 19 }, "end": { "line": 291, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 8837, "end": 8866, "loc": { "start": { "line": 289, "column": 8 }, "end": { "line": 289, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 8837, "end": 8865, "loc": { "start": { "line": 289, "column": 8 }, "end": { "line": 289, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8837, "end": 8858, "loc": { "start": { "line": 289, "column": 8 }, "end": { "line": 289, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8837, "end": 8841, "loc": { "start": { "line": 289, "column": 8 }, "end": { "line": 289, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 8842, "end": 8858, "loc": { "start": { "line": 289, "column": 13 }, "end": { "line": 289, "column": 29 }, "identifierName": "maxLengthReached" }, "name": "maxLengthReached" }, "computed": false, "leadingComments": null }, "right": { "type": "BooleanLiteral", "start": 8861, "end": 8865, "loc": { "start": { "line": 289, "column": 32 }, "end": { "line": 289, "column": 36 } }, "value": true }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Boolean value that shows whether maxLength has been reached\r\n ", "start": 8723, "end": 8827, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 288, "column": 11 } } } ] }, { "type": "ReturnStatement", "start": 8876, "end": 8888, "loc": { "start": { "line": 290, "column": 8 }, "end": { "line": 290, "column": 20 } }, "argument": { "type": "BooleanLiteral", "start": 8883, "end": 8887, "loc": { "start": { "line": 290, "column": 15 }, "end": { "line": 290, "column": 19 } }, "value": true } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 8903, "end": 8976, "loc": { "start": { "line": 291, "column": 13 }, "end": { "line": 294, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 8914, "end": 8944, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 8914, "end": 8943, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 8914, "end": 8935, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 29 } }, "object": { "type": "ThisExpression", "start": 8914, "end": 8918, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 12 } } }, "property": { "type": "Identifier", "start": 8919, "end": 8935, "loc": { "start": { "line": 292, "column": 13 }, "end": { "line": 292, "column": 29 }, "identifierName": "maxLengthReached" }, "name": "maxLengthReached" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 8938, "end": 8943, "loc": { "start": { "line": 292, "column": 32 }, "end": { "line": 292, "column": 37 } }, "value": false } } }, { "type": "ReturnStatement", "start": 8954, "end": 8967, "loc": { "start": { "line": 293, "column": 8 }, "end": { "line": 293, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 8961, "end": 8966, "loc": { "start": { "line": 293, "column": 15 }, "end": { "line": 293, "column": 20 } }, "value": false } } ], "directives": [] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 8991, "end": 9380, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 311, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 8994, "end": 9023, "loc": { "start": { "line": 297, "column": 7 }, "end": { "line": 297, "column": 36 } }, "left": { "type": "UnaryExpression", "start": 8994, "end": 9010, "loc": { "start": { "line": 297, "column": 7 }, "end": { "line": 297, "column": 23 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 9001, "end": 9010, "loc": { "start": { "line": 297, "column": 14 }, "end": { "line": 297, "column": 23 }, "identifierName": "maxLength" }, "name": "maxLength" }, "extra": { "parenthesizedArgument": false } }, "operator": "===", "right": { "type": "StringLiteral", "start": 9015, "end": 9023, "loc": { "start": { "line": 297, "column": 28 }, "end": { "line": 297, "column": 36 } }, "extra": { "rawValue": "object", "raw": "\"object\"" }, "value": "object" } }, "consequent": { "type": "BlockStatement", "start": 9024, "end": 9380, "loc": { "start": { "line": 297, "column": 37 }, "end": { "line": 311, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 9033, "end": 9102, "loc": { "start": { "line": 298, "column": 6 }, "end": { "line": 298, "column": 75 } }, "declarations": [ { "type": "VariableDeclarator", "start": 9037, "end": 9101, "loc": { "start": { "line": 298, "column": 10 }, "end": { "line": 298, "column": 74 } }, "id": { "type": "Identifier", "start": 9037, "end": 9046, "loc": { "start": { "line": 298, "column": 10 }, "end": { "line": 298, "column": 19 }, "identifierName": "condition" }, "name": "condition" }, "init": { "type": "BinaryExpression", "start": 9049, "end": 9101, "loc": { "start": { "line": 298, "column": 22 }, "end": { "line": 298, "column": 74 } }, "left": { "type": "MemberExpression", "start": 9049, "end": 9068, "loc": { "start": { "line": 298, "column": 22 }, "end": { "line": 298, "column": 41 } }, "object": { "type": "Identifier", "start": 9049, "end": 9061, "loc": { "start": { "line": 298, "column": 22 }, "end": { "line": 298, "column": 34 }, "identifierName": "currentInput" }, "name": "currentInput" }, "property": { "type": "Identifier", "start": 9062, "end": 9068, "loc": { "start": { "line": 298, "column": 35 }, "end": { "line": 298, "column": 41 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "===", "right": { "type": "MemberExpression", "start": 9073, "end": 9101, "loc": { "start": { "line": 298, "column": 46 }, "end": { "line": 298, "column": 74 } }, "object": { "type": "Identifier", "start": 9073, "end": 9082, "loc": { "start": { "line": 298, "column": 46 }, "end": { "line": 298, "column": 55 }, "identifierName": "maxLength" }, "name": "maxLength" }, "property": { "type": "MemberExpression", "start": 9083, "end": 9100, "loc": { "start": { "line": 298, "column": 56 }, "end": { "line": 298, "column": 73 } }, "object": { "type": "Identifier", "start": 9083, "end": 9090, "loc": { "start": { "line": 298, "column": 56 }, "end": { "line": 298, "column": 63 }, "identifierName": "options" }, "name": "options" }, "property": { "type": "Identifier", "start": 9091, "end": 9100, "loc": { "start": { "line": 298, "column": 64 }, "end": { "line": 298, "column": 73 }, "identifierName": "inputName" }, "name": "inputName" }, "computed": false }, "computed": true } } } ], "kind": "let" }, { "type": "IfStatement", "start": 9112, "end": 9200, "loc": { "start": { "line": 300, "column": 6 }, "end": { "line": 302, "column": 7 } }, "test": { "type": "MemberExpression", "start": 9115, "end": 9128, "loc": { "start": { "line": 300, "column": 9 }, "end": { "line": 300, "column": 22 } }, "object": { "type": "Identifier", "start": 9115, "end": 9122, "loc": { "start": { "line": 300, "column": 9 }, "end": { "line": 300, "column": 16 }, "identifierName": "options" }, "name": "options" }, "property": { "type": "Identifier", "start": 9123, "end": 9128, "loc": { "start": { "line": 300, "column": 17 }, "end": { "line": 300, "column": 22 }, "identifierName": "debug" }, "name": "debug" }, "computed": false }, "consequent": { "type": "BlockStatement", "start": 9129, "end": 9200, "loc": { "start": { "line": 300, "column": 23 }, "end": { "line": 302, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 9140, "end": 9191, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 59 } }, "expression": { "type": "CallExpression", "start": 9140, "end": 9190, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 58 } }, "callee": { "type": "MemberExpression", "start": 9140, "end": 9151, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 19 } }, "object": { "type": "Identifier", "start": 9140, "end": 9147, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 15 }, "identifierName": "console" }, "name": "console" }, "property": { "type": "Identifier", "start": 9148, "end": 9151, "loc": { "start": { "line": 301, "column": 16 }, "end": { "line": 301, "column": 19 }, "identifierName": "log" }, "name": "log" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 9152, "end": 9178, "loc": { "start": { "line": 301, "column": 20 }, "end": { "line": 301, "column": 46 } }, "extra": { "rawValue": "maxLength (obj) reached:", "raw": "\"maxLength (obj) reached:\"" }, "value": "maxLength (obj) reached:" }, { "type": "Identifier", "start": 9180, "end": 9189, "loc": { "start": { "line": 301, "column": 48 }, "end": { "line": 301, "column": 57 }, "identifierName": "condition" }, "name": "condition" } ] } } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 9210, "end": 9373, "loc": { "start": { "line": 304, "column": 6 }, "end": { "line": 310, "column": 7 } }, "test": { "type": "Identifier", "start": 9213, "end": 9222, "loc": { "start": { "line": 304, "column": 9 }, "end": { "line": 304, "column": 18 }, "identifierName": "condition" }, "name": "condition" }, "consequent": { "type": "BlockStatement", "start": 9223, "end": 9294, "loc": { "start": { "line": 304, "column": 19 }, "end": { "line": 307, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 9234, "end": 9263, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 9234, "end": 9262, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 36 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9234, "end": 9255, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 29 } }, "object": { "type": "ThisExpression", "start": 9234, "end": 9238, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 12 } } }, "property": { "type": "Identifier", "start": 9239, "end": 9255, "loc": { "start": { "line": 305, "column": 13 }, "end": { "line": 305, "column": 29 }, "identifierName": "maxLengthReached" }, "name": "maxLengthReached" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 9258, "end": 9262, "loc": { "start": { "line": 305, "column": 32 }, "end": { "line": 305, "column": 36 } }, "value": true } } }, { "type": "ReturnStatement", "start": 9273, "end": 9285, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 306, "column": 20 } }, "argument": { "type": "BooleanLiteral", "start": 9280, "end": 9284, "loc": { "start": { "line": 306, "column": 15 }, "end": { "line": 306, "column": 19 } }, "value": true } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 9300, "end": 9373, "loc": { "start": { "line": 307, "column": 13 }, "end": { "line": 310, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 9311, "end": 9341, "loc": { "start": { "line": 308, "column": 8 }, "end": { "line": 308, "column": 38 } }, "expression": { "type": "AssignmentExpression", "start": 9311, "end": 9340, "loc": { "start": { "line": 308, "column": 8 }, "end": { "line": 308, "column": 37 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 9311, "end": 9332, "loc": { "start": { "line": 308, "column": 8 }, "end": { "line": 308, "column": 29 } }, "object": { "type": "ThisExpression", "start": 9311, "end": 9315, "loc": { "start": { "line": 308, "column": 8 }, "end": { "line": 308, "column": 12 } } }, "property": { "type": "Identifier", "start": 9316, "end": 9332, "loc": { "start": { "line": 308, "column": 13 }, "end": { "line": 308, "column": 29 }, "identifierName": "maxLengthReached" }, "name": "maxLengthReached" }, "computed": false }, "right": { "type": "BooleanLiteral", "start": 9335, "end": 9340, "loc": { "start": { "line": 308, "column": 32 }, "end": { "line": 308, "column": 37 } }, "value": false } } }, { "type": "ReturnStatement", "start": 9351, "end": 9364, "loc": { "start": { "line": 309, "column": 8 }, "end": { "line": 309, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 9358, "end": 9363, "loc": { "start": { "line": 309, "column": 15 }, "end": { "line": 309, "column": 20 } }, "value": false } } ], "directives": [] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n ", "start": 7892, "end": 8123, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 263, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Gets the current value of maxLengthReached\r\n ", "start": 9391, "end": 9450, "loc": { "start": { "line": 314, "column": 2 }, "end": { "line": 316, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 9454, "end": 9531, "loc": { "start": { "line": 317, "column": 2 }, "end": { "line": 319, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9454, "end": 9472, "loc": { "start": { "line": 317, "column": 2 }, "end": { "line": 317, "column": 20 }, "identifierName": "isMaxLengthReached" }, "name": "isMaxLengthReached", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 9475, "end": 9531, "loc": { "start": { "line": 317, "column": 23 }, "end": { "line": 319, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 9481, "end": 9531, "loc": { "start": { "line": 317, "column": 29 }, "end": { "line": 319, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 9488, "end": 9526, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 318, "column": 42 } }, "argument": { "type": "CallExpression", "start": 9495, "end": 9525, "loc": { "start": { "line": 318, "column": 11 }, "end": { "line": 318, "column": 41 } }, "callee": { "type": "Identifier", "start": 9495, "end": 9502, "loc": { "start": { "line": 318, "column": 11 }, "end": { "line": 318, "column": 18 }, "identifierName": "Boolean" }, "name": "Boolean" }, "arguments": [ { "type": "MemberExpression", "start": 9503, "end": 9524, "loc": { "start": { "line": 318, "column": 19 }, "end": { "line": 318, "column": 40 } }, "object": { "type": "ThisExpression", "start": 9503, "end": 9507, "loc": { "start": { "line": 318, "column": 19 }, "end": { "line": 318, "column": 23 } } }, "property": { "type": "Identifier", "start": 9508, "end": 9524, "loc": { "start": { "line": 318, "column": 24 }, "end": { "line": 318, "column": 40 }, "identifierName": "maxLengthReached" }, "name": "maxLengthReached" }, "computed": false } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Gets the current value of maxLengthReached\r\n ", "start": 9391, "end": 9450, "loc": { "start": { "line": 314, "column": 2 }, "end": { "line": 316, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n ", "start": 9537, "end": 9659, "loc": { "start": { "line": 321, "column": 2 }, "end": { "line": 325, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 9663, "end": 9827, "loc": { "start": { "line": 326, "column": 2 }, "end": { "line": 328, "column": 4 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 9663, "end": 9672, "loc": { "start": { "line": 326, "column": 2 }, "end": { "line": 326, "column": 11 }, "identifierName": "camelCase" }, "name": "camelCase", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 9675, "end": 9826, "loc": { "start": { "line": 326, "column": 14 }, "end": { "line": 328, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 9676, "end": 9682, "loc": { "start": { "line": 326, "column": 15 }, "end": { "line": 326, "column": 21 }, "identifierName": "string" }, "name": "string" } ], "body": { "type": "BlockStatement", "start": 9687, "end": 9826, "loc": { "start": { "line": 326, "column": 26 }, "end": { "line": 328, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 9694, "end": 9821, "loc": { "start": { "line": 327, "column": 4 }, "end": { "line": 327, "column": 131 } }, "argument": { "type": "CallExpression", "start": 9701, "end": 9820, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 130 } }, "callee": { "type": "MemberExpression", "start": 9701, "end": 9754, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 64 } }, "object": { "type": "CallExpression", "start": 9701, "end": 9747, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 9701, "end": 9734, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 44 } }, "object": { "type": "CallExpression", "start": 9701, "end": 9728, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 9701, "end": 9726, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 36 } }, "object": { "type": "CallExpression", "start": 9701, "end": 9721, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 31 } }, "callee": { "type": "MemberExpression", "start": 9701, "end": 9719, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 29 } }, "object": { "type": "Identifier", "start": 9701, "end": 9707, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 17 }, "identifierName": "string" }, "name": "string" }, "property": { "type": "Identifier", "start": 9708, "end": 9719, "loc": { "start": { "line": 327, "column": 18 }, "end": { "line": 327, "column": 29 }, "identifierName": "toLowerCase" }, "name": "toLowerCase" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 9722, "end": 9726, "loc": { "start": { "line": 327, "column": 32 }, "end": { "line": 327, "column": 36 }, "identifierName": "trim" }, "name": "trim" }, "computed": false }, "arguments": [] }, "property": { "type": "Identifier", "start": 9729, "end": 9734, "loc": { "start": { "line": 327, "column": 39 }, "end": { "line": 327, "column": 44 }, "identifierName": "split" }, "name": "split" }, "computed": false }, "arguments": [ { "type": "RegExpLiteral", "start": 9735, "end": 9746, "loc": { "start": { "line": 327, "column": 45 }, "end": { "line": 327, "column": 56 } }, "extra": { "raw": "/[.\\-_\\s]/g" }, "pattern": "[.\\-_\\s]", "flags": "g" } ] }, "property": { "type": "Identifier", "start": 9748, "end": 9754, "loc": { "start": { "line": 327, "column": 58 }, "end": { "line": 327, "column": 64 }, "identifierName": "reduce" }, "name": "reduce" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 9755, "end": 9819, "loc": { "start": { "line": 327, "column": 65 }, "end": { "line": 327, "column": 129 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 9756, "end": 9762, "loc": { "start": { "line": 327, "column": 66 }, "end": { "line": 327, "column": 72 }, "identifierName": "string" }, "name": "string" }, { "type": "Identifier", "start": 9764, "end": 9768, "loc": { "start": { "line": 327, "column": 74 }, "end": { "line": 327, "column": 78 }, "identifierName": "word" }, "name": "word" } ], "body": { "type": "BinaryExpression", "start": 9773, "end": 9819, "loc": { "start": { "line": 327, "column": 83 }, "end": { "line": 327, "column": 129 } }, "left": { "type": "BinaryExpression", "start": 9773, "end": 9803, "loc": { "start": { "line": 327, "column": 83 }, "end": { "line": 327, "column": 113 } }, "left": { "type": "Identifier", "start": 9773, "end": 9779, "loc": { "start": { "line": 327, "column": 83 }, "end": { "line": 327, "column": 89 }, "identifierName": "string" }, "name": "string" }, "operator": "+", "right": { "type": "CallExpression", "start": 9782, "end": 9803, "loc": { "start": { "line": 327, "column": 92 }, "end": { "line": 327, "column": 113 } }, "callee": { "type": "MemberExpression", "start": 9782, "end": 9801, "loc": { "start": { "line": 327, "column": 92 }, "end": { "line": 327, "column": 111 } }, "object": { "type": "MemberExpression", "start": 9782, "end": 9789, "loc": { "start": { "line": 327, "column": 92 }, "end": { "line": 327, "column": 99 } }, "object": { "type": "Identifier", "start": 9782, "end": 9786, "loc": { "start": { "line": 327, "column": 92 }, "end": { "line": 327, "column": 96 }, "identifierName": "word" }, "name": "word" }, "property": { "type": "NumericLiteral", "start": 9787, "end": 9788, "loc": { "start": { "line": 327, "column": 97 }, "end": { "line": 327, "column": 98 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true }, "property": { "type": "Identifier", "start": 9790, "end": 9801, "loc": { "start": { "line": 327, "column": 100 }, "end": { "line": 327, "column": 111 }, "identifierName": "toUpperCase" }, "name": "toUpperCase" }, "computed": false }, "arguments": [] } }, "operator": "+", "right": { "type": "CallExpression", "start": 9806, "end": 9819, "loc": { "start": { "line": 327, "column": 116 }, "end": { "line": 327, "column": 129 } }, "callee": { "type": "MemberExpression", "start": 9806, "end": 9816, "loc": { "start": { "line": 327, "column": 116 }, "end": { "line": 327, "column": 126 } }, "object": { "type": "Identifier", "start": 9806, "end": 9810, "loc": { "start": { "line": 327, "column": 116 }, "end": { "line": 327, "column": 120 }, "identifierName": "word" }, "name": "word" }, "property": { "type": "Identifier", "start": 9811, "end": 9816, "loc": { "start": { "line": 327, "column": 121 }, "end": { "line": 327, "column": 126 }, "identifierName": "slice" }, "name": "slice" }, "computed": false }, "arguments": [ { "type": "NumericLiteral", "start": 9817, "end": 9818, "loc": { "start": { "line": 327, "column": 127 }, "end": { "line": 327, "column": 128 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } ] } } } ] } } ], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n ", "start": 9537, "end": 9659, "loc": { "start": { "line": 321, "column": 2 }, "end": { "line": 325, "column": 5 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Counts the number of duplicates in a given array\r\n * \r\n * @param {Array} array The haystack to search in\r\n * @param {string} value The needle to search for\r\n ", "start": 9833, "end": 10013, "loc": { "start": { "line": 330, "column": 2 }, "end": { "line": 335, "column": 5 } } } ] }, { "type": "ClassProperty", "start": 10017, "end": 10114, "loc": { "start": { "line": 336, "column": 2 }, "end": { "line": 338, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 10017, "end": 10029, "loc": { "start": { "line": 336, "column": 2 }, "end": { "line": 336, "column": 14 }, "identifierName": "countInArray" }, "name": "countInArray", "leadingComments": null }, "value": { "type": "ArrowFunctionExpression", "start": 10032, "end": 10114, "loc": { "start": { "line": 336, "column": 17 }, "end": { "line": 338, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 10033, "end": 10038, "loc": { "start": { "line": 336, "column": 18 }, "end": { "line": 336, "column": 23 }, "identifierName": "array" }, "name": "array" }, { "type": "Identifier", "start": 10040, "end": 10045, "loc": { "start": { "line": 336, "column": 25 }, "end": { "line": 336, "column": 30 }, "identifierName": "value" }, "name": "value" } ], "body": { "type": "BlockStatement", "start": 10050, "end": 10114, "loc": { "start": { "line": 336, "column": 35 }, "end": { "line": 338, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 10057, "end": 10109, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 337, "column": 56 } }, "argument": { "type": "CallExpression", "start": 10064, "end": 10108, "loc": { "start": { "line": 337, "column": 11 }, "end": { "line": 337, "column": 55 } }, "callee": { "type": "MemberExpression", "start": 10064, "end": 10076, "loc": { "start": { "line": 337, "column": 11 }, "end": { "line": 337, "column": 23 } }, "object": { "type": "Identifier", "start": 10064, "end": 10069, "loc": { "start": { "line": 337, "column": 11 }, "end": { "line": 337, "column": 16 }, "identifierName": "array" }, "name": "array" }, "property": { "type": "Identifier", "start": 10070, "end": 10076, "loc": { "start": { "line": 337, "column": 17 }, "end": { "line": 337, "column": 23 }, "identifierName": "reduce" }, "name": "reduce" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 10077, "end": 10104, "loc": { "start": { "line": 337, "column": 24 }, "end": { "line": 337, "column": 51 } }, "id": null, "generator": false, "expression": true, "async": false, "params": [ { "type": "Identifier", "start": 10078, "end": 10079, "loc": { "start": { "line": 337, "column": 25 }, "end": { "line": 337, "column": 26 }, "identifierName": "n" }, "name": "n" }, { "type": "Identifier", "start": 10081, "end": 10082, "loc": { "start": { "line": 337, "column": 28 }, "end": { "line": 337, "column": 29 }, "identifierName": "x" }, "name": "x" } ], "body": { "type": "BinaryExpression", "start": 10087, "end": 10104, "loc": { "start": { "line": 337, "column": 34 }, "end": { "line": 337, "column": 51 } }, "left": { "type": "Identifier", "start": 10087, "end": 10088, "loc": { "start": { "line": 337, "column": 34 }, "end": { "line": 337, "column": 35 }, "identifierName": "n" }, "name": "n" }, "operator": "+", "right": { "type": "BinaryExpression", "start": 10092, "end": 10103, "loc": { "start": { "line": 337, "column": 39 }, "end": { "line": 337, "column": 50 } }, "left": { "type": "Identifier", "start": 10092, "end": 10093, "loc": { "start": { "line": 337, "column": 39 }, "end": { "line": 337, "column": 40 }, "identifierName": "x" }, "name": "x" }, "operator": "===", "right": { "type": "Identifier", "start": 10098, "end": 10103, "loc": { "start": { "line": 337, "column": 45 }, "end": { "line": 337, "column": 50 }, "identifierName": "value" }, "name": "value" }, "extra": { "parenthesized": true, "parenStart": 10091 } } } }, { "type": "NumericLiteral", "start": 10106, "end": 10107, "loc": { "start": { "line": 337, "column": 53 }, "end": { "line": 337, "column": 54 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } ] } } ], "directives": [] } }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Counts the number of duplicates in a given array\r\n * \r\n * @param {Array} array The haystack to search in\r\n * @param {string} value The needle to search for\r\n ", "start": 9833, "end": 10013, "loc": { "start": { "line": 330, "column": 2 }, "end": { "line": 335, "column": 5 } } } ] } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Utility Service\r\n ", "start": 0, "end": 28, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 3 } } } ], "__PseudoExport__": false, "trailingComments": [] }, "leadingComments": null } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\r\n * Utility Service\r\n ", "start": 0, "end": 28, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Creates an instance of the Utility service\r\n ", "start": 51, "end": 110, "loc": { "start": { "line": 5, "column": 2 }, "end": { "line": 7, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} A simple-keyboard instance\r\n ", "start": 156, "end": 218, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 11, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Adds default classes to a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @return {string} The classes to be added to the button\r\n ", "start": 288, "end": 466, "loc": { "start": { "line": 15, "column": 2 }, "end": { "line": 20, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Default button display labels\r\n ", "start": 908, "end": 954, "loc": { "start": { "line": 32, "column": 2 }, "end": { "line": 34, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the display (label) name for a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {object} display The provided display option\r\n * @param {boolean} mergeDisplay Whether the provided param value should be merged with the default one.\r\n ", "start": 2530, "end": 2828, "loc": { "start": { "line": 98, "column": 2 }, "end": { "line": 104, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n ", "start": 3114, "end": 3431, "loc": { "start": { "line": 116, "column": 2 }, "end": { "line": 123, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Moves the cursor position by a given amount\r\n * \r\n * @param {number} length Represents by how many characters the input should be moved\r\n * @param {boolean} minus Whether the cursor should be moved to the left or not.\r\n ", "start": 5032, "end": 5274, "loc": { "start": { "line": 165, "column": 2 }, "end": { "line": 170, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n ", "start": 5627, "end": 5879, "loc": { "start": { "line": 180, "column": 2 }, "end": { "line": 186, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Avoid caret position change when maxLength is set\r\n ", "start": 6225, "end": 6299, "loc": { "start": { "line": 199, "column": 6 }, "end": { "line": 201, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n ", "start": 6434, "end": 6654, "loc": { "start": { "line": 211, "column": 2 }, "end": { "line": 216, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Emojis are made out of two characters, so we must take a custom approach to trim them.\r\n * For more info: https://mathiasbynens.be/notes/javascript-unicode\r\n ", "start": 6909, "end": 7089, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 230, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n ", "start": 7892, "end": 8123, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 263, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * If pressing this button won't add more characters\r\n * We exit out of this limiter function\r\n ", "start": 8346, "end": 8467, "loc": { "start": { "line": 271, "column": 6 }, "end": { "line": 274, "column": 9 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Boolean value that shows whether maxLength has been reached\r\n ", "start": 8723, "end": 8827, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 288, "column": 11 } } }, { "type": "CommentBlock", "value": "*\r\n * Gets the current value of maxLengthReached\r\n ", "start": 9391, "end": 9450, "loc": { "start": { "line": 314, "column": 2 }, "end": { "line": 316, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n ", "start": 9537, "end": 9659, "loc": { "start": { "line": 321, "column": 2 }, "end": { "line": 325, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Counts the number of duplicates in a given array\r\n * \r\n * @param {Array} array The haystack to search in\r\n * @param {string} value The needle to search for\r\n ", "start": 9833, "end": 10013, "loc": { "start": { "line": 330, "column": 2 }, "end": { "line": 335, "column": 5 } } } ], "tokens": [ { "type": "CommentBlock", "value": "*\r\n * Utility Service\r\n ", "start": 0, "end": 28, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 3, "column": 3 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 30, "end": 35, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Utilities", "start": 36, "end": 45, "loc": { "start": { "line": 4, "column": 6 }, "end": { "line": 4, "column": 15 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 46, "end": 47, "loc": { "start": { "line": 4, "column": 16 }, "end": { "line": 4, "column": 17 } } }, { "type": "CommentBlock", "value": "*\r\n * Creates an instance of the Utility service\r\n ", "start": 51, "end": 110, "loc": { "start": { "line": 5, "column": 2 }, "end": { "line": 7, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 114, "end": 125, "loc": { "start": { "line": 8, "column": 2 }, "end": { "line": 8, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 125, "end": 126, "loc": { "start": { "line": 8, "column": 13 }, "end": { "line": 8, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "simpleKeyboardInstance", "start": 126, "end": 148, "loc": { "start": { "line": 8, "column": 14 }, "end": { "line": 8, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 148, "end": 149, "loc": { "start": { "line": 8, "column": 36 }, "end": { "line": 8, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 149, "end": 150, "loc": { "start": { "line": 8, "column": 37 }, "end": { "line": 8, "column": 38 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {object} A simple-keyboard instance\r\n ", "start": 156, "end": 218, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 11, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 224, "end": 228, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 228, "end": 229, "loc": { "start": { "line": 12, "column": 8 }, "end": { "line": 12, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "simpleKeyboardInstance", "start": 229, "end": 251, "loc": { "start": { "line": 12, "column": 9 }, "end": { "line": 12, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 252, "end": 253, "loc": { "start": { "line": 12, "column": 32 }, "end": { "line": 12, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "simpleKeyboardInstance", "start": 254, "end": 276, "loc": { "start": { "line": 12, "column": 34 }, "end": { "line": 12, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 276, "end": 277, "loc": { "start": { "line": 12, "column": 56 }, "end": { "line": 12, "column": 57 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 281, "end": 282, "loc": { "start": { "line": 13, "column": 2 }, "end": { "line": 13, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Adds default classes to a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @return {string} The classes to be added to the button\r\n ", "start": 288, "end": 466, "loc": { "start": { "line": 15, "column": 2 }, "end": { "line": 20, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonClass", "start": 470, "end": 484, "loc": { "start": { "line": 21, "column": 2 }, "end": { "line": 21, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 485, "end": 486, "loc": { "start": { "line": 21, "column": 17 }, "end": { "line": 21, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 487, "end": 493, "loc": { "start": { "line": 21, "column": 19 }, "end": { "line": 21, "column": 25 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 494, "end": 496, "loc": { "start": { "line": 21, "column": 26 }, "end": { "line": 21, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 497, "end": 498, "loc": { "start": { "line": 21, "column": 29 }, "end": { "line": 21, "column": 30 } } }, { "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": 504, "end": 507, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTypeClass", "start": 508, "end": 523, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 524, "end": 525, "loc": { "start": { "line": 22, "column": 24 }, "end": { "line": 22, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 526, "end": 527, "loc": { "start": { "line": 22, "column": 26 }, "end": { "line": 22, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 527, "end": 533, "loc": { "start": { "line": 22, "column": 27 }, "end": { "line": 22, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 533, "end": 534, "loc": { "start": { "line": 22, "column": 33 }, "end": { "line": 22, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 534, "end": 542, "loc": { "start": { "line": 22, "column": 34 }, "end": { "line": 22, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 542, "end": 543, "loc": { "start": { "line": 22, "column": 42 }, "end": { "line": 22, "column": 43 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{", "start": 543, "end": 546, "loc": { "start": { "line": 22, "column": 43 }, "end": { "line": 22, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 546, "end": 547, "loc": { "start": { "line": 22, "column": 46 }, "end": { "line": 22, "column": 47 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 548, "end": 550, "loc": { "start": { "line": 22, "column": 48 }, "end": { "line": 22, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 551, "end": 557, "loc": { "start": { "line": 22, "column": 51 }, "end": { "line": 22, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 557, "end": 558, "loc": { "start": { "line": 22, "column": 57 }, "end": { "line": 22, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 558, "end": 566, "loc": { "start": { "line": 22, "column": 58 }, "end": { "line": 22, "column": 66 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 566, "end": 567, "loc": { "start": { "line": 22, "column": 66 }, "end": { "line": 22, "column": 67 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "}", "start": 567, "end": 570, "loc": { "start": { "line": 22, "column": 67 }, "end": { "line": 22, "column": 70 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 570, "end": 571, "loc": { "start": { "line": 22, "column": 70 }, "end": { "line": 22, "column": 71 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 572, "end": 574, "loc": { "start": { "line": 22, "column": 72 }, "end": { "line": 22, "column": 74 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 575, "end": 581, "loc": { "start": { "line": 22, "column": 75 }, "end": { "line": 22, "column": 81 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 582, "end": 585, "loc": { "start": { "line": 22, "column": 82 }, "end": { "line": 22, "column": 85 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{//}", "start": 586, "end": 592, "loc": { "start": { "line": 22, "column": 86 }, "end": { "line": 22, "column": 92 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 592, "end": 593, "loc": { "start": { "line": 22, "column": 92 }, "end": { "line": 22, "column": 93 } } }, { "type": { "label": "?", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 594, "end": 595, "loc": { "start": { "line": 22, "column": 94 }, "end": { "line": 22, "column": 95 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "functionBtn", "start": 596, "end": 609, "loc": { "start": { "line": 22, "column": 96 }, "end": { "line": 22, "column": 109 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 610, "end": 611, "loc": { "start": { "line": 22, "column": 110 }, "end": { "line": 22, "column": 111 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "standardBtn", "start": 612, "end": 625, "loc": { "start": { "line": 22, "column": 112 }, "end": { "line": 22, "column": 125 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 625, "end": 626, "loc": { "start": { "line": 22, "column": 125 }, "end": { "line": 22, "column": 126 } } }, { "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": 632, "end": 635, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonWithoutBraces", "start": 636, "end": 655, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 656, "end": 657, "loc": { "start": { "line": 23, "column": 28 }, "end": { "line": 23, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 658, "end": 664, "loc": { "start": { "line": 23, "column": 30 }, "end": { "line": 23, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 664, "end": 665, "loc": { "start": { "line": 23, "column": 36 }, "end": { "line": 23, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 665, "end": 672, "loc": { "start": { "line": 23, "column": 37 }, "end": { "line": 23, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 672, "end": 673, "loc": { "start": { "line": 23, "column": 44 }, "end": { "line": 23, "column": 45 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{", "start": 673, "end": 676, "loc": { "start": { "line": 23, "column": 45 }, "end": { "line": 23, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 676, "end": 677, "loc": { "start": { "line": 23, "column": 48 }, "end": { "line": 23, "column": 49 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 678, "end": 680, "loc": { "start": { "line": 23, "column": 50 }, "end": { "line": 23, "column": 52 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 680, "end": 681, "loc": { "start": { "line": 23, "column": 52 }, "end": { "line": 23, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 681, "end": 682, "loc": { "start": { "line": 23, "column": 53 }, "end": { "line": 23, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "replace", "start": 682, "end": 689, "loc": { "start": { "line": 23, "column": 54 }, "end": { "line": 23, "column": 61 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 689, "end": 690, "loc": { "start": { "line": 23, "column": 61 }, "end": { "line": 23, "column": 62 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "}", "start": 690, "end": 693, "loc": { "start": { "line": 23, "column": 62 }, "end": { "line": 23, "column": 65 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 693, "end": 694, "loc": { "start": { "line": 23, "column": 65 }, "end": { "line": 23, "column": 66 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 695, "end": 697, "loc": { "start": { "line": 23, "column": 67 }, "end": { "line": 23, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 697, "end": 698, "loc": { "start": { "line": 23, "column": 69 }, "end": { "line": 23, "column": 70 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 698, "end": 699, "loc": { "start": { "line": 23, "column": 70 }, "end": { "line": 23, "column": 71 } } }, { "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": 705, "end": 708, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonNormalized", "start": 709, "end": 725, "loc": { "start": { "line": 24, "column": 8 }, "end": { "line": 24, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 726, "end": 727, "loc": { "start": { "line": 24, "column": 25 }, "end": { "line": 24, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 728, "end": 730, "loc": { "start": { "line": 24, "column": 27 }, "end": { "line": 24, "column": 29 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 730, "end": 731, "loc": { "start": { "line": 24, "column": 29 }, "end": { "line": 24, "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": 739, "end": 741, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 741, "end": 742, "loc": { "start": { "line": 26, "column": 6 }, "end": { "line": 26, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTypeClass", "start": 742, "end": 757, "loc": { "start": { "line": 26, "column": 7 }, "end": { "line": 26, "column": 22 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 758, "end": 761, "loc": { "start": { "line": 26, "column": 23 }, "end": { "line": 26, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "standardBtn", "start": 762, "end": 775, "loc": { "start": { "line": 26, "column": 27 }, "end": { "line": 26, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 775, "end": 776, "loc": { "start": { "line": 26, "column": 40 }, "end": { "line": 26, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonNormalized", "start": 784, "end": 800, "loc": { "start": { "line": 27, "column": 6 }, "end": { "line": 27, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 801, "end": 802, "loc": { "start": { "line": 27, "column": 23 }, "end": { "line": 27, "column": 24 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 803, "end": 804, "loc": { "start": { "line": 27, "column": 25 }, "end": { "line": 27, "column": 26 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " hg-button-", "start": 804, "end": 815, "loc": { "start": { "line": 27, "column": 26 }, "end": { "line": 27, "column": 37 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 815, "end": 817, "loc": { "start": { "line": 27, "column": 37 }, "end": { "line": 27, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonWithoutBraces", "start": 817, "end": 836, "loc": { "start": { "line": 27, "column": 39 }, "end": { "line": 27, "column": 58 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 836, "end": 837, "loc": { "start": { "line": 27, "column": 58 }, "end": { "line": 27, "column": 59 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 837, "end": 837, "loc": { "start": { "line": 27, "column": 59 }, "end": { "line": 27, "column": 59 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 837, "end": 838, "loc": { "start": { "line": 27, "column": 59 }, "end": { "line": 27, "column": 60 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 838, "end": 839, "loc": { "start": { "line": 27, "column": 60 }, "end": { "line": 27, "column": 61 } } }, { "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": 847, "end": 853, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 10 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 854, "end": 855, "loc": { "start": { "line": 29, "column": 11 }, "end": { "line": 29, "column": 12 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "hg-", "start": 855, "end": 858, "loc": { "start": { "line": 29, "column": 12 }, "end": { "line": 29, "column": 15 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 858, "end": 860, "loc": { "start": { "line": 29, "column": 15 }, "end": { "line": 29, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonTypeClass", "start": 860, "end": 875, "loc": { "start": { "line": 29, "column": 17 }, "end": { "line": 29, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 875, "end": 876, "loc": { "start": { "line": 29, "column": 32 }, "end": { "line": 29, "column": 33 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 876, "end": 876, "loc": { "start": { "line": 29, "column": 33 }, "end": { "line": 29, "column": 33 } } }, { "type": { "label": "${", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 876, "end": 878, "loc": { "start": { "line": 29, "column": 33 }, "end": { "line": 29, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "buttonNormalized", "start": 878, "end": 894, "loc": { "start": { "line": 29, "column": 35 }, "end": { "line": 29, "column": 51 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 894, "end": 895, "loc": { "start": { "line": 29, "column": 51 }, "end": { "line": 29, "column": 52 } } }, { "type": { "label": "template", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 895, "end": 895, "loc": { "start": { "line": 29, "column": 52 }, "end": { "line": 29, "column": 52 } } }, { "type": { "label": "`", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 895, "end": 896, "loc": { "start": { "line": 29, "column": 52 }, "end": { "line": 29, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 896, "end": 897, "loc": { "start": { "line": 29, "column": 53 }, "end": { "line": 29, "column": 54 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 901, "end": 902, "loc": { "start": { "line": 30, "column": 2 }, "end": { "line": 30, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Default button display labels\r\n ", "start": 908, "end": 954, "loc": { "start": { "line": 32, "column": 2 }, "end": { "line": 34, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getDefaultDiplay", "start": 958, "end": 974, "loc": { "start": { "line": 35, "column": 2 }, "end": { "line": 35, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 974, "end": 975, "loc": { "start": { "line": 35, "column": 18 }, "end": { "line": 35, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 975, "end": 976, "loc": { "start": { "line": 35, "column": 19 }, "end": { "line": 35, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 976, "end": 977, "loc": { "start": { "line": 35, "column": 20 }, "end": { "line": 35, "column": 21 } } }, { "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": 983, "end": 989, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 990, "end": 991, "loc": { "start": { "line": 36, "column": 11 }, "end": { "line": 36, "column": 12 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{bksp}", "start": 999, "end": 1007, "loc": { "start": { "line": 37, "column": 6 }, "end": { "line": 37, "column": 14 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1007, "end": 1008, "loc": { "start": { "line": 37, "column": 14 }, "end": { "line": 37, "column": 15 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "backspace", "start": 1009, "end": 1020, "loc": { "start": { "line": 37, "column": 16 }, "end": { "line": 37, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1020, "end": 1021, "loc": { "start": { "line": 37, "column": 27 }, "end": { "line": 37, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{backspace}", "start": 1029, "end": 1042, "loc": { "start": { "line": 38, "column": 6 }, "end": { "line": 38, "column": 19 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1042, "end": 1043, "loc": { "start": { "line": 38, "column": 19 }, "end": { "line": 38, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "backspace", "start": 1044, "end": 1055, "loc": { "start": { "line": 38, "column": 21 }, "end": { "line": 38, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1055, "end": 1056, "loc": { "start": { "line": 38, "column": 32 }, "end": { "line": 38, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{enter}", "start": 1064, "end": 1073, "loc": { "start": { "line": 39, "column": 6 }, "end": { "line": 39, "column": 15 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1073, "end": 1074, "loc": { "start": { "line": 39, "column": 15 }, "end": { "line": 39, "column": 16 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "< enter", "start": 1075, "end": 1084, "loc": { "start": { "line": 39, "column": 17 }, "end": { "line": 39, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1084, "end": 1085, "loc": { "start": { "line": 39, "column": 26 }, "end": { "line": 39, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{shift}", "start": 1093, "end": 1102, "loc": { "start": { "line": 40, "column": 6 }, "end": { "line": 40, "column": 15 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1102, "end": 1103, "loc": { "start": { "line": 40, "column": 15 }, "end": { "line": 40, "column": 16 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "shift", "start": 1104, "end": 1111, "loc": { "start": { "line": 40, "column": 17 }, "end": { "line": 40, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1111, "end": 1112, "loc": { "start": { "line": 40, "column": 24 }, "end": { "line": 40, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{shiftleft}", "start": 1120, "end": 1133, "loc": { "start": { "line": 41, "column": 6 }, "end": { "line": 41, "column": 19 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1133, "end": 1134, "loc": { "start": { "line": 41, "column": 19 }, "end": { "line": 41, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "shift", "start": 1135, "end": 1142, "loc": { "start": { "line": 41, "column": 21 }, "end": { "line": 41, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1142, "end": 1143, "loc": { "start": { "line": 41, "column": 28 }, "end": { "line": 41, "column": 29 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{shiftright}", "start": 1151, "end": 1165, "loc": { "start": { "line": 42, "column": 6 }, "end": { "line": 42, "column": 20 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1165, "end": 1166, "loc": { "start": { "line": 42, "column": 20 }, "end": { "line": 42, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "shift", "start": 1167, "end": 1174, "loc": { "start": { "line": 42, "column": 22 }, "end": { "line": 42, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1174, "end": 1175, "loc": { "start": { "line": 42, "column": 29 }, "end": { "line": 42, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{alt}", "start": 1183, "end": 1190, "loc": { "start": { "line": 43, "column": 6 }, "end": { "line": 43, "column": 13 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1190, "end": 1191, "loc": { "start": { "line": 43, "column": 13 }, "end": { "line": 43, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "alt", "start": 1192, "end": 1197, "loc": { "start": { "line": 43, "column": 15 }, "end": { "line": 43, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1197, "end": 1198, "loc": { "start": { "line": 43, "column": 20 }, "end": { "line": 43, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{s}", "start": 1206, "end": 1211, "loc": { "start": { "line": 44, "column": 6 }, "end": { "line": 44, "column": 11 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1211, "end": 1212, "loc": { "start": { "line": 44, "column": 11 }, "end": { "line": 44, "column": 12 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "shift", "start": 1213, "end": 1220, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1220, "end": 1221, "loc": { "start": { "line": 44, "column": 20 }, "end": { "line": 44, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{tab}", "start": 1229, "end": 1236, "loc": { "start": { "line": 45, "column": 6 }, "end": { "line": 45, "column": 13 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1236, "end": 1237, "loc": { "start": { "line": 45, "column": 13 }, "end": { "line": 45, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "tab", "start": 1238, "end": 1243, "loc": { "start": { "line": 45, "column": 15 }, "end": { "line": 45, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1243, "end": 1244, "loc": { "start": { "line": 45, "column": 20 }, "end": { "line": 45, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{lock}", "start": 1252, "end": 1260, "loc": { "start": { "line": 46, "column": 6 }, "end": { "line": 46, "column": 14 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1260, "end": 1261, "loc": { "start": { "line": 46, "column": 14 }, "end": { "line": 46, "column": 15 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "caps", "start": 1262, "end": 1268, "loc": { "start": { "line": 46, "column": 16 }, "end": { "line": 46, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1268, "end": 1269, "loc": { "start": { "line": 46, "column": 22 }, "end": { "line": 46, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{capslock}", "start": 1277, "end": 1289, "loc": { "start": { "line": 47, "column": 6 }, "end": { "line": 47, "column": 18 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1289, "end": 1290, "loc": { "start": { "line": 47, "column": 18 }, "end": { "line": 47, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "caps", "start": 1291, "end": 1297, "loc": { "start": { "line": 47, "column": 20 }, "end": { "line": 47, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1297, "end": 1298, "loc": { "start": { "line": 47, "column": 26 }, "end": { "line": 47, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{accept}", "start": 1306, "end": 1316, "loc": { "start": { "line": 48, "column": 6 }, "end": { "line": 48, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1316, "end": 1317, "loc": { "start": { "line": 48, "column": 16 }, "end": { "line": 48, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Submit", "start": 1318, "end": 1326, "loc": { "start": { "line": 48, "column": 18 }, "end": { "line": 48, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1326, "end": 1327, "loc": { "start": { "line": 48, "column": 26 }, "end": { "line": 48, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{space}", "start": 1335, "end": 1344, "loc": { "start": { "line": 49, "column": 6 }, "end": { "line": 49, "column": 15 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1344, "end": 1345, "loc": { "start": { "line": 49, "column": 15 }, "end": { "line": 49, "column": 16 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 1346, "end": 1349, "loc": { "start": { "line": 49, "column": 17 }, "end": { "line": 49, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1349, "end": 1350, "loc": { "start": { "line": 49, "column": 20 }, "end": { "line": 49, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{//}", "start": 1358, "end": 1364, "loc": { "start": { "line": 50, "column": 6 }, "end": { "line": 50, "column": 12 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1364, "end": 1365, "loc": { "start": { "line": 50, "column": 12 }, "end": { "line": 50, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 1366, "end": 1369, "loc": { "start": { "line": 50, "column": 14 }, "end": { "line": 50, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1369, "end": 1370, "loc": { "start": { "line": 50, "column": 17 }, "end": { "line": 50, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{esc}", "start": 1378, "end": 1385, "loc": { "start": { "line": 51, "column": 6 }, "end": { "line": 51, "column": 13 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1385, "end": 1386, "loc": { "start": { "line": 51, "column": 13 }, "end": { "line": 51, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "esc", "start": 1387, "end": 1392, "loc": { "start": { "line": 51, "column": 15 }, "end": { "line": 51, "column": 20 } } }, { "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": 51, "column": 20 }, "end": { "line": 51, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{escape}", "start": 1401, "end": 1411, "loc": { "start": { "line": 52, "column": 6 }, "end": { "line": 52, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1411, "end": 1412, "loc": { "start": { "line": 52, "column": 16 }, "end": { "line": 52, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "esc", "start": 1413, "end": 1418, "loc": { "start": { "line": 52, "column": 18 }, "end": { "line": 52, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1418, "end": 1419, "loc": { "start": { "line": 52, "column": 23 }, "end": { "line": 52, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{f1}", "start": 1427, "end": 1433, "loc": { "start": { "line": 53, "column": 6 }, "end": { "line": 53, "column": 12 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1433, "end": 1434, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "f1", "start": 1435, "end": 1439, "loc": { "start": { "line": 53, "column": 14 }, "end": { "line": 53, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1439, "end": 1440, "loc": { "start": { "line": 53, "column": 18 }, "end": { "line": 53, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{f2}", "start": 1448, "end": 1454, "loc": { "start": { "line": 54, "column": 6 }, "end": { "line": 54, "column": 12 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1454, "end": 1455, "loc": { "start": { "line": 54, "column": 12 }, "end": { "line": 54, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "f2", "start": 1456, "end": 1460, "loc": { "start": { "line": 54, "column": 14 }, "end": { "line": 54, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1460, "end": 1461, "loc": { "start": { "line": 54, "column": 18 }, "end": { "line": 54, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{f3}", "start": 1469, "end": 1475, "loc": { "start": { "line": 55, "column": 6 }, "end": { "line": 55, "column": 12 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1475, "end": 1476, "loc": { "start": { "line": 55, "column": 12 }, "end": { "line": 55, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "f3", "start": 1477, "end": 1481, "loc": { "start": { "line": 55, "column": 14 }, "end": { "line": 55, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1481, "end": 1482, "loc": { "start": { "line": 55, "column": 18 }, "end": { "line": 55, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{f4}", "start": 1490, "end": 1496, "loc": { "start": { "line": 56, "column": 6 }, "end": { "line": 56, "column": 12 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1496, "end": 1497, "loc": { "start": { "line": 56, "column": 12 }, "end": { "line": 56, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "f4", "start": 1498, "end": 1502, "loc": { "start": { "line": 56, "column": 14 }, "end": { "line": 56, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1502, "end": 1503, "loc": { "start": { "line": 56, "column": 18 }, "end": { "line": 56, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{f5}", "start": 1511, "end": 1517, "loc": { "start": { "line": 57, "column": 6 }, "end": { "line": 57, "column": 12 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1517, "end": 1518, "loc": { "start": { "line": 57, "column": 12 }, "end": { "line": 57, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "f5", "start": 1519, "end": 1523, "loc": { "start": { "line": 57, "column": 14 }, "end": { "line": 57, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1523, "end": 1524, "loc": { "start": { "line": 57, "column": 18 }, "end": { "line": 57, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{f6}", "start": 1532, "end": 1538, "loc": { "start": { "line": 58, "column": 6 }, "end": { "line": 58, "column": 12 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1538, "end": 1539, "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 58, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "f6", "start": 1540, "end": 1544, "loc": { "start": { "line": 58, "column": 14 }, "end": { "line": 58, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1544, "end": 1545, "loc": { "start": { "line": 58, "column": 18 }, "end": { "line": 58, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{f7}", "start": 1553, "end": 1559, "loc": { "start": { "line": 59, "column": 6 }, "end": { "line": 59, "column": 12 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1559, "end": 1560, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "f7", "start": 1561, "end": 1565, "loc": { "start": { "line": 59, "column": 14 }, "end": { "line": 59, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1565, "end": 1566, "loc": { "start": { "line": 59, "column": 18 }, "end": { "line": 59, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{f8}", "start": 1574, "end": 1580, "loc": { "start": { "line": 60, "column": 6 }, "end": { "line": 60, "column": 12 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1580, "end": 1581, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "f8", "start": 1582, "end": 1586, "loc": { "start": { "line": 60, "column": 14 }, "end": { "line": 60, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1586, "end": 1587, "loc": { "start": { "line": 60, "column": 18 }, "end": { "line": 60, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{f9}", "start": 1595, "end": 1601, "loc": { "start": { "line": 61, "column": 6 }, "end": { "line": 61, "column": 12 } } }, { "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": 61, "column": 12 }, "end": { "line": 61, "column": 13 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "f9", "start": 1603, "end": 1607, "loc": { "start": { "line": 61, "column": 14 }, "end": { "line": 61, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1607, "end": 1608, "loc": { "start": { "line": 61, "column": 18 }, "end": { "line": 61, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{f10}", "start": 1616, "end": 1623, "loc": { "start": { "line": 62, "column": 6 }, "end": { "line": 62, "column": 13 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1623, "end": 1624, "loc": { "start": { "line": 62, "column": 13 }, "end": { "line": 62, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "f10", "start": 1625, "end": 1630, "loc": { "start": { "line": 62, "column": 15 }, "end": { "line": 62, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1630, "end": 1631, "loc": { "start": { "line": 62, "column": 20 }, "end": { "line": 62, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{f11}", "start": 1639, "end": 1646, "loc": { "start": { "line": 63, "column": 6 }, "end": { "line": 63, "column": 13 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1646, "end": 1647, "loc": { "start": { "line": 63, "column": 13 }, "end": { "line": 63, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "f11", "start": 1648, "end": 1653, "loc": { "start": { "line": 63, "column": 15 }, "end": { "line": 63, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1653, "end": 1654, "loc": { "start": { "line": 63, "column": 20 }, "end": { "line": 63, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{f12}", "start": 1662, "end": 1669, "loc": { "start": { "line": 64, "column": 6 }, "end": { "line": 64, "column": 13 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1669, "end": 1670, "loc": { "start": { "line": 64, "column": 13 }, "end": { "line": 64, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "f12", "start": 1671, "end": 1676, "loc": { "start": { "line": 64, "column": 15 }, "end": { "line": 64, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1676, "end": 1677, "loc": { "start": { "line": 64, "column": 20 }, "end": { "line": 64, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpaddivide}", "start": 1685, "end": 1701, "loc": { "start": { "line": 65, "column": 6 }, "end": { "line": 65, "column": 22 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1701, "end": 1702, "loc": { "start": { "line": 65, "column": 22 }, "end": { "line": 65, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "/", "start": 1703, "end": 1706, "loc": { "start": { "line": 65, "column": 24 }, "end": { "line": 65, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1706, "end": 1707, "loc": { "start": { "line": 65, "column": 27 }, "end": { "line": 65, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numlock}", "start": 1715, "end": 1726, "loc": { "start": { "line": 66, "column": 6 }, "end": { "line": 66, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1726, "end": 1727, "loc": { "start": { "line": 66, "column": 17 }, "end": { "line": 66, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "lock", "start": 1728, "end": 1734, "loc": { "start": { "line": 66, "column": 19 }, "end": { "line": 66, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1734, "end": 1735, "loc": { "start": { "line": 66, "column": 25 }, "end": { "line": 66, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{arrowup}", "start": 1743, "end": 1754, "loc": { "start": { "line": 67, "column": 6 }, "end": { "line": 67, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1754, "end": 1755, "loc": { "start": { "line": 67, "column": 17 }, "end": { "line": 67, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "↑", "start": 1756, "end": 1759, "loc": { "start": { "line": 67, "column": 19 }, "end": { "line": 67, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1759, "end": 1760, "loc": { "start": { "line": 67, "column": 22 }, "end": { "line": 67, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{arrowleft}", "start": 1768, "end": 1781, "loc": { "start": { "line": 68, "column": 6 }, "end": { "line": 68, "column": 19 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1781, "end": 1782, "loc": { "start": { "line": 68, "column": 19 }, "end": { "line": 68, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "←", "start": 1783, "end": 1786, "loc": { "start": { "line": 68, "column": 21 }, "end": { "line": 68, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1786, "end": 1787, "loc": { "start": { "line": 68, "column": 24 }, "end": { "line": 68, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{arrowdown}", "start": 1795, "end": 1808, "loc": { "start": { "line": 69, "column": 6 }, "end": { "line": 69, "column": 19 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1808, "end": 1809, "loc": { "start": { "line": 69, "column": 19 }, "end": { "line": 69, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "↓", "start": 1810, "end": 1813, "loc": { "start": { "line": 69, "column": 21 }, "end": { "line": 69, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1813, "end": 1814, "loc": { "start": { "line": 69, "column": 24 }, "end": { "line": 69, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{arrowright}", "start": 1822, "end": 1836, "loc": { "start": { "line": 70, "column": 6 }, "end": { "line": 70, "column": 20 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1836, "end": 1837, "loc": { "start": { "line": 70, "column": 20 }, "end": { "line": 70, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "→", "start": 1838, "end": 1841, "loc": { "start": { "line": 70, "column": 22 }, "end": { "line": 70, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1841, "end": 1842, "loc": { "start": { "line": 70, "column": 25 }, "end": { "line": 70, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{prtscr}", "start": 1850, "end": 1860, "loc": { "start": { "line": 71, "column": 6 }, "end": { "line": 71, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1860, "end": 1861, "loc": { "start": { "line": 71, "column": 16 }, "end": { "line": 71, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "print", "start": 1862, "end": 1869, "loc": { "start": { "line": 71, "column": 18 }, "end": { "line": 71, "column": 25 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1869, "end": 1870, "loc": { "start": { "line": 71, "column": 25 }, "end": { "line": 71, "column": 26 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{scrolllock}", "start": 1878, "end": 1892, "loc": { "start": { "line": 72, "column": 6 }, "end": { "line": 72, "column": 20 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1892, "end": 1893, "loc": { "start": { "line": 72, "column": 20 }, "end": { "line": 72, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "scroll", "start": 1894, "end": 1902, "loc": { "start": { "line": 72, "column": 22 }, "end": { "line": 72, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1902, "end": 1903, "loc": { "start": { "line": 72, "column": 30 }, "end": { "line": 72, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{pause}", "start": 1911, "end": 1920, "loc": { "start": { "line": 73, "column": 6 }, "end": { "line": 73, "column": 15 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1920, "end": 1921, "loc": { "start": { "line": 73, "column": 15 }, "end": { "line": 73, "column": 16 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "pause", "start": 1922, "end": 1929, "loc": { "start": { "line": 73, "column": 17 }, "end": { "line": 73, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1929, "end": 1930, "loc": { "start": { "line": 73, "column": 24 }, "end": { "line": 73, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{insert}", "start": 1938, "end": 1948, "loc": { "start": { "line": 74, "column": 6 }, "end": { "line": 74, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1948, "end": 1949, "loc": { "start": { "line": 74, "column": 16 }, "end": { "line": 74, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "ins", "start": 1950, "end": 1955, "loc": { "start": { "line": 74, "column": 18 }, "end": { "line": 74, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1955, "end": 1956, "loc": { "start": { "line": 74, "column": 23 }, "end": { "line": 74, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{home}", "start": 1964, "end": 1972, "loc": { "start": { "line": 75, "column": 6 }, "end": { "line": 75, "column": 14 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1972, "end": 1973, "loc": { "start": { "line": 75, "column": 14 }, "end": { "line": 75, "column": 15 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "home", "start": 1974, "end": 1980, "loc": { "start": { "line": 75, "column": 16 }, "end": { "line": 75, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1980, "end": 1981, "loc": { "start": { "line": 75, "column": 22 }, "end": { "line": 75, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{pageup}", "start": 1989, "end": 1999, "loc": { "start": { "line": 76, "column": 6 }, "end": { "line": 76, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1999, "end": 2000, "loc": { "start": { "line": 76, "column": 16 }, "end": { "line": 76, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "up", "start": 2001, "end": 2005, "loc": { "start": { "line": 76, "column": 18 }, "end": { "line": 76, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2005, "end": 2006, "loc": { "start": { "line": 76, "column": 22 }, "end": { "line": 76, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{delete}", "start": 2014, "end": 2024, "loc": { "start": { "line": 77, "column": 6 }, "end": { "line": 77, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2024, "end": 2025, "loc": { "start": { "line": 77, "column": 16 }, "end": { "line": 77, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "del", "start": 2026, "end": 2031, "loc": { "start": { "line": 77, "column": 18 }, "end": { "line": 77, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2031, "end": 2032, "loc": { "start": { "line": 77, "column": 23 }, "end": { "line": 77, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{end}", "start": 2040, "end": 2047, "loc": { "start": { "line": 78, "column": 6 }, "end": { "line": 78, "column": 13 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2047, "end": 2048, "loc": { "start": { "line": 78, "column": 13 }, "end": { "line": 78, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "end", "start": 2049, "end": 2054, "loc": { "start": { "line": 78, "column": 15 }, "end": { "line": 78, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2054, "end": 2055, "loc": { "start": { "line": 78, "column": 20 }, "end": { "line": 78, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{pagedown}", "start": 2063, "end": 2075, "loc": { "start": { "line": 79, "column": 6 }, "end": { "line": 79, "column": 18 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2075, "end": 2076, "loc": { "start": { "line": 79, "column": 18 }, "end": { "line": 79, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "down", "start": 2077, "end": 2083, "loc": { "start": { "line": 79, "column": 20 }, "end": { "line": 79, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2083, "end": 2084, "loc": { "start": { "line": 79, "column": 26 }, "end": { "line": 79, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpadmultiply}", "start": 2092, "end": 2110, "loc": { "start": { "line": 80, "column": 6 }, "end": { "line": 80, "column": 24 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2110, "end": 2111, "loc": { "start": { "line": 80, "column": 24 }, "end": { "line": 80, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "*", "start": 2112, "end": 2115, "loc": { "start": { "line": 80, "column": 26 }, "end": { "line": 80, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2115, "end": 2116, "loc": { "start": { "line": 80, "column": 29 }, "end": { "line": 80, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpadsubtract}", "start": 2124, "end": 2142, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 24 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2142, "end": 2143, "loc": { "start": { "line": 81, "column": 24 }, "end": { "line": 81, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-", "start": 2144, "end": 2147, "loc": { "start": { "line": 81, "column": 26 }, "end": { "line": 81, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2147, "end": 2148, "loc": { "start": { "line": 81, "column": 29 }, "end": { "line": 81, "column": 30 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpadadd}", "start": 2156, "end": 2169, "loc": { "start": { "line": 82, "column": 6 }, "end": { "line": 82, "column": 19 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2169, "end": 2170, "loc": { "start": { "line": 82, "column": 19 }, "end": { "line": 82, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+", "start": 2171, "end": 2174, "loc": { "start": { "line": 82, "column": 21 }, "end": { "line": 82, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2174, "end": 2175, "loc": { "start": { "line": 82, "column": 24 }, "end": { "line": 82, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpadenter}", "start": 2183, "end": 2198, "loc": { "start": { "line": 83, "column": 6 }, "end": { "line": 83, "column": 21 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2198, "end": 2199, "loc": { "start": { "line": 83, "column": 21 }, "end": { "line": 83, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "enter", "start": 2200, "end": 2207, "loc": { "start": { "line": 83, "column": 23 }, "end": { "line": 83, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2207, "end": 2208, "loc": { "start": { "line": 83, "column": 30 }, "end": { "line": 83, "column": 31 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{period}", "start": 2216, "end": 2226, "loc": { "start": { "line": 84, "column": 6 }, "end": { "line": 84, "column": 16 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2226, "end": 2227, "loc": { "start": { "line": 84, "column": 16 }, "end": { "line": 84, "column": 17 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ".", "start": 2228, "end": 2231, "loc": { "start": { "line": 84, "column": 18 }, "end": { "line": 84, "column": 21 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2231, "end": 2232, "loc": { "start": { "line": 84, "column": 21 }, "end": { "line": 84, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpaddecimal}", "start": 2240, "end": 2257, "loc": { "start": { "line": 85, "column": 6 }, "end": { "line": 85, "column": 23 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2257, "end": 2258, "loc": { "start": { "line": 85, "column": 23 }, "end": { "line": 85, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ".", "start": 2259, "end": 2262, "loc": { "start": { "line": 85, "column": 25 }, "end": { "line": 85, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2262, "end": 2263, "loc": { "start": { "line": 85, "column": 28 }, "end": { "line": 85, "column": 29 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpad0}", "start": 2271, "end": 2282, "loc": { "start": { "line": 86, "column": 6 }, "end": { "line": 86, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2282, "end": 2283, "loc": { "start": { "line": 86, "column": 17 }, "end": { "line": 86, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "0", "start": 2284, "end": 2287, "loc": { "start": { "line": 86, "column": 19 }, "end": { "line": 86, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2287, "end": 2288, "loc": { "start": { "line": 86, "column": 22 }, "end": { "line": 86, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpad1}", "start": 2296, "end": 2307, "loc": { "start": { "line": 87, "column": 6 }, "end": { "line": 87, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2307, "end": 2308, "loc": { "start": { "line": 87, "column": 17 }, "end": { "line": 87, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "1", "start": 2309, "end": 2312, "loc": { "start": { "line": 87, "column": 19 }, "end": { "line": 87, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2312, "end": 2313, "loc": { "start": { "line": 87, "column": 22 }, "end": { "line": 87, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpad2}", "start": 2321, "end": 2332, "loc": { "start": { "line": 88, "column": 6 }, "end": { "line": 88, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2332, "end": 2333, "loc": { "start": { "line": 88, "column": 17 }, "end": { "line": 88, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "2", "start": 2334, "end": 2337, "loc": { "start": { "line": 88, "column": 19 }, "end": { "line": 88, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2337, "end": 2338, "loc": { "start": { "line": 88, "column": 22 }, "end": { "line": 88, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpad3}", "start": 2346, "end": 2357, "loc": { "start": { "line": 89, "column": 6 }, "end": { "line": 89, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2357, "end": 2358, "loc": { "start": { "line": 89, "column": 17 }, "end": { "line": 89, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "3", "start": 2359, "end": 2362, "loc": { "start": { "line": 89, "column": 19 }, "end": { "line": 89, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2362, "end": 2363, "loc": { "start": { "line": 89, "column": 22 }, "end": { "line": 89, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpad4}", "start": 2371, "end": 2382, "loc": { "start": { "line": 90, "column": 6 }, "end": { "line": 90, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2382, "end": 2383, "loc": { "start": { "line": 90, "column": 17 }, "end": { "line": 90, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "4", "start": 2384, "end": 2387, "loc": { "start": { "line": 90, "column": 19 }, "end": { "line": 90, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2387, "end": 2388, "loc": { "start": { "line": 90, "column": 22 }, "end": { "line": 90, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpad5}", "start": 2396, "end": 2407, "loc": { "start": { "line": 91, "column": 6 }, "end": { "line": 91, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2407, "end": 2408, "loc": { "start": { "line": 91, "column": 17 }, "end": { "line": 91, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "5", "start": 2409, "end": 2412, "loc": { "start": { "line": 91, "column": 19 }, "end": { "line": 91, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2412, "end": 2413, "loc": { "start": { "line": 91, "column": 22 }, "end": { "line": 91, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpad6}", "start": 2421, "end": 2432, "loc": { "start": { "line": 92, "column": 6 }, "end": { "line": 92, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2432, "end": 2433, "loc": { "start": { "line": 92, "column": 17 }, "end": { "line": 92, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "6", "start": 2434, "end": 2437, "loc": { "start": { "line": 92, "column": 19 }, "end": { "line": 92, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2437, "end": 2438, "loc": { "start": { "line": 92, "column": 22 }, "end": { "line": 92, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpad7}", "start": 2446, "end": 2457, "loc": { "start": { "line": 93, "column": 6 }, "end": { "line": 93, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2457, "end": 2458, "loc": { "start": { "line": 93, "column": 17 }, "end": { "line": 93, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "7", "start": 2459, "end": 2462, "loc": { "start": { "line": 93, "column": 19 }, "end": { "line": 93, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2462, "end": 2463, "loc": { "start": { "line": 93, "column": 22 }, "end": { "line": 93, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpad8}", "start": 2471, "end": 2482, "loc": { "start": { "line": 94, "column": 6 }, "end": { "line": 94, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2482, "end": 2483, "loc": { "start": { "line": 94, "column": 17 }, "end": { "line": 94, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "8", "start": 2484, "end": 2487, "loc": { "start": { "line": 94, "column": 19 }, "end": { "line": 94, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2487, "end": 2488, "loc": { "start": { "line": 94, "column": 22 }, "end": { "line": 94, "column": 23 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpad9}", "start": 2496, "end": 2507, "loc": { "start": { "line": 95, "column": 6 }, "end": { "line": 95, "column": 17 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2507, "end": 2508, "loc": { "start": { "line": 95, "column": 17 }, "end": { "line": 95, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "9", "start": 2509, "end": 2512, "loc": { "start": { "line": 95, "column": 19 }, "end": { "line": 95, "column": 22 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2512, "end": 2513, "loc": { "start": { "line": 95, "column": 22 }, "end": { "line": 95, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2519, "end": 2520, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 96, "column": 5 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2520, "end": 2521, "loc": { "start": { "line": 96, "column": 5 }, "end": { "line": 96, "column": 6 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2525, "end": 2526, "loc": { "start": { "line": 97, "column": 2 }, "end": { "line": 97, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the display (label) name for a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {object} display The provided display option\r\n * @param {boolean} mergeDisplay Whether the provided param value should be merged with the default one.\r\n ", "start": 2530, "end": 2828, "loc": { "start": { "line": 98, "column": 2 }, "end": { "line": 104, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getButtonDisplayName", "start": 2832, "end": 2852, "loc": { "start": { "line": 105, "column": 2 }, "end": { "line": 105, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2853, "end": 2854, "loc": { "start": { "line": 105, "column": 23 }, "end": { "line": 105, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2855, "end": 2856, "loc": { "start": { "line": 105, "column": 25 }, "end": { "line": 105, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 2856, "end": 2862, "loc": { "start": { "line": 105, "column": 26 }, "end": { "line": 105, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2862, "end": 2863, "loc": { "start": { "line": 105, "column": 32 }, "end": { "line": 105, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "display", "start": 2864, "end": 2871, "loc": { "start": { "line": 105, "column": 34 }, "end": { "line": 105, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2871, "end": 2872, "loc": { "start": { "line": 105, "column": 41 }, "end": { "line": 105, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mergeDisplay", "start": 2873, "end": 2885, "loc": { "start": { "line": 105, "column": 43 }, "end": { "line": 105, "column": 55 } } }, { "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": 105, "column": 55 }, "end": { "line": 105, "column": 56 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2887, "end": 2889, "loc": { "start": { "line": 105, "column": 57 }, "end": { "line": 105, "column": 59 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2890, "end": 2891, "loc": { "start": { "line": 105, "column": 60 }, "end": { "line": 105, "column": 61 } } }, { "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": 2897, "end": 2899, "loc": { "start": { "line": 106, "column": 4 }, "end": { "line": 106, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2899, "end": 2900, "loc": { "start": { "line": 106, "column": 6 }, "end": { "line": 106, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mergeDisplay", "start": 2900, "end": 2912, "loc": { "start": { "line": 106, "column": 7 }, "end": { "line": 106, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2912, "end": 2913, "loc": { "start": { "line": 106, "column": 19 }, "end": { "line": 106, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2913, "end": 2914, "loc": { "start": { "line": 106, "column": 20 }, "end": { "line": 106, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "display", "start": 2922, "end": 2929, "loc": { "start": { "line": 107, "column": 6 }, "end": { "line": 107, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2930, "end": 2931, "loc": { "start": { "line": 107, "column": 14 }, "end": { "line": 107, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Object", "start": 2932, "end": 2938, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2938, "end": 2939, "loc": { "start": { "line": 107, "column": 22 }, "end": { "line": 107, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "assign", "start": 2939, "end": 2945, "loc": { "start": { "line": 107, "column": 23 }, "end": { "line": 107, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2945, "end": 2946, "loc": { "start": { "line": 107, "column": 29 }, "end": { "line": 107, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2946, "end": 2947, "loc": { "start": { "line": 107, "column": 30 }, "end": { "line": 107, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2947, "end": 2948, "loc": { "start": { "line": 107, "column": 31 }, "end": { "line": 107, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2948, "end": 2949, "loc": { "start": { "line": 107, "column": 32 }, "end": { "line": 107, "column": 33 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 2950, "end": 2954, "loc": { "start": { "line": 107, "column": 34 }, "end": { "line": 107, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2954, "end": 2955, "loc": { "start": { "line": 107, "column": 38 }, "end": { "line": 107, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getDefaultDiplay", "start": 2955, "end": 2971, "loc": { "start": { "line": 107, "column": 39 }, "end": { "line": 107, "column": 55 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2971, "end": 2972, "loc": { "start": { "line": 107, "column": 55 }, "end": { "line": 107, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2972, "end": 2973, "loc": { "start": { "line": 107, "column": 56 }, "end": { "line": 107, "column": 57 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2973, "end": 2974, "loc": { "start": { "line": 107, "column": 57 }, "end": { "line": 107, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "display", "start": 2975, "end": 2982, "loc": { "start": { "line": 107, "column": 59 }, "end": { "line": 107, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2982, "end": 2983, "loc": { "start": { "line": 107, "column": 66 }, "end": { "line": 107, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2983, "end": 2984, "loc": { "start": { "line": 107, "column": 67 }, "end": { "line": 107, "column": 68 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2990, "end": 2991, "loc": { "start": { "line": 108, "column": 4 }, "end": { "line": 108, "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": 2992, "end": 2996, "loc": { "start": { "line": 108, "column": 6 }, "end": { "line": 108, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2997, "end": 2998, "loc": { "start": { "line": 108, "column": 11 }, "end": { "line": 108, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "display", "start": 3006, "end": 3013, "loc": { "start": { "line": 109, "column": 6 }, "end": { "line": 109, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3014, "end": 3015, "loc": { "start": { "line": 109, "column": 14 }, "end": { "line": 109, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "display", "start": 3016, "end": 3023, "loc": { "start": { "line": 109, "column": 16 }, "end": { "line": 109, "column": 23 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 3024, "end": 3026, "loc": { "start": { "line": 109, "column": 24 }, "end": { "line": 109, "column": 26 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3027, "end": 3031, "loc": { "start": { "line": 109, "column": 27 }, "end": { "line": 109, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3031, "end": 3032, "loc": { "start": { "line": 109, "column": 31 }, "end": { "line": 109, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getDefaultDiplay", "start": 3032, "end": 3048, "loc": { "start": { "line": 109, "column": 32 }, "end": { "line": 109, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3048, "end": 3049, "loc": { "start": { "line": 109, "column": 48 }, "end": { "line": 109, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3049, "end": 3050, "loc": { "start": { "line": 109, "column": 49 }, "end": { "line": 109, "column": 50 } } }, { "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": 109, "column": 50 }, "end": { "line": 109, "column": 51 } } }, { "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": 110, "column": 4 }, "end": { "line": 110, "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": 3066, "end": 3072, "loc": { "start": { "line": 112, "column": 4 }, "end": { "line": 112, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "display", "start": 3073, "end": 3080, "loc": { "start": { "line": 112, "column": 11 }, "end": { "line": 112, "column": 18 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3080, "end": 3081, "loc": { "start": { "line": 112, "column": 18 }, "end": { "line": 112, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 3081, "end": 3087, "loc": { "start": { "line": 112, "column": 19 }, "end": { "line": 112, "column": 25 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3087, "end": 3088, "loc": { "start": { "line": 112, "column": 25 }, "end": { "line": 112, "column": 26 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 3089, "end": 3091, "loc": { "start": { "line": 112, "column": 27 }, "end": { "line": 112, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 3092, "end": 3098, "loc": { "start": { "line": 112, "column": 30 }, "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": 3098, "end": 3099, "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": 3103, "end": 3104, "loc": { "start": { "line": 113, "column": 2 }, "end": { "line": 113, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the updated input resulting from clicking a given button\r\n * \r\n * @param {string} button The button's layout name\r\n * @param {string} input The input string\r\n * @param {object} options The simple-keyboard options object\r\n * @param {number} caretPos The cursor's current position\r\n ", "start": 3114, "end": 3431, "loc": { "start": { "line": 116, "column": 2 }, "end": { "line": 123, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getUpdatedInput", "start": 3435, "end": 3450, "loc": { "start": { "line": 124, "column": 2 }, "end": { "line": 124, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3451, "end": 3452, "loc": { "start": { "line": 124, "column": 18 }, "end": { "line": 124, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3453, "end": 3454, "loc": { "start": { "line": 124, "column": 20 }, "end": { "line": 124, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 3454, "end": 3460, "loc": { "start": { "line": 124, "column": 21 }, "end": { "line": 124, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3460, "end": 3461, "loc": { "start": { "line": 124, "column": 27 }, "end": { "line": 124, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 3462, "end": 3467, "loc": { "start": { "line": 124, "column": 29 }, "end": { "line": 124, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3467, "end": 3468, "loc": { "start": { "line": 124, "column": 34 }, "end": { "line": 124, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 3469, "end": 3476, "loc": { "start": { "line": 124, "column": 36 }, "end": { "line": 124, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3476, "end": 3477, "loc": { "start": { "line": 124, "column": 43 }, "end": { "line": 124, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPos", "start": 3478, "end": 3486, "loc": { "start": { "line": 124, "column": 45 }, "end": { "line": 124, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3486, "end": 3487, "loc": { "start": { "line": 124, "column": 53 }, "end": { "line": 124, "column": 54 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3488, "end": 3490, "loc": { "start": { "line": 124, "column": 55 }, "end": { "line": 124, "column": 57 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3491, "end": 3492, "loc": { "start": { "line": 124, "column": 58 }, "end": { "line": 124, "column": 59 } } }, { "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": 3504, "end": 3507, "loc": { "start": { "line": 126, "column": 4 }, "end": { "line": 126, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 3508, "end": 3514, "loc": { "start": { "line": 126, "column": 8 }, "end": { "line": 126, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3515, "end": 3516, "loc": { "start": { "line": 126, "column": 15 }, "end": { "line": 126, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "input", "start": 3517, "end": 3522, "loc": { "start": { "line": 126, "column": 17 }, "end": { "line": 126, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3522, "end": 3523, "loc": { "start": { "line": 126, "column": 22 }, "end": { "line": 126, "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": 3531, "end": 3533, "loc": { "start": { "line": 128, "column": 4 }, "end": { "line": 128, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3533, "end": 3534, "loc": { "start": { "line": 128, "column": 6 }, "end": { "line": 128, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3534, "end": 3535, "loc": { "start": { "line": 128, "column": 7 }, "end": { "line": 128, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 3535, "end": 3541, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 128, "column": 14 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3542, "end": 3545, "loc": { "start": { "line": 128, "column": 15 }, "end": { "line": 128, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{bksp}", "start": 3546, "end": 3554, "loc": { "start": { "line": 128, "column": 19 }, "end": { "line": 128, "column": 27 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 3555, "end": 3557, "loc": { "start": { "line": 128, "column": 28 }, "end": { "line": 128, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 3558, "end": 3564, "loc": { "start": { "line": 128, "column": 31 }, "end": { "line": 128, "column": 37 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3565, "end": 3568, "loc": { "start": { "line": 128, "column": 38 }, "end": { "line": 128, "column": 41 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{backspace}", "start": 3569, "end": 3582, "loc": { "start": { "line": 128, "column": 42 }, "end": { "line": 128, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3582, "end": 3583, "loc": { "start": { "line": 128, "column": 55 }, "end": { "line": 128, "column": 56 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 3584, "end": 3586, "loc": { "start": { "line": 128, "column": 57 }, "end": { "line": 128, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 3587, "end": 3593, "loc": { "start": { "line": 128, "column": 60 }, "end": { "line": 128, "column": 66 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3593, "end": 3594, "loc": { "start": { "line": 128, "column": 66 }, "end": { "line": 128, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 3594, "end": 3600, "loc": { "start": { "line": 128, "column": 67 }, "end": { "line": 128, "column": 73 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 3601, "end": 3602, "loc": { "start": { "line": 128, "column": 74 }, "end": { "line": 128, "column": 75 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 3603, "end": 3604, "loc": { "start": { "line": 128, "column": 76 }, "end": { "line": 128, "column": 77 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3604, "end": 3605, "loc": { "start": { "line": 128, "column": 77 }, "end": { "line": 128, "column": 78 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3605, "end": 3606, "loc": { "start": { "line": 128, "column": 78 }, "end": { "line": 128, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 3614, "end": 3620, "loc": { "start": { "line": 129, "column": 6 }, "end": { "line": 129, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3621, "end": 3622, "loc": { "start": { "line": 129, "column": 13 }, "end": { "line": 129, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3623, "end": 3627, "loc": { "start": { "line": 129, "column": 15 }, "end": { "line": 129, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3627, "end": 3628, "loc": { "start": { "line": 129, "column": 19 }, "end": { "line": 129, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeAt", "start": 3628, "end": 3636, "loc": { "start": { "line": 129, "column": 20 }, "end": { "line": 129, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3636, "end": 3637, "loc": { "start": { "line": 129, "column": 28 }, "end": { "line": 129, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 3637, "end": 3643, "loc": { "start": { "line": 129, "column": 29 }, "end": { "line": 129, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3643, "end": 3644, "loc": { "start": { "line": 129, "column": 35 }, "end": { "line": 129, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPos", "start": 3645, "end": 3653, "loc": { "start": { "line": 129, "column": 37 }, "end": { "line": 129, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3653, "end": 3654, "loc": { "start": { "line": 129, "column": 45 }, "end": { "line": 129, "column": 46 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3654, "end": 3655, "loc": { "start": { "line": 129, "column": 46 }, "end": { "line": 129, "column": 47 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3663, "end": 3664, "loc": { "start": { "line": 131, "column": 4 }, "end": { "line": 131, "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": 3665, "end": 3669, "loc": { "start": { "line": 131, "column": 6 }, "end": { "line": 131, "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": 3670, "end": 3672, "loc": { "start": { "line": 131, "column": 11 }, "end": { "line": 131, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3672, "end": 3673, "loc": { "start": { "line": 131, "column": 13 }, "end": { "line": 131, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 3673, "end": 3679, "loc": { "start": { "line": 131, "column": 14 }, "end": { "line": 131, "column": 20 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3680, "end": 3683, "loc": { "start": { "line": 131, "column": 21 }, "end": { "line": 131, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{space}", "start": 3684, "end": 3693, "loc": { "start": { "line": 131, "column": 25 }, "end": { "line": 131, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3693, "end": 3694, "loc": { "start": { "line": 131, "column": 34 }, "end": { "line": 131, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 3702, "end": 3708, "loc": { "start": { "line": 132, "column": 6 }, "end": { "line": 132, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3709, "end": 3710, "loc": { "start": { "line": 132, "column": 13 }, "end": { "line": 132, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3711, "end": 3715, "loc": { "start": { "line": 132, "column": 15 }, "end": { "line": 132, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3715, "end": 3716, "loc": { "start": { "line": 132, "column": 19 }, "end": { "line": 132, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addStringAt", "start": 3716, "end": 3727, "loc": { "start": { "line": 132, "column": 20 }, "end": { "line": 132, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3727, "end": 3728, "loc": { "start": { "line": 132, "column": 31 }, "end": { "line": 132, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 3728, "end": 3734, "loc": { "start": { "line": 132, "column": 32 }, "end": { "line": 132, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3734, "end": 3735, "loc": { "start": { "line": 132, "column": 38 }, "end": { "line": 132, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": " ", "start": 3736, "end": 3739, "loc": { "start": { "line": 132, "column": 40 }, "end": { "line": 132, "column": 43 } } }, { "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": 132, "column": 43 }, "end": { "line": 132, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPos", "start": 3741, "end": 3749, "loc": { "start": { "line": 132, "column": 45 }, "end": { "line": 132, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3749, "end": 3750, "loc": { "start": { "line": 132, "column": 53 }, "end": { "line": 132, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3750, "end": 3751, "loc": { "start": { "line": 132, "column": 54 }, "end": { "line": 132, "column": 55 } } }, { "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": 3759, "end": 3763, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 8 } } }, { "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": 3764, "end": 3766, "loc": { "start": { "line": 134, "column": 9 }, "end": { "line": 134, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3766, "end": 3767, "loc": { "start": { "line": 134, "column": 11 }, "end": { "line": 134, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 3767, "end": 3773, "loc": { "start": { "line": 134, "column": 12 }, "end": { "line": 134, "column": 18 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3774, "end": 3777, "loc": { "start": { "line": 134, "column": 19 }, "end": { "line": 134, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{tab}", "start": 3778, "end": 3785, "loc": { "start": { "line": 134, "column": 23 }, "end": { "line": 134, "column": 30 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 3786, "end": 3788, "loc": { "start": { "line": 134, "column": 31 }, "end": { "line": 134, "column": 33 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 3789, "end": 3790, "loc": { "start": { "line": 134, "column": 34 }, "end": { "line": 134, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3790, "end": 3791, "loc": { "start": { "line": 134, "column": 35 }, "end": { "line": 134, "column": 36 } } }, { "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": 3791, "end": 3797, "loc": { "start": { "line": 134, "column": 36 }, "end": { "line": 134, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 3798, "end": 3805, "loc": { "start": { "line": 134, "column": 43 }, "end": { "line": 134, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3805, "end": 3806, "loc": { "start": { "line": 134, "column": 50 }, "end": { "line": 134, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tabCharOnTab", "start": 3806, "end": 3818, "loc": { "start": { "line": 134, "column": 51 }, "end": { "line": 134, "column": 63 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3819, "end": 3822, "loc": { "start": { "line": 134, "column": 64 }, "end": { "line": 134, "column": 67 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "boolean", "start": 3823, "end": 3832, "loc": { "start": { "line": 134, "column": 68 }, "end": { "line": 134, "column": 77 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 3833, "end": 3835, "loc": { "start": { "line": 134, "column": 78 }, "end": { "line": 134, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 3836, "end": 3843, "loc": { "start": { "line": 134, "column": 81 }, "end": { "line": 134, "column": 88 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3843, "end": 3844, "loc": { "start": { "line": 134, "column": 88 }, "end": { "line": 134, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "tabCharOnTab", "start": 3844, "end": 3856, "loc": { "start": { "line": 134, "column": 89 }, "end": { "line": 134, "column": 101 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3857, "end": 3860, "loc": { "start": { "line": 134, "column": 102 }, "end": { "line": 134, "column": 105 } } }, { "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": 3861, "end": 3866, "loc": { "start": { "line": 134, "column": 106 }, "end": { "line": 134, "column": 111 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3866, "end": 3867, "loc": { "start": { "line": 134, "column": 111 }, "end": { "line": 134, "column": 112 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3867, "end": 3868, "loc": { "start": { "line": 134, "column": 112 }, "end": { "line": 134, "column": 113 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3868, "end": 3869, "loc": { "start": { "line": 134, "column": 113 }, "end": { "line": 134, "column": 114 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 3877, "end": 3883, "loc": { "start": { "line": 135, "column": 6 }, "end": { "line": 135, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3884, "end": 3885, "loc": { "start": { "line": 135, "column": 13 }, "end": { "line": 135, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3886, "end": 3890, "loc": { "start": { "line": 135, "column": 15 }, "end": { "line": 135, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3890, "end": 3891, "loc": { "start": { "line": 135, "column": 19 }, "end": { "line": 135, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addStringAt", "start": 3891, "end": 3902, "loc": { "start": { "line": 135, "column": 20 }, "end": { "line": 135, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3902, "end": 3903, "loc": { "start": { "line": 135, "column": 31 }, "end": { "line": 135, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 3903, "end": 3909, "loc": { "start": { "line": 135, "column": 32 }, "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": 3909, "end": 3910, "loc": { "start": { "line": 135, "column": 38 }, "end": { "line": 135, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "\t", "start": 3911, "end": 3915, "loc": { "start": { "line": 135, "column": 40 }, "end": { "line": 135, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3915, "end": 3916, "loc": { "start": { "line": 135, "column": 44 }, "end": { "line": 135, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPos", "start": 3917, "end": 3925, "loc": { "start": { "line": 135, "column": 46 }, "end": { "line": 135, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3925, "end": 3926, "loc": { "start": { "line": 135, "column": 54 }, "end": { "line": 135, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3926, "end": 3927, "loc": { "start": { "line": 135, "column": 55 }, "end": { "line": 135, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3935, "end": 3936, "loc": { "start": { "line": 137, "column": 4 }, "end": { "line": 137, "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": 3937, "end": 3941, "loc": { "start": { "line": 137, "column": 6 }, "end": { "line": 137, "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": 3942, "end": 3944, "loc": { "start": { "line": 137, "column": 11 }, "end": { "line": 137, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3944, "end": 3945, "loc": { "start": { "line": 137, "column": 13 }, "end": { "line": 137, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3945, "end": 3946, "loc": { "start": { "line": 137, "column": 14 }, "end": { "line": 137, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 3946, "end": 3952, "loc": { "start": { "line": 137, "column": 15 }, "end": { "line": 137, "column": 21 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3953, "end": 3956, "loc": { "start": { "line": 137, "column": 22 }, "end": { "line": 137, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{enter}", "start": 3957, "end": 3966, "loc": { "start": { "line": 137, "column": 26 }, "end": { "line": 137, "column": 35 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 3967, "end": 3969, "loc": { "start": { "line": 137, "column": 36 }, "end": { "line": 137, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 3970, "end": 3976, "loc": { "start": { "line": 137, "column": 39 }, "end": { "line": 137, "column": 45 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3977, "end": 3980, "loc": { "start": { "line": 137, "column": 46 }, "end": { "line": 137, "column": 49 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpadenter}", "start": 3981, "end": 3996, "loc": { "start": { "line": 137, "column": 50 }, "end": { "line": 137, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3996, "end": 3997, "loc": { "start": { "line": 137, "column": 65 }, "end": { "line": 137, "column": 66 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 3998, "end": 4000, "loc": { "start": { "line": 137, "column": 67 }, "end": { "line": 137, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 4001, "end": 4008, "loc": { "start": { "line": 137, "column": 70 }, "end": { "line": 137, "column": 77 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4008, "end": 4009, "loc": { "start": { "line": 137, "column": 77 }, "end": { "line": 137, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "newLineOnEnter", "start": 4009, "end": 4023, "loc": { "start": { "line": 137, "column": 78 }, "end": { "line": 137, "column": 92 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4023, "end": 4024, "loc": { "start": { "line": 137, "column": 92 }, "end": { "line": 137, "column": 93 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 4032, "end": 4038, "loc": { "start": { "line": 138, "column": 6 }, "end": { "line": 138, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4039, "end": 4040, "loc": { "start": { "line": 138, "column": 13 }, "end": { "line": 138, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4041, "end": 4045, "loc": { "start": { "line": 138, "column": 15 }, "end": { "line": 138, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4045, "end": 4046, "loc": { "start": { "line": 138, "column": 19 }, "end": { "line": 138, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addStringAt", "start": 4046, "end": 4057, "loc": { "start": { "line": 138, "column": 20 }, "end": { "line": 138, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4057, "end": 4058, "loc": { "start": { "line": 138, "column": 31 }, "end": { "line": 138, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 4058, "end": 4064, "loc": { "start": { "line": 138, "column": 32 }, "end": { "line": 138, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4064, "end": 4065, "loc": { "start": { "line": 138, "column": 38 }, "end": { "line": 138, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "\n", "start": 4066, "end": 4070, "loc": { "start": { "line": 138, "column": 40 }, "end": { "line": 138, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4070, "end": 4071, "loc": { "start": { "line": 138, "column": 44 }, "end": { "line": 138, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPos", "start": 4072, "end": 4080, "loc": { "start": { "line": 138, "column": 46 }, "end": { "line": 138, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4080, "end": 4081, "loc": { "start": { "line": 138, "column": 54 }, "end": { "line": 138, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4081, "end": 4082, "loc": { "start": { "line": 138, "column": 55 }, "end": { "line": 138, "column": 56 } } }, { "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": 4090, "end": 4094, "loc": { "start": { "line": 140, "column": 4 }, "end": { "line": 140, "column": 8 } } }, { "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": 4095, "end": 4097, "loc": { "start": { "line": 140, "column": 9 }, "end": { "line": 140, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4097, "end": 4098, "loc": { "start": { "line": 140, "column": 11 }, "end": { "line": 140, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 4098, "end": 4104, "loc": { "start": { "line": 140, "column": 12 }, "end": { "line": 140, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4104, "end": 4105, "loc": { "start": { "line": 140, "column": 18 }, "end": { "line": 140, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 4105, "end": 4113, "loc": { "start": { "line": 140, "column": 19 }, "end": { "line": 140, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4113, "end": 4114, "loc": { "start": { "line": 140, "column": 27 }, "end": { "line": 140, "column": 28 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "numpad", "start": 4114, "end": 4122, "loc": { "start": { "line": 140, "column": 28 }, "end": { "line": 140, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4122, "end": 4123, "loc": { "start": { "line": 140, "column": 36 }, "end": { "line": 140, "column": 37 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 4124, "end": 4126, "loc": { "start": { "line": 140, "column": 38 }, "end": { "line": 140, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Number", "start": 4127, "end": 4133, "loc": { "start": { "line": 140, "column": 41 }, "end": { "line": 140, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4133, "end": 4134, "loc": { "start": { "line": 140, "column": 47 }, "end": { "line": 140, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isInteger", "start": 4134, "end": 4143, "loc": { "start": { "line": 140, "column": 48 }, "end": { "line": 140, "column": 57 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4143, "end": 4144, "loc": { "start": { "line": 140, "column": 57 }, "end": { "line": 140, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Number", "start": 4144, "end": 4150, "loc": { "start": { "line": 140, "column": 58 }, "end": { "line": 140, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4150, "end": 4151, "loc": { "start": { "line": 140, "column": 64 }, "end": { "line": 140, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 4151, "end": 4157, "loc": { "start": { "line": 140, "column": 65 }, "end": { "line": 140, "column": 71 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4157, "end": 4158, "loc": { "start": { "line": 140, "column": 71 }, "end": { "line": 140, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 4158, "end": 4164, "loc": { "start": { "line": 140, "column": 72 }, "end": { "line": 140, "column": 78 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4164, "end": 4165, "loc": { "start": { "line": 140, "column": 78 }, "end": { "line": 140, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 4165, "end": 4171, "loc": { "start": { "line": 140, "column": 79 }, "end": { "line": 140, "column": 85 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 4172, "end": 4173, "loc": { "start": { "line": 140, "column": 86 }, "end": { "line": 140, "column": 87 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 4174, "end": 4175, "loc": { "start": { "line": 140, "column": 88 }, "end": { "line": 140, "column": 89 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4175, "end": 4176, "loc": { "start": { "line": 140, "column": 89 }, "end": { "line": 140, "column": 90 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4176, "end": 4177, "loc": { "start": { "line": 140, "column": 90 }, "end": { "line": 140, "column": 91 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4177, "end": 4178, "loc": { "start": { "line": 140, "column": 91 }, "end": { "line": 140, "column": 92 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4178, "end": 4179, "loc": { "start": { "line": 140, "column": 92 }, "end": { "line": 140, "column": 93 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4179, "end": 4180, "loc": { "start": { "line": 140, "column": 93 }, "end": { "line": 140, "column": 94 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 4188, "end": 4194, "loc": { "start": { "line": 141, "column": 6 }, "end": { "line": 141, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4195, "end": 4196, "loc": { "start": { "line": 141, "column": 13 }, "end": { "line": 141, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4197, "end": 4201, "loc": { "start": { "line": 141, "column": 15 }, "end": { "line": 141, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4201, "end": 4202, "loc": { "start": { "line": 141, "column": 19 }, "end": { "line": 141, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addStringAt", "start": 4202, "end": 4213, "loc": { "start": { "line": 141, "column": 20 }, "end": { "line": 141, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4213, "end": 4214, "loc": { "start": { "line": 141, "column": 31 }, "end": { "line": 141, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 4214, "end": 4220, "loc": { "start": { "line": 141, "column": 32 }, "end": { "line": 141, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4220, "end": 4221, "loc": { "start": { "line": 141, "column": 38 }, "end": { "line": 141, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 4222, "end": 4228, "loc": { "start": { "line": 141, "column": 40 }, "end": { "line": 141, "column": 46 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4228, "end": 4229, "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": "button", "start": 4229, "end": 4235, "loc": { "start": { "line": 141, "column": 47 }, "end": { "line": 141, "column": 53 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4235, "end": 4236, "loc": { "start": { "line": 141, "column": 53 }, "end": { "line": 141, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 4236, "end": 4242, "loc": { "start": { "line": 141, "column": 54 }, "end": { "line": 141, "column": 60 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 4243, "end": 4244, "loc": { "start": { "line": 141, "column": 61 }, "end": { "line": 141, "column": 62 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 4245, "end": 4246, "loc": { "start": { "line": 141, "column": 63 }, "end": { "line": 141, "column": 64 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4246, "end": 4247, "loc": { "start": { "line": 141, "column": 64 }, "end": { "line": 141, "column": 65 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4247, "end": 4248, "loc": { "start": { "line": 141, "column": 65 }, "end": { "line": 141, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPos", "start": 4249, "end": 4257, "loc": { "start": { "line": 141, "column": 67 }, "end": { "line": 141, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4257, "end": 4258, "loc": { "start": { "line": 141, "column": 75 }, "end": { "line": 141, "column": 76 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4258, "end": 4259, "loc": { "start": { "line": 141, "column": 76 }, "end": { "line": 141, "column": 77 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4265, "end": 4266, "loc": { "start": { "line": 142, "column": 4 }, "end": { "line": 142, "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": 4272, "end": 4276, "loc": { "start": { "line": 143, "column": 4 }, "end": { "line": 143, "column": 8 } } }, { "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": 4277, "end": 4279, "loc": { "start": { "line": 143, "column": 9 }, "end": { "line": 143, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4279, "end": 4280, "loc": { "start": { "line": 143, "column": 11 }, "end": { "line": 143, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 4280, "end": 4286, "loc": { "start": { "line": 143, "column": 12 }, "end": { "line": 143, "column": 18 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 4287, "end": 4290, "loc": { "start": { "line": 143, "column": 19 }, "end": { "line": 143, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpaddivide}", "start": 4291, "end": 4307, "loc": { "start": { "line": 143, "column": 23 }, "end": { "line": 143, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4307, "end": 4308, "loc": { "start": { "line": 143, "column": 39 }, "end": { "line": 143, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 4316, "end": 4322, "loc": { "start": { "line": 144, "column": 6 }, "end": { "line": 144, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4323, "end": 4324, "loc": { "start": { "line": 144, "column": 13 }, "end": { "line": 144, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4325, "end": 4329, "loc": { "start": { "line": 144, "column": 15 }, "end": { "line": 144, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4329, "end": 4330, "loc": { "start": { "line": 144, "column": 19 }, "end": { "line": 144, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addStringAt", "start": 4330, "end": 4341, "loc": { "start": { "line": 144, "column": 20 }, "end": { "line": 144, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4341, "end": 4342, "loc": { "start": { "line": 144, "column": 31 }, "end": { "line": 144, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 4342, "end": 4348, "loc": { "start": { "line": 144, "column": 32 }, "end": { "line": 144, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4348, "end": 4349, "loc": { "start": { "line": 144, "column": 38 }, "end": { "line": 144, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "/", "start": 4350, "end": 4353, "loc": { "start": { "line": 144, "column": 40 }, "end": { "line": 144, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4353, "end": 4354, "loc": { "start": { "line": 144, "column": 43 }, "end": { "line": 144, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPos", "start": 4355, "end": 4363, "loc": { "start": { "line": 144, "column": 45 }, "end": { "line": 144, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4363, "end": 4364, "loc": { "start": { "line": 144, "column": 53 }, "end": { "line": 144, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4364, "end": 4365, "loc": { "start": { "line": 144, "column": 54 }, "end": { "line": 144, "column": 55 } } }, { "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": 4373, "end": 4377, "loc": { "start": { "line": 146, "column": 4 }, "end": { "line": 146, "column": 8 } } }, { "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": 4378, "end": 4380, "loc": { "start": { "line": 146, "column": 9 }, "end": { "line": 146, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4380, "end": 4381, "loc": { "start": { "line": 146, "column": 11 }, "end": { "line": 146, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 4381, "end": 4387, "loc": { "start": { "line": 146, "column": 12 }, "end": { "line": 146, "column": 18 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 4388, "end": 4391, "loc": { "start": { "line": 146, "column": 19 }, "end": { "line": 146, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpadmultiply}", "start": 4392, "end": 4410, "loc": { "start": { "line": 146, "column": 23 }, "end": { "line": 146, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4410, "end": 4411, "loc": { "start": { "line": 146, "column": 41 }, "end": { "line": 146, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 4419, "end": 4425, "loc": { "start": { "line": 147, "column": 6 }, "end": { "line": 147, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4426, "end": 4427, "loc": { "start": { "line": 147, "column": 13 }, "end": { "line": 147, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4428, "end": 4432, "loc": { "start": { "line": 147, "column": 15 }, "end": { "line": 147, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4432, "end": 4433, "loc": { "start": { "line": 147, "column": 19 }, "end": { "line": 147, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addStringAt", "start": 4433, "end": 4444, "loc": { "start": { "line": 147, "column": 20 }, "end": { "line": 147, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4444, "end": 4445, "loc": { "start": { "line": 147, "column": 31 }, "end": { "line": 147, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 4445, "end": 4451, "loc": { "start": { "line": 147, "column": 32 }, "end": { "line": 147, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4451, "end": 4452, "loc": { "start": { "line": 147, "column": 38 }, "end": { "line": 147, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "*", "start": 4453, "end": 4456, "loc": { "start": { "line": 147, "column": 40 }, "end": { "line": 147, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4456, "end": 4457, "loc": { "start": { "line": 147, "column": 43 }, "end": { "line": 147, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPos", "start": 4458, "end": 4466, "loc": { "start": { "line": 147, "column": 45 }, "end": { "line": 147, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4466, "end": 4467, "loc": { "start": { "line": 147, "column": 53 }, "end": { "line": 147, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4467, "end": 4468, "loc": { "start": { "line": 147, "column": 54 }, "end": { "line": 147, "column": 55 } } }, { "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": 4474, "end": 4478, "loc": { "start": { "line": 148, "column": 4 }, "end": { "line": 148, "column": 8 } } }, { "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": 4479, "end": 4481, "loc": { "start": { "line": 148, "column": 9 }, "end": { "line": 148, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4481, "end": 4482, "loc": { "start": { "line": 148, "column": 11 }, "end": { "line": 148, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 4482, "end": 4488, "loc": { "start": { "line": 148, "column": 12 }, "end": { "line": 148, "column": 18 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 4489, "end": 4492, "loc": { "start": { "line": 148, "column": 19 }, "end": { "line": 148, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpadsubtract}", "start": 4493, "end": 4511, "loc": { "start": { "line": 148, "column": 23 }, "end": { "line": 148, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4511, "end": 4512, "loc": { "start": { "line": 148, "column": 41 }, "end": { "line": 148, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 4520, "end": 4526, "loc": { "start": { "line": 149, "column": 6 }, "end": { "line": 149, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4527, "end": 4528, "loc": { "start": { "line": 149, "column": 13 }, "end": { "line": 149, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4529, "end": 4533, "loc": { "start": { "line": 149, "column": 15 }, "end": { "line": 149, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4533, "end": 4534, "loc": { "start": { "line": 149, "column": 19 }, "end": { "line": 149, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addStringAt", "start": 4534, "end": 4545, "loc": { "start": { "line": 149, "column": 20 }, "end": { "line": 149, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4545, "end": 4546, "loc": { "start": { "line": 149, "column": 31 }, "end": { "line": 149, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 4546, "end": 4552, "loc": { "start": { "line": 149, "column": 32 }, "end": { "line": 149, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4552, "end": 4553, "loc": { "start": { "line": 149, "column": 38 }, "end": { "line": 149, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "-", "start": 4554, "end": 4557, "loc": { "start": { "line": 149, "column": 40 }, "end": { "line": 149, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4557, "end": 4558, "loc": { "start": { "line": 149, "column": 43 }, "end": { "line": 149, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPos", "start": 4559, "end": 4567, "loc": { "start": { "line": 149, "column": 45 }, "end": { "line": 149, "column": 53 } } }, { "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": 149, "column": 53 }, "end": { "line": 149, "column": 54 } } }, { "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": 149, "column": 54 }, "end": { "line": 149, "column": 55 } } }, { "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": 4577, "end": 4581, "loc": { "start": { "line": 151, "column": 4 }, "end": { "line": 151, "column": 8 } } }, { "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": 4582, "end": 4584, "loc": { "start": { "line": 151, "column": 9 }, "end": { "line": 151, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4584, "end": 4585, "loc": { "start": { "line": 151, "column": 11 }, "end": { "line": 151, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 4585, "end": 4591, "loc": { "start": { "line": 151, "column": 12 }, "end": { "line": 151, "column": 18 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 4592, "end": 4595, "loc": { "start": { "line": 151, "column": 19 }, "end": { "line": 151, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpadadd}", "start": 4596, "end": 4609, "loc": { "start": { "line": 151, "column": 23 }, "end": { "line": 151, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4609, "end": 4610, "loc": { "start": { "line": 151, "column": 36 }, "end": { "line": 151, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 4618, "end": 4624, "loc": { "start": { "line": 152, "column": 6 }, "end": { "line": 152, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4625, "end": 4626, "loc": { "start": { "line": 152, "column": 13 }, "end": { "line": 152, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4627, "end": 4631, "loc": { "start": { "line": 152, "column": 15 }, "end": { "line": 152, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4631, "end": 4632, "loc": { "start": { "line": 152, "column": 19 }, "end": { "line": 152, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addStringAt", "start": 4632, "end": 4643, "loc": { "start": { "line": 152, "column": 20 }, "end": { "line": 152, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4643, "end": 4644, "loc": { "start": { "line": 152, "column": 31 }, "end": { "line": 152, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 4644, "end": 4650, "loc": { "start": { "line": 152, "column": 32 }, "end": { "line": 152, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4650, "end": 4651, "loc": { "start": { "line": 152, "column": 38 }, "end": { "line": 152, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+", "start": 4652, "end": 4655, "loc": { "start": { "line": 152, "column": 40 }, "end": { "line": 152, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4655, "end": 4656, "loc": { "start": { "line": 152, "column": 43 }, "end": { "line": 152, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPos", "start": 4657, "end": 4665, "loc": { "start": { "line": 152, "column": 45 }, "end": { "line": 152, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4665, "end": 4666, "loc": { "start": { "line": 152, "column": 53 }, "end": { "line": 152, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4666, "end": 4667, "loc": { "start": { "line": 152, "column": 54 }, "end": { "line": 152, "column": 55 } } }, { "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": 4675, "end": 4679, "loc": { "start": { "line": 154, "column": 4 }, "end": { "line": 154, "column": 8 } } }, { "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": 4680, "end": 4682, "loc": { "start": { "line": 154, "column": 9 }, "end": { "line": 154, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4682, "end": 4683, "loc": { "start": { "line": 154, "column": 11 }, "end": { "line": 154, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 4683, "end": 4689, "loc": { "start": { "line": 154, "column": 12 }, "end": { "line": 154, "column": 18 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 4690, "end": 4693, "loc": { "start": { "line": 154, "column": 19 }, "end": { "line": 154, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{numpaddecimal}", "start": 4694, "end": 4711, "loc": { "start": { "line": 154, "column": 23 }, "end": { "line": 154, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4711, "end": 4712, "loc": { "start": { "line": 154, "column": 40 }, "end": { "line": 154, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 4720, "end": 4726, "loc": { "start": { "line": 155, "column": 6 }, "end": { "line": 155, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4727, "end": 4728, "loc": { "start": { "line": 155, "column": 13 }, "end": { "line": 155, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4729, "end": 4733, "loc": { "start": { "line": 155, "column": 15 }, "end": { "line": 155, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4733, "end": 4734, "loc": { "start": { "line": 155, "column": 19 }, "end": { "line": 155, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addStringAt", "start": 4734, "end": 4745, "loc": { "start": { "line": 155, "column": 20 }, "end": { "line": 155, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4745, "end": 4746, "loc": { "start": { "line": 155, "column": 31 }, "end": { "line": 155, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 4746, "end": 4752, "loc": { "start": { "line": 155, "column": 32 }, "end": { "line": 155, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4752, "end": 4753, "loc": { "start": { "line": 155, "column": 38 }, "end": { "line": 155, "column": 39 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": ".", "start": 4754, "end": 4757, "loc": { "start": { "line": 155, "column": 40 }, "end": { "line": 155, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4757, "end": 4758, "loc": { "start": { "line": 155, "column": 43 }, "end": { "line": 155, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPos", "start": 4759, "end": 4767, "loc": { "start": { "line": 155, "column": 45 }, "end": { "line": 155, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4767, "end": 4768, "loc": { "start": { "line": 155, "column": 53 }, "end": { "line": 155, "column": 54 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4768, "end": 4769, "loc": { "start": { "line": 155, "column": 54 }, "end": { "line": 155, "column": 55 } } }, { "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": 4777, "end": 4781, "loc": { "start": { "line": 157, "column": 4 }, "end": { "line": 157, "column": 8 } } }, { "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": 4782, "end": 4784, "loc": { "start": { "line": 157, "column": 9 }, "end": { "line": 157, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4784, "end": 4785, "loc": { "start": { "line": 157, "column": 11 }, "end": { "line": 157, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 4785, "end": 4791, "loc": { "start": { "line": 157, "column": 12 }, "end": { "line": 157, "column": 18 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 4792, "end": 4795, "loc": { "start": { "line": 157, "column": 19 }, "end": { "line": 157, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{", "start": 4796, "end": 4799, "loc": { "start": { "line": 157, "column": 23 }, "end": { "line": 157, "column": 26 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 4800, "end": 4802, "loc": { "start": { "line": 157, "column": 27 }, "end": { "line": 157, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 4803, "end": 4809, "loc": { "start": { "line": 157, "column": 30 }, "end": { "line": 157, "column": 36 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 4810, "end": 4813, "loc": { "start": { "line": 157, "column": 37 }, "end": { "line": 157, "column": 40 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "}", "start": 4814, "end": 4817, "loc": { "start": { "line": 157, "column": 41 }, "end": { "line": 157, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4817, "end": 4818, "loc": { "start": { "line": 157, "column": 44 }, "end": { "line": 157, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 4826, "end": 4832, "loc": { "start": { "line": 158, "column": 6 }, "end": { "line": 158, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4833, "end": 4834, "loc": { "start": { "line": 158, "column": 13 }, "end": { "line": 158, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4835, "end": 4839, "loc": { "start": { "line": 158, "column": 15 }, "end": { "line": 158, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4839, "end": 4840, "loc": { "start": { "line": 158, "column": 19 }, "end": { "line": 158, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addStringAt", "start": 4840, "end": 4851, "loc": { "start": { "line": 158, "column": 20 }, "end": { "line": 158, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4851, "end": 4852, "loc": { "start": { "line": 158, "column": 31 }, "end": { "line": 158, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 4852, "end": 4858, "loc": { "start": { "line": 158, "column": 32 }, "end": { "line": 158, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4858, "end": 4859, "loc": { "start": { "line": 158, "column": 38 }, "end": { "line": 158, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 4860, "end": 4866, "loc": { "start": { "line": 158, "column": 40 }, "end": { "line": 158, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4866, "end": 4867, "loc": { "start": { "line": 158, "column": 46 }, "end": { "line": 158, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPos", "start": 4868, "end": 4876, "loc": { "start": { "line": 158, "column": 48 }, "end": { "line": 158, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4876, "end": 4877, "loc": { "start": { "line": 158, "column": 56 }, "end": { "line": 158, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4877, "end": 4878, "loc": { "start": { "line": 158, "column": 57 }, "end": { "line": 158, "column": 58 } } }, { "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": 4886, "end": 4890, "loc": { "start": { "line": 160, "column": 4 }, "end": { "line": 160, "column": 8 } } }, { "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": 4891, "end": 4893, "loc": { "start": { "line": 160, "column": 9 }, "end": { "line": 160, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4893, "end": 4894, "loc": { "start": { "line": 160, "column": 11 }, "end": { "line": 160, "column": 12 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 4894, "end": 4895, "loc": { "start": { "line": 160, "column": 12 }, "end": { "line": 160, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 4895, "end": 4901, "loc": { "start": { "line": 160, "column": 13 }, "end": { "line": 160, "column": 19 } } }, { "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": 160, "column": 19 }, "end": { "line": 160, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 4902, "end": 4910, "loc": { "start": { "line": 160, "column": 20 }, "end": { "line": 160, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4910, "end": 4911, "loc": { "start": { "line": 160, "column": 28 }, "end": { "line": 160, "column": 29 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "{", "start": 4911, "end": 4914, "loc": { "start": { "line": 160, "column": 29 }, "end": { "line": 160, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4914, "end": 4915, "loc": { "start": { "line": 160, "column": 32 }, "end": { "line": 160, "column": 33 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 4916, "end": 4918, "loc": { "start": { "line": 160, "column": 34 }, "end": { "line": 160, "column": 36 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 4919, "end": 4920, "loc": { "start": { "line": 160, "column": 37 }, "end": { "line": 160, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 4920, "end": 4926, "loc": { "start": { "line": 160, "column": 38 }, "end": { "line": 160, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4926, "end": 4927, "loc": { "start": { "line": 160, "column": 44 }, "end": { "line": 160, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "includes", "start": 4927, "end": 4935, "loc": { "start": { "line": 160, "column": 45 }, "end": { "line": 160, "column": 53 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4935, "end": 4936, "loc": { "start": { "line": 160, "column": 53 }, "end": { "line": 160, "column": 54 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "}", "start": 4936, "end": 4939, "loc": { "start": { "line": 160, "column": 54 }, "end": { "line": 160, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4939, "end": 4940, "loc": { "start": { "line": 160, "column": 57 }, "end": { "line": 160, "column": 58 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4940, "end": 4941, "loc": { "start": { "line": 160, "column": 58 }, "end": { "line": 160, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 4949, "end": 4955, "loc": { "start": { "line": 161, "column": 6 }, "end": { "line": 161, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4956, "end": 4957, "loc": { "start": { "line": 161, "column": 13 }, "end": { "line": 161, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4958, "end": 4962, "loc": { "start": { "line": 161, "column": 15 }, "end": { "line": 161, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4962, "end": 4963, "loc": { "start": { "line": 161, "column": 19 }, "end": { "line": 161, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addStringAt", "start": 4963, "end": 4974, "loc": { "start": { "line": 161, "column": 20 }, "end": { "line": 161, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4974, "end": 4975, "loc": { "start": { "line": 161, "column": 31 }, "end": { "line": 161, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 4975, "end": 4981, "loc": { "start": { "line": 161, "column": 32 }, "end": { "line": 161, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4981, "end": 4982, "loc": { "start": { "line": 161, "column": 38 }, "end": { "line": 161, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "button", "start": 4983, "end": 4989, "loc": { "start": { "line": 161, "column": 40 }, "end": { "line": 161, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4989, "end": 4990, "loc": { "start": { "line": 161, "column": 46 }, "end": { "line": 161, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPos", "start": 4991, "end": 4999, "loc": { "start": { "line": 161, "column": 48 }, "end": { "line": 161, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4999, "end": 5000, "loc": { "start": { "line": 161, "column": 56 }, "end": { "line": 161, "column": 57 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5000, "end": 5001, "loc": { "start": { "line": 161, "column": 57 }, "end": { "line": 161, "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": 5009, "end": 5015, "loc": { "start": { "line": 163, "column": 4 }, "end": { "line": 163, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 5016, "end": 5022, "loc": { "start": { "line": 163, "column": 11 }, "end": { "line": 163, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5022, "end": 5023, "loc": { "start": { "line": 163, "column": 17 }, "end": { "line": 163, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5027, "end": 5028, "loc": { "start": { "line": 164, "column": 2 }, "end": { "line": 164, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Moves the cursor position by a given amount\r\n * \r\n * @param {number} length Represents by how many characters the input should be moved\r\n * @param {boolean} minus Whether the cursor should be moved to the left or not.\r\n ", "start": 5032, "end": 5274, "loc": { "start": { "line": 165, "column": 2 }, "end": { "line": 170, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updateCaretPos", "start": 5278, "end": 5292, "loc": { "start": { "line": 171, "column": 2 }, "end": { "line": 171, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5293, "end": 5294, "loc": { "start": { "line": 171, "column": 17 }, "end": { "line": 171, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5295, "end": 5296, "loc": { "start": { "line": 171, "column": 19 }, "end": { "line": 171, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 5296, "end": 5302, "loc": { "start": { "line": 171, "column": 20 }, "end": { "line": 171, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5302, "end": 5303, "loc": { "start": { "line": 171, "column": 26 }, "end": { "line": 171, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minus", "start": 5304, "end": 5309, "loc": { "start": { "line": 171, "column": 28 }, "end": { "line": 171, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5309, "end": 5310, "loc": { "start": { "line": 171, "column": 33 }, "end": { "line": 171, "column": 34 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5311, "end": 5313, "loc": { "start": { "line": 171, "column": 35 }, "end": { "line": 171, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5314, "end": 5315, "loc": { "start": { "line": 171, "column": 38 }, "end": { "line": 171, "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": 5321, "end": 5323, "loc": { "start": { "line": 172, "column": 4 }, "end": { "line": 172, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5323, "end": 5324, "loc": { "start": { "line": 172, "column": 6 }, "end": { "line": 172, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "minus", "start": 5324, "end": 5329, "loc": { "start": { "line": 172, "column": 7 }, "end": { "line": 172, "column": 12 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5329, "end": 5330, "loc": { "start": { "line": 172, "column": 12 }, "end": { "line": 172, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5330, "end": 5331, "loc": { "start": { "line": 172, "column": 13 }, "end": { "line": 172, "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": 5339, "end": 5341, "loc": { "start": { "line": 173, "column": 6 }, "end": { "line": 173, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5341, "end": 5342, "loc": { "start": { "line": 173, "column": 8 }, "end": { "line": 173, "column": 9 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5342, "end": 5346, "loc": { "start": { "line": 173, "column": 9 }, "end": { "line": 173, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5346, "end": 5347, "loc": { "start": { "line": 173, "column": 13 }, "end": { "line": 173, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "simpleKeyboardInstance", "start": 5347, "end": 5369, "loc": { "start": { "line": 173, "column": 14 }, "end": { "line": 173, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5369, "end": 5370, "loc": { "start": { "line": 173, "column": 36 }, "end": { "line": 173, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 5370, "end": 5383, "loc": { "start": { "line": 173, "column": 37 }, "end": { "line": 173, "column": 50 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 5384, "end": 5385, "loc": { "start": { "line": 173, "column": 51 }, "end": { "line": 173, "column": 52 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 5386, "end": 5387, "loc": { "start": { "line": 173, "column": 53 }, "end": { "line": 173, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5387, "end": 5388, "loc": { "start": { "line": 173, "column": 54 }, "end": { "line": 173, "column": 55 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5398, "end": 5402, "loc": { "start": { "line": 174, "column": 8 }, "end": { "line": 174, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5402, "end": 5403, "loc": { "start": { "line": 174, "column": 12 }, "end": { "line": 174, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "simpleKeyboardInstance", "start": 5403, "end": 5425, "loc": { "start": { "line": 174, "column": 13 }, "end": { "line": 174, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5425, "end": 5426, "loc": { "start": { "line": 174, "column": 35 }, "end": { "line": 174, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 5426, "end": 5439, "loc": { "start": { "line": 174, "column": 36 }, "end": { "line": 174, "column": 49 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5440, "end": 5441, "loc": { "start": { "line": 174, "column": 50 }, "end": { "line": 174, "column": 51 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5442, "end": 5446, "loc": { "start": { "line": 174, "column": 52 }, "end": { "line": 174, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5446, "end": 5447, "loc": { "start": { "line": 174, "column": 56 }, "end": { "line": 174, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "simpleKeyboardInstance", "start": 5447, "end": 5469, "loc": { "start": { "line": 174, "column": 57 }, "end": { "line": 174, "column": 79 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5469, "end": 5470, "loc": { "start": { "line": 174, "column": 79 }, "end": { "line": 174, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 5470, "end": 5483, "loc": { "start": { "line": 174, "column": 80 }, "end": { "line": 174, "column": 93 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 5484, "end": 5485, "loc": { "start": { "line": 174, "column": 94 }, "end": { "line": 174, "column": 95 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 5486, "end": 5492, "loc": { "start": { "line": 174, "column": 96 }, "end": { "line": 174, "column": 102 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5498, "end": 5499, "loc": { "start": { "line": 175, "column": 4 }, "end": { "line": 175, "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": 5500, "end": 5504, "loc": { "start": { "line": 175, "column": 6 }, "end": { "line": 175, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5505, "end": 5506, "loc": { "start": { "line": 175, "column": 11 }, "end": { "line": 175, "column": 12 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5514, "end": 5518, "loc": { "start": { "line": 176, "column": 6 }, "end": { "line": 176, "column": 10 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5518, "end": 5519, "loc": { "start": { "line": 176, "column": 10 }, "end": { "line": 176, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "simpleKeyboardInstance", "start": 5519, "end": 5541, "loc": { "start": { "line": 176, "column": 11 }, "end": { "line": 176, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5541, "end": 5542, "loc": { "start": { "line": 176, "column": 33 }, "end": { "line": 176, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 5542, "end": 5555, "loc": { "start": { "line": 176, "column": 34 }, "end": { "line": 176, "column": 47 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 5556, "end": 5557, "loc": { "start": { "line": 176, "column": 48 }, "end": { "line": 176, "column": 49 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5558, "end": 5562, "loc": { "start": { "line": 176, "column": 50 }, "end": { "line": 176, "column": 54 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5562, "end": 5563, "loc": { "start": { "line": 176, "column": 54 }, "end": { "line": 176, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "simpleKeyboardInstance", "start": 5563, "end": 5585, "loc": { "start": { "line": 176, "column": 55 }, "end": { "line": 176, "column": 77 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5585, "end": 5586, "loc": { "start": { "line": 176, "column": 77 }, "end": { "line": 176, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 5586, "end": 5599, "loc": { "start": { "line": 176, "column": 78 }, "end": { "line": 176, "column": 91 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 5600, "end": 5601, "loc": { "start": { "line": 176, "column": 92 }, "end": { "line": 176, "column": 93 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 5602, "end": 5608, "loc": { "start": { "line": 176, "column": 94 }, "end": { "line": 176, "column": 100 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5608, "end": 5609, "loc": { "start": { "line": 176, "column": 100 }, "end": { "line": 176, "column": 101 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5615, "end": 5616, "loc": { "start": { "line": 177, "column": 4 }, "end": { "line": 177, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5620, "end": 5621, "loc": { "start": { "line": 178, "column": 2 }, "end": { "line": 178, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Adds a string to the input at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {string} string The string to add\r\n * @param {number} position The (cursor) position where the string should be added\r\n ", "start": 5627, "end": 5879, "loc": { "start": { "line": 180, "column": 2 }, "end": { "line": 186, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addStringAt", "start": 5883, "end": 5894, "loc": { "start": { "line": 187, "column": 2 }, "end": { "line": 187, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5894, "end": 5895, "loc": { "start": { "line": 187, "column": 13 }, "end": { "line": 187, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "source", "start": 5895, "end": 5901, "loc": { "start": { "line": 187, "column": 14 }, "end": { "line": 187, "column": 20 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5901, "end": 5902, "loc": { "start": { "line": 187, "column": 20 }, "end": { "line": 187, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "string", "start": 5903, "end": 5909, "loc": { "start": { "line": 187, "column": 22 }, "end": { "line": 187, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5909, "end": 5910, "loc": { "start": { "line": 187, "column": 28 }, "end": { "line": 187, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "position", "start": 5911, "end": 5919, "loc": { "start": { "line": 187, "column": 30 }, "end": { "line": 187, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5919, "end": 5920, "loc": { "start": { "line": 187, "column": 38 }, "end": { "line": 187, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5920, "end": 5921, "loc": { "start": { "line": 187, "column": 39 }, "end": { "line": 187, "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": 5927, "end": 5930, "loc": { "start": { "line": 188, "column": 4 }, "end": { "line": 188, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 5931, "end": 5937, "loc": { "start": { "line": 188, "column": 8 }, "end": { "line": 188, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5937, "end": 5938, "loc": { "start": { "line": 188, "column": 14 }, "end": { "line": 188, "column": 15 } } }, { "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": 5946, "end": 5948, "loc": { "start": { "line": 190, "column": 4 }, "end": { "line": 190, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5948, "end": 5949, "loc": { "start": { "line": 190, "column": 6 }, "end": { "line": 190, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 5949, "end": 5953, "loc": { "start": { "line": 190, "column": 7 }, "end": { "line": 190, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5953, "end": 5954, "loc": { "start": { "line": 190, "column": 11 }, "end": { "line": 190, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "simpleKeyboardInstance", "start": 5954, "end": 5976, "loc": { "start": { "line": 190, "column": 12 }, "end": { "line": 190, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5976, "end": 5977, "loc": { "start": { "line": 190, "column": 34 }, "end": { "line": 190, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 5977, "end": 5984, "loc": { "start": { "line": 190, "column": 35 }, "end": { "line": 190, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 5984, "end": 5985, "loc": { "start": { "line": 190, "column": 42 }, "end": { "line": 190, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 5985, "end": 5990, "loc": { "start": { "line": 190, "column": 43 }, "end": { "line": 190, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5990, "end": 5991, "loc": { "start": { "line": 190, "column": 48 }, "end": { "line": 190, "column": 49 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 5991, "end": 5992, "loc": { "start": { "line": 190, "column": 49 }, "end": { "line": 190, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 6000, "end": 6007, "loc": { "start": { "line": 191, "column": 6 }, "end": { "line": 191, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6007, "end": 6008, "loc": { "start": { "line": 191, "column": 13 }, "end": { "line": 191, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 6008, "end": 6011, "loc": { "start": { "line": 191, "column": 14 }, "end": { "line": 191, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6011, "end": 6012, "loc": { "start": { "line": 191, "column": 17 }, "end": { "line": 191, "column": 18 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "Caret at:", "start": 6012, "end": 6023, "loc": { "start": { "line": 191, "column": 18 }, "end": { "line": 191, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6023, "end": 6024, "loc": { "start": { "line": 191, "column": 29 }, "end": { "line": 191, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "position", "start": 6025, "end": 6033, "loc": { "start": { "line": 191, "column": 31 }, "end": { "line": 191, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6033, "end": 6034, "loc": { "start": { "line": 191, "column": 39 }, "end": { "line": 191, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6034, "end": 6035, "loc": { "start": { "line": 191, "column": 40 }, "end": { "line": 191, "column": 41 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6041, "end": 6042, "loc": { "start": { "line": 192, "column": 4 }, "end": { "line": 192, "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": 6050, "end": 6052, "loc": { "start": { "line": 194, "column": 4 }, "end": { "line": 194, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6052, "end": 6053, "loc": { "start": { "line": 194, "column": 6 }, "end": { "line": 194, "column": 7 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 6053, "end": 6054, "loc": { "start": { "line": 194, "column": 7 }, "end": { "line": 194, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "position", "start": 6054, "end": 6062, "loc": { "start": { "line": 194, "column": 8 }, "end": { "line": 194, "column": 16 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 6063, "end": 6065, "loc": { "start": { "line": 194, "column": 17 }, "end": { "line": 194, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "position", "start": 6066, "end": 6074, "loc": { "start": { "line": 194, "column": 20 }, "end": { "line": 194, "column": 28 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 6075, "end": 6078, "loc": { "start": { "line": 194, "column": 29 }, "end": { "line": 194, "column": 32 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 6079, "end": 6080, "loc": { "start": { "line": 194, "column": 33 }, "end": { "line": 194, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6080, "end": 6081, "loc": { "start": { "line": 194, "column": 34 }, "end": { "line": 194, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6081, "end": 6082, "loc": { "start": { "line": 194, "column": 35 }, "end": { "line": 194, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 6090, "end": 6096, "loc": { "start": { "line": 195, "column": 6 }, "end": { "line": 195, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6097, "end": 6098, "loc": { "start": { "line": 195, "column": 13 }, "end": { "line": 195, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "source", "start": 6099, "end": 6105, "loc": { "start": { "line": 195, "column": 15 }, "end": { "line": 195, "column": 21 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 6106, "end": 6107, "loc": { "start": { "line": 195, "column": 22 }, "end": { "line": 195, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "string", "start": 6108, "end": 6114, "loc": { "start": { "line": 195, "column": 24 }, "end": { "line": 195, "column": 30 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6114, "end": 6115, "loc": { "start": { "line": 195, "column": 30 }, "end": { "line": 195, "column": 31 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6121, "end": 6122, "loc": { "start": { "line": 196, "column": 4 }, "end": { "line": 196, "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": 6123, "end": 6127, "loc": { "start": { "line": 196, "column": 6 }, "end": { "line": 196, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6128, "end": 6129, "loc": { "start": { "line": 196, "column": 11 }, "end": { "line": 196, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 6137, "end": 6143, "loc": { "start": { "line": 197, "column": 6 }, "end": { "line": 197, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6144, "end": 6145, "loc": { "start": { "line": 197, "column": 13 }, "end": { "line": 197, "column": 14 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6146, "end": 6147, "loc": { "start": { "line": 197, "column": 15 }, "end": { "line": 197, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "source", "start": 6147, "end": 6153, "loc": { "start": { "line": 197, "column": 16 }, "end": { "line": 197, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6153, "end": 6154, "loc": { "start": { "line": 197, "column": 22 }, "end": { "line": 197, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slice", "start": 6154, "end": 6159, "loc": { "start": { "line": 197, "column": 23 }, "end": { "line": 197, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6159, "end": 6160, "loc": { "start": { "line": 197, "column": 28 }, "end": { "line": 197, "column": 29 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 6160, "end": 6161, "loc": { "start": { "line": 197, "column": 29 }, "end": { "line": 197, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6161, "end": 6162, "loc": { "start": { "line": 197, "column": 30 }, "end": { "line": 197, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "position", "start": 6163, "end": 6171, "loc": { "start": { "line": 197, "column": 32 }, "end": { "line": 197, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6171, "end": 6172, "loc": { "start": { "line": 197, "column": 40 }, "end": { "line": 197, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6172, "end": 6173, "loc": { "start": { "line": 197, "column": 41 }, "end": { "line": 197, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "string", "start": 6174, "end": 6180, "loc": { "start": { "line": 197, "column": 43 }, "end": { "line": 197, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6180, "end": 6181, "loc": { "start": { "line": 197, "column": 49 }, "end": { "line": 197, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "source", "start": 6182, "end": 6188, "loc": { "start": { "line": 197, "column": 51 }, "end": { "line": 197, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6188, "end": 6189, "loc": { "start": { "line": 197, "column": 57 }, "end": { "line": 197, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slice", "start": 6189, "end": 6194, "loc": { "start": { "line": 197, "column": 58 }, "end": { "line": 197, "column": 63 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6194, "end": 6195, "loc": { "start": { "line": 197, "column": 63 }, "end": { "line": 197, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "position", "start": 6195, "end": 6203, "loc": { "start": { "line": 197, "column": 64 }, "end": { "line": 197, "column": 72 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6203, "end": 6204, "loc": { "start": { "line": 197, "column": 72 }, "end": { "line": 197, "column": 73 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6204, "end": 6205, "loc": { "start": { "line": 197, "column": 73 }, "end": { "line": 197, "column": 74 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6205, "end": 6206, "loc": { "start": { "line": 197, "column": 74 }, "end": { "line": 197, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "join", "start": 6206, "end": 6210, "loc": { "start": { "line": 197, "column": 75 }, "end": { "line": 197, "column": 79 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6210, "end": 6211, "loc": { "start": { "line": 197, "column": 79 }, "end": { "line": 197, "column": 80 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "", "start": 6211, "end": 6213, "loc": { "start": { "line": 197, "column": 80 }, "end": { "line": 197, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6213, "end": 6214, "loc": { "start": { "line": 197, "column": 82 }, "end": { "line": 197, "column": 83 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6214, "end": 6215, "loc": { "start": { "line": 197, "column": 83 }, "end": { "line": 197, "column": 84 } } }, { "type": "CommentBlock", "value": "*\r\n * Avoid caret position change when maxLength is set\r\n ", "start": 6225, "end": 6299, "loc": { "start": { "line": 199, "column": 6 }, "end": { "line": 201, "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": 6307, "end": 6309, "loc": { "start": { "line": 202, "column": 6 }, "end": { "line": 202, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6309, "end": 6310, "loc": { "start": { "line": 202, "column": 8 }, "end": { "line": 202, "column": 9 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 6310, "end": 6311, "loc": { "start": { "line": 202, "column": 9 }, "end": { "line": 202, "column": 10 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6311, "end": 6315, "loc": { "start": { "line": 202, "column": 10 }, "end": { "line": 202, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6315, "end": 6316, "loc": { "start": { "line": 202, "column": 14 }, "end": { "line": 202, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMaxLengthReached", "start": 6316, "end": 6334, "loc": { "start": { "line": 202, "column": 15 }, "end": { "line": 202, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6334, "end": 6335, "loc": { "start": { "line": 202, "column": 33 }, "end": { "line": 202, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6335, "end": 6336, "loc": { "start": { "line": 202, "column": 34 }, "end": { "line": 202, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6336, "end": 6337, "loc": { "start": { "line": 202, "column": 35 }, "end": { "line": 202, "column": 36 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6337, "end": 6338, "loc": { "start": { "line": 202, "column": 36 }, "end": { "line": 202, "column": 37 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6348, "end": 6352, "loc": { "start": { "line": 203, "column": 8 }, "end": { "line": 203, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6352, "end": 6353, "loc": { "start": { "line": 203, "column": 12 }, "end": { "line": 203, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updateCaretPos", "start": 6353, "end": 6367, "loc": { "start": { "line": 203, "column": 13 }, "end": { "line": 203, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6367, "end": 6368, "loc": { "start": { "line": 203, "column": 27 }, "end": { "line": 203, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "string", "start": 6368, "end": 6374, "loc": { "start": { "line": 203, "column": 28 }, "end": { "line": 203, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6374, "end": 6375, "loc": { "start": { "line": 203, "column": 34 }, "end": { "line": 203, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 6375, "end": 6381, "loc": { "start": { "line": 203, "column": 35 }, "end": { "line": 203, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6381, "end": 6382, "loc": { "start": { "line": 203, "column": 41 }, "end": { "line": 203, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6382, "end": 6383, "loc": { "start": { "line": 203, "column": 42 }, "end": { "line": 203, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6391, "end": 6392, "loc": { "start": { "line": 204, "column": 6 }, "end": { "line": 204, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6400, "end": 6401, "loc": { "start": { "line": 206, "column": 4 }, "end": { "line": 206, "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": 6409, "end": 6415, "loc": { "start": { "line": 208, "column": 4 }, "end": { "line": 208, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 6416, "end": 6422, "loc": { "start": { "line": 208, "column": 11 }, "end": { "line": 208, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6422, "end": 6423, "loc": { "start": { "line": 208, "column": 17 }, "end": { "line": 208, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6427, "end": 6428, "loc": { "start": { "line": 209, "column": 2 }, "end": { "line": 209, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Removes an amount of characters at a given position\r\n * \r\n * @param {string} source The source input\r\n * @param {number} position The (cursor) position from where the characters should be removed\r\n ", "start": 6434, "end": 6654, "loc": { "start": { "line": 211, "column": 2 }, "end": { "line": 216, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeAt", "start": 6658, "end": 6666, "loc": { "start": { "line": 217, "column": 2 }, "end": { "line": 217, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6666, "end": 6667, "loc": { "start": { "line": 217, "column": 10 }, "end": { "line": 217, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "source", "start": 6667, "end": 6673, "loc": { "start": { "line": 217, "column": 11 }, "end": { "line": 217, "column": 17 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6673, "end": 6674, "loc": { "start": { "line": 217, "column": 17 }, "end": { "line": 217, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "position", "start": 6675, "end": 6683, "loc": { "start": { "line": 217, "column": 19 }, "end": { "line": 217, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6683, "end": 6684, "loc": { "start": { "line": 217, "column": 27 }, "end": { "line": 217, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6684, "end": 6685, "loc": { "start": { "line": 217, "column": 28 }, "end": { "line": 217, "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": 6691, "end": 6693, "loc": { "start": { "line": 218, "column": 4 }, "end": { "line": 218, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6693, "end": 6694, "loc": { "start": { "line": 218, "column": 6 }, "end": { "line": 218, "column": 7 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 6694, "end": 6698, "loc": { "start": { "line": 218, "column": 7 }, "end": { "line": 218, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6698, "end": 6699, "loc": { "start": { "line": 218, "column": 11 }, "end": { "line": 218, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "simpleKeyboardInstance", "start": 6699, "end": 6721, "loc": { "start": { "line": 218, "column": 12 }, "end": { "line": 218, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6721, "end": 6722, "loc": { "start": { "line": 218, "column": 34 }, "end": { "line": 218, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "caretPosition", "start": 6722, "end": 6735, "loc": { "start": { "line": 218, "column": 35 }, "end": { "line": 218, "column": 48 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 6736, "end": 6739, "loc": { "start": { "line": 218, "column": 49 }, "end": { "line": 218, "column": 52 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 6740, "end": 6741, "loc": { "start": { "line": 218, "column": 53 }, "end": { "line": 218, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6741, "end": 6742, "loc": { "start": { "line": 218, "column": 54 }, "end": { "line": 218, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6742, "end": 6743, "loc": { "start": { "line": 218, "column": 55 }, "end": { "line": 218, "column": 56 } } }, { "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": 6751, "end": 6757, "loc": { "start": { "line": 219, "column": 6 }, "end": { "line": 219, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "source", "start": 6758, "end": 6764, "loc": { "start": { "line": 219, "column": 13 }, "end": { "line": 219, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6764, "end": 6765, "loc": { "start": { "line": 219, "column": 19 }, "end": { "line": 219, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 6771, "end": 6772, "loc": { "start": { "line": 220, "column": 4 }, "end": { "line": 220, "column": 5 } } }, { "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": 6780, "end": 6783, "loc": { "start": { "line": 222, "column": 4 }, "end": { "line": 222, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 6784, "end": 6790, "loc": { "start": { "line": 222, "column": 8 }, "end": { "line": 222, "column": 14 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6790, "end": 6791, "loc": { "start": { "line": 222, "column": 14 }, "end": { "line": 222, "column": 15 } } }, { "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": 6797, "end": 6800, "loc": { "start": { "line": 223, "column": 4 }, "end": { "line": 223, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prevTwoChars", "start": 6801, "end": 6813, "loc": { "start": { "line": 223, "column": 8 }, "end": { "line": 223, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6813, "end": 6814, "loc": { "start": { "line": 223, "column": 20 }, "end": { "line": 223, "column": 21 } } }, { "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": 6820, "end": 6823, "loc": { "start": { "line": 224, "column": 4 }, "end": { "line": 224, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "emojiMatched", "start": 6824, "end": 6836, "loc": { "start": { "line": 224, "column": 8 }, "end": { "line": 224, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6836, "end": 6837, "loc": { "start": { "line": 224, "column": 20 }, "end": { "line": 224, "column": 21 } } }, { "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": 6843, "end": 6846, "loc": { "start": { "line": 225, "column": 4 }, "end": { "line": 225, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "emojiMatchedReg", "start": 6847, "end": 6862, "loc": { "start": { "line": 225, "column": 8 }, "end": { "line": 225, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 6863, "end": 6864, "loc": { "start": { "line": 225, "column": 24 }, "end": { "line": 225, "column": 25 } } }, { "type": { "label": "regexp", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": { "pattern": "([\\uD800-\\uDBFF][\\uDC00-\\uDFFF])", "flags": "g" }, "start": 6865, "end": 6900, "loc": { "start": { "line": 225, "column": 26 }, "end": { "line": 225, "column": 61 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 6900, "end": 6901, "loc": { "start": { "line": 225, "column": 61 }, "end": { "line": 225, "column": 62 } } }, { "type": "CommentBlock", "value": "*\r\n * Emojis are made out of two characters, so we must take a custom approach to trim them.\r\n * For more info: https://mathiasbynens.be/notes/javascript-unicode\r\n ", "start": 6909, "end": 7089, "loc": { "start": { "line": 227, "column": 4 }, "end": { "line": 230, "column": 7 } } }, { "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": 7095, "end": 7097, "loc": { "start": { "line": 231, "column": 4 }, "end": { "line": 231, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7097, "end": 7098, "loc": { "start": { "line": 231, "column": 6 }, "end": { "line": 231, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "position", "start": 7098, "end": 7106, "loc": { "start": { "line": 231, "column": 7 }, "end": { "line": 231, "column": 15 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 7107, "end": 7109, "loc": { "start": { "line": 231, "column": 16 }, "end": { "line": 231, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "position", "start": 7110, "end": 7118, "loc": { "start": { "line": 231, "column": 19 }, "end": { "line": 231, "column": 27 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 7119, "end": 7121, "loc": { "start": { "line": 231, "column": 28 }, "end": { "line": 231, "column": 30 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 7122, "end": 7123, "loc": { "start": { "line": 231, "column": 31 }, "end": { "line": 231, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7123, "end": 7124, "loc": { "start": { "line": 231, "column": 32 }, "end": { "line": 231, "column": 33 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7124, "end": 7125, "loc": { "start": { "line": 231, "column": 33 }, "end": { "line": 231, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prevTwoChars", "start": 7133, "end": 7145, "loc": { "start": { "line": 232, "column": 6 }, "end": { "line": 232, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7146, "end": 7147, "loc": { "start": { "line": 232, "column": 19 }, "end": { "line": 232, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "source", "start": 7148, "end": 7154, "loc": { "start": { "line": 232, "column": 21 }, "end": { "line": 232, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7154, "end": 7155, "loc": { "start": { "line": 232, "column": 27 }, "end": { "line": 232, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substring", "start": 7155, "end": 7164, "loc": { "start": { "line": 232, "column": 28 }, "end": { "line": 232, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7164, "end": 7165, "loc": { "start": { "line": 232, "column": 37 }, "end": { "line": 232, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "position", "start": 7165, "end": 7173, "loc": { "start": { "line": 232, "column": 38 }, "end": { "line": 232, "column": 46 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 7174, "end": 7175, "loc": { "start": { "line": 232, "column": 47 }, "end": { "line": 232, "column": 48 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 7176, "end": 7177, "loc": { "start": { "line": 232, "column": 49 }, "end": { "line": 232, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7177, "end": 7178, "loc": { "start": { "line": 232, "column": 50 }, "end": { "line": 232, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "position", "start": 7179, "end": 7187, "loc": { "start": { "line": 232, "column": 52 }, "end": { "line": 232, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7187, "end": 7188, "loc": { "start": { "line": 232, "column": 60 }, "end": { "line": 232, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "emojiMatched", "start": 7196, "end": 7208, "loc": { "start": { "line": 233, "column": 6 }, "end": { "line": 233, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7209, "end": 7210, "loc": { "start": { "line": 233, "column": 19 }, "end": { "line": 233, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prevTwoChars", "start": 7211, "end": 7223, "loc": { "start": { "line": 233, "column": 21 }, "end": { "line": 233, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7223, "end": 7224, "loc": { "start": { "line": 233, "column": 33 }, "end": { "line": 233, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "match", "start": 7224, "end": 7229, "loc": { "start": { "line": 233, "column": 34 }, "end": { "line": 233, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7229, "end": 7230, "loc": { "start": { "line": 233, "column": 39 }, "end": { "line": 233, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "emojiMatchedReg", "start": 7230, "end": 7245, "loc": { "start": { "line": 233, "column": 40 }, "end": { "line": 233, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7245, "end": 7246, "loc": { "start": { "line": 233, "column": 55 }, "end": { "line": 233, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7246, "end": 7247, "loc": { "start": { "line": 233, "column": 56 }, "end": { "line": 233, "column": 57 } } }, { "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": 7257, "end": 7259, "loc": { "start": { "line": 235, "column": 6 }, "end": { "line": 235, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7259, "end": 7260, "loc": { "start": { "line": 235, "column": 8 }, "end": { "line": 235, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "emojiMatched", "start": 7260, "end": 7272, "loc": { "start": { "line": 235, "column": 9 }, "end": { "line": 235, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7272, "end": 7273, "loc": { "start": { "line": 235, "column": 21 }, "end": { "line": 235, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7273, "end": 7274, "loc": { "start": { "line": 235, "column": 22 }, "end": { "line": 235, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 7284, "end": 7290, "loc": { "start": { "line": 236, "column": 8 }, "end": { "line": 236, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7291, "end": 7292, "loc": { "start": { "line": 236, "column": 15 }, "end": { "line": 236, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "source", "start": 7293, "end": 7299, "loc": { "start": { "line": 236, "column": 17 }, "end": { "line": 236, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7299, "end": 7300, "loc": { "start": { "line": 236, "column": 23 }, "end": { "line": 236, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substr", "start": 7300, "end": 7306, "loc": { "start": { "line": 236, "column": 24 }, "end": { "line": 236, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7306, "end": 7307, "loc": { "start": { "line": 236, "column": 30 }, "end": { "line": 236, "column": 31 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 7307, "end": 7308, "loc": { "start": { "line": 236, "column": 31 }, "end": { "line": 236, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7308, "end": 7309, "loc": { "start": { "line": 236, "column": 32 }, "end": { "line": 236, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7310, "end": 7311, "loc": { "start": { "line": 236, "column": 34 }, "end": { "line": 236, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "position", "start": 7311, "end": 7319, "loc": { "start": { "line": 236, "column": 35 }, "end": { "line": 236, "column": 43 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 7320, "end": 7321, "loc": { "start": { "line": 236, "column": 44 }, "end": { "line": 236, "column": 45 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 7322, "end": 7323, "loc": { "start": { "line": 236, "column": 46 }, "end": { "line": 236, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7323, "end": 7324, "loc": { "start": { "line": 236, "column": 47 }, "end": { "line": 236, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7324, "end": 7325, "loc": { "start": { "line": 236, "column": 48 }, "end": { "line": 236, "column": 49 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 7326, "end": 7327, "loc": { "start": { "line": 236, "column": 50 }, "end": { "line": 236, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "source", "start": 7328, "end": 7334, "loc": { "start": { "line": 236, "column": 52 }, "end": { "line": 236, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7334, "end": 7335, "loc": { "start": { "line": 236, "column": 58 }, "end": { "line": 236, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substr", "start": 7335, "end": 7341, "loc": { "start": { "line": 236, "column": 59 }, "end": { "line": 236, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7341, "end": 7342, "loc": { "start": { "line": 236, "column": 65 }, "end": { "line": 236, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "position", "start": 7342, "end": 7350, "loc": { "start": { "line": 236, "column": 66 }, "end": { "line": 236, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7350, "end": 7351, "loc": { "start": { "line": 236, "column": 74 }, "end": { "line": 236, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7351, "end": 7352, "loc": { "start": { "line": 236, "column": 75 }, "end": { "line": 236, "column": 76 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7362, "end": 7366, "loc": { "start": { "line": 237, "column": 8 }, "end": { "line": 237, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7366, "end": 7367, "loc": { "start": { "line": 237, "column": 12 }, "end": { "line": 237, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updateCaretPos", "start": 7367, "end": 7381, "loc": { "start": { "line": 237, "column": 13 }, "end": { "line": 237, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7381, "end": 7382, "loc": { "start": { "line": 237, "column": 27 }, "end": { "line": 237, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 7382, "end": 7383, "loc": { "start": { "line": 237, "column": 28 }, "end": { "line": 237, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7383, "end": 7384, "loc": { "start": { "line": 237, "column": 29 }, "end": { "line": 237, "column": 30 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 7385, "end": 7389, "loc": { "start": { "line": 237, "column": 31 }, "end": { "line": 237, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7389, "end": 7390, "loc": { "start": { "line": 237, "column": 35 }, "end": { "line": 237, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7390, "end": 7391, "loc": { "start": { "line": 237, "column": 36 }, "end": { "line": 237, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7399, "end": 7400, "loc": { "start": { "line": 238, "column": 6 }, "end": { "line": 238, "column": 7 } } }, { "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": 7401, "end": 7405, "loc": { "start": { "line": 238, "column": 8 }, "end": { "line": 238, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7406, "end": 7407, "loc": { "start": { "line": 238, "column": 13 }, "end": { "line": 238, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 7417, "end": 7423, "loc": { "start": { "line": 239, "column": 8 }, "end": { "line": 239, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7424, "end": 7425, "loc": { "start": { "line": 239, "column": 15 }, "end": { "line": 239, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "source", "start": 7426, "end": 7432, "loc": { "start": { "line": 239, "column": 17 }, "end": { "line": 239, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7432, "end": 7433, "loc": { "start": { "line": 239, "column": 23 }, "end": { "line": 239, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substr", "start": 7433, "end": 7439, "loc": { "start": { "line": 239, "column": 24 }, "end": { "line": 239, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7439, "end": 7440, "loc": { "start": { "line": 239, "column": 30 }, "end": { "line": 239, "column": 31 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 7440, "end": 7441, "loc": { "start": { "line": 239, "column": 31 }, "end": { "line": 239, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7441, "end": 7442, "loc": { "start": { "line": 239, "column": 32 }, "end": { "line": 239, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7443, "end": 7444, "loc": { "start": { "line": 239, "column": 34 }, "end": { "line": 239, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "position", "start": 7444, "end": 7452, "loc": { "start": { "line": 239, "column": 35 }, "end": { "line": 239, "column": 43 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 7453, "end": 7454, "loc": { "start": { "line": 239, "column": 44 }, "end": { "line": 239, "column": 45 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 7455, "end": 7456, "loc": { "start": { "line": 239, "column": 46 }, "end": { "line": 239, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7456, "end": 7457, "loc": { "start": { "line": 239, "column": 47 }, "end": { "line": 239, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7457, "end": 7458, "loc": { "start": { "line": 239, "column": 48 }, "end": { "line": 239, "column": 49 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 7459, "end": 7460, "loc": { "start": { "line": 239, "column": 50 }, "end": { "line": 239, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "source", "start": 7461, "end": 7467, "loc": { "start": { "line": 239, "column": 52 }, "end": { "line": 239, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7467, "end": 7468, "loc": { "start": { "line": 239, "column": 58 }, "end": { "line": 239, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "substr", "start": 7468, "end": 7474, "loc": { "start": { "line": 239, "column": 59 }, "end": { "line": 239, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7474, "end": 7475, "loc": { "start": { "line": 239, "column": 65 }, "end": { "line": 239, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "position", "start": 7475, "end": 7483, "loc": { "start": { "line": 239, "column": 66 }, "end": { "line": 239, "column": 74 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7483, "end": 7484, "loc": { "start": { "line": 239, "column": 74 }, "end": { "line": 239, "column": 75 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7484, "end": 7485, "loc": { "start": { "line": 239, "column": 75 }, "end": { "line": 239, "column": 76 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7495, "end": 7499, "loc": { "start": { "line": 240, "column": 8 }, "end": { "line": 240, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7499, "end": 7500, "loc": { "start": { "line": 240, "column": 12 }, "end": { "line": 240, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updateCaretPos", "start": 7500, "end": 7514, "loc": { "start": { "line": 240, "column": 13 }, "end": { "line": 240, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7514, "end": 7515, "loc": { "start": { "line": 240, "column": 27 }, "end": { "line": 240, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 7515, "end": 7516, "loc": { "start": { "line": 240, "column": 28 }, "end": { "line": 240, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7516, "end": 7517, "loc": { "start": { "line": 240, "column": 29 }, "end": { "line": 240, "column": 30 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 7518, "end": 7522, "loc": { "start": { "line": 240, "column": 31 }, "end": { "line": 240, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7522, "end": 7523, "loc": { "start": { "line": 240, "column": 35 }, "end": { "line": 240, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7523, "end": 7524, "loc": { "start": { "line": 240, "column": 36 }, "end": { "line": 240, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7532, "end": 7533, "loc": { "start": { "line": 241, "column": 6 }, "end": { "line": 241, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7539, "end": 7540, "loc": { "start": { "line": 242, "column": 4 }, "end": { "line": 242, "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": 7541, "end": 7545, "loc": { "start": { "line": 242, "column": 6 }, "end": { "line": 242, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7546, "end": 7547, "loc": { "start": { "line": 242, "column": 11 }, "end": { "line": 242, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prevTwoChars", "start": 7555, "end": 7567, "loc": { "start": { "line": 243, "column": 6 }, "end": { "line": 243, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7568, "end": 7569, "loc": { "start": { "line": 243, "column": 19 }, "end": { "line": 243, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "source", "start": 7570, "end": 7576, "loc": { "start": { "line": 243, "column": 21 }, "end": { "line": 243, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7576, "end": 7577, "loc": { "start": { "line": 243, "column": 27 }, "end": { "line": 243, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slice", "start": 7577, "end": 7582, "loc": { "start": { "line": 243, "column": 28 }, "end": { "line": 243, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7582, "end": 7583, "loc": { "start": { "line": 243, "column": 33 }, "end": { "line": 243, "column": 34 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 7583, "end": 7584, "loc": { "start": { "line": 243, "column": 34 }, "end": { "line": 243, "column": 35 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 7584, "end": 7585, "loc": { "start": { "line": 243, "column": 35 }, "end": { "line": 243, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7585, "end": 7586, "loc": { "start": { "line": 243, "column": 36 }, "end": { "line": 243, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7586, "end": 7587, "loc": { "start": { "line": 243, "column": 37 }, "end": { "line": 243, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "emojiMatched", "start": 7595, "end": 7607, "loc": { "start": { "line": 244, "column": 6 }, "end": { "line": 244, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7608, "end": 7609, "loc": { "start": { "line": 244, "column": 19 }, "end": { "line": 244, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prevTwoChars", "start": 7610, "end": 7622, "loc": { "start": { "line": 244, "column": 21 }, "end": { "line": 244, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7622, "end": 7623, "loc": { "start": { "line": 244, "column": 33 }, "end": { "line": 244, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "match", "start": 7623, "end": 7628, "loc": { "start": { "line": 244, "column": 34 }, "end": { "line": 244, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7628, "end": 7629, "loc": { "start": { "line": 244, "column": 39 }, "end": { "line": 244, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "emojiMatchedReg", "start": 7629, "end": 7644, "loc": { "start": { "line": 244, "column": 40 }, "end": { "line": 244, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7644, "end": 7645, "loc": { "start": { "line": 244, "column": 55 }, "end": { "line": 244, "column": 56 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7645, "end": 7646, "loc": { "start": { "line": 244, "column": 56 }, "end": { "line": 244, "column": 57 } } }, { "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": 7656, "end": 7658, "loc": { "start": { "line": 246, "column": 6 }, "end": { "line": 246, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7658, "end": 7659, "loc": { "start": { "line": 246, "column": 8 }, "end": { "line": 246, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "emojiMatched", "start": 7659, "end": 7671, "loc": { "start": { "line": 246, "column": 9 }, "end": { "line": 246, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7671, "end": 7672, "loc": { "start": { "line": 246, "column": 21 }, "end": { "line": 246, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7672, "end": 7673, "loc": { "start": { "line": 246, "column": 22 }, "end": { "line": 246, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 7683, "end": 7689, "loc": { "start": { "line": 247, "column": 8 }, "end": { "line": 247, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7690, "end": 7691, "loc": { "start": { "line": 247, "column": 15 }, "end": { "line": 247, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "source", "start": 7692, "end": 7698, "loc": { "start": { "line": 247, "column": 17 }, "end": { "line": 247, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7698, "end": 7699, "loc": { "start": { "line": 247, "column": 23 }, "end": { "line": 247, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slice", "start": 7699, "end": 7704, "loc": { "start": { "line": 247, "column": 24 }, "end": { "line": 247, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7704, "end": 7705, "loc": { "start": { "line": 247, "column": 29 }, "end": { "line": 247, "column": 30 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 7705, "end": 7706, "loc": { "start": { "line": 247, "column": 30 }, "end": { "line": 247, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7706, "end": 7707, "loc": { "start": { "line": 247, "column": 31 }, "end": { "line": 247, "column": 32 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 7708, "end": 7709, "loc": { "start": { "line": 247, "column": 33 }, "end": { "line": 247, "column": 34 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 7709, "end": 7710, "loc": { "start": { "line": 247, "column": 34 }, "end": { "line": 247, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7710, "end": 7711, "loc": { "start": { "line": 247, "column": 35 }, "end": { "line": 247, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7711, "end": 7712, "loc": { "start": { "line": 247, "column": 36 }, "end": { "line": 247, "column": 37 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7722, "end": 7726, "loc": { "start": { "line": 248, "column": 8 }, "end": { "line": 248, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7726, "end": 7727, "loc": { "start": { "line": 248, "column": 12 }, "end": { "line": 248, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updateCaretPos", "start": 7727, "end": 7741, "loc": { "start": { "line": 248, "column": 13 }, "end": { "line": 248, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7741, "end": 7742, "loc": { "start": { "line": 248, "column": 27 }, "end": { "line": 248, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 7742, "end": 7743, "loc": { "start": { "line": 248, "column": 28 }, "end": { "line": 248, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7743, "end": 7744, "loc": { "start": { "line": 248, "column": 29 }, "end": { "line": 248, "column": 30 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 7745, "end": 7749, "loc": { "start": { "line": 248, "column": 31 }, "end": { "line": 248, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7749, "end": 7750, "loc": { "start": { "line": 248, "column": 35 }, "end": { "line": 248, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7750, "end": 7751, "loc": { "start": { "line": 248, "column": 36 }, "end": { "line": 248, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7759, "end": 7760, "loc": { "start": { "line": 249, "column": 6 }, "end": { "line": 249, "column": 7 } } }, { "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": 7761, "end": 7765, "loc": { "start": { "line": 249, "column": 8 }, "end": { "line": 249, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7766, "end": 7767, "loc": { "start": { "line": 249, "column": 13 }, "end": { "line": 249, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 7777, "end": 7783, "loc": { "start": { "line": 250, "column": 8 }, "end": { "line": 250, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 7784, "end": 7785, "loc": { "start": { "line": 250, "column": 15 }, "end": { "line": 250, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "source", "start": 7786, "end": 7792, "loc": { "start": { "line": 250, "column": 17 }, "end": { "line": 250, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7792, "end": 7793, "loc": { "start": { "line": 250, "column": 23 }, "end": { "line": 250, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slice", "start": 7793, "end": 7798, "loc": { "start": { "line": 250, "column": 24 }, "end": { "line": 250, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7798, "end": 7799, "loc": { "start": { "line": 250, "column": 29 }, "end": { "line": 250, "column": 30 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 7799, "end": 7800, "loc": { "start": { "line": 250, "column": 30 }, "end": { "line": 250, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7800, "end": 7801, "loc": { "start": { "line": 250, "column": 31 }, "end": { "line": 250, "column": 32 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 7802, "end": 7803, "loc": { "start": { "line": 250, "column": 33 }, "end": { "line": 250, "column": 34 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 7803, "end": 7804, "loc": { "start": { "line": 250, "column": 34 }, "end": { "line": 250, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7804, "end": 7805, "loc": { "start": { "line": 250, "column": 35 }, "end": { "line": 250, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7805, "end": 7806, "loc": { "start": { "line": 250, "column": 36 }, "end": { "line": 250, "column": 37 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 7816, "end": 7820, "loc": { "start": { "line": 251, "column": 8 }, "end": { "line": 251, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7820, "end": 7821, "loc": { "start": { "line": 251, "column": 12 }, "end": { "line": 251, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updateCaretPos", "start": 7821, "end": 7835, "loc": { "start": { "line": 251, "column": 13 }, "end": { "line": 251, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7835, "end": 7836, "loc": { "start": { "line": 251, "column": 27 }, "end": { "line": 251, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 7836, "end": 7837, "loc": { "start": { "line": 251, "column": 28 }, "end": { "line": 251, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7837, "end": 7838, "loc": { "start": { "line": 251, "column": 29 }, "end": { "line": 251, "column": 30 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 7839, "end": 7843, "loc": { "start": { "line": 251, "column": 31 }, "end": { "line": 251, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7843, "end": 7844, "loc": { "start": { "line": 251, "column": 35 }, "end": { "line": 251, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7844, "end": 7845, "loc": { "start": { "line": 251, "column": 36 }, "end": { "line": 251, "column": 37 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7853, "end": 7854, "loc": { "start": { "line": 252, "column": 6 }, "end": { "line": 252, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7860, "end": 7861, "loc": { "start": { "line": 253, "column": 4 }, "end": { "line": 253, "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": 7869, "end": 7875, "loc": { "start": { "line": 255, "column": 4 }, "end": { "line": 255, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "output", "start": 7876, "end": 7882, "loc": { "start": { "line": 255, "column": 11 }, "end": { "line": 255, "column": 17 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 7882, "end": 7883, "loc": { "start": { "line": 255, "column": 17 }, "end": { "line": 255, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 7887, "end": 7888, "loc": { "start": { "line": 256, "column": 2 }, "end": { "line": 256, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Determines whether the maxLength has been reached. This function is called when the maxLength option it set.\r\n * \r\n * @param {object} inputObj\r\n * @param {object} options\r\n * @param {string} updatedInput\r\n ", "start": 7892, "end": 8123, "loc": { "start": { "line": 257, "column": 2 }, "end": { "line": 263, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "handleMaxLength", "start": 8127, "end": 8142, "loc": { "start": { "line": 264, "column": 2 }, "end": { "line": 264, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8142, "end": 8143, "loc": { "start": { "line": 264, "column": 17 }, "end": { "line": 264, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputObj", "start": 8143, "end": 8151, "loc": { "start": { "line": 264, "column": 18 }, "end": { "line": 264, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8151, "end": 8152, "loc": { "start": { "line": 264, "column": 26 }, "end": { "line": 264, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8153, "end": 8160, "loc": { "start": { "line": 264, "column": 28 }, "end": { "line": 264, "column": 35 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8160, "end": 8161, "loc": { "start": { "line": 264, "column": 35 }, "end": { "line": 264, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 8162, "end": 8174, "loc": { "start": { "line": 264, "column": 37 }, "end": { "line": 264, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8174, "end": 8175, "loc": { "start": { "line": 264, "column": 49 }, "end": { "line": 264, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8175, "end": 8176, "loc": { "start": { "line": 264, "column": 50 }, "end": { "line": 264, "column": 51 } } }, { "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": 8182, "end": 8185, "loc": { "start": { "line": 265, "column": 4 }, "end": { "line": 265, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxLength", "start": 8186, "end": 8195, "loc": { "start": { "line": 265, "column": 8 }, "end": { "line": 265, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8196, "end": 8197, "loc": { "start": { "line": 265, "column": 18 }, "end": { "line": 265, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8198, "end": 8205, "loc": { "start": { "line": 265, "column": 20 }, "end": { "line": 265, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8205, "end": 8206, "loc": { "start": { "line": 265, "column": 27 }, "end": { "line": 265, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxLength", "start": 8206, "end": 8215, "loc": { "start": { "line": 265, "column": 28 }, "end": { "line": 265, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8215, "end": 8216, "loc": { "start": { "line": 265, "column": 37 }, "end": { "line": 265, "column": 38 } } }, { "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": 8222, "end": 8225, "loc": { "start": { "line": 266, "column": 4 }, "end": { "line": 266, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentInput", "start": 8226, "end": 8238, "loc": { "start": { "line": 266, "column": 8 }, "end": { "line": 266, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8239, "end": 8240, "loc": { "start": { "line": 266, "column": 21 }, "end": { "line": 266, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputObj", "start": 8241, "end": 8249, "loc": { "start": { "line": 266, "column": 23 }, "end": { "line": 266, "column": 31 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8249, "end": 8250, "loc": { "start": { "line": 266, "column": 31 }, "end": { "line": 266, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8250, "end": 8257, "loc": { "start": { "line": 266, "column": 32 }, "end": { "line": 266, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8257, "end": 8258, "loc": { "start": { "line": 266, "column": 39 }, "end": { "line": 266, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 8258, "end": 8267, "loc": { "start": { "line": 266, "column": 40 }, "end": { "line": 266, "column": 49 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8267, "end": 8268, "loc": { "start": { "line": 266, "column": 49 }, "end": { "line": 266, "column": 50 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8268, "end": 8269, "loc": { "start": { "line": 266, "column": 50 }, "end": { "line": 266, "column": 51 } } }, { "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": 8275, "end": 8278, "loc": { "start": { "line": 267, "column": 4 }, "end": { "line": 267, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "condition", "start": 8279, "end": 8288, "loc": { "start": { "line": 267, "column": 8 }, "end": { "line": 267, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8289, "end": 8290, "loc": { "start": { "line": 267, "column": 18 }, "end": { "line": 267, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentInput", "start": 8291, "end": 8303, "loc": { "start": { "line": 267, "column": 20 }, "end": { "line": 267, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8303, "end": 8304, "loc": { "start": { "line": 267, "column": 32 }, "end": { "line": 267, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 8304, "end": 8310, "loc": { "start": { "line": 267, "column": 33 }, "end": { "line": 267, "column": 39 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 8311, "end": 8314, "loc": { "start": { "line": 267, "column": 40 }, "end": { "line": 267, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxLength", "start": 8315, "end": 8324, "loc": { "start": { "line": 267, "column": 44 }, "end": { "line": 267, "column": 53 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8324, "end": 8325, "loc": { "start": { "line": 267, "column": 53 }, "end": { "line": 267, "column": 54 } } }, { "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": 8335, "end": 8337, "loc": { "start": { "line": 270, "column": 4 }, "end": { "line": 270, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8337, "end": 8338, "loc": { "start": { "line": 270, "column": 6 }, "end": { "line": 270, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * If pressing this button won't add more characters\r\n * We exit out of this limiter function\r\n ", "start": 8346, "end": 8467, "loc": { "start": { "line": 271, "column": 6 }, "end": { "line": 274, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "updatedInput", "start": 8475, "end": 8487, "loc": { "start": { "line": 275, "column": 6 }, "end": { "line": 275, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8487, "end": 8488, "loc": { "start": { "line": 275, "column": 18 }, "end": { "line": 275, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 8488, "end": 8494, "loc": { "start": { "line": 275, "column": 19 }, "end": { "line": 275, "column": 25 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<=", "start": 8495, "end": 8497, "loc": { "start": { "line": 275, "column": 26 }, "end": { "line": 275, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentInput", "start": 8498, "end": 8510, "loc": { "start": { "line": 275, "column": 29 }, "end": { "line": 275, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8510, "end": 8511, "loc": { "start": { "line": 275, "column": 41 }, "end": { "line": 275, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 8511, "end": 8517, "loc": { "start": { "line": 275, "column": 42 }, "end": { "line": 275, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8523, "end": 8524, "loc": { "start": { "line": 276, "column": 4 }, "end": { "line": 276, "column": 5 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8524, "end": 8525, "loc": { "start": { "line": 276, "column": 5 }, "end": { "line": 276, "column": 6 } } }, { "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": 8533, "end": 8539, "loc": { "start": { "line": 277, "column": 6 }, "end": { "line": 277, "column": 12 } } }, { "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": 8540, "end": 8545, "loc": { "start": { "line": 277, "column": 13 }, "end": { "line": 277, "column": 18 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8545, "end": 8546, "loc": { "start": { "line": 277, "column": 18 }, "end": { "line": 277, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8552, "end": 8553, "loc": { "start": { "line": 278, "column": 4 }, "end": { "line": 278, "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": 8561, "end": 8563, "loc": { "start": { "line": 280, "column": 4 }, "end": { "line": 280, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8563, "end": 8564, "loc": { "start": { "line": 280, "column": 6 }, "end": { "line": 280, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Number", "start": 8564, "end": 8570, "loc": { "start": { "line": 280, "column": 7 }, "end": { "line": 280, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8570, "end": 8571, "loc": { "start": { "line": 280, "column": 13 }, "end": { "line": 280, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isInteger", "start": 8571, "end": 8580, "loc": { "start": { "line": 280, "column": 14 }, "end": { "line": 280, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8580, "end": 8581, "loc": { "start": { "line": 280, "column": 23 }, "end": { "line": 280, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxLength", "start": 8581, "end": 8590, "loc": { "start": { "line": 280, "column": 24 }, "end": { "line": 280, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8590, "end": 8591, "loc": { "start": { "line": 280, "column": 33 }, "end": { "line": 280, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8591, "end": 8592, "loc": { "start": { "line": 280, "column": 34 }, "end": { "line": 280, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8592, "end": 8593, "loc": { "start": { "line": 280, "column": 35 }, "end": { "line": 280, "column": 36 } } }, { "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": 8601, "end": 8603, "loc": { "start": { "line": 281, "column": 6 }, "end": { "line": 281, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8603, "end": 8604, "loc": { "start": { "line": 281, "column": 8 }, "end": { "line": 281, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 8604, "end": 8611, "loc": { "start": { "line": 281, "column": 9 }, "end": { "line": 281, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8611, "end": 8612, "loc": { "start": { "line": 281, "column": 16 }, "end": { "line": 281, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 8612, "end": 8617, "loc": { "start": { "line": 281, "column": 17 }, "end": { "line": 281, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8617, "end": 8618, "loc": { "start": { "line": 281, "column": 22 }, "end": { "line": 281, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8618, "end": 8619, "loc": { "start": { "line": 281, "column": 23 }, "end": { "line": 281, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 8629, "end": 8636, "loc": { "start": { "line": 282, "column": 8 }, "end": { "line": 282, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8636, "end": 8637, "loc": { "start": { "line": 282, "column": 15 }, "end": { "line": 282, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 8637, "end": 8640, "loc": { "start": { "line": 282, "column": 16 }, "end": { "line": 282, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8640, "end": 8641, "loc": { "start": { "line": 282, "column": 19 }, "end": { "line": 282, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "maxLength (num) reached:", "start": 8641, "end": 8667, "loc": { "start": { "line": 282, "column": 20 }, "end": { "line": 282, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8667, "end": 8668, "loc": { "start": { "line": 282, "column": 46 }, "end": { "line": 282, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "condition", "start": 8669, "end": 8678, "loc": { "start": { "line": 282, "column": 48 }, "end": { "line": 282, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8678, "end": 8679, "loc": { "start": { "line": 282, "column": 57 }, "end": { "line": 282, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8679, "end": 8680, "loc": { "start": { "line": 282, "column": 58 }, "end": { "line": 282, "column": 59 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8688, "end": 8689, "loc": { "start": { "line": 283, "column": 6 }, "end": { "line": 283, "column": 7 } } }, { "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": 8699, "end": 8701, "loc": { "start": { "line": 285, "column": 6 }, "end": { "line": 285, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8701, "end": 8702, "loc": { "start": { "line": 285, "column": 8 }, "end": { "line": 285, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "condition", "start": 8702, "end": 8711, "loc": { "start": { "line": 285, "column": 9 }, "end": { "line": 285, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8711, "end": 8712, "loc": { "start": { "line": 285, "column": 18 }, "end": { "line": 285, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8712, "end": 8713, "loc": { "start": { "line": 285, "column": 19 }, "end": { "line": 285, "column": 20 } } }, { "type": "CommentBlock", "value": "*\r\n * @type {boolean} Boolean value that shows whether maxLength has been reached\r\n ", "start": 8723, "end": 8827, "loc": { "start": { "line": 286, "column": 8 }, "end": { "line": 288, "column": 11 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8837, "end": 8841, "loc": { "start": { "line": 289, "column": 8 }, "end": { "line": 289, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8841, "end": 8842, "loc": { "start": { "line": 289, "column": 12 }, "end": { "line": 289, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxLengthReached", "start": 8842, "end": 8858, "loc": { "start": { "line": 289, "column": 13 }, "end": { "line": 289, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8859, "end": 8860, "loc": { "start": { "line": 289, "column": 30 }, "end": { "line": 289, "column": 31 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 8861, "end": 8865, "loc": { "start": { "line": 289, "column": 32 }, "end": { "line": 289, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8865, "end": 8866, "loc": { "start": { "line": 289, "column": 36 }, "end": { "line": 289, "column": 37 } } }, { "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": 8876, "end": 8882, "loc": { "start": { "line": 290, "column": 8 }, "end": { "line": 290, "column": 14 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 8883, "end": 8887, "loc": { "start": { "line": 290, "column": 15 }, "end": { "line": 290, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8887, "end": 8888, "loc": { "start": { "line": 290, "column": 19 }, "end": { "line": 290, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8896, "end": 8897, "loc": { "start": { "line": 291, "column": 6 }, "end": { "line": 291, "column": 7 } } }, { "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": 8898, "end": 8902, "loc": { "start": { "line": 291, "column": 8 }, "end": { "line": 291, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8903, "end": 8904, "loc": { "start": { "line": 291, "column": 13 }, "end": { "line": 291, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 8914, "end": 8918, "loc": { "start": { "line": 292, "column": 8 }, "end": { "line": 292, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8918, "end": 8919, "loc": { "start": { "line": 292, "column": 12 }, "end": { "line": 292, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxLengthReached", "start": 8919, "end": 8935, "loc": { "start": { "line": 292, "column": 13 }, "end": { "line": 292, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 8936, "end": 8937, "loc": { "start": { "line": 292, "column": 30 }, "end": { "line": 292, "column": 31 } } }, { "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": 8938, "end": 8943, "loc": { "start": { "line": 292, "column": 32 }, "end": { "line": 292, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8943, "end": 8944, "loc": { "start": { "line": 292, "column": 37 }, "end": { "line": 292, "column": 38 } } }, { "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": 8954, "end": 8960, "loc": { "start": { "line": 293, "column": 8 }, "end": { "line": 293, "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": 8961, "end": 8966, "loc": { "start": { "line": 293, "column": 15 }, "end": { "line": 293, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 8966, "end": 8967, "loc": { "start": { "line": 293, "column": 20 }, "end": { "line": 293, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8975, "end": 8976, "loc": { "start": { "line": 294, "column": 6 }, "end": { "line": 294, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8982, "end": 8983, "loc": { "start": { "line": 295, "column": 4 }, "end": { "line": 295, "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": 8991, "end": 8993, "loc": { "start": { "line": 297, "column": 4 }, "end": { "line": 297, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 8993, "end": 8994, "loc": { "start": { "line": 297, "column": 6 }, "end": { "line": 297, "column": 7 } } }, { "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": 8994, "end": 9000, "loc": { "start": { "line": 297, "column": 7 }, "end": { "line": 297, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxLength", "start": 9001, "end": 9010, "loc": { "start": { "line": 297, "column": 14 }, "end": { "line": 297, "column": 23 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9011, "end": 9014, "loc": { "start": { "line": 297, "column": 24 }, "end": { "line": 297, "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": 9015, "end": 9023, "loc": { "start": { "line": 297, "column": 28 }, "end": { "line": 297, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9023, "end": 9024, "loc": { "start": { "line": 297, "column": 36 }, "end": { "line": 297, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9024, "end": 9025, "loc": { "start": { "line": 297, "column": 37 }, "end": { "line": 297, "column": 38 } } }, { "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": 9033, "end": 9036, "loc": { "start": { "line": 298, "column": 6 }, "end": { "line": 298, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "condition", "start": 9037, "end": 9046, "loc": { "start": { "line": 298, "column": 10 }, "end": { "line": 298, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9047, "end": 9048, "loc": { "start": { "line": 298, "column": 20 }, "end": { "line": 298, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentInput", "start": 9049, "end": 9061, "loc": { "start": { "line": 298, "column": 22 }, "end": { "line": 298, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9061, "end": 9062, "loc": { "start": { "line": 298, "column": 34 }, "end": { "line": 298, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 9062, "end": 9068, "loc": { "start": { "line": 298, "column": 35 }, "end": { "line": 298, "column": 41 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 9069, "end": 9072, "loc": { "start": { "line": 298, "column": 42 }, "end": { "line": 298, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxLength", "start": 9073, "end": 9082, "loc": { "start": { "line": 298, "column": 46 }, "end": { "line": 298, "column": 55 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9082, "end": 9083, "loc": { "start": { "line": 298, "column": 55 }, "end": { "line": 298, "column": 56 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 9083, "end": 9090, "loc": { "start": { "line": 298, "column": 56 }, "end": { "line": 298, "column": 63 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9090, "end": 9091, "loc": { "start": { "line": 298, "column": 63 }, "end": { "line": 298, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "inputName", "start": 9091, "end": 9100, "loc": { "start": { "line": 298, "column": 64 }, "end": { "line": 298, "column": 73 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9100, "end": 9101, "loc": { "start": { "line": 298, "column": 73 }, "end": { "line": 298, "column": 74 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9101, "end": 9102, "loc": { "start": { "line": 298, "column": 74 }, "end": { "line": 298, "column": 75 } } }, { "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": 9112, "end": 9114, "loc": { "start": { "line": 300, "column": 6 }, "end": { "line": 300, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9114, "end": 9115, "loc": { "start": { "line": 300, "column": 8 }, "end": { "line": 300, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "options", "start": 9115, "end": 9122, "loc": { "start": { "line": 300, "column": 9 }, "end": { "line": 300, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9122, "end": 9123, "loc": { "start": { "line": 300, "column": 16 }, "end": { "line": 300, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "debug", "start": 9123, "end": 9128, "loc": { "start": { "line": 300, "column": 17 }, "end": { "line": 300, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9128, "end": 9129, "loc": { "start": { "line": 300, "column": 22 }, "end": { "line": 300, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9129, "end": 9130, "loc": { "start": { "line": 300, "column": 23 }, "end": { "line": 300, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "console", "start": 9140, "end": 9147, "loc": { "start": { "line": 301, "column": 8 }, "end": { "line": 301, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9147, "end": 9148, "loc": { "start": { "line": 301, "column": 15 }, "end": { "line": 301, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "log", "start": 9148, "end": 9151, "loc": { "start": { "line": 301, "column": 16 }, "end": { "line": 301, "column": 19 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9151, "end": 9152, "loc": { "start": { "line": 301, "column": 19 }, "end": { "line": 301, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "maxLength (obj) reached:", "start": 9152, "end": 9178, "loc": { "start": { "line": 301, "column": 20 }, "end": { "line": 301, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9178, "end": 9179, "loc": { "start": { "line": 301, "column": 46 }, "end": { "line": 301, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "condition", "start": 9180, "end": 9189, "loc": { "start": { "line": 301, "column": 48 }, "end": { "line": 301, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9189, "end": 9190, "loc": { "start": { "line": 301, "column": 57 }, "end": { "line": 301, "column": 58 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9190, "end": 9191, "loc": { "start": { "line": 301, "column": 58 }, "end": { "line": 301, "column": 59 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9199, "end": 9200, "loc": { "start": { "line": 302, "column": 6 }, "end": { "line": 302, "column": 7 } } }, { "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": 9210, "end": 9212, "loc": { "start": { "line": 304, "column": 6 }, "end": { "line": 304, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9212, "end": 9213, "loc": { "start": { "line": 304, "column": 8 }, "end": { "line": 304, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "condition", "start": 9213, "end": 9222, "loc": { "start": { "line": 304, "column": 9 }, "end": { "line": 304, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9222, "end": 9223, "loc": { "start": { "line": 304, "column": 18 }, "end": { "line": 304, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9223, "end": 9224, "loc": { "start": { "line": 304, "column": 19 }, "end": { "line": 304, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9234, "end": 9238, "loc": { "start": { "line": 305, "column": 8 }, "end": { "line": 305, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9238, "end": 9239, "loc": { "start": { "line": 305, "column": 12 }, "end": { "line": 305, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxLengthReached", "start": 9239, "end": 9255, "loc": { "start": { "line": 305, "column": 13 }, "end": { "line": 305, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9256, "end": 9257, "loc": { "start": { "line": 305, "column": 30 }, "end": { "line": 305, "column": 31 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 9258, "end": 9262, "loc": { "start": { "line": 305, "column": 32 }, "end": { "line": 305, "column": 36 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9262, "end": 9263, "loc": { "start": { "line": 305, "column": 36 }, "end": { "line": 305, "column": 37 } } }, { "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": 9273, "end": 9279, "loc": { "start": { "line": 306, "column": 8 }, "end": { "line": 306, "column": 14 } } }, { "type": { "label": "true", "keyword": "true", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "true", "start": 9280, "end": 9284, "loc": { "start": { "line": 306, "column": 15 }, "end": { "line": 306, "column": 19 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9284, "end": 9285, "loc": { "start": { "line": 306, "column": 19 }, "end": { "line": 306, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9293, "end": 9294, "loc": { "start": { "line": 307, "column": 6 }, "end": { "line": 307, "column": 7 } } }, { "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": 9295, "end": 9299, "loc": { "start": { "line": 307, "column": 8 }, "end": { "line": 307, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9300, "end": 9301, "loc": { "start": { "line": 307, "column": 13 }, "end": { "line": 307, "column": 14 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9311, "end": 9315, "loc": { "start": { "line": 308, "column": 8 }, "end": { "line": 308, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9315, "end": 9316, "loc": { "start": { "line": 308, "column": 12 }, "end": { "line": 308, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxLengthReached", "start": 9316, "end": 9332, "loc": { "start": { "line": 308, "column": 13 }, "end": { "line": 308, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9333, "end": 9334, "loc": { "start": { "line": 308, "column": 30 }, "end": { "line": 308, "column": 31 } } }, { "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": 9335, "end": 9340, "loc": { "start": { "line": 308, "column": 32 }, "end": { "line": 308, "column": 37 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9340, "end": 9341, "loc": { "start": { "line": 308, "column": 37 }, "end": { "line": 308, "column": 38 } } }, { "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": 9351, "end": 9357, "loc": { "start": { "line": 309, "column": 8 }, "end": { "line": 309, "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": 9358, "end": 9363, "loc": { "start": { "line": 309, "column": 15 }, "end": { "line": 309, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9363, "end": 9364, "loc": { "start": { "line": 309, "column": 20 }, "end": { "line": 309, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9372, "end": 9373, "loc": { "start": { "line": 310, "column": 6 }, "end": { "line": 310, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9379, "end": 9380, "loc": { "start": { "line": 311, "column": 4 }, "end": { "line": 311, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9384, "end": 9385, "loc": { "start": { "line": 312, "column": 2 }, "end": { "line": 312, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Gets the current value of maxLengthReached\r\n ", "start": 9391, "end": 9450, "loc": { "start": { "line": 314, "column": 2 }, "end": { "line": 316, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "isMaxLengthReached", "start": 9454, "end": 9472, "loc": { "start": { "line": 317, "column": 2 }, "end": { "line": 317, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9473, "end": 9474, "loc": { "start": { "line": 317, "column": 21 }, "end": { "line": 317, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9475, "end": 9476, "loc": { "start": { "line": 317, "column": 23 }, "end": { "line": 317, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9476, "end": 9477, "loc": { "start": { "line": 317, "column": 24 }, "end": { "line": 317, "column": 25 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9478, "end": 9480, "loc": { "start": { "line": 317, "column": 26 }, "end": { "line": 317, "column": 28 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9481, "end": 9482, "loc": { "start": { "line": 317, "column": 29 }, "end": { "line": 317, "column": 30 } } }, { "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": 9488, "end": 9494, "loc": { "start": { "line": 318, "column": 4 }, "end": { "line": 318, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Boolean", "start": 9495, "end": 9502, "loc": { "start": { "line": 318, "column": 11 }, "end": { "line": 318, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9502, "end": 9503, "loc": { "start": { "line": 318, "column": 18 }, "end": { "line": 318, "column": 19 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 9503, "end": 9507, "loc": { "start": { "line": 318, "column": 19 }, "end": { "line": 318, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9507, "end": 9508, "loc": { "start": { "line": 318, "column": 23 }, "end": { "line": 318, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "maxLengthReached", "start": 9508, "end": 9524, "loc": { "start": { "line": 318, "column": 24 }, "end": { "line": 318, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9524, "end": 9525, "loc": { "start": { "line": 318, "column": 40 }, "end": { "line": 318, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9525, "end": 9526, "loc": { "start": { "line": 318, "column": 41 }, "end": { "line": 318, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9530, "end": 9531, "loc": { "start": { "line": 319, "column": 2 }, "end": { "line": 319, "column": 3 } } }, { "type": "CommentBlock", "value": "*\r\n * Transforms an arbitrary string to camelCase\r\n * \r\n * @param {string} string The string to transform.\r\n ", "start": 9537, "end": 9659, "loc": { "start": { "line": 321, "column": 2 }, "end": { "line": 325, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "camelCase", "start": 9663, "end": 9672, "loc": { "start": { "line": 326, "column": 2 }, "end": { "line": 326, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 9673, "end": 9674, "loc": { "start": { "line": 326, "column": 12 }, "end": { "line": 326, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9675, "end": 9676, "loc": { "start": { "line": 326, "column": 14 }, "end": { "line": 326, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "string", "start": 9676, "end": 9682, "loc": { "start": { "line": 326, "column": 15 }, "end": { "line": 326, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9682, "end": 9683, "loc": { "start": { "line": 326, "column": 21 }, "end": { "line": 326, "column": 22 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9684, "end": 9686, "loc": { "start": { "line": 326, "column": 23 }, "end": { "line": 326, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9687, "end": 9688, "loc": { "start": { "line": 326, "column": 26 }, "end": { "line": 326, "column": 27 } } }, { "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": 9694, "end": 9700, "loc": { "start": { "line": 327, "column": 4 }, "end": { "line": 327, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "string", "start": 9701, "end": 9707, "loc": { "start": { "line": 327, "column": 11 }, "end": { "line": 327, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9707, "end": 9708, "loc": { "start": { "line": 327, "column": 17 }, "end": { "line": 327, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toLowerCase", "start": 9708, "end": 9719, "loc": { "start": { "line": 327, "column": 18 }, "end": { "line": 327, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9719, "end": 9720, "loc": { "start": { "line": 327, "column": 29 }, "end": { "line": 327, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9720, "end": 9721, "loc": { "start": { "line": 327, "column": 30 }, "end": { "line": 327, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9721, "end": 9722, "loc": { "start": { "line": 327, "column": 31 }, "end": { "line": 327, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "trim", "start": 9722, "end": 9726, "loc": { "start": { "line": 327, "column": 32 }, "end": { "line": 327, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9726, "end": 9727, "loc": { "start": { "line": 327, "column": 36 }, "end": { "line": 327, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9727, "end": 9728, "loc": { "start": { "line": 327, "column": 37 }, "end": { "line": 327, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9728, "end": 9729, "loc": { "start": { "line": 327, "column": 38 }, "end": { "line": 327, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "split", "start": 9729, "end": 9734, "loc": { "start": { "line": 327, "column": 39 }, "end": { "line": 327, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9734, "end": 9735, "loc": { "start": { "line": 327, "column": 44 }, "end": { "line": 327, "column": 45 } } }, { "type": { "label": "regexp", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": { "pattern": "[.\\-_\\s]", "flags": "g" }, "start": 9735, "end": 9746, "loc": { "start": { "line": 327, "column": 45 }, "end": { "line": 327, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9746, "end": 9747, "loc": { "start": { "line": 327, "column": 56 }, "end": { "line": 327, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9747, "end": 9748, "loc": { "start": { "line": 327, "column": 57 }, "end": { "line": 327, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reduce", "start": 9748, "end": 9754, "loc": { "start": { "line": 327, "column": 58 }, "end": { "line": 327, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9754, "end": 9755, "loc": { "start": { "line": 327, "column": 64 }, "end": { "line": 327, "column": 65 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9755, "end": 9756, "loc": { "start": { "line": 327, "column": 65 }, "end": { "line": 327, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "string", "start": 9756, "end": 9762, "loc": { "start": { "line": 327, "column": 66 }, "end": { "line": 327, "column": 72 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9762, "end": 9763, "loc": { "start": { "line": 327, "column": 72 }, "end": { "line": 327, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "word", "start": 9764, "end": 9768, "loc": { "start": { "line": 327, "column": 74 }, "end": { "line": 327, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9768, "end": 9769, "loc": { "start": { "line": 327, "column": 78 }, "end": { "line": 327, "column": 79 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9770, "end": 9772, "loc": { "start": { "line": 327, "column": 80 }, "end": { "line": 327, "column": 82 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "string", "start": 9773, "end": 9779, "loc": { "start": { "line": 327, "column": 83 }, "end": { "line": 327, "column": 89 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 9780, "end": 9781, "loc": { "start": { "line": 327, "column": 90 }, "end": { "line": 327, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "word", "start": 9782, "end": 9786, "loc": { "start": { "line": 327, "column": 92 }, "end": { "line": 327, "column": 96 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9786, "end": 9787, "loc": { "start": { "line": 327, "column": 96 }, "end": { "line": 327, "column": 97 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 9787, "end": 9788, "loc": { "start": { "line": 327, "column": 97 }, "end": { "line": 327, "column": 98 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9788, "end": 9789, "loc": { "start": { "line": 327, "column": 98 }, "end": { "line": 327, "column": 99 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9789, "end": 9790, "loc": { "start": { "line": 327, "column": 99 }, "end": { "line": 327, "column": 100 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toUpperCase", "start": 9790, "end": 9801, "loc": { "start": { "line": 327, "column": 100 }, "end": { "line": 327, "column": 111 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9801, "end": 9802, "loc": { "start": { "line": 327, "column": 111 }, "end": { "line": 327, "column": 112 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9802, "end": 9803, "loc": { "start": { "line": 327, "column": 112 }, "end": { "line": 327, "column": 113 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 9804, "end": 9805, "loc": { "start": { "line": 327, "column": 114 }, "end": { "line": 327, "column": 115 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "word", "start": 9806, "end": 9810, "loc": { "start": { "line": 327, "column": 116 }, "end": { "line": 327, "column": 120 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9810, "end": 9811, "loc": { "start": { "line": 327, "column": 120 }, "end": { "line": 327, "column": 121 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "slice", "start": 9811, "end": 9816, "loc": { "start": { "line": 327, "column": 121 }, "end": { "line": 327, "column": 126 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9816, "end": 9817, "loc": { "start": { "line": 327, "column": 126 }, "end": { "line": 327, "column": 127 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 9817, "end": 9818, "loc": { "start": { "line": 327, "column": 127 }, "end": { "line": 327, "column": 128 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9818, "end": 9819, "loc": { "start": { "line": 327, "column": 128 }, "end": { "line": 327, "column": 129 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9819, "end": 9820, "loc": { "start": { "line": 327, "column": 129 }, "end": { "line": 327, "column": 130 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9820, "end": 9821, "loc": { "start": { "line": 327, "column": 130 }, "end": { "line": 327, "column": 131 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 9825, "end": 9826, "loc": { "start": { "line": 328, "column": 2 }, "end": { "line": 328, "column": 3 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 9826, "end": 9827, "loc": { "start": { "line": 328, "column": 3 }, "end": { "line": 328, "column": 4 } } }, { "type": "CommentBlock", "value": "*\r\n * Counts the number of duplicates in a given array\r\n * \r\n * @param {Array} array The haystack to search in\r\n * @param {string} value The needle to search for\r\n ", "start": 9833, "end": 10013, "loc": { "start": { "line": 330, "column": 2 }, "end": { "line": 335, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "countInArray", "start": 10017, "end": 10029, "loc": { "start": { "line": 336, "column": 2 }, "end": { "line": 336, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 10030, "end": 10031, "loc": { "start": { "line": 336, "column": 15 }, "end": { "line": 336, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10032, "end": 10033, "loc": { "start": { "line": 336, "column": 17 }, "end": { "line": 336, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 10033, "end": 10038, "loc": { "start": { "line": 336, "column": 18 }, "end": { "line": 336, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10038, "end": 10039, "loc": { "start": { "line": 336, "column": 23 }, "end": { "line": 336, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 10040, "end": 10045, "loc": { "start": { "line": 336, "column": 25 }, "end": { "line": 336, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10045, "end": 10046, "loc": { "start": { "line": 336, "column": 30 }, "end": { "line": 336, "column": 31 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10047, "end": 10049, "loc": { "start": { "line": 336, "column": 32 }, "end": { "line": 336, "column": 34 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10050, "end": 10051, "loc": { "start": { "line": 336, "column": 35 }, "end": { "line": 336, "column": 36 } } }, { "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": 10057, "end": 10063, "loc": { "start": { "line": 337, "column": 4 }, "end": { "line": 337, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "array", "start": 10064, "end": 10069, "loc": { "start": { "line": 337, "column": 11 }, "end": { "line": 337, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10069, "end": 10070, "loc": { "start": { "line": 337, "column": 16 }, "end": { "line": 337, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "reduce", "start": 10070, "end": 10076, "loc": { "start": { "line": 337, "column": 17 }, "end": { "line": 337, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10076, "end": 10077, "loc": { "start": { "line": 337, "column": 23 }, "end": { "line": 337, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10077, "end": 10078, "loc": { "start": { "line": 337, "column": 24 }, "end": { "line": 337, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "n", "start": 10078, "end": 10079, "loc": { "start": { "line": 337, "column": 25 }, "end": { "line": 337, "column": 26 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10079, "end": 10080, "loc": { "start": { "line": 337, "column": 26 }, "end": { "line": 337, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 10081, "end": 10082, "loc": { "start": { "line": 337, "column": 28 }, "end": { "line": 337, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10082, "end": 10083, "loc": { "start": { "line": 337, "column": 29 }, "end": { "line": 337, "column": 30 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10084, "end": 10086, "loc": { "start": { "line": 337, "column": 31 }, "end": { "line": 337, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "n", "start": 10087, "end": 10088, "loc": { "start": { "line": 337, "column": 34 }, "end": { "line": 337, "column": 35 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 10089, "end": 10090, "loc": { "start": { "line": 337, "column": 36 }, "end": { "line": 337, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10091, "end": 10092, "loc": { "start": { "line": 337, "column": 38 }, "end": { "line": 337, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "x", "start": 10092, "end": 10093, "loc": { "start": { "line": 337, "column": 39 }, "end": { "line": 337, "column": 40 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 10094, "end": 10097, "loc": { "start": { "line": 337, "column": 41 }, "end": { "line": 337, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 10098, "end": 10103, "loc": { "start": { "line": 337, "column": 45 }, "end": { "line": 337, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10103, "end": 10104, "loc": { "start": { "line": 337, "column": 50 }, "end": { "line": 337, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10104, "end": 10105, "loc": { "start": { "line": 337, "column": 51 }, "end": { "line": 337, "column": 52 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 10106, "end": 10107, "loc": { "start": { "line": 337, "column": 53 }, "end": { "line": 337, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10107, "end": 10108, "loc": { "start": { "line": 337, "column": 54 }, "end": { "line": 337, "column": 55 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10108, "end": 10109, "loc": { "start": { "line": 337, "column": 55 }, "end": { "line": 337, "column": 56 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10113, "end": 10114, "loc": { "start": { "line": 338, "column": 2 }, "end": { "line": 338, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 10118, "end": 10119, "loc": { "start": { "line": 340, "column": 0 }, "end": { "line": 340, "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": 10123, "end": 10129, "loc": { "start": { "line": 342, "column": 0 }, "end": { "line": 342, "column": 6 } } }, { "type": { "label": "default", "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "default", "start": 10130, "end": 10137, "loc": { "start": { "line": 342, "column": 7 }, "end": { "line": 342, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Utilities", "start": 10138, "end": 10147, "loc": { "start": { "line": 342, "column": 15 }, "end": { "line": 342, "column": 24 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10147, "end": 10148, "loc": { "start": { "line": 342, "column": 24 }, "end": { "line": 342, "column": 25 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 10148, "end": 10148, "loc": { "start": { "line": 342, "column": 25 }, "end": { "line": 342, "column": 25 } } } ] }