{ "type": "File", "start": 0, "end": 2654, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 85, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 2654, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 85, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 28, "end": 118, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 90 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 37, "end": 56, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 28 } }, "imported": { "type": "Identifier", "start": 37, "end": 56, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 28 }, "identifierName": "getRelativePosition" }, "name": "getRelativePosition", "leadingComments": null }, "local": { "type": "Identifier", "start": 37, "end": 56, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 28 }, "identifierName": "getRelativePosition" }, "name": "getRelativePosition" }, "leadingComments": null }, { "type": "ImportSpecifier", "start": 58, "end": 78, "loc": { "start": { "line": 3, "column": 30 }, "end": { "line": 3, "column": 50 } }, "imported": { "type": "Identifier", "start": 58, "end": 78, "loc": { "start": { "line": 3, "column": 30 }, "end": { "line": 3, "column": 50 }, "identifierName": "fromRelativePosition" }, "name": "fromRelativePosition" }, "local": { "type": "Identifier", "start": 58, "end": 78, "loc": { "start": { "line": 3, "column": 30 }, "end": { "line": 3, "column": 50 }, "identifierName": "fromRelativePosition" }, "name": "fromRelativePosition" } } ], "source": { "type": "StringLiteral", "start": 86, "end": 118, "loc": { "start": { "line": 3, "column": 58 }, "end": { "line": 3, "column": 90 } }, "extra": { "rawValue": "../../Util/relativePosition.js", "raw": "'../../Util/relativePosition.js'" }, "value": "../../Util/relativePosition.js" }, "leadingComments": [ { "type": "CommentBlock", "value": " globals getSelection ", "start": 0, "end": 26, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 26 } } } ] }, { "type": "VariableDeclaration", "start": 120, "end": 147, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 27 } }, "declarations": [ { "type": "VariableDeclarator", "start": 124, "end": 147, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 27 } }, "id": { "type": "Identifier", "start": 124, "end": 140, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 20 }, "identifierName": "browserSelection" }, "name": "browserSelection" }, "init": { "type": "NullLiteral", "start": 143, "end": 147, "loc": { "start": { "line": 5, "column": 23 }, "end": { "line": 5, "column": 27 } } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 148, "end": 176, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", "start": 152, "end": 176, "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 6, "column": 28 } }, "id": { "type": "Identifier", "start": 152, "end": 169, "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 6, "column": 21 }, "identifierName": "relativeSelection" }, "name": "relativeSelection" }, "init": { "type": "NullLiteral", "start": 172, "end": 176, "loc": { "start": { "line": 6, "column": 24 }, "end": { "line": 6, "column": 28 } }, "leadingComments": null, "trailingComments": null }, "trailingComments": null } ], "kind": "let", "trailingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 178, "end": 197, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 10, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 198, "end": 240, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 42 } }, "specifiers": [], "source": null, "declaration": { "type": "VariableDeclaration", "start": 205, "end": 240, "loc": { "start": { "line": 11, "column": 7 }, "end": { "line": 11, "column": 42 } }, "declarations": [ { "type": "VariableDeclarator", "start": 209, "end": 240, "loc": { "start": { "line": 11, "column": 11 }, "end": { "line": 11, "column": 42 } }, "id": { "type": "Identifier", "start": 209, "end": 240, "loc": { "start": { "line": 11, "column": 11 }, "end": { "line": 11, "column": 42 }, "identifierName": "beforeTransactionSelectionFixer" }, "name": "beforeTransactionSelectionFixer", "leadingComments": null }, "init": null, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 178, "end": 197, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 10, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 178, "end": 197, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 10, "column": 3 } } } ] }, { "type": "IfStatement", "start": 241, "end": 1303, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 34, "column": 1 } }, "test": { "type": "BinaryExpression", "start": 245, "end": 280, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 39 } }, "left": { "type": "UnaryExpression", "start": 245, "end": 264, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 23 } }, "operator": "typeof", "prefix": true, "argument": { "type": "Identifier", "start": 252, "end": 264, "loc": { "start": { "line": 12, "column": 11 }, "end": { "line": 12, "column": 23 }, "identifierName": "getSelection" }, "name": "getSelection" }, "extra": { "parenthesizedArgument": false } }, "operator": "!==", "right": { "type": "StringLiteral", "start": 269, "end": 280, "loc": { "start": { "line": 12, "column": 28 }, "end": { "line": 12, "column": 39 } }, "extra": { "rawValue": "undefined", "raw": "'undefined'" }, "value": "undefined" } }, "consequent": { "type": "BlockStatement", "start": 282, "end": 1206, "loc": { "start": { "line": 12, "column": 41 }, "end": { "line": 32, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 286, "end": 1204, "loc": { "start": { "line": 13, "column": 2 }, "end": { "line": 31, "column": 3 } }, "expression": { "type": "AssignmentExpression", "start": 286, "end": 1204, "loc": { "start": { "line": 13, "column": 2 }, "end": { "line": 31, "column": 3 } }, "operator": "=", "left": { "type": "Identifier", "start": 286, "end": 317, "loc": { "start": { "line": 13, "column": 2 }, "end": { "line": 13, "column": 33 }, "identifierName": "beforeTransactionSelectionFixer" }, "name": "beforeTransactionSelectionFixer" }, "right": { "type": "FunctionExpression", "start": 320, "end": 1204, "loc": { "start": { "line": 13, "column": 36 }, "end": { "line": 31, "column": 3 } }, "id": { "type": "Identifier", "start": 329, "end": 361, "loc": { "start": { "line": 13, "column": 45 }, "end": { "line": 13, "column": 77 }, "identifierName": "_beforeTransactionSelectionFixer" }, "name": "_beforeTransactionSelectionFixer" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 363, "end": 364, "loc": { "start": { "line": 13, "column": 79 }, "end": { "line": 13, "column": 80 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 366, "end": 376, "loc": { "start": { "line": 13, "column": 82 }, "end": { "line": 13, "column": 92 }, "identifierName": "domBinding" }, "name": "domBinding" }, { "type": "Identifier", "start": 378, "end": 389, "loc": { "start": { "line": 13, "column": 94 }, "end": { "line": 13, "column": 105 }, "identifierName": "transaction" }, "name": "transaction" }, { "type": "Identifier", "start": 391, "end": 397, "loc": { "start": { "line": 13, "column": 107 }, "end": { "line": 13, "column": 113 }, "identifierName": "remote" }, "name": "remote" } ], "body": { "type": "BlockStatement", "start": 399, "end": 1204, "loc": { "start": { "line": 13, "column": 115 }, "end": { "line": 31, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 405, "end": 438, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 16, "column": 5 } }, "test": { "type": "UnaryExpression", "start": 409, "end": 416, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 15 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 410, "end": 416, "loc": { "start": { "line": 14, "column": 9 }, "end": { "line": 14, "column": 15 }, "identifierName": "remote" }, "name": "remote" }, "extra": { "parenthesizedArgument": false } }, "consequent": { "type": "BlockStatement", "start": 418, "end": 438, "loc": { "start": { "line": 14, "column": 17 }, "end": { "line": 16, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 426, "end": 432, "loc": { "start": { "line": 15, "column": 6 }, "end": { "line": 15, "column": 12 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "ExpressionStatement", "start": 443, "end": 511, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 72 } }, "expression": { "type": "AssignmentExpression", "start": 443, "end": 511, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 72 } }, "operator": "=", "left": { "type": "Identifier", "start": 443, "end": 460, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 21 }, "identifierName": "relativeSelection" }, "name": "relativeSelection" }, "right": { "type": "ObjectExpression", "start": 463, "end": 511, "loc": { "start": { "line": 17, "column": 24 }, "end": { "line": 17, "column": 72 } }, "properties": [ { "type": "ObjectProperty", "start": 465, "end": 475, "loc": { "start": { "line": 17, "column": 26 }, "end": { "line": 17, "column": 36 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 465, "end": 469, "loc": { "start": { "line": 17, "column": 26 }, "end": { "line": 17, "column": 30 }, "identifierName": "from" }, "name": "from" }, "value": { "type": "NullLiteral", "start": 471, "end": 475, "loc": { "start": { "line": 17, "column": 32 }, "end": { "line": 17, "column": 36 } } } }, { "type": "ObjectProperty", "start": 477, "end": 485, "loc": { "start": { "line": 17, "column": 38 }, "end": { "line": 17, "column": 46 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 477, "end": 479, "loc": { "start": { "line": 17, "column": 38 }, "end": { "line": 17, "column": 40 }, "identifierName": "to" }, "name": "to" }, "value": { "type": "NullLiteral", "start": 481, "end": 485, "loc": { "start": { "line": 17, "column": 42 }, "end": { "line": 17, "column": 46 } } } }, { "type": "ObjectProperty", "start": 487, "end": 498, "loc": { "start": { "line": 17, "column": 48 }, "end": { "line": 17, "column": 59 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 487, "end": 492, "loc": { "start": { "line": 17, "column": 48 }, "end": { "line": 17, "column": 53 }, "identifierName": "fromY" }, "name": "fromY" }, "value": { "type": "NullLiteral", "start": 494, "end": 498, "loc": { "start": { "line": 17, "column": 55 }, "end": { "line": 17, "column": 59 } } } }, { "type": "ObjectProperty", "start": 500, "end": 509, "loc": { "start": { "line": 17, "column": 61 }, "end": { "line": 17, "column": 70 } }, "method": false, "shorthand": false, "computed": false, "key": { "type": "Identifier", "start": 500, "end": 503, "loc": { "start": { "line": 17, "column": 61 }, "end": { "line": 17, "column": 64 }, "identifierName": "toY" }, "name": "toY" }, "value": { "type": "NullLiteral", "start": 505, "end": 509, "loc": { "start": { "line": 17, "column": 66 }, "end": { "line": 17, "column": 70 } } } } ] } } }, { "type": "ExpressionStatement", "start": 516, "end": 549, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 37 } }, "expression": { "type": "AssignmentExpression", "start": 516, "end": 549, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 37 } }, "operator": "=", "left": { "type": "Identifier", "start": 516, "end": 532, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 20 }, "identifierName": "browserSelection" }, "name": "browserSelection" }, "right": { "type": "CallExpression", "start": 535, "end": 549, "loc": { "start": { "line": 18, "column": 23 }, "end": { "line": 18, "column": 37 } }, "callee": { "type": "Identifier", "start": 535, "end": 547, "loc": { "start": { "line": 18, "column": 23 }, "end": { "line": 18, "column": 35 }, "identifierName": "getSelection" }, "name": "getSelection" }, "arguments": [] } } }, { "type": "VariableDeclaration", "start": 554, "end": 600, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 19, "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", "start": 560, "end": 600, "loc": { "start": { "line": 19, "column": 10 }, "end": { "line": 19, "column": 50 } }, "id": { "type": "Identifier", "start": 560, "end": 570, "loc": { "start": { "line": 19, "column": 10 }, "end": { "line": 19, "column": 20 }, "identifierName": "anchorNode" }, "name": "anchorNode" }, "init": { "type": "MemberExpression", "start": 573, "end": 600, "loc": { "start": { "line": 19, "column": 23 }, "end": { "line": 19, "column": 50 } }, "object": { "type": "Identifier", "start": 573, "end": 589, "loc": { "start": { "line": 19, "column": 23 }, "end": { "line": 19, "column": 39 }, "identifierName": "browserSelection" }, "name": "browserSelection" }, "property": { "type": "Identifier", "start": 590, "end": 600, "loc": { "start": { "line": 19, "column": 40 }, "end": { "line": 19, "column": 50 }, "identifierName": "anchorNode" }, "name": "anchorNode" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 605, "end": 664, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 63 } }, "declarations": [ { "type": "VariableDeclarator", "start": 611, "end": 664, "loc": { "start": { "line": 20, "column": 10 }, "end": { "line": 20, "column": 63 } }, "id": { "type": "Identifier", "start": 611, "end": 625, "loc": { "start": { "line": 20, "column": 10 }, "end": { "line": 20, "column": 24 }, "identifierName": "anchorNodeType" }, "name": "anchorNodeType" }, "init": { "type": "CallExpression", "start": 628, "end": 664, "loc": { "start": { "line": 20, "column": 27 }, "end": { "line": 20, "column": 63 } }, "callee": { "type": "MemberExpression", "start": 628, "end": 652, "loc": { "start": { "line": 20, "column": 27 }, "end": { "line": 20, "column": 51 } }, "object": { "type": "MemberExpression", "start": 628, "end": 648, "loc": { "start": { "line": 20, "column": 27 }, "end": { "line": 20, "column": 47 } }, "object": { "type": "Identifier", "start": 628, "end": 638, "loc": { "start": { "line": 20, "column": 27 }, "end": { "line": 20, "column": 37 }, "identifierName": "domBinding" }, "name": "domBinding" }, "property": { "type": "Identifier", "start": 639, "end": 648, "loc": { "start": { "line": 20, "column": 38 }, "end": { "line": 20, "column": 47 }, "identifierName": "domToType" }, "name": "domToType" }, "computed": false }, "property": { "type": "Identifier", "start": 649, "end": 652, "loc": { "start": { "line": 20, "column": 48 }, "end": { "line": 20, "column": 51 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 653, "end": 663, "loc": { "start": { "line": 20, "column": 52 }, "end": { "line": 20, "column": 62 }, "identifierName": "anchorNode" }, "name": "anchorNode" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 669, "end": 881, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 24, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 673, "end": 724, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 59 } }, "left": { "type": "BinaryExpression", "start": 673, "end": 692, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 27 } }, "left": { "type": "Identifier", "start": 673, "end": 683, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 18 }, "identifierName": "anchorNode" }, "name": "anchorNode" }, "operator": "!==", "right": { "type": "NullLiteral", "start": 688, "end": 692, "loc": { "start": { "line": 21, "column": 23 }, "end": { "line": 21, "column": 27 } } } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 696, "end": 724, "loc": { "start": { "line": 21, "column": 31 }, "end": { "line": 21, "column": 59 } }, "left": { "type": "Identifier", "start": 696, "end": 710, "loc": { "start": { "line": 21, "column": 31 }, "end": { "line": 21, "column": 45 }, "identifierName": "anchorNodeType" }, "name": "anchorNodeType" }, "operator": "!==", "right": { "type": "Identifier", "start": 715, "end": 724, "loc": { "start": { "line": 21, "column": 50 }, "end": { "line": 21, "column": 59 }, "identifierName": "undefined" }, "name": "undefined" } } }, "consequent": { "type": "BlockStatement", "start": 726, "end": 881, "loc": { "start": { "line": 21, "column": 61 }, "end": { "line": 24, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 734, "end": 825, "loc": { "start": { "line": 22, "column": 6 }, "end": { "line": 22, "column": 97 } }, "expression": { "type": "AssignmentExpression", "start": 734, "end": 825, "loc": { "start": { "line": 22, "column": 6 }, "end": { "line": 22, "column": 97 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 734, "end": 756, "loc": { "start": { "line": 22, "column": 6 }, "end": { "line": 22, "column": 28 } }, "object": { "type": "Identifier", "start": 734, "end": 751, "loc": { "start": { "line": 22, "column": 6 }, "end": { "line": 22, "column": 23 }, "identifierName": "relativeSelection" }, "name": "relativeSelection" }, "property": { "type": "Identifier", "start": 752, "end": 756, "loc": { "start": { "line": 22, "column": 24 }, "end": { "line": 22, "column": 28 }, "identifierName": "from" }, "name": "from" }, "computed": false }, "right": { "type": "CallExpression", "start": 759, "end": 825, "loc": { "start": { "line": 22, "column": 31 }, "end": { "line": 22, "column": 97 } }, "callee": { "type": "Identifier", "start": 759, "end": 778, "loc": { "start": { "line": 22, "column": 31 }, "end": { "line": 22, "column": 50 }, "identifierName": "getRelativePosition" }, "name": "getRelativePosition" }, "arguments": [ { "type": "Identifier", "start": 779, "end": 793, "loc": { "start": { "line": 22, "column": 51 }, "end": { "line": 22, "column": 65 }, "identifierName": "anchorNodeType" }, "name": "anchorNodeType" }, { "type": "MemberExpression", "start": 795, "end": 824, "loc": { "start": { "line": 22, "column": 67 }, "end": { "line": 22, "column": 96 } }, "object": { "type": "Identifier", "start": 795, "end": 811, "loc": { "start": { "line": 22, "column": 67 }, "end": { "line": 22, "column": 83 }, "identifierName": "browserSelection" }, "name": "browserSelection" }, "property": { "type": "Identifier", "start": 812, "end": 824, "loc": { "start": { "line": 22, "column": 84 }, "end": { "line": 22, "column": 96 }, "identifierName": "anchorOffset" }, "name": "anchorOffset" }, "computed": false } ] } } }, { "type": "ExpressionStatement", "start": 832, "end": 875, "loc": { "start": { "line": 23, "column": 6 }, "end": { "line": 23, "column": 49 } }, "expression": { "type": "AssignmentExpression", "start": 832, "end": 875, "loc": { "start": { "line": 23, "column": 6 }, "end": { "line": 23, "column": 49 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 832, "end": 855, "loc": { "start": { "line": 23, "column": 6 }, "end": { "line": 23, "column": 29 } }, "object": { "type": "Identifier", "start": 832, "end": 849, "loc": { "start": { "line": 23, "column": 6 }, "end": { "line": 23, "column": 23 }, "identifierName": "relativeSelection" }, "name": "relativeSelection" }, "property": { "type": "Identifier", "start": 850, "end": 855, "loc": { "start": { "line": 23, "column": 24 }, "end": { "line": 23, "column": 29 }, "identifierName": "fromY" }, "name": "fromY" }, "computed": false }, "right": { "type": "MemberExpression", "start": 858, "end": 875, "loc": { "start": { "line": 23, "column": 32 }, "end": { "line": 23, "column": 49 } }, "object": { "type": "Identifier", "start": 858, "end": 872, "loc": { "start": { "line": 23, "column": 32 }, "end": { "line": 23, "column": 46 }, "identifierName": "anchorNodeType" }, "name": "anchorNodeType" }, "property": { "type": "Identifier", "start": 873, "end": 875, "loc": { "start": { "line": 23, "column": 47 }, "end": { "line": 23, "column": 49 }, "identifierName": "_y" }, "name": "_y" }, "computed": false } } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 886, "end": 930, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 892, "end": 930, "loc": { "start": { "line": 25, "column": 10 }, "end": { "line": 25, "column": 48 } }, "id": { "type": "Identifier", "start": 892, "end": 901, "loc": { "start": { "line": 25, "column": 10 }, "end": { "line": 25, "column": 19 }, "identifierName": "focusNode" }, "name": "focusNode" }, "init": { "type": "MemberExpression", "start": 904, "end": 930, "loc": { "start": { "line": 25, "column": 22 }, "end": { "line": 25, "column": 48 } }, "object": { "type": "Identifier", "start": 904, "end": 920, "loc": { "start": { "line": 25, "column": 22 }, "end": { "line": 25, "column": 38 }, "identifierName": "browserSelection" }, "name": "browserSelection" }, "property": { "type": "Identifier", "start": 921, "end": 930, "loc": { "start": { "line": 25, "column": 39 }, "end": { "line": 25, "column": 48 }, "identifierName": "focusNode" }, "name": "focusNode" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 935, "end": 992, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 941, "end": 992, "loc": { "start": { "line": 26, "column": 10 }, "end": { "line": 26, "column": 61 } }, "id": { "type": "Identifier", "start": 941, "end": 954, "loc": { "start": { "line": 26, "column": 10 }, "end": { "line": 26, "column": 23 }, "identifierName": "focusNodeType" }, "name": "focusNodeType" }, "init": { "type": "CallExpression", "start": 957, "end": 992, "loc": { "start": { "line": 26, "column": 26 }, "end": { "line": 26, "column": 61 } }, "callee": { "type": "MemberExpression", "start": 957, "end": 981, "loc": { "start": { "line": 26, "column": 26 }, "end": { "line": 26, "column": 50 } }, "object": { "type": "MemberExpression", "start": 957, "end": 977, "loc": { "start": { "line": 26, "column": 26 }, "end": { "line": 26, "column": 46 } }, "object": { "type": "Identifier", "start": 957, "end": 967, "loc": { "start": { "line": 26, "column": 26 }, "end": { "line": 26, "column": 36 }, "identifierName": "domBinding" }, "name": "domBinding" }, "property": { "type": "Identifier", "start": 968, "end": 977, "loc": { "start": { "line": 26, "column": 37 }, "end": { "line": 26, "column": 46 }, "identifierName": "domToType" }, "name": "domToType" }, "computed": false }, "property": { "type": "Identifier", "start": 978, "end": 981, "loc": { "start": { "line": 26, "column": 47 }, "end": { "line": 26, "column": 50 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 982, "end": 991, "loc": { "start": { "line": 26, "column": 51 }, "end": { "line": 26, "column": 60 }, "identifierName": "focusNode" }, "name": "focusNode" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 997, "end": 1200, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 30, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 1001, "end": 1050, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 57 } }, "left": { "type": "BinaryExpression", "start": 1001, "end": 1019, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 26 } }, "left": { "type": "Identifier", "start": 1001, "end": 1010, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 17 }, "identifierName": "focusNode" }, "name": "focusNode" }, "operator": "!==", "right": { "type": "NullLiteral", "start": 1015, "end": 1019, "loc": { "start": { "line": 27, "column": 22 }, "end": { "line": 27, "column": 26 } } } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 1023, "end": 1050, "loc": { "start": { "line": 27, "column": 30 }, "end": { "line": 27, "column": 57 } }, "left": { "type": "Identifier", "start": 1023, "end": 1036, "loc": { "start": { "line": 27, "column": 30 }, "end": { "line": 27, "column": 43 }, "identifierName": "focusNodeType" }, "name": "focusNodeType" }, "operator": "!==", "right": { "type": "Identifier", "start": 1041, "end": 1050, "loc": { "start": { "line": 27, "column": 48 }, "end": { "line": 27, "column": 57 }, "identifierName": "undefined" }, "name": "undefined" } } }, "consequent": { "type": "BlockStatement", "start": 1052, "end": 1200, "loc": { "start": { "line": 27, "column": 59 }, "end": { "line": 30, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1060, "end": 1147, "loc": { "start": { "line": 28, "column": 6 }, "end": { "line": 28, "column": 93 } }, "expression": { "type": "AssignmentExpression", "start": 1060, "end": 1147, "loc": { "start": { "line": 28, "column": 6 }, "end": { "line": 28, "column": 93 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1060, "end": 1080, "loc": { "start": { "line": 28, "column": 6 }, "end": { "line": 28, "column": 26 } }, "object": { "type": "Identifier", "start": 1060, "end": 1077, "loc": { "start": { "line": 28, "column": 6 }, "end": { "line": 28, "column": 23 }, "identifierName": "relativeSelection" }, "name": "relativeSelection" }, "property": { "type": "Identifier", "start": 1078, "end": 1080, "loc": { "start": { "line": 28, "column": 24 }, "end": { "line": 28, "column": 26 }, "identifierName": "to" }, "name": "to" }, "computed": false }, "right": { "type": "CallExpression", "start": 1083, "end": 1147, "loc": { "start": { "line": 28, "column": 29 }, "end": { "line": 28, "column": 93 } }, "callee": { "type": "Identifier", "start": 1083, "end": 1102, "loc": { "start": { "line": 28, "column": 29 }, "end": { "line": 28, "column": 48 }, "identifierName": "getRelativePosition" }, "name": "getRelativePosition" }, "arguments": [ { "type": "Identifier", "start": 1103, "end": 1116, "loc": { "start": { "line": 28, "column": 49 }, "end": { "line": 28, "column": 62 }, "identifierName": "focusNodeType" }, "name": "focusNodeType" }, { "type": "MemberExpression", "start": 1118, "end": 1146, "loc": { "start": { "line": 28, "column": 64 }, "end": { "line": 28, "column": 92 } }, "object": { "type": "Identifier", "start": 1118, "end": 1134, "loc": { "start": { "line": 28, "column": 64 }, "end": { "line": 28, "column": 80 }, "identifierName": "browserSelection" }, "name": "browserSelection" }, "property": { "type": "Identifier", "start": 1135, "end": 1146, "loc": { "start": { "line": 28, "column": 81 }, "end": { "line": 28, "column": 92 }, "identifierName": "focusOffset" }, "name": "focusOffset" }, "computed": false } ] } } }, { "type": "ExpressionStatement", "start": 1154, "end": 1194, "loc": { "start": { "line": 29, "column": 6 }, "end": { "line": 29, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 1154, "end": 1194, "loc": { "start": { "line": 29, "column": 6 }, "end": { "line": 29, "column": 46 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1154, "end": 1175, "loc": { "start": { "line": 29, "column": 6 }, "end": { "line": 29, "column": 27 } }, "object": { "type": "Identifier", "start": 1154, "end": 1171, "loc": { "start": { "line": 29, "column": 6 }, "end": { "line": 29, "column": 23 }, "identifierName": "relativeSelection" }, "name": "relativeSelection" }, "property": { "type": "Identifier", "start": 1172, "end": 1175, "loc": { "start": { "line": 29, "column": 24 }, "end": { "line": 29, "column": 27 }, "identifierName": "toY" }, "name": "toY" }, "computed": false }, "right": { "type": "MemberExpression", "start": 1178, "end": 1194, "loc": { "start": { "line": 29, "column": 30 }, "end": { "line": 29, "column": 46 } }, "object": { "type": "Identifier", "start": 1178, "end": 1191, "loc": { "start": { "line": 29, "column": 30 }, "end": { "line": 29, "column": 43 }, "identifierName": "focusNodeType" }, "name": "focusNodeType" }, "property": { "type": "Identifier", "start": 1192, "end": 1194, "loc": { "start": { "line": 29, "column": 44 }, "end": { "line": 29, "column": 46 }, "identifierName": "_y" }, "name": "_y" }, "computed": false } } } ], "directives": [] }, "alternate": null } ], "directives": [] } } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 1212, "end": 1303, "loc": { "start": { "line": 32, "column": 7 }, "end": { "line": 34, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 1216, "end": 1301, "loc": { "start": { "line": 33, "column": 2 }, "end": { "line": 33, "column": 87 } }, "expression": { "type": "AssignmentExpression", "start": 1216, "end": 1301, "loc": { "start": { "line": 33, "column": 2 }, "end": { "line": 33, "column": 87 } }, "operator": "=", "left": { "type": "Identifier", "start": 1216, "end": 1247, "loc": { "start": { "line": 33, "column": 2 }, "end": { "line": 33, "column": 33 }, "identifierName": "beforeTransactionSelectionFixer" }, "name": "beforeTransactionSelectionFixer" }, "right": { "type": "FunctionExpression", "start": 1250, "end": 1301, "loc": { "start": { "line": 33, "column": 36 }, "end": { "line": 33, "column": 87 } }, "id": { "type": "Identifier", "start": 1259, "end": 1295, "loc": { "start": { "line": 33, "column": 45 }, "end": { "line": 33, "column": 81 }, "identifierName": "_fakeBeforeTransactionSelectionFixer" }, "name": "_fakeBeforeTransactionSelectionFixer" }, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1299, "end": 1301, "loc": { "start": { "line": 33, "column": 85 }, "end": { "line": 33, "column": 87 } }, "body": [], "directives": [] } } } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 1305, "end": 1324, "loc": { "start": { "line": 36, "column": 0 }, "end": { "line": 38, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 1325, "end": 2653, "loc": { "start": { "line": 39, "column": 0 }, "end": { "line": 84, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 1332, "end": 2653, "loc": { "start": { "line": 39, "column": 7 }, "end": { "line": 84, "column": 1 } }, "id": { "type": "Identifier", "start": 1341, "end": 1371, "loc": { "start": { "line": 39, "column": 16 }, "end": { "line": 39, "column": 46 }, "identifierName": "afterTransactionSelectionFixer" }, "name": "afterTransactionSelectionFixer", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1373, "end": 1374, "loc": { "start": { "line": 39, "column": 48 }, "end": { "line": 39, "column": 49 }, "identifierName": "y" }, "name": "y" }, { "type": "Identifier", "start": 1376, "end": 1386, "loc": { "start": { "line": 39, "column": 51 }, "end": { "line": 39, "column": 61 }, "identifierName": "domBinding" }, "name": "domBinding" }, { "type": "Identifier", "start": 1388, "end": 1399, "loc": { "start": { "line": 39, "column": 63 }, "end": { "line": 39, "column": 74 }, "identifierName": "transaction" }, "name": "transaction" }, { "type": "Identifier", "start": 1401, "end": 1407, "loc": { "start": { "line": 39, "column": 76 }, "end": { "line": 39, "column": 82 }, "identifierName": "remote" }, "name": "remote" } ], "body": { "type": "BlockStatement", "start": 1409, "end": 2653, "loc": { "start": { "line": 39, "column": 84 }, "end": { "line": 84, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 1413, "end": 1472, "loc": { "start": { "line": 40, "column": 2 }, "end": { "line": 42, "column": 3 } }, "test": { "type": "LogicalExpression", "start": 1417, "end": 1454, "loc": { "start": { "line": 40, "column": 6 }, "end": { "line": 40, "column": 43 } }, "left": { "type": "BinaryExpression", "start": 1417, "end": 1443, "loc": { "start": { "line": 40, "column": 6 }, "end": { "line": 40, "column": 32 } }, "left": { "type": "Identifier", "start": 1417, "end": 1434, "loc": { "start": { "line": 40, "column": 6 }, "end": { "line": 40, "column": 23 }, "identifierName": "relativeSelection" }, "name": "relativeSelection" }, "operator": "===", "right": { "type": "NullLiteral", "start": 1439, "end": 1443, "loc": { "start": { "line": 40, "column": 28 }, "end": { "line": 40, "column": 32 } } } }, "operator": "||", "right": { "type": "UnaryExpression", "start": 1447, "end": 1454, "loc": { "start": { "line": 40, "column": 36 }, "end": { "line": 40, "column": 43 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 1448, "end": 1454, "loc": { "start": { "line": 40, "column": 37 }, "end": { "line": 40, "column": 43 }, "identifierName": "remote" }, "name": "remote" }, "extra": { "parenthesizedArgument": false } } }, "consequent": { "type": "BlockStatement", "start": 1456, "end": 1472, "loc": { "start": { "line": 40, "column": 45 }, "end": { "line": 42, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 1462, "end": 1468, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 10 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 1475, "end": 1506, "loc": { "start": { "line": 43, "column": 2 }, "end": { "line": 43, "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1481, "end": 1506, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 33 } }, "id": { "type": "Identifier", "start": 1481, "end": 1483, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 10 }, "identifierName": "to" }, "name": "to" }, "init": { "type": "MemberExpression", "start": 1486, "end": 1506, "loc": { "start": { "line": 43, "column": 13 }, "end": { "line": 43, "column": 33 } }, "object": { "type": "Identifier", "start": 1486, "end": 1503, "loc": { "start": { "line": 43, "column": 13 }, "end": { "line": 43, "column": 30 }, "identifierName": "relativeSelection" }, "name": "relativeSelection" }, "property": { "type": "Identifier", "start": 1504, "end": 1506, "loc": { "start": { "line": 43, "column": 31 }, "end": { "line": 43, "column": 33 }, "identifierName": "to" }, "name": "to" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 1509, "end": 1544, "loc": { "start": { "line": 44, "column": 2 }, "end": { "line": 44, "column": 37 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1515, "end": 1544, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 37 } }, "id": { "type": "Identifier", "start": 1515, "end": 1519, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 12 }, "identifierName": "from" }, "name": "from" }, "init": { "type": "MemberExpression", "start": 1522, "end": 1544, "loc": { "start": { "line": 44, "column": 15 }, "end": { "line": 44, "column": 37 } }, "object": { "type": "Identifier", "start": 1522, "end": 1539, "loc": { "start": { "line": 44, "column": 15 }, "end": { "line": 44, "column": 32 }, "identifierName": "relativeSelection" }, "name": "relativeSelection" }, "property": { "type": "Identifier", "start": 1540, "end": 1544, "loc": { "start": { "line": 44, "column": 33 }, "end": { "line": 44, "column": 37 }, "identifierName": "from" }, "name": "from" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 1547, "end": 1584, "loc": { "start": { "line": 45, "column": 2 }, "end": { "line": 45, "column": 39 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1553, "end": 1584, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 39 } }, "id": { "type": "Identifier", "start": 1553, "end": 1558, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 13 }, "identifierName": "fromY" }, "name": "fromY" }, "init": { "type": "MemberExpression", "start": 1561, "end": 1584, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 45, "column": 39 } }, "object": { "type": "Identifier", "start": 1561, "end": 1578, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 45, "column": 33 }, "identifierName": "relativeSelection" }, "name": "relativeSelection" }, "property": { "type": "Identifier", "start": 1579, "end": 1584, "loc": { "start": { "line": 45, "column": 34 }, "end": { "line": 45, "column": 39 }, "identifierName": "fromY" }, "name": "fromY" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 1587, "end": 1620, "loc": { "start": { "line": 46, "column": 2 }, "end": { "line": 46, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1593, "end": 1620, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 35 } }, "id": { "type": "Identifier", "start": 1593, "end": 1596, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 11 }, "identifierName": "toY" }, "name": "toY" }, "init": { "type": "MemberExpression", "start": 1599, "end": 1620, "loc": { "start": { "line": 46, "column": 14 }, "end": { "line": 46, "column": 35 } }, "object": { "type": "Identifier", "start": 1599, "end": 1616, "loc": { "start": { "line": 46, "column": 14 }, "end": { "line": 46, "column": 31 }, "identifierName": "relativeSelection" }, "name": "relativeSelection" }, "property": { "type": "Identifier", "start": 1617, "end": 1620, "loc": { "start": { "line": 46, "column": 32 }, "end": { "line": 46, "column": 35 }, "identifierName": "toY" }, "name": "toY" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 1623, "end": 1647, "loc": { "start": { "line": 47, "column": 2 }, "end": { "line": 47, "column": 26 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1627, "end": 1647, "loc": { "start": { "line": 47, "column": 6 }, "end": { "line": 47, "column": 26 } }, "id": { "type": "Identifier", "start": 1627, "end": 1639, "loc": { "start": { "line": 47, "column": 6 }, "end": { "line": 47, "column": 18 }, "identifierName": "shouldUpdate" }, "name": "shouldUpdate" }, "init": { "type": "BooleanLiteral", "start": 1642, "end": 1647, "loc": { "start": { "line": 47, "column": 21 }, "end": { "line": 47, "column": 26 } }, "value": false } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 1650, "end": 1694, "loc": { "start": { "line": 48, "column": 2 }, "end": { "line": 48, "column": 46 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1654, "end": 1694, "loc": { "start": { "line": 48, "column": 6 }, "end": { "line": 48, "column": 46 } }, "id": { "type": "Identifier", "start": 1654, "end": 1664, "loc": { "start": { "line": 48, "column": 6 }, "end": { "line": 48, "column": 16 }, "identifierName": "anchorNode" }, "name": "anchorNode" }, "init": { "type": "MemberExpression", "start": 1667, "end": 1694, "loc": { "start": { "line": 48, "column": 19 }, "end": { "line": 48, "column": 46 } }, "object": { "type": "Identifier", "start": 1667, "end": 1683, "loc": { "start": { "line": 48, "column": 19 }, "end": { "line": 48, "column": 35 }, "identifierName": "browserSelection" }, "name": "browserSelection" }, "property": { "type": "Identifier", "start": 1684, "end": 1694, "loc": { "start": { "line": 48, "column": 36 }, "end": { "line": 48, "column": 46 }, "identifierName": "anchorNode" }, "name": "anchorNode" }, "computed": false } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 1697, "end": 1745, "loc": { "start": { "line": 49, "column": 2 }, "end": { "line": 49, "column": 50 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1701, "end": 1745, "loc": { "start": { "line": 49, "column": 6 }, "end": { "line": 49, "column": 50 } }, "id": { "type": "Identifier", "start": 1701, "end": 1713, "loc": { "start": { "line": 49, "column": 6 }, "end": { "line": 49, "column": 18 }, "identifierName": "anchorOffset" }, "name": "anchorOffset" }, "init": { "type": "MemberExpression", "start": 1716, "end": 1745, "loc": { "start": { "line": 49, "column": 21 }, "end": { "line": 49, "column": 50 } }, "object": { "type": "Identifier", "start": 1716, "end": 1732, "loc": { "start": { "line": 49, "column": 21 }, "end": { "line": 49, "column": 37 }, "identifierName": "browserSelection" }, "name": "browserSelection" }, "property": { "type": "Identifier", "start": 1733, "end": 1745, "loc": { "start": { "line": 49, "column": 38 }, "end": { "line": 49, "column": 50 }, "identifierName": "anchorOffset" }, "name": "anchorOffset" }, "computed": false } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 1748, "end": 1790, "loc": { "start": { "line": 50, "column": 2 }, "end": { "line": 50, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1752, "end": 1790, "loc": { "start": { "line": 50, "column": 6 }, "end": { "line": 50, "column": 44 } }, "id": { "type": "Identifier", "start": 1752, "end": 1761, "loc": { "start": { "line": 50, "column": 6 }, "end": { "line": 50, "column": 15 }, "identifierName": "focusNode" }, "name": "focusNode" }, "init": { "type": "MemberExpression", "start": 1764, "end": 1790, "loc": { "start": { "line": 50, "column": 18 }, "end": { "line": 50, "column": 44 } }, "object": { "type": "Identifier", "start": 1764, "end": 1780, "loc": { "start": { "line": 50, "column": 18 }, "end": { "line": 50, "column": 34 }, "identifierName": "browserSelection" }, "name": "browserSelection" }, "property": { "type": "Identifier", "start": 1781, "end": 1790, "loc": { "start": { "line": 50, "column": 35 }, "end": { "line": 50, "column": 44 }, "identifierName": "focusNode" }, "name": "focusNode" }, "computed": false } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 1793, "end": 1839, "loc": { "start": { "line": 51, "column": 2 }, "end": { "line": 51, "column": 48 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1797, "end": 1839, "loc": { "start": { "line": 51, "column": 6 }, "end": { "line": 51, "column": 48 } }, "id": { "type": "Identifier", "start": 1797, "end": 1808, "loc": { "start": { "line": 51, "column": 6 }, "end": { "line": 51, "column": 17 }, "identifierName": "focusOffset" }, "name": "focusOffset" }, "init": { "type": "MemberExpression", "start": 1811, "end": 1839, "loc": { "start": { "line": 51, "column": 20 }, "end": { "line": 51, "column": 48 } }, "object": { "type": "Identifier", "start": 1811, "end": 1827, "loc": { "start": { "line": 51, "column": 20 }, "end": { "line": 51, "column": 36 }, "identifierName": "browserSelection" }, "name": "browserSelection" }, "property": { "type": "Identifier", "start": 1828, "end": 1839, "loc": { "start": { "line": 51, "column": 37 }, "end": { "line": 51, "column": 48 }, "identifierName": "focusOffset" }, "name": "focusOffset" }, "computed": false } } ], "kind": "let" }, { "type": "IfStatement", "start": 1842, "end": 2178, "loc": { "start": { "line": 52, "column": 2 }, "end": { "line": 63, "column": 3 } }, "test": { "type": "BinaryExpression", "start": 1846, "end": 1859, "loc": { "start": { "line": 52, "column": 6 }, "end": { "line": 52, "column": 19 } }, "left": { "type": "Identifier", "start": 1846, "end": 1850, "loc": { "start": { "line": 52, "column": 6 }, "end": { "line": 52, "column": 10 }, "identifierName": "from" }, "name": "from" }, "operator": "!==", "right": { "type": "NullLiteral", "start": 1855, "end": 1859, "loc": { "start": { "line": 52, "column": 15 }, "end": { "line": 52, "column": 19 } } } }, "consequent": { "type": "BlockStatement", "start": 1861, "end": 2178, "loc": { "start": { "line": 52, "column": 21 }, "end": { "line": 63, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 1867, "end": 1910, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 47 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1871, "end": 1910, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 47 } }, "id": { "type": "Identifier", "start": 1871, "end": 1874, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 11 }, "identifierName": "sel" }, "name": "sel" }, "init": { "type": "CallExpression", "start": 1877, "end": 1910, "loc": { "start": { "line": 53, "column": 14 }, "end": { "line": 53, "column": 47 } }, "callee": { "type": "Identifier", "start": 1877, "end": 1897, "loc": { "start": { "line": 53, "column": 14 }, "end": { "line": 53, "column": 34 }, "identifierName": "fromRelativePosition" }, "name": "fromRelativePosition" }, "arguments": [ { "type": "Identifier", "start": 1898, "end": 1903, "loc": { "start": { "line": 53, "column": 35 }, "end": { "line": 53, "column": 40 }, "identifierName": "fromY" }, "name": "fromY" }, { "type": "Identifier", "start": 1905, "end": 1909, "loc": { "start": { "line": 53, "column": 42 }, "end": { "line": 53, "column": 46 }, "identifierName": "from" }, "name": "from" } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 1915, "end": 2174, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 62, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 1919, "end": 1931, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 20 } }, "left": { "type": "Identifier", "start": 1919, "end": 1922, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 11 }, "identifierName": "sel" }, "name": "sel" }, "operator": "!==", "right": { "type": "NullLiteral", "start": 1927, "end": 1931, "loc": { "start": { "line": 54, "column": 16 }, "end": { "line": 54, "column": 20 } } } }, "consequent": { "type": "BlockStatement", "start": 1933, "end": 2174, "loc": { "start": { "line": 54, "column": 22 }, "end": { "line": 62, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 1941, "end": 1986, "loc": { "start": { "line": 55, "column": 6 }, "end": { "line": 55, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1945, "end": 1986, "loc": { "start": { "line": 55, "column": 10 }, "end": { "line": 55, "column": 51 } }, "id": { "type": "Identifier", "start": 1945, "end": 1949, "loc": { "start": { "line": 55, "column": 10 }, "end": { "line": 55, "column": 14 }, "identifierName": "node" }, "name": "node" }, "init": { "type": "CallExpression", "start": 1952, "end": 1986, "loc": { "start": { "line": 55, "column": 17 }, "end": { "line": 55, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 1952, "end": 1976, "loc": { "start": { "line": 55, "column": 17 }, "end": { "line": 55, "column": 41 } }, "object": { "type": "MemberExpression", "start": 1952, "end": 1972, "loc": { "start": { "line": 55, "column": 17 }, "end": { "line": 55, "column": 37 } }, "object": { "type": "Identifier", "start": 1952, "end": 1962, "loc": { "start": { "line": 55, "column": 17 }, "end": { "line": 55, "column": 27 }, "identifierName": "domBinding" }, "name": "domBinding" }, "property": { "type": "Identifier", "start": 1963, "end": 1972, "loc": { "start": { "line": 55, "column": 28 }, "end": { "line": 55, "column": 37 }, "identifierName": "typeToDom" }, "name": "typeToDom" }, "computed": false }, "property": { "type": "Identifier", "start": 1973, "end": 1976, "loc": { "start": { "line": 55, "column": 38 }, "end": { "line": 55, "column": 41 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1977, "end": 1985, "loc": { "start": { "line": 55, "column": 42 }, "end": { "line": 55, "column": 50 } }, "object": { "type": "Identifier", "start": 1977, "end": 1980, "loc": { "start": { "line": 55, "column": 42 }, "end": { "line": 55, "column": 45 }, "identifierName": "sel" }, "name": "sel" }, "property": { "type": "Identifier", "start": 1981, "end": 1985, "loc": { "start": { "line": 55, "column": 46 }, "end": { "line": 55, "column": 50 }, "identifierName": "type" }, "name": "type" }, "computed": false } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 1993, "end": 2016, "loc": { "start": { "line": 56, "column": 6 }, "end": { "line": 56, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1997, "end": 2016, "loc": { "start": { "line": 56, "column": 10 }, "end": { "line": 56, "column": 29 } }, "id": { "type": "Identifier", "start": 1997, "end": 2003, "loc": { "start": { "line": 56, "column": 10 }, "end": { "line": 56, "column": 16 }, "identifierName": "offset" }, "name": "offset" }, "init": { "type": "MemberExpression", "start": 2006, "end": 2016, "loc": { "start": { "line": 56, "column": 19 }, "end": { "line": 56, "column": 29 } }, "object": { "type": "Identifier", "start": 2006, "end": 2009, "loc": { "start": { "line": 56, "column": 19 }, "end": { "line": 56, "column": 22 }, "identifierName": "sel" }, "name": "sel" }, "property": { "type": "Identifier", "start": 2010, "end": 2016, "loc": { "start": { "line": 56, "column": 23 }, "end": { "line": 56, "column": 29 }, "identifierName": "offset" }, "name": "offset" }, "computed": false } } ], "kind": "let" }, { "type": "IfStatement", "start": 2023, "end": 2168, "loc": { "start": { "line": 57, "column": 6 }, "end": { "line": 61, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 2027, "end": 2073, "loc": { "start": { "line": 57, "column": 10 }, "end": { "line": 57, "column": 56 } }, "left": { "type": "BinaryExpression", "start": 2027, "end": 2046, "loc": { "start": { "line": 57, "column": 10 }, "end": { "line": 57, "column": 29 } }, "left": { "type": "Identifier", "start": 2027, "end": 2031, "loc": { "start": { "line": 57, "column": 10 }, "end": { "line": 57, "column": 14 }, "identifierName": "node" }, "name": "node" }, "operator": "!==", "right": { "type": "Identifier", "start": 2036, "end": 2046, "loc": { "start": { "line": 57, "column": 19 }, "end": { "line": 57, "column": 29 }, "identifierName": "anchorNode" }, "name": "anchorNode" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 2050, "end": 2073, "loc": { "start": { "line": 57, "column": 33 }, "end": { "line": 57, "column": 56 } }, "left": { "type": "Identifier", "start": 2050, "end": 2056, "loc": { "start": { "line": 57, "column": 33 }, "end": { "line": 57, "column": 39 }, "identifierName": "offset" }, "name": "offset" }, "operator": "!==", "right": { "type": "Identifier", "start": 2061, "end": 2073, "loc": { "start": { "line": 57, "column": 44 }, "end": { "line": 57, "column": 56 }, "identifierName": "anchorOffset" }, "name": "anchorOffset" } } }, "consequent": { "type": "BlockStatement", "start": 2075, "end": 2168, "loc": { "start": { "line": 57, "column": 58 }, "end": { "line": 61, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 2085, "end": 2102, "loc": { "start": { "line": 58, "column": 8 }, "end": { "line": 58, "column": 25 } }, "expression": { "type": "AssignmentExpression", "start": 2085, "end": 2102, "loc": { "start": { "line": 58, "column": 8 }, "end": { "line": 58, "column": 25 } }, "operator": "=", "left": { "type": "Identifier", "start": 2085, "end": 2095, "loc": { "start": { "line": 58, "column": 8 }, "end": { "line": 58, "column": 18 }, "identifierName": "anchorNode" }, "name": "anchorNode" }, "right": { "type": "Identifier", "start": 2098, "end": 2102, "loc": { "start": { "line": 58, "column": 21 }, "end": { "line": 58, "column": 25 }, "identifierName": "node" }, "name": "node" } } }, { "type": "ExpressionStatement", "start": 2111, "end": 2132, "loc": { "start": { "line": 59, "column": 8 }, "end": { "line": 59, "column": 29 } }, "expression": { "type": "AssignmentExpression", "start": 2111, "end": 2132, "loc": { "start": { "line": 59, "column": 8 }, "end": { "line": 59, "column": 29 } }, "operator": "=", "left": { "type": "Identifier", "start": 2111, "end": 2123, "loc": { "start": { "line": 59, "column": 8 }, "end": { "line": 59, "column": 20 }, "identifierName": "anchorOffset" }, "name": "anchorOffset" }, "right": { "type": "Identifier", "start": 2126, "end": 2132, "loc": { "start": { "line": 59, "column": 23 }, "end": { "line": 59, "column": 29 }, "identifierName": "offset" }, "name": "offset" } } }, { "type": "ExpressionStatement", "start": 2141, "end": 2160, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 2141, "end": 2160, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 27 } }, "operator": "=", "left": { "type": "Identifier", "start": 2141, "end": 2153, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 20 }, "identifierName": "shouldUpdate" }, "name": "shouldUpdate" }, "right": { "type": "BooleanLiteral", "start": 2156, "end": 2160, "loc": { "start": { "line": 60, "column": 23 }, "end": { "line": 60, "column": 27 } }, "value": true } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 2181, "end": 2507, "loc": { "start": { "line": 64, "column": 2 }, "end": { "line": 75, "column": 3 } }, "test": { "type": "BinaryExpression", "start": 2185, "end": 2196, "loc": { "start": { "line": 64, "column": 6 }, "end": { "line": 64, "column": 17 } }, "left": { "type": "Identifier", "start": 2185, "end": 2187, "loc": { "start": { "line": 64, "column": 6 }, "end": { "line": 64, "column": 8 }, "identifierName": "to" }, "name": "to" }, "operator": "!==", "right": { "type": "NullLiteral", "start": 2192, "end": 2196, "loc": { "start": { "line": 64, "column": 13 }, "end": { "line": 64, "column": 17 } } } }, "consequent": { "type": "BlockStatement", "start": 2198, "end": 2507, "loc": { "start": { "line": 64, "column": 19 }, "end": { "line": 75, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 2204, "end": 2243, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 43 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2208, "end": 2243, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 43 } }, "id": { "type": "Identifier", "start": 2208, "end": 2211, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 11 }, "identifierName": "sel" }, "name": "sel" }, "init": { "type": "CallExpression", "start": 2214, "end": 2243, "loc": { "start": { "line": 65, "column": 14 }, "end": { "line": 65, "column": 43 } }, "callee": { "type": "Identifier", "start": 2214, "end": 2234, "loc": { "start": { "line": 65, "column": 14 }, "end": { "line": 65, "column": 34 }, "identifierName": "fromRelativePosition" }, "name": "fromRelativePosition" }, "arguments": [ { "type": "Identifier", "start": 2235, "end": 2238, "loc": { "start": { "line": 65, "column": 35 }, "end": { "line": 65, "column": 38 }, "identifierName": "toY" }, "name": "toY" }, { "type": "Identifier", "start": 2240, "end": 2242, "loc": { "start": { "line": 65, "column": 40 }, "end": { "line": 65, "column": 42 }, "identifierName": "to" }, "name": "to" } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 2248, "end": 2503, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 74, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 2252, "end": 2264, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 20 } }, "left": { "type": "Identifier", "start": 2252, "end": 2255, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 11 }, "identifierName": "sel" }, "name": "sel" }, "operator": "!==", "right": { "type": "NullLiteral", "start": 2260, "end": 2264, "loc": { "start": { "line": 66, "column": 16 }, "end": { "line": 66, "column": 20 } } } }, "consequent": { "type": "BlockStatement", "start": 2266, "end": 2503, "loc": { "start": { "line": 66, "column": 22 }, "end": { "line": 74, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 2274, "end": 2319, "loc": { "start": { "line": 67, "column": 6 }, "end": { "line": 67, "column": 51 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2278, "end": 2319, "loc": { "start": { "line": 67, "column": 10 }, "end": { "line": 67, "column": 51 } }, "id": { "type": "Identifier", "start": 2278, "end": 2282, "loc": { "start": { "line": 67, "column": 10 }, "end": { "line": 67, "column": 14 }, "identifierName": "node" }, "name": "node" }, "init": { "type": "CallExpression", "start": 2285, "end": 2319, "loc": { "start": { "line": 67, "column": 17 }, "end": { "line": 67, "column": 51 } }, "callee": { "type": "MemberExpression", "start": 2285, "end": 2309, "loc": { "start": { "line": 67, "column": 17 }, "end": { "line": 67, "column": 41 } }, "object": { "type": "MemberExpression", "start": 2285, "end": 2305, "loc": { "start": { "line": 67, "column": 17 }, "end": { "line": 67, "column": 37 } }, "object": { "type": "Identifier", "start": 2285, "end": 2295, "loc": { "start": { "line": 67, "column": 17 }, "end": { "line": 67, "column": 27 }, "identifierName": "domBinding" }, "name": "domBinding" }, "property": { "type": "Identifier", "start": 2296, "end": 2305, "loc": { "start": { "line": 67, "column": 28 }, "end": { "line": 67, "column": 37 }, "identifierName": "typeToDom" }, "name": "typeToDom" }, "computed": false }, "property": { "type": "Identifier", "start": 2306, "end": 2309, "loc": { "start": { "line": 67, "column": 38 }, "end": { "line": 67, "column": 41 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 2310, "end": 2318, "loc": { "start": { "line": 67, "column": 42 }, "end": { "line": 67, "column": 50 } }, "object": { "type": "Identifier", "start": 2310, "end": 2313, "loc": { "start": { "line": 67, "column": 42 }, "end": { "line": 67, "column": 45 }, "identifierName": "sel" }, "name": "sel" }, "property": { "type": "Identifier", "start": 2314, "end": 2318, "loc": { "start": { "line": 67, "column": 46 }, "end": { "line": 67, "column": 50 }, "identifierName": "type" }, "name": "type" }, "computed": false } ] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 2326, "end": 2349, "loc": { "start": { "line": 68, "column": 6 }, "end": { "line": 68, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2330, "end": 2349, "loc": { "start": { "line": 68, "column": 10 }, "end": { "line": 68, "column": 29 } }, "id": { "type": "Identifier", "start": 2330, "end": 2336, "loc": { "start": { "line": 68, "column": 10 }, "end": { "line": 68, "column": 16 }, "identifierName": "offset" }, "name": "offset" }, "init": { "type": "MemberExpression", "start": 2339, "end": 2349, "loc": { "start": { "line": 68, "column": 19 }, "end": { "line": 68, "column": 29 } }, "object": { "type": "Identifier", "start": 2339, "end": 2342, "loc": { "start": { "line": 68, "column": 19 }, "end": { "line": 68, "column": 22 }, "identifierName": "sel" }, "name": "sel" }, "property": { "type": "Identifier", "start": 2343, "end": 2349, "loc": { "start": { "line": 68, "column": 23 }, "end": { "line": 68, "column": 29 }, "identifierName": "offset" }, "name": "offset" }, "computed": false } } ], "kind": "let" }, { "type": "IfStatement", "start": 2356, "end": 2497, "loc": { "start": { "line": 69, "column": 6 }, "end": { "line": 73, "column": 7 } }, "test": { "type": "LogicalExpression", "start": 2360, "end": 2404, "loc": { "start": { "line": 69, "column": 10 }, "end": { "line": 69, "column": 54 } }, "left": { "type": "BinaryExpression", "start": 2360, "end": 2378, "loc": { "start": { "line": 69, "column": 10 }, "end": { "line": 69, "column": 28 } }, "left": { "type": "Identifier", "start": 2360, "end": 2364, "loc": { "start": { "line": 69, "column": 10 }, "end": { "line": 69, "column": 14 }, "identifierName": "node" }, "name": "node" }, "operator": "!==", "right": { "type": "Identifier", "start": 2369, "end": 2378, "loc": { "start": { "line": 69, "column": 19 }, "end": { "line": 69, "column": 28 }, "identifierName": "focusNode" }, "name": "focusNode" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 2382, "end": 2404, "loc": { "start": { "line": 69, "column": 32 }, "end": { "line": 69, "column": 54 } }, "left": { "type": "Identifier", "start": 2382, "end": 2388, "loc": { "start": { "line": 69, "column": 32 }, "end": { "line": 69, "column": 38 }, "identifierName": "offset" }, "name": "offset" }, "operator": "!==", "right": { "type": "Identifier", "start": 2393, "end": 2404, "loc": { "start": { "line": 69, "column": 43 }, "end": { "line": 69, "column": 54 }, "identifierName": "focusOffset" }, "name": "focusOffset" } } }, "consequent": { "type": "BlockStatement", "start": 2406, "end": 2497, "loc": { "start": { "line": 69, "column": 56 }, "end": { "line": 73, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 2416, "end": 2432, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 24 } }, "expression": { "type": "AssignmentExpression", "start": 2416, "end": 2432, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 24 } }, "operator": "=", "left": { "type": "Identifier", "start": 2416, "end": 2425, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 17 }, "identifierName": "focusNode" }, "name": "focusNode" }, "right": { "type": "Identifier", "start": 2428, "end": 2432, "loc": { "start": { "line": 70, "column": 20 }, "end": { "line": 70, "column": 24 }, "identifierName": "node" }, "name": "node" } } }, { "type": "ExpressionStatement", "start": 2441, "end": 2461, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 28 } }, "expression": { "type": "AssignmentExpression", "start": 2441, "end": 2461, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 28 } }, "operator": "=", "left": { "type": "Identifier", "start": 2441, "end": 2452, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 19 }, "identifierName": "focusOffset" }, "name": "focusOffset" }, "right": { "type": "Identifier", "start": 2455, "end": 2461, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 28 }, "identifierName": "offset" }, "name": "offset" } } }, { "type": "ExpressionStatement", "start": 2470, "end": 2489, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 27 } }, "expression": { "type": "AssignmentExpression", "start": 2470, "end": 2489, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 27 } }, "operator": "=", "left": { "type": "Identifier", "start": 2470, "end": 2482, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 20 }, "identifierName": "shouldUpdate" }, "name": "shouldUpdate" }, "right": { "type": "BooleanLiteral", "start": 2485, "end": 2489, "loc": { "start": { "line": 72, "column": 23 }, "end": { "line": 72, "column": 27 } }, "value": true } } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 2510, "end": 2651, "loc": { "start": { "line": 76, "column": 2 }, "end": { "line": 83, "column": 3 } }, "test": { "type": "Identifier", "start": 2514, "end": 2526, "loc": { "start": { "line": 76, "column": 6 }, "end": { "line": 76, "column": 18 }, "identifierName": "shouldUpdate" }, "name": "shouldUpdate" }, "consequent": { "type": "BlockStatement", "start": 2528, "end": 2651, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 83, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 2534, "end": 2647, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 82, "column": 5 } }, "expression": { "type": "CallExpression", "start": 2534, "end": 2647, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 82, "column": 5 } }, "callee": { "type": "MemberExpression", "start": 2534, "end": 2567, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 37 } }, "object": { "type": "Identifier", "start": 2534, "end": 2550, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 20 }, "identifierName": "browserSelection" }, "name": "browserSelection" }, "property": { "type": "Identifier", "start": 2551, "end": 2567, "loc": { "start": { "line": 77, "column": 21 }, "end": { "line": 77, "column": 37 }, "identifierName": "setBaseAndExtent" }, "name": "setBaseAndExtent" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2575, "end": 2585, "loc": { "start": { "line": 78, "column": 6 }, "end": { "line": 78, "column": 16 }, "identifierName": "anchorNode" }, "name": "anchorNode" }, { "type": "Identifier", "start": 2593, "end": 2605, "loc": { "start": { "line": 79, "column": 6 }, "end": { "line": 79, "column": 18 }, "identifierName": "anchorOffset" }, "name": "anchorOffset" }, { "type": "Identifier", "start": 2613, "end": 2622, "loc": { "start": { "line": 80, "column": 6 }, "end": { "line": 80, "column": 15 }, "identifierName": "focusNode" }, "name": "focusNode" }, { "type": "Identifier", "start": 2630, "end": 2641, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 17 }, "identifierName": "focusOffset" }, "name": "focusOffset" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 1305, "end": 1324, "loc": { "start": { "line": 36, "column": 0 }, "end": { "line": 38, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 1305, "end": 1324, "loc": { "start": { "line": 36, "column": 0 }, "end": { "line": 38, "column": 3 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": " globals getSelection ", "start": 0, "end": 26, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 26 } } }, { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 178, "end": 197, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 10, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 1305, "end": 1324, "loc": { "start": { "line": 36, "column": 0 }, "end": { "line": 38, "column": 3 } } } ], "tokens": [ { "type": "CommentBlock", "value": " globals getSelection ", "start": 0, "end": 26, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 26 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 28, "end": 34, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 35, "end": 36, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getRelativePosition", "start": 37, "end": 56, "loc": { "start": { "line": 3, "column": 9 }, "end": { "line": 3, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 56, "end": 57, "loc": { "start": { "line": 3, "column": 28 }, "end": { "line": 3, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fromRelativePosition", "start": 58, "end": 78, "loc": { "start": { "line": 3, "column": 30 }, "end": { "line": 3, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 79, "end": 80, "loc": { "start": { "line": 3, "column": 51 }, "end": { "line": 3, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 81, "end": 85, "loc": { "start": { "line": 3, "column": 53 }, "end": { "line": 3, "column": 57 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../Util/relativePosition.js", "start": 86, "end": 118, "loc": { "start": { "line": 3, "column": 58 }, "end": { "line": 3, "column": 90 } } }, { "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": 120, "end": 123, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "browserSelection", "start": 124, "end": 140, "loc": { "start": { "line": 5, "column": 4 }, "end": { "line": 5, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 141, "end": 142, "loc": { "start": { "line": 5, "column": 21 }, "end": { "line": 5, "column": 22 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 143, "end": 147, "loc": { "start": { "line": 5, "column": 23 }, "end": { "line": 5, "column": 27 } } }, { "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": 148, "end": 151, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "relativeSelection", "start": 152, "end": 169, "loc": { "start": { "line": 6, "column": 4 }, "end": { "line": 6, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 170, "end": 171, "loc": { "start": { "line": 6, "column": 22 }, "end": { "line": 6, "column": 23 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 172, "end": 176, "loc": { "start": { "line": 6, "column": 24 }, "end": { "line": 6, "column": 28 } } }, { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 178, "end": 197, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 10, "column": 3 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 198, "end": 204, "loc": { "start": { "line": 11, "column": 0 }, "end": { "line": 11, "column": 6 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 205, "end": 208, "loc": { "start": { "line": 11, "column": 7 }, "end": { "line": 11, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beforeTransactionSelectionFixer", "start": 209, "end": 240, "loc": { "start": { "line": 11, "column": 11 }, "end": { "line": 11, "column": 42 } } }, { "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": 241, "end": 243, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 12, "column": 2 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 244, "end": 245, "loc": { "start": { "line": 12, "column": 3 }, "end": { "line": 12, "column": 4 } } }, { "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": 245, "end": 251, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSelection", "start": 252, "end": 264, "loc": { "start": { "line": 12, "column": 11 }, "end": { "line": 12, "column": 23 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 265, "end": 268, "loc": { "start": { "line": 12, "column": 24 }, "end": { "line": 12, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "undefined", "start": 269, "end": 280, "loc": { "start": { "line": 12, "column": 28 }, "end": { "line": 12, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 280, "end": 281, "loc": { "start": { "line": 12, "column": 39 }, "end": { "line": 12, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 282, "end": 283, "loc": { "start": { "line": 12, "column": 41 }, "end": { "line": 12, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beforeTransactionSelectionFixer", "start": 286, "end": 317, "loc": { "start": { "line": 13, "column": 2 }, "end": { "line": 13, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 318, "end": 319, "loc": { "start": { "line": 13, "column": 34 }, "end": { "line": 13, "column": 35 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 320, "end": 328, "loc": { "start": { "line": 13, "column": 36 }, "end": { "line": 13, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_beforeTransactionSelectionFixer", "start": 329, "end": 361, "loc": { "start": { "line": 13, "column": 45 }, "end": { "line": 13, "column": 77 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 362, "end": 363, "loc": { "start": { "line": 13, "column": 78 }, "end": { "line": 13, "column": 79 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 363, "end": 364, "loc": { "start": { "line": 13, "column": 79 }, "end": { "line": 13, "column": 80 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 364, "end": 365, "loc": { "start": { "line": 13, "column": 80 }, "end": { "line": 13, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domBinding", "start": 366, "end": 376, "loc": { "start": { "line": 13, "column": 82 }, "end": { "line": 13, "column": 92 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 376, "end": 377, "loc": { "start": { "line": 13, "column": 92 }, "end": { "line": 13, "column": 93 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "transaction", "start": 378, "end": 389, "loc": { "start": { "line": 13, "column": 94 }, "end": { "line": 13, "column": 105 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 389, "end": 390, "loc": { "start": { "line": 13, "column": 105 }, "end": { "line": 13, "column": 106 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remote", "start": 391, "end": 397, "loc": { "start": { "line": 13, "column": 107 }, "end": { "line": 13, "column": 113 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 397, "end": 398, "loc": { "start": { "line": 13, "column": 113 }, "end": { "line": 13, "column": 114 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 399, "end": 400, "loc": { "start": { "line": 13, "column": 115 }, "end": { "line": 13, "column": 116 } } }, { "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": 405, "end": 407, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 408, "end": 409, "loc": { "start": { "line": 14, "column": 7 }, "end": { "line": 14, "column": 8 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 409, "end": 410, "loc": { "start": { "line": 14, "column": 8 }, "end": { "line": 14, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remote", "start": 410, "end": 416, "loc": { "start": { "line": 14, "column": 9 }, "end": { "line": 14, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 416, "end": 417, "loc": { "start": { "line": 14, "column": 15 }, "end": { "line": 14, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 418, "end": 419, "loc": { "start": { "line": 14, "column": 17 }, "end": { "line": 14, "column": 18 } } }, { "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": 426, "end": 432, "loc": { "start": { "line": 15, "column": 6 }, "end": { "line": 15, "column": 12 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 437, "end": 438, "loc": { "start": { "line": 16, "column": 4 }, "end": { "line": 16, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "relativeSelection", "start": 443, "end": 460, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 461, "end": 462, "loc": { "start": { "line": 17, "column": 22 }, "end": { "line": 17, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 463, "end": 464, "loc": { "start": { "line": 17, "column": 24 }, "end": { "line": 17, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 465, "end": 469, "loc": { "start": { "line": 17, "column": 26 }, "end": { "line": 17, "column": 30 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 469, "end": 470, "loc": { "start": { "line": 17, "column": 30 }, "end": { "line": 17, "column": 31 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 471, "end": 475, "loc": { "start": { "line": 17, "column": 32 }, "end": { "line": 17, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 475, "end": 476, "loc": { "start": { "line": 17, "column": 36 }, "end": { "line": 17, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "to", "start": 477, "end": 479, "loc": { "start": { "line": 17, "column": 38 }, "end": { "line": 17, "column": 40 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 479, "end": 480, "loc": { "start": { "line": 17, "column": 40 }, "end": { "line": 17, "column": 41 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 481, "end": 485, "loc": { "start": { "line": 17, "column": 42 }, "end": { "line": 17, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 485, "end": 486, "loc": { "start": { "line": 17, "column": 46 }, "end": { "line": 17, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fromY", "start": 487, "end": 492, "loc": { "start": { "line": 17, "column": 48 }, "end": { "line": 17, "column": 53 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 492, "end": 493, "loc": { "start": { "line": 17, "column": 53 }, "end": { "line": 17, "column": 54 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 494, "end": 498, "loc": { "start": { "line": 17, "column": 55 }, "end": { "line": 17, "column": 59 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 498, "end": 499, "loc": { "start": { "line": 17, "column": 59 }, "end": { "line": 17, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toY", "start": 500, "end": 503, "loc": { "start": { "line": 17, "column": 61 }, "end": { "line": 17, "column": 64 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 503, "end": 504, "loc": { "start": { "line": 17, "column": 64 }, "end": { "line": 17, "column": 65 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 505, "end": 509, "loc": { "start": { "line": 17, "column": 66 }, "end": { "line": 17, "column": 70 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 510, "end": 511, "loc": { "start": { "line": 17, "column": 71 }, "end": { "line": 17, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "browserSelection", "start": 516, "end": 532, "loc": { "start": { "line": 18, "column": 4 }, "end": { "line": 18, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 533, "end": 534, "loc": { "start": { "line": 18, "column": 21 }, "end": { "line": 18, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSelection", "start": 535, "end": 547, "loc": { "start": { "line": 18, "column": 23 }, "end": { "line": 18, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 547, "end": 548, "loc": { "start": { "line": 18, "column": 35 }, "end": { "line": 18, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 548, "end": 549, "loc": { "start": { "line": 18, "column": 36 }, "end": { "line": 18, "column": 37 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 554, "end": 559, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 19, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anchorNode", "start": 560, "end": 570, "loc": { "start": { "line": 19, "column": 10 }, "end": { "line": 19, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 571, "end": 572, "loc": { "start": { "line": 19, "column": 21 }, "end": { "line": 19, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "browserSelection", "start": 573, "end": 589, "loc": { "start": { "line": 19, "column": 23 }, "end": { "line": 19, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 589, "end": 590, "loc": { "start": { "line": 19, "column": 39 }, "end": { "line": 19, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anchorNode", "start": 590, "end": 600, "loc": { "start": { "line": 19, "column": 40 }, "end": { "line": 19, "column": 50 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 605, "end": 610, "loc": { "start": { "line": 20, "column": 4 }, "end": { "line": 20, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anchorNodeType", "start": 611, "end": 625, "loc": { "start": { "line": 20, "column": 10 }, "end": { "line": 20, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 626, "end": 627, "loc": { "start": { "line": 20, "column": 25 }, "end": { "line": 20, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domBinding", "start": 628, "end": 638, "loc": { "start": { "line": 20, "column": 27 }, "end": { "line": 20, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 638, "end": 639, "loc": { "start": { "line": 20, "column": 37 }, "end": { "line": 20, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domToType", "start": 639, "end": 648, "loc": { "start": { "line": 20, "column": 38 }, "end": { "line": 20, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 648, "end": 649, "loc": { "start": { "line": 20, "column": 47 }, "end": { "line": 20, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 649, "end": 652, "loc": { "start": { "line": 20, "column": 48 }, "end": { "line": 20, "column": 51 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 652, "end": 653, "loc": { "start": { "line": 20, "column": 51 }, "end": { "line": 20, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anchorNode", "start": 653, "end": 663, "loc": { "start": { "line": 20, "column": 52 }, "end": { "line": 20, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 663, "end": 664, "loc": { "start": { "line": 20, "column": 62 }, "end": { "line": 20, "column": 63 } } }, { "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": 669, "end": 671, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 6 } } }, { "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": 21, "column": 7 }, "end": { "line": 21, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anchorNode", "start": 673, "end": 683, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 18 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 684, "end": 687, "loc": { "start": { "line": 21, "column": 19 }, "end": { "line": 21, "column": 22 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 688, "end": 692, "loc": { "start": { "line": 21, "column": 23 }, "end": { "line": 21, "column": 27 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 693, "end": 695, "loc": { "start": { "line": 21, "column": 28 }, "end": { "line": 21, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anchorNodeType", "start": 696, "end": 710, "loc": { "start": { "line": 21, "column": 31 }, "end": { "line": 21, "column": 45 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 711, "end": 714, "loc": { "start": { "line": 21, "column": 46 }, "end": { "line": 21, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 715, "end": 724, "loc": { "start": { "line": 21, "column": 50 }, "end": { "line": 21, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 724, "end": 725, "loc": { "start": { "line": 21, "column": 59 }, "end": { "line": 21, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 726, "end": 727, "loc": { "start": { "line": 21, "column": 61 }, "end": { "line": 21, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "relativeSelection", "start": 734, "end": 751, "loc": { "start": { "line": 22, "column": 6 }, "end": { "line": 22, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 751, "end": 752, "loc": { "start": { "line": 22, "column": 23 }, "end": { "line": 22, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 752, "end": 756, "loc": { "start": { "line": 22, "column": 24 }, "end": { "line": 22, "column": 28 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 757, "end": 758, "loc": { "start": { "line": 22, "column": 29 }, "end": { "line": 22, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getRelativePosition", "start": 759, "end": 778, "loc": { "start": { "line": 22, "column": 31 }, "end": { "line": 22, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 778, "end": 779, "loc": { "start": { "line": 22, "column": 50 }, "end": { "line": 22, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anchorNodeType", "start": 779, "end": 793, "loc": { "start": { "line": 22, "column": 51 }, "end": { "line": 22, "column": 65 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 793, "end": 794, "loc": { "start": { "line": 22, "column": 65 }, "end": { "line": 22, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "browserSelection", "start": 795, "end": 811, "loc": { "start": { "line": 22, "column": 67 }, "end": { "line": 22, "column": 83 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 811, "end": 812, "loc": { "start": { "line": 22, "column": 83 }, "end": { "line": 22, "column": 84 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anchorOffset", "start": 812, "end": 824, "loc": { "start": { "line": 22, "column": 84 }, "end": { "line": 22, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 824, "end": 825, "loc": { "start": { "line": 22, "column": 96 }, "end": { "line": 22, "column": 97 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "relativeSelection", "start": 832, "end": 849, "loc": { "start": { "line": 23, "column": 6 }, "end": { "line": 23, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 849, "end": 850, "loc": { "start": { "line": 23, "column": 23 }, "end": { "line": 23, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fromY", "start": 850, "end": 855, "loc": { "start": { "line": 23, "column": 24 }, "end": { "line": 23, "column": 29 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 856, "end": 857, "loc": { "start": { "line": 23, "column": 30 }, "end": { "line": 23, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anchorNodeType", "start": 858, "end": 872, "loc": { "start": { "line": 23, "column": 32 }, "end": { "line": 23, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 872, "end": 873, "loc": { "start": { "line": 23, "column": 46 }, "end": { "line": 23, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_y", "start": 873, "end": 875, "loc": { "start": { "line": 23, "column": 47 }, "end": { "line": 23, "column": 49 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 880, "end": 881, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 5 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 886, "end": 891, "loc": { "start": { "line": 25, "column": 4 }, "end": { "line": 25, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focusNode", "start": 892, "end": 901, "loc": { "start": { "line": 25, "column": 10 }, "end": { "line": 25, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 902, "end": 903, "loc": { "start": { "line": 25, "column": 20 }, "end": { "line": 25, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "browserSelection", "start": 904, "end": 920, "loc": { "start": { "line": 25, "column": 22 }, "end": { "line": 25, "column": 38 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 920, "end": 921, "loc": { "start": { "line": 25, "column": 38 }, "end": { "line": 25, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focusNode", "start": 921, "end": 930, "loc": { "start": { "line": 25, "column": 39 }, "end": { "line": 25, "column": 48 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 935, "end": 940, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focusNodeType", "start": 941, "end": 954, "loc": { "start": { "line": 26, "column": 10 }, "end": { "line": 26, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 955, "end": 956, "loc": { "start": { "line": 26, "column": 24 }, "end": { "line": 26, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domBinding", "start": 957, "end": 967, "loc": { "start": { "line": 26, "column": 26 }, "end": { "line": 26, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 967, "end": 968, "loc": { "start": { "line": 26, "column": 36 }, "end": { "line": 26, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domToType", "start": 968, "end": 977, "loc": { "start": { "line": 26, "column": 37 }, "end": { "line": 26, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 977, "end": 978, "loc": { "start": { "line": 26, "column": 46 }, "end": { "line": 26, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 978, "end": 981, "loc": { "start": { "line": 26, "column": 47 }, "end": { "line": 26, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 981, "end": 982, "loc": { "start": { "line": 26, "column": 50 }, "end": { "line": 26, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focusNode", "start": 982, "end": 991, "loc": { "start": { "line": 26, "column": 51 }, "end": { "line": 26, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 991, "end": 992, "loc": { "start": { "line": 26, "column": 60 }, "end": { "line": 26, "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": 997, "end": 999, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1000, "end": 1001, "loc": { "start": { "line": 27, "column": 7 }, "end": { "line": 27, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focusNode", "start": 1001, "end": 1010, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 17 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 1011, "end": 1014, "loc": { "start": { "line": 27, "column": 18 }, "end": { "line": 27, "column": 21 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 1015, "end": 1019, "loc": { "start": { "line": 27, "column": 22 }, "end": { "line": 27, "column": 26 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 1020, "end": 1022, "loc": { "start": { "line": 27, "column": 27 }, "end": { "line": 27, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focusNodeType", "start": 1023, "end": 1036, "loc": { "start": { "line": 27, "column": 30 }, "end": { "line": 27, "column": 43 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 1037, "end": 1040, "loc": { "start": { "line": 27, "column": 44 }, "end": { "line": 27, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 1041, "end": 1050, "loc": { "start": { "line": 27, "column": 48 }, "end": { "line": 27, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1050, "end": 1051, "loc": { "start": { "line": 27, "column": 57 }, "end": { "line": 27, "column": 58 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1052, "end": 1053, "loc": { "start": { "line": 27, "column": 59 }, "end": { "line": 27, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "relativeSelection", "start": 1060, "end": 1077, "loc": { "start": { "line": 28, "column": 6 }, "end": { "line": 28, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1077, "end": 1078, "loc": { "start": { "line": 28, "column": 23 }, "end": { "line": 28, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "to", "start": 1078, "end": 1080, "loc": { "start": { "line": 28, "column": 24 }, "end": { "line": 28, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1081, "end": 1082, "loc": { "start": { "line": 28, "column": 27 }, "end": { "line": 28, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getRelativePosition", "start": 1083, "end": 1102, "loc": { "start": { "line": 28, "column": 29 }, "end": { "line": 28, "column": 48 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1102, "end": 1103, "loc": { "start": { "line": 28, "column": 48 }, "end": { "line": 28, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focusNodeType", "start": 1103, "end": 1116, "loc": { "start": { "line": 28, "column": 49 }, "end": { "line": 28, "column": 62 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1116, "end": 1117, "loc": { "start": { "line": 28, "column": 62 }, "end": { "line": 28, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "browserSelection", "start": 1118, "end": 1134, "loc": { "start": { "line": 28, "column": 64 }, "end": { "line": 28, "column": 80 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1134, "end": 1135, "loc": { "start": { "line": 28, "column": 80 }, "end": { "line": 28, "column": 81 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focusOffset", "start": 1135, "end": 1146, "loc": { "start": { "line": 28, "column": 81 }, "end": { "line": 28, "column": 92 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1146, "end": 1147, "loc": { "start": { "line": 28, "column": 92 }, "end": { "line": 28, "column": 93 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "relativeSelection", "start": 1154, "end": 1171, "loc": { "start": { "line": 29, "column": 6 }, "end": { "line": 29, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1171, "end": 1172, "loc": { "start": { "line": 29, "column": 23 }, "end": { "line": 29, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toY", "start": 1172, "end": 1175, "loc": { "start": { "line": 29, "column": 24 }, "end": { "line": 29, "column": 27 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1176, "end": 1177, "loc": { "start": { "line": 29, "column": 28 }, "end": { "line": 29, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focusNodeType", "start": 1178, "end": 1191, "loc": { "start": { "line": 29, "column": 30 }, "end": { "line": 29, "column": 43 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1191, "end": 1192, "loc": { "start": { "line": 29, "column": 43 }, "end": { "line": 29, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_y", "start": 1192, "end": 1194, "loc": { "start": { "line": 29, "column": 44 }, "end": { "line": 29, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1199, "end": 1200, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1203, "end": 1204, "loc": { "start": { "line": 31, "column": 2 }, "end": { "line": 31, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1205, "end": 1206, "loc": { "start": { "line": 32, "column": 0 }, "end": { "line": 32, "column": 1 } } }, { "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": 1207, "end": 1211, "loc": { "start": { "line": 32, "column": 2 }, "end": { "line": 32, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1212, "end": 1213, "loc": { "start": { "line": 32, "column": 7 }, "end": { "line": 32, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "beforeTransactionSelectionFixer", "start": 1216, "end": 1247, "loc": { "start": { "line": 33, "column": 2 }, "end": { "line": 33, "column": 33 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1248, "end": 1249, "loc": { "start": { "line": 33, "column": 34 }, "end": { "line": 33, "column": 35 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 1250, "end": 1258, "loc": { "start": { "line": 33, "column": 36 }, "end": { "line": 33, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_fakeBeforeTransactionSelectionFixer", "start": 1259, "end": 1295, "loc": { "start": { "line": 33, "column": 45 }, "end": { "line": 33, "column": 81 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1296, "end": 1297, "loc": { "start": { "line": 33, "column": 82 }, "end": { "line": 33, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1297, "end": 1298, "loc": { "start": { "line": 33, "column": 83 }, "end": { "line": 33, "column": 84 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1299, "end": 1300, "loc": { "start": { "line": 33, "column": 85 }, "end": { "line": 33, "column": 86 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1300, "end": 1301, "loc": { "start": { "line": 33, "column": 86 }, "end": { "line": 33, "column": 87 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1302, "end": 1303, "loc": { "start": { "line": 34, "column": 0 }, "end": { "line": 34, "column": 1 } } }, { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 1305, "end": 1324, "loc": { "start": { "line": 36, "column": 0 }, "end": { "line": 38, "column": 3 } } }, { "type": { "label": "export", "keyword": "export", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "export", "start": 1325, "end": 1331, "loc": { "start": { "line": 39, "column": 0 }, "end": { "line": 39, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 1332, "end": 1340, "loc": { "start": { "line": 39, "column": 7 }, "end": { "line": 39, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "afterTransactionSelectionFixer", "start": 1341, "end": 1371, "loc": { "start": { "line": 39, "column": 16 }, "end": { "line": 39, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1372, "end": 1373, "loc": { "start": { "line": 39, "column": 47 }, "end": { "line": 39, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 1373, "end": 1374, "loc": { "start": { "line": 39, "column": 48 }, "end": { "line": 39, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1374, "end": 1375, "loc": { "start": { "line": 39, "column": 49 }, "end": { "line": 39, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domBinding", "start": 1376, "end": 1386, "loc": { "start": { "line": 39, "column": 51 }, "end": { "line": 39, "column": 61 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1386, "end": 1387, "loc": { "start": { "line": 39, "column": 61 }, "end": { "line": 39, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "transaction", "start": 1388, "end": 1399, "loc": { "start": { "line": 39, "column": 63 }, "end": { "line": 39, "column": 74 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1399, "end": 1400, "loc": { "start": { "line": 39, "column": 74 }, "end": { "line": 39, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remote", "start": 1401, "end": 1407, "loc": { "start": { "line": 39, "column": 76 }, "end": { "line": 39, "column": 82 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1407, "end": 1408, "loc": { "start": { "line": 39, "column": 82 }, "end": { "line": 39, "column": 83 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1409, "end": 1410, "loc": { "start": { "line": 39, "column": 84 }, "end": { "line": 39, "column": 85 } } }, { "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": 1413, "end": 1415, "loc": { "start": { "line": 40, "column": 2 }, "end": { "line": 40, "column": 4 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1416, "end": 1417, "loc": { "start": { "line": 40, "column": 5 }, "end": { "line": 40, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "relativeSelection", "start": 1417, "end": 1434, "loc": { "start": { "line": 40, "column": 6 }, "end": { "line": 40, "column": 23 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 1435, "end": 1438, "loc": { "start": { "line": 40, "column": 24 }, "end": { "line": 40, "column": 27 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 1439, "end": 1443, "loc": { "start": { "line": 40, "column": 28 }, "end": { "line": 40, "column": 32 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 1444, "end": 1446, "loc": { "start": { "line": 40, "column": 33 }, "end": { "line": 40, "column": 35 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 1447, "end": 1448, "loc": { "start": { "line": 40, "column": 36 }, "end": { "line": 40, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remote", "start": 1448, "end": 1454, "loc": { "start": { "line": 40, "column": 37 }, "end": { "line": 40, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1454, "end": 1455, "loc": { "start": { "line": 40, "column": 43 }, "end": { "line": 40, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1456, "end": 1457, "loc": { "start": { "line": 40, "column": 45 }, "end": { "line": 40, "column": 46 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 1462, "end": 1468, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1471, "end": 1472, "loc": { "start": { "line": 42, "column": 2 }, "end": { "line": 42, "column": 3 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1475, "end": 1480, "loc": { "start": { "line": 43, "column": 2 }, "end": { "line": 43, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "to", "start": 1481, "end": 1483, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1484, "end": 1485, "loc": { "start": { "line": 43, "column": 11 }, "end": { "line": 43, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "relativeSelection", "start": 1486, "end": 1503, "loc": { "start": { "line": 43, "column": 13 }, "end": { "line": 43, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1503, "end": 1504, "loc": { "start": { "line": 43, "column": 30 }, "end": { "line": 43, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "to", "start": 1504, "end": 1506, "loc": { "start": { "line": 43, "column": 31 }, "end": { "line": 43, "column": 33 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1509, "end": 1514, "loc": { "start": { "line": 44, "column": 2 }, "end": { "line": 44, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1515, "end": 1519, "loc": { "start": { "line": 44, "column": 8 }, "end": { "line": 44, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1520, "end": 1521, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "relativeSelection", "start": 1522, "end": 1539, "loc": { "start": { "line": 44, "column": 15 }, "end": { "line": 44, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1539, "end": 1540, "loc": { "start": { "line": 44, "column": 32 }, "end": { "line": 44, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1540, "end": 1544, "loc": { "start": { "line": 44, "column": 33 }, "end": { "line": 44, "column": 37 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1547, "end": 1552, "loc": { "start": { "line": 45, "column": 2 }, "end": { "line": 45, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fromY", "start": 1553, "end": 1558, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1559, "end": 1560, "loc": { "start": { "line": 45, "column": 14 }, "end": { "line": 45, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "relativeSelection", "start": 1561, "end": 1578, "loc": { "start": { "line": 45, "column": 16 }, "end": { "line": 45, "column": 33 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1578, "end": 1579, "loc": { "start": { "line": 45, "column": 33 }, "end": { "line": 45, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fromY", "start": 1579, "end": 1584, "loc": { "start": { "line": 45, "column": 34 }, "end": { "line": 45, "column": 39 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1587, "end": 1592, "loc": { "start": { "line": 46, "column": 2 }, "end": { "line": 46, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toY", "start": 1593, "end": 1596, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1597, "end": 1598, "loc": { "start": { "line": 46, "column": 12 }, "end": { "line": 46, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "relativeSelection", "start": 1599, "end": 1616, "loc": { "start": { "line": 46, "column": 14 }, "end": { "line": 46, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1616, "end": 1617, "loc": { "start": { "line": 46, "column": 31 }, "end": { "line": 46, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toY", "start": 1617, "end": 1620, "loc": { "start": { "line": 46, "column": 32 }, "end": { "line": 46, "column": 35 } } }, { "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": 1623, "end": 1626, "loc": { "start": { "line": 47, "column": 2 }, "end": { "line": 47, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shouldUpdate", "start": 1627, "end": 1639, "loc": { "start": { "line": 47, "column": 6 }, "end": { "line": 47, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1640, "end": 1641, "loc": { "start": { "line": 47, "column": 19 }, "end": { "line": 47, "column": 20 } } }, { "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": 1642, "end": 1647, "loc": { "start": { "line": 47, "column": 21 }, "end": { "line": 47, "column": 26 } } }, { "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": 1650, "end": 1653, "loc": { "start": { "line": 48, "column": 2 }, "end": { "line": 48, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anchorNode", "start": 1654, "end": 1664, "loc": { "start": { "line": 48, "column": 6 }, "end": { "line": 48, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1665, "end": 1666, "loc": { "start": { "line": 48, "column": 17 }, "end": { "line": 48, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "browserSelection", "start": 1667, "end": 1683, "loc": { "start": { "line": 48, "column": 19 }, "end": { "line": 48, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1683, "end": 1684, "loc": { "start": { "line": 48, "column": 35 }, "end": { "line": 48, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anchorNode", "start": 1684, "end": 1694, "loc": { "start": { "line": 48, "column": 36 }, "end": { "line": 48, "column": 46 } } }, { "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": 1697, "end": 1700, "loc": { "start": { "line": 49, "column": 2 }, "end": { "line": 49, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anchorOffset", "start": 1701, "end": 1713, "loc": { "start": { "line": 49, "column": 6 }, "end": { "line": 49, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1714, "end": 1715, "loc": { "start": { "line": 49, "column": 19 }, "end": { "line": 49, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "browserSelection", "start": 1716, "end": 1732, "loc": { "start": { "line": 49, "column": 21 }, "end": { "line": 49, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1732, "end": 1733, "loc": { "start": { "line": 49, "column": 37 }, "end": { "line": 49, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anchorOffset", "start": 1733, "end": 1745, "loc": { "start": { "line": 49, "column": 38 }, "end": { "line": 49, "column": 50 } } }, { "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": 1748, "end": 1751, "loc": { "start": { "line": 50, "column": 2 }, "end": { "line": 50, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focusNode", "start": 1752, "end": 1761, "loc": { "start": { "line": 50, "column": 6 }, "end": { "line": 50, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1762, "end": 1763, "loc": { "start": { "line": 50, "column": 16 }, "end": { "line": 50, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "browserSelection", "start": 1764, "end": 1780, "loc": { "start": { "line": 50, "column": 18 }, "end": { "line": 50, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1780, "end": 1781, "loc": { "start": { "line": 50, "column": 34 }, "end": { "line": 50, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focusNode", "start": 1781, "end": 1790, "loc": { "start": { "line": 50, "column": 35 }, "end": { "line": 50, "column": 44 } } }, { "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": 1793, "end": 1796, "loc": { "start": { "line": 51, "column": 2 }, "end": { "line": 51, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focusOffset", "start": 1797, "end": 1808, "loc": { "start": { "line": 51, "column": 6 }, "end": { "line": 51, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1809, "end": 1810, "loc": { "start": { "line": 51, "column": 18 }, "end": { "line": 51, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "browserSelection", "start": 1811, "end": 1827, "loc": { "start": { "line": 51, "column": 20 }, "end": { "line": 51, "column": 36 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1827, "end": 1828, "loc": { "start": { "line": 51, "column": 36 }, "end": { "line": 51, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focusOffset", "start": 1828, "end": 1839, "loc": { "start": { "line": 51, "column": 37 }, "end": { "line": 51, "column": 48 } } }, { "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": 1842, "end": 1844, "loc": { "start": { "line": 52, "column": 2 }, "end": { "line": 52, "column": 4 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1845, "end": 1846, "loc": { "start": { "line": 52, "column": 5 }, "end": { "line": 52, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1846, "end": 1850, "loc": { "start": { "line": 52, "column": 6 }, "end": { "line": 52, "column": 10 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 1851, "end": 1854, "loc": { "start": { "line": 52, "column": 11 }, "end": { "line": 52, "column": 14 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 1855, "end": 1859, "loc": { "start": { "line": 52, "column": 15 }, "end": { "line": 52, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1859, "end": 1860, "loc": { "start": { "line": 52, "column": 19 }, "end": { "line": 52, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1861, "end": 1862, "loc": { "start": { "line": 52, "column": 21 }, "end": { "line": 52, "column": 22 } } }, { "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": 1867, "end": 1870, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sel", "start": 1871, "end": 1874, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1875, "end": 1876, "loc": { "start": { "line": 53, "column": 12 }, "end": { "line": 53, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fromRelativePosition", "start": 1877, "end": 1897, "loc": { "start": { "line": 53, "column": 14 }, "end": { "line": 53, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1897, "end": 1898, "loc": { "start": { "line": 53, "column": 34 }, "end": { "line": 53, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fromY", "start": 1898, "end": 1903, "loc": { "start": { "line": 53, "column": 35 }, "end": { "line": 53, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1903, "end": 1904, "loc": { "start": { "line": 53, "column": 40 }, "end": { "line": 53, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 1905, "end": 1909, "loc": { "start": { "line": 53, "column": 42 }, "end": { "line": 53, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1909, "end": 1910, "loc": { "start": { "line": 53, "column": 46 }, "end": { "line": 53, "column": 47 } } }, { "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": 1915, "end": 1917, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1918, "end": 1919, "loc": { "start": { "line": 54, "column": 7 }, "end": { "line": 54, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sel", "start": 1919, "end": 1922, "loc": { "start": { "line": 54, "column": 8 }, "end": { "line": 54, "column": 11 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 1923, "end": 1926, "loc": { "start": { "line": 54, "column": 12 }, "end": { "line": 54, "column": 15 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 1927, "end": 1931, "loc": { "start": { "line": 54, "column": 16 }, "end": { "line": 54, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1931, "end": 1932, "loc": { "start": { "line": 54, "column": 20 }, "end": { "line": 54, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1933, "end": 1934, "loc": { "start": { "line": 54, "column": 22 }, "end": { "line": 54, "column": 23 } } }, { "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": 1941, "end": 1944, "loc": { "start": { "line": 55, "column": 6 }, "end": { "line": 55, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "node", "start": 1945, "end": 1949, "loc": { "start": { "line": 55, "column": 10 }, "end": { "line": 55, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1950, "end": 1951, "loc": { "start": { "line": 55, "column": 15 }, "end": { "line": 55, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domBinding", "start": 1952, "end": 1962, "loc": { "start": { "line": 55, "column": 17 }, "end": { "line": 55, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1962, "end": 1963, "loc": { "start": { "line": 55, "column": 27 }, "end": { "line": 55, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeToDom", "start": 1963, "end": 1972, "loc": { "start": { "line": 55, "column": 28 }, "end": { "line": 55, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1972, "end": 1973, "loc": { "start": { "line": 55, "column": 37 }, "end": { "line": 55, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 1973, "end": 1976, "loc": { "start": { "line": 55, "column": 38 }, "end": { "line": 55, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1976, "end": 1977, "loc": { "start": { "line": 55, "column": 41 }, "end": { "line": 55, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sel", "start": 1977, "end": 1980, "loc": { "start": { "line": 55, "column": 42 }, "end": { "line": 55, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1980, "end": 1981, "loc": { "start": { "line": 55, "column": 45 }, "end": { "line": 55, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 1981, "end": 1985, "loc": { "start": { "line": 55, "column": 46 }, "end": { "line": 55, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1985, "end": 1986, "loc": { "start": { "line": 55, "column": 50 }, "end": { "line": 55, "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": 1993, "end": 1996, "loc": { "start": { "line": 56, "column": 6 }, "end": { "line": 56, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "offset", "start": 1997, "end": 2003, "loc": { "start": { "line": 56, "column": 10 }, "end": { "line": 56, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2004, "end": 2005, "loc": { "start": { "line": 56, "column": 17 }, "end": { "line": 56, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sel", "start": 2006, "end": 2009, "loc": { "start": { "line": 56, "column": 19 }, "end": { "line": 56, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2009, "end": 2010, "loc": { "start": { "line": 56, "column": 22 }, "end": { "line": 56, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "offset", "start": 2010, "end": 2016, "loc": { "start": { "line": 56, "column": 23 }, "end": { "line": 56, "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": 2023, "end": 2025, "loc": { "start": { "line": 57, "column": 6 }, "end": { "line": 57, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2026, "end": 2027, "loc": { "start": { "line": 57, "column": 9 }, "end": { "line": 57, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "node", "start": 2027, "end": 2031, "loc": { "start": { "line": 57, "column": 10 }, "end": { "line": 57, "column": 14 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 2032, "end": 2035, "loc": { "start": { "line": 57, "column": 15 }, "end": { "line": 57, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anchorNode", "start": 2036, "end": 2046, "loc": { "start": { "line": 57, "column": 19 }, "end": { "line": 57, "column": 29 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 2047, "end": 2049, "loc": { "start": { "line": 57, "column": 30 }, "end": { "line": 57, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "offset", "start": 2050, "end": 2056, "loc": { "start": { "line": 57, "column": 33 }, "end": { "line": 57, "column": 39 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 2057, "end": 2060, "loc": { "start": { "line": 57, "column": 40 }, "end": { "line": 57, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anchorOffset", "start": 2061, "end": 2073, "loc": { "start": { "line": 57, "column": 44 }, "end": { "line": 57, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2073, "end": 2074, "loc": { "start": { "line": 57, "column": 56 }, "end": { "line": 57, "column": 57 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2075, "end": 2076, "loc": { "start": { "line": 57, "column": 58 }, "end": { "line": 57, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anchorNode", "start": 2085, "end": 2095, "loc": { "start": { "line": 58, "column": 8 }, "end": { "line": 58, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2096, "end": 2097, "loc": { "start": { "line": 58, "column": 19 }, "end": { "line": 58, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "node", "start": 2098, "end": 2102, "loc": { "start": { "line": 58, "column": 21 }, "end": { "line": 58, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anchorOffset", "start": 2111, "end": 2123, "loc": { "start": { "line": 59, "column": 8 }, "end": { "line": 59, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2124, "end": 2125, "loc": { "start": { "line": 59, "column": 21 }, "end": { "line": 59, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "offset", "start": 2126, "end": 2132, "loc": { "start": { "line": 59, "column": 23 }, "end": { "line": 59, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shouldUpdate", "start": 2141, "end": 2153, "loc": { "start": { "line": 60, "column": 8 }, "end": { "line": 60, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2154, "end": 2155, "loc": { "start": { "line": 60, "column": 21 }, "end": { "line": 60, "column": 22 } } }, { "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": 2156, "end": 2160, "loc": { "start": { "line": 60, "column": 23 }, "end": { "line": 60, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2167, "end": 2168, "loc": { "start": { "line": 61, "column": 6 }, "end": { "line": 61, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2173, "end": 2174, "loc": { "start": { "line": 62, "column": 4 }, "end": { "line": 62, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2177, "end": 2178, "loc": { "start": { "line": 63, "column": 2 }, "end": { "line": 63, "column": 3 } } }, { "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": 2181, "end": 2183, "loc": { "start": { "line": 64, "column": 2 }, "end": { "line": 64, "column": 4 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2184, "end": 2185, "loc": { "start": { "line": 64, "column": 5 }, "end": { "line": 64, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "to", "start": 2185, "end": 2187, "loc": { "start": { "line": 64, "column": 6 }, "end": { "line": 64, "column": 8 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 2188, "end": 2191, "loc": { "start": { "line": 64, "column": 9 }, "end": { "line": 64, "column": 12 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 2192, "end": 2196, "loc": { "start": { "line": 64, "column": 13 }, "end": { "line": 64, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2196, "end": 2197, "loc": { "start": { "line": 64, "column": 17 }, "end": { "line": 64, "column": 18 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2198, "end": 2199, "loc": { "start": { "line": 64, "column": 19 }, "end": { "line": 64, "column": 20 } } }, { "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": 2204, "end": 2207, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sel", "start": 2208, "end": 2211, "loc": { "start": { "line": 65, "column": 8 }, "end": { "line": 65, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2212, "end": 2213, "loc": { "start": { "line": 65, "column": 12 }, "end": { "line": 65, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fromRelativePosition", "start": 2214, "end": 2234, "loc": { "start": { "line": 65, "column": 14 }, "end": { "line": 65, "column": 34 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2234, "end": 2235, "loc": { "start": { "line": 65, "column": 34 }, "end": { "line": 65, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toY", "start": 2235, "end": 2238, "loc": { "start": { "line": 65, "column": 35 }, "end": { "line": 65, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2238, "end": 2239, "loc": { "start": { "line": 65, "column": 38 }, "end": { "line": 65, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "to", "start": 2240, "end": 2242, "loc": { "start": { "line": 65, "column": 40 }, "end": { "line": 65, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2242, "end": 2243, "loc": { "start": { "line": 65, "column": 42 }, "end": { "line": 65, "column": 43 } } }, { "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": 2248, "end": 2250, "loc": { "start": { "line": 66, "column": 4 }, "end": { "line": 66, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2251, "end": 2252, "loc": { "start": { "line": 66, "column": 7 }, "end": { "line": 66, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sel", "start": 2252, "end": 2255, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 11 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 2256, "end": 2259, "loc": { "start": { "line": 66, "column": 12 }, "end": { "line": 66, "column": 15 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 2260, "end": 2264, "loc": { "start": { "line": 66, "column": 16 }, "end": { "line": 66, "column": 20 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2264, "end": 2265, "loc": { "start": { "line": 66, "column": 20 }, "end": { "line": 66, "column": 21 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2266, "end": 2267, "loc": { "start": { "line": 66, "column": 22 }, "end": { "line": 66, "column": 23 } } }, { "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": 2274, "end": 2277, "loc": { "start": { "line": 67, "column": 6 }, "end": { "line": 67, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "node", "start": 2278, "end": 2282, "loc": { "start": { "line": 67, "column": 10 }, "end": { "line": 67, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2283, "end": 2284, "loc": { "start": { "line": 67, "column": 15 }, "end": { "line": 67, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domBinding", "start": 2285, "end": 2295, "loc": { "start": { "line": 67, "column": 17 }, "end": { "line": 67, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2295, "end": 2296, "loc": { "start": { "line": 67, "column": 27 }, "end": { "line": 67, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeToDom", "start": 2296, "end": 2305, "loc": { "start": { "line": 67, "column": 28 }, "end": { "line": 67, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2305, "end": 2306, "loc": { "start": { "line": 67, "column": 37 }, "end": { "line": 67, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 2306, "end": 2309, "loc": { "start": { "line": 67, "column": 38 }, "end": { "line": 67, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2309, "end": 2310, "loc": { "start": { "line": 67, "column": 41 }, "end": { "line": 67, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sel", "start": 2310, "end": 2313, "loc": { "start": { "line": 67, "column": 42 }, "end": { "line": 67, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2313, "end": 2314, "loc": { "start": { "line": 67, "column": 45 }, "end": { "line": 67, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 2314, "end": 2318, "loc": { "start": { "line": 67, "column": 46 }, "end": { "line": 67, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2318, "end": 2319, "loc": { "start": { "line": 67, "column": 50 }, "end": { "line": 67, "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": 2326, "end": 2329, "loc": { "start": { "line": 68, "column": 6 }, "end": { "line": 68, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "offset", "start": 2330, "end": 2336, "loc": { "start": { "line": 68, "column": 10 }, "end": { "line": 68, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2337, "end": 2338, "loc": { "start": { "line": 68, "column": 17 }, "end": { "line": 68, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "sel", "start": 2339, "end": 2342, "loc": { "start": { "line": 68, "column": 19 }, "end": { "line": 68, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2342, "end": 2343, "loc": { "start": { "line": 68, "column": 22 }, "end": { "line": 68, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "offset", "start": 2343, "end": 2349, "loc": { "start": { "line": 68, "column": 23 }, "end": { "line": 68, "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": 2356, "end": 2358, "loc": { "start": { "line": 69, "column": 6 }, "end": { "line": 69, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2359, "end": 2360, "loc": { "start": { "line": 69, "column": 9 }, "end": { "line": 69, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "node", "start": 2360, "end": 2364, "loc": { "start": { "line": 69, "column": 10 }, "end": { "line": 69, "column": 14 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 2365, "end": 2368, "loc": { "start": { "line": 69, "column": 15 }, "end": { "line": 69, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focusNode", "start": 2369, "end": 2378, "loc": { "start": { "line": 69, "column": 19 }, "end": { "line": 69, "column": 28 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 2379, "end": 2381, "loc": { "start": { "line": 69, "column": 29 }, "end": { "line": 69, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "offset", "start": 2382, "end": 2388, "loc": { "start": { "line": 69, "column": 32 }, "end": { "line": 69, "column": 38 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 2389, "end": 2392, "loc": { "start": { "line": 69, "column": 39 }, "end": { "line": 69, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focusOffset", "start": 2393, "end": 2404, "loc": { "start": { "line": 69, "column": 43 }, "end": { "line": 69, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2404, "end": 2405, "loc": { "start": { "line": 69, "column": 54 }, "end": { "line": 69, "column": 55 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2406, "end": 2407, "loc": { "start": { "line": 69, "column": 56 }, "end": { "line": 69, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focusNode", "start": 2416, "end": 2425, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2426, "end": 2427, "loc": { "start": { "line": 70, "column": 18 }, "end": { "line": 70, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "node", "start": 2428, "end": 2432, "loc": { "start": { "line": 70, "column": 20 }, "end": { "line": 70, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focusOffset", "start": 2441, "end": 2452, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2453, "end": 2454, "loc": { "start": { "line": 71, "column": 20 }, "end": { "line": 71, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "offset", "start": 2455, "end": 2461, "loc": { "start": { "line": 71, "column": 22 }, "end": { "line": 71, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shouldUpdate", "start": 2470, "end": 2482, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2483, "end": 2484, "loc": { "start": { "line": 72, "column": 21 }, "end": { "line": 72, "column": 22 } } }, { "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": 2485, "end": 2489, "loc": { "start": { "line": 72, "column": 23 }, "end": { "line": 72, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2496, "end": 2497, "loc": { "start": { "line": 73, "column": 6 }, "end": { "line": 73, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2502, "end": 2503, "loc": { "start": { "line": 74, "column": 4 }, "end": { "line": 74, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2506, "end": 2507, "loc": { "start": { "line": 75, "column": 2 }, "end": { "line": 75, "column": 3 } } }, { "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": 2510, "end": 2512, "loc": { "start": { "line": 76, "column": 2 }, "end": { "line": 76, "column": 4 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2513, "end": 2514, "loc": { "start": { "line": 76, "column": 5 }, "end": { "line": 76, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "shouldUpdate", "start": 2514, "end": 2526, "loc": { "start": { "line": 76, "column": 6 }, "end": { "line": 76, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2526, "end": 2527, "loc": { "start": { "line": 76, "column": 18 }, "end": { "line": 76, "column": 19 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2528, "end": 2529, "loc": { "start": { "line": 76, "column": 20 }, "end": { "line": 76, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "browserSelection", "start": 2534, "end": 2550, "loc": { "start": { "line": 77, "column": 4 }, "end": { "line": 77, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2550, "end": 2551, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setBaseAndExtent", "start": 2551, "end": 2567, "loc": { "start": { "line": 77, "column": 21 }, "end": { "line": 77, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2567, "end": 2568, "loc": { "start": { "line": 77, "column": 37 }, "end": { "line": 77, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anchorNode", "start": 2575, "end": 2585, "loc": { "start": { "line": 78, "column": 6 }, "end": { "line": 78, "column": 16 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2585, "end": 2586, "loc": { "start": { "line": 78, "column": 16 }, "end": { "line": 78, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "anchorOffset", "start": 2593, "end": 2605, "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": 2605, "end": 2606, "loc": { "start": { "line": 79, "column": 18 }, "end": { "line": 79, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focusNode", "start": 2613, "end": 2622, "loc": { "start": { "line": 80, "column": 6 }, "end": { "line": 80, "column": 15 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2622, "end": 2623, "loc": { "start": { "line": 80, "column": 15 }, "end": { "line": 80, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "focusOffset", "start": 2630, "end": 2641, "loc": { "start": { "line": 81, "column": 6 }, "end": { "line": 81, "column": 17 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2646, "end": 2647, "loc": { "start": { "line": 82, "column": 4 }, "end": { "line": 82, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2650, "end": 2651, "loc": { "start": { "line": 83, "column": 2 }, "end": { "line": 83, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2652, "end": 2653, "loc": { "start": { "line": 84, "column": 0 }, "end": { "line": 84, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2654, "end": 2654, "loc": { "start": { "line": 85, "column": 0 }, "end": { "line": 85, "column": 0 } } } ] }