{ "type": "File", "start": 0, "end": 1910, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 57, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 1910, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 57, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 1, "end": 35, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 34 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 8, "end": 15, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 14 } }, "local": { "type": "Identifier", "start": 8, "end": 15, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 14 }, "identifierName": "Binding" }, "name": "Binding" } } ], "source": { "type": "StringLiteral", "start": 21, "end": 35, "loc": { "start": { "line": 2, "column": 20 }, "end": { "line": 2, "column": 34 } }, "extra": { "rawValue": "./Binding.js", "raw": "'./Binding.js'" }, "value": "./Binding.js" } }, { "type": "ImportDeclaration", "start": 36, "end": 82, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 46 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 43, "end": 53, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 17 } }, "local": { "type": "Identifier", "start": 43, "end": 53, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 17 }, "identifierName": "simpleDiff" }, "name": "simpleDiff" } } ], "source": { "type": "StringLiteral", "start": 59, "end": 82, "loc": { "start": { "line": 3, "column": 23 }, "end": { "line": 3, "column": 46 } }, "extra": { "rawValue": "../Util/simpleDiff.js", "raw": "'../Util/simpleDiff.js'" }, "value": "../Util/simpleDiff.js" } }, { "type": "ImportDeclaration", "start": 83, "end": 170, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 87 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 92, "end": 111, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 28 } }, "imported": { "type": "Identifier", "start": 92, "end": 111, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 28 }, "identifierName": "getRelativePosition" }, "name": "getRelativePosition" }, "local": { "type": "Identifier", "start": 92, "end": 111, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 28 }, "identifierName": "getRelativePosition" }, "name": "getRelativePosition" } }, { "type": "ImportSpecifier", "start": 113, "end": 133, "loc": { "start": { "line": 4, "column": 30 }, "end": { "line": 4, "column": 50 } }, "imported": { "type": "Identifier", "start": 113, "end": 133, "loc": { "start": { "line": 4, "column": 30 }, "end": { "line": 4, "column": 50 }, "identifierName": "fromRelativePosition" }, "name": "fromRelativePosition" }, "local": { "type": "Identifier", "start": 113, "end": 133, "loc": { "start": { "line": 4, "column": 30 }, "end": { "line": 4, "column": 50 }, "identifierName": "fromRelativePosition" }, "name": "fromRelativePosition" } } ], "source": { "type": "StringLiteral", "start": 141, "end": 170, "loc": { "start": { "line": 4, "column": 58 }, "end": { "line": 4, "column": 87 } }, "extra": { "rawValue": "../Util/relativePosition.js", "raw": "'../Util/relativePosition.js'" }, "value": "../Util/relativePosition.js" } }, { "type": "FunctionDeclaration", "start": 172, "end": 671, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 17, "column": 1 } }, "id": { "type": "Identifier", "start": 181, "end": 193, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 21 }, "identifierName": "typeObserver" }, "name": "typeObserver" }, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 197, "end": 671, "loc": { "start": { "line": 6, "column": 25 }, "end": { "line": 17, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 201, "end": 669, "loc": { "start": { "line": 7, "column": 2 }, "end": { "line": 16, "column": 4 } }, "expression": { "type": "CallExpression", "start": 201, "end": 669, "loc": { "start": { "line": 7, "column": 2 }, "end": { "line": 16, "column": 4 } }, "callee": { "type": "MemberExpression", "start": 201, "end": 220, "loc": { "start": { "line": 7, "column": 2 }, "end": { "line": 7, "column": 21 } }, "object": { "type": "ThisExpression", "start": 201, "end": 205, "loc": { "start": { "line": 7, "column": 2 }, "end": { "line": 7, "column": 6 } } }, "property": { "type": "Identifier", "start": 206, "end": 220, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 21 }, "identifierName": "_mutualExclude" }, "name": "_mutualExclude" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 221, "end": 668, "loc": { "start": { "line": 7, "column": 22 }, "end": { "line": 16, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 227, "end": 668, "loc": { "start": { "line": 7, "column": 28 }, "end": { "line": 16, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 233, "end": 261, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 32 } }, "declarations": [ { "type": "VariableDeclarator", "start": 239, "end": 261, "loc": { "start": { "line": 8, "column": 10 }, "end": { "line": 8, "column": 32 } }, "id": { "type": "Identifier", "start": 239, "end": 247, "loc": { "start": { "line": 8, "column": 10 }, "end": { "line": 8, "column": 18 }, "identifierName": "textarea" }, "name": "textarea" }, "init": { "type": "MemberExpression", "start": 250, "end": 261, "loc": { "start": { "line": 8, "column": 21 }, "end": { "line": 8, "column": 32 } }, "object": { "type": "ThisExpression", "start": 250, "end": 254, "loc": { "start": { "line": 8, "column": 21 }, "end": { "line": 8, "column": 25 } } }, "property": { "type": "Identifier", "start": 255, "end": 261, "loc": { "start": { "line": 8, "column": 26 }, "end": { "line": 8, "column": 32 }, "identifierName": "target" }, "name": "target" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 266, "end": 292, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 30 } }, "declarations": [ { "type": "VariableDeclarator", "start": 272, "end": 292, "loc": { "start": { "line": 9, "column": 10 }, "end": { "line": 9, "column": 30 } }, "id": { "type": "Identifier", "start": 272, "end": 280, "loc": { "start": { "line": 9, "column": 10 }, "end": { "line": 9, "column": 18 }, "identifierName": "textType" }, "name": "textType" }, "init": { "type": "MemberExpression", "start": 283, "end": 292, "loc": { "start": { "line": 9, "column": 21 }, "end": { "line": 9, "column": 30 } }, "object": { "type": "ThisExpression", "start": 283, "end": 287, "loc": { "start": { "line": 9, "column": 21 }, "end": { "line": 9, "column": 25 } } }, "property": { "type": "Identifier", "start": 288, "end": 292, "loc": { "start": { "line": 9, "column": 26 }, "end": { "line": 9, "column": 30 }, "identifierName": "type" }, "name": "type" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 297, "end": 373, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 10, "column": 80 } }, "declarations": [ { "type": "VariableDeclarator", "start": 303, "end": 373, "loc": { "start": { "line": 10, "column": 10 }, "end": { "line": 10, "column": 80 } }, "id": { "type": "Identifier", "start": 303, "end": 316, "loc": { "start": { "line": 10, "column": 10 }, "end": { "line": 10, "column": 23 }, "identifierName": "relativeStart" }, "name": "relativeStart" }, "init": { "type": "CallExpression", "start": 319, "end": 373, "loc": { "start": { "line": 10, "column": 26 }, "end": { "line": 10, "column": 80 } }, "callee": { "type": "Identifier", "start": 319, "end": 338, "loc": { "start": { "line": 10, "column": 26 }, "end": { "line": 10, "column": 45 }, "identifierName": "getRelativePosition" }, "name": "getRelativePosition" }, "arguments": [ { "type": "Identifier", "start": 339, "end": 347, "loc": { "start": { "line": 10, "column": 46 }, "end": { "line": 10, "column": 54 }, "identifierName": "textType" }, "name": "textType" }, { "type": "MemberExpression", "start": 349, "end": 372, "loc": { "start": { "line": 10, "column": 56 }, "end": { "line": 10, "column": 79 } }, "object": { "type": "Identifier", "start": 349, "end": 357, "loc": { "start": { "line": 10, "column": 56 }, "end": { "line": 10, "column": 64 }, "identifierName": "textarea" }, "name": "textarea" }, "property": { "type": "Identifier", "start": 358, "end": 372, "loc": { "start": { "line": 10, "column": 65 }, "end": { "line": 10, "column": 79 }, "identifierName": "selectionStart" }, "name": "selectionStart" }, "computed": false } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 378, "end": 450, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 76 } }, "declarations": [ { "type": "VariableDeclarator", "start": 384, "end": 450, "loc": { "start": { "line": 11, "column": 10 }, "end": { "line": 11, "column": 76 } }, "id": { "type": "Identifier", "start": 384, "end": 395, "loc": { "start": { "line": 11, "column": 10 }, "end": { "line": 11, "column": 21 }, "identifierName": "relativeEnd" }, "name": "relativeEnd" }, "init": { "type": "CallExpression", "start": 398, "end": 450, "loc": { "start": { "line": 11, "column": 24 }, "end": { "line": 11, "column": 76 } }, "callee": { "type": "Identifier", "start": 398, "end": 417, "loc": { "start": { "line": 11, "column": 24 }, "end": { "line": 11, "column": 43 }, "identifierName": "getRelativePosition" }, "name": "getRelativePosition" }, "arguments": [ { "type": "Identifier", "start": 418, "end": 426, "loc": { "start": { "line": 11, "column": 44 }, "end": { "line": 11, "column": 52 }, "identifierName": "textType" }, "name": "textType" }, { "type": "MemberExpression", "start": 428, "end": 449, "loc": { "start": { "line": 11, "column": 54 }, "end": { "line": 11, "column": 75 } }, "object": { "type": "Identifier", "start": 428, "end": 436, "loc": { "start": { "line": 11, "column": 54 }, "end": { "line": 11, "column": 62 }, "identifierName": "textarea" }, "name": "textarea" }, "property": { "type": "Identifier", "start": 437, "end": 449, "loc": { "start": { "line": 11, "column": 63 }, "end": { "line": 11, "column": 75 }, "identifierName": "selectionEnd" }, "name": "selectionEnd" }, "computed": false } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 455, "end": 491, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 40 } }, "expression": { "type": "AssignmentExpression", "start": 455, "end": 491, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 40 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 455, "end": 469, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 18 } }, "object": { "type": "Identifier", "start": 455, "end": 463, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 12 }, "identifierName": "textarea" }, "name": "textarea" }, "property": { "type": "Identifier", "start": 464, "end": 469, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 18 }, "identifierName": "value" }, "name": "value" }, "computed": false }, "right": { "type": "CallExpression", "start": 472, "end": 491, "loc": { "start": { "line": 12, "column": 21 }, "end": { "line": 12, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 472, "end": 489, "loc": { "start": { "line": 12, "column": 21 }, "end": { "line": 12, "column": 38 } }, "object": { "type": "Identifier", "start": 472, "end": 480, "loc": { "start": { "line": 12, "column": 21 }, "end": { "line": 12, "column": 29 }, "identifierName": "textType" }, "name": "textType" }, "property": { "type": "Identifier", "start": 481, "end": 489, "loc": { "start": { "line": 12, "column": 30 }, "end": { "line": 12, "column": 38 }, "identifierName": "toString" }, "name": "toString" }, "computed": false }, "arguments": [] } } }, { "type": "VariableDeclaration", "start": 496, "end": 558, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 502, "end": 558, "loc": { "start": { "line": 13, "column": 10 }, "end": { "line": 13, "column": 66 } }, "id": { "type": "Identifier", "start": 502, "end": 507, "loc": { "start": { "line": 13, "column": 10 }, "end": { "line": 13, "column": 15 }, "identifierName": "start" }, "name": "start" }, "init": { "type": "CallExpression", "start": 510, "end": 558, "loc": { "start": { "line": 13, "column": 18 }, "end": { "line": 13, "column": 66 } }, "callee": { "type": "Identifier", "start": 510, "end": 530, "loc": { "start": { "line": 13, "column": 18 }, "end": { "line": 13, "column": 38 }, "identifierName": "fromRelativePosition" }, "name": "fromRelativePosition" }, "arguments": [ { "type": "MemberExpression", "start": 531, "end": 542, "loc": { "start": { "line": 13, "column": 39 }, "end": { "line": 13, "column": 50 } }, "object": { "type": "Identifier", "start": 531, "end": 539, "loc": { "start": { "line": 13, "column": 39 }, "end": { "line": 13, "column": 47 }, "identifierName": "textType" }, "name": "textType" }, "property": { "type": "Identifier", "start": 540, "end": 542, "loc": { "start": { "line": 13, "column": 48 }, "end": { "line": 13, "column": 50 }, "identifierName": "_y" }, "name": "_y" }, "computed": false }, { "type": "Identifier", "start": 544, "end": 557, "loc": { "start": { "line": 13, "column": 52 }, "end": { "line": 13, "column": 65 }, "identifierName": "relativeStart" }, "name": "relativeStart" } ] } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 563, "end": 621, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 62 } }, "declarations": [ { "type": "VariableDeclarator", "start": 569, "end": 621, "loc": { "start": { "line": 14, "column": 10 }, "end": { "line": 14, "column": 62 } }, "id": { "type": "Identifier", "start": 569, "end": 572, "loc": { "start": { "line": 14, "column": 10 }, "end": { "line": 14, "column": 13 }, "identifierName": "end" }, "name": "end" }, "init": { "type": "CallExpression", "start": 575, "end": 621, "loc": { "start": { "line": 14, "column": 16 }, "end": { "line": 14, "column": 62 } }, "callee": { "type": "Identifier", "start": 575, "end": 595, "loc": { "start": { "line": 14, "column": 16 }, "end": { "line": 14, "column": 36 }, "identifierName": "fromRelativePosition" }, "name": "fromRelativePosition" }, "arguments": [ { "type": "MemberExpression", "start": 596, "end": 607, "loc": { "start": { "line": 14, "column": 37 }, "end": { "line": 14, "column": 48 } }, "object": { "type": "Identifier", "start": 596, "end": 604, "loc": { "start": { "line": 14, "column": 37 }, "end": { "line": 14, "column": 45 }, "identifierName": "textType" }, "name": "textType" }, "property": { "type": "Identifier", "start": 605, "end": 607, "loc": { "start": { "line": 14, "column": 46 }, "end": { "line": 14, "column": 48 }, "identifierName": "_y" }, "name": "_y" }, "computed": false }, { "type": "Identifier", "start": 609, "end": 620, "loc": { "start": { "line": 14, "column": 50 }, "end": { "line": 14, "column": 61 }, "identifierName": "relativeEnd" }, "name": "relativeEnd" } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 626, "end": 664, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 42 } }, "expression": { "type": "CallExpression", "start": 626, "end": 664, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 626, "end": 652, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 30 } }, "object": { "type": "Identifier", "start": 626, "end": 634, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 12 }, "identifierName": "textarea" }, "name": "textarea" }, "property": { "type": "Identifier", "start": 635, "end": 652, "loc": { "start": { "line": 15, "column": 13 }, "end": { "line": 15, "column": 30 }, "identifierName": "setSelectionRange" }, "name": "setSelectionRange" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 653, "end": 658, "loc": { "start": { "line": 15, "column": 31 }, "end": { "line": 15, "column": 36 }, "identifierName": "start" }, "name": "start" }, { "type": "Identifier", "start": 660, "end": 663, "loc": { "start": { "line": 15, "column": 38 }, "end": { "line": 15, "column": 41 }, "identifierName": "end" }, "name": "end" } ] } } ], "directives": [] } } ] } } ], "directives": [] } }, { "type": "FunctionDeclaration", "start": 673, "end": 890, "loc": { "start": { "line": 19, "column": 0 }, "end": { "line": 25, "column": 1 } }, "id": { "type": "Identifier", "start": 682, "end": 693, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 20 }, "identifierName": "domObserver" }, "name": "domObserver" }, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 697, "end": 890, "loc": { "start": { "line": 19, "column": 24 }, "end": { "line": 25, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 701, "end": 888, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 24, "column": 4 } }, "expression": { "type": "CallExpression", "start": 701, "end": 888, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 24, "column": 4 } }, "callee": { "type": "MemberExpression", "start": 701, "end": 720, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 20, "column": 21 } }, "object": { "type": "ThisExpression", "start": 701, "end": 705, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 20, "column": 6 } } }, "property": { "type": "Identifier", "start": 706, "end": 720, "loc": { "start": { "line": 20, "column": 7 }, "end": { "line": 20, "column": 21 }, "identifierName": "_mutualExclude" }, "name": "_mutualExclude" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 721, "end": 887, "loc": { "start": { "line": 20, "column": 22 }, "end": { "line": 24, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 727, "end": 887, "loc": { "start": { "line": 20, "column": 28 }, "end": { "line": 24, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 733, "end": 795, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 66 } }, "declarations": [ { "type": "VariableDeclarator", "start": 737, "end": 795, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 66 } }, "id": { "type": "Identifier", "start": 737, "end": 741, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 12 }, "identifierName": "diff" }, "name": "diff" }, "init": { "type": "CallExpression", "start": 744, "end": 795, "loc": { "start": { "line": 21, "column": 15 }, "end": { "line": 21, "column": 66 } }, "callee": { "type": "Identifier", "start": 744, "end": 754, "loc": { "start": { "line": 21, "column": 15 }, "end": { "line": 21, "column": 25 }, "identifierName": "simpleDiff" }, "name": "simpleDiff" }, "arguments": [ { "type": "CallExpression", "start": 755, "end": 775, "loc": { "start": { "line": 21, "column": 26 }, "end": { "line": 21, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 755, "end": 773, "loc": { "start": { "line": 21, "column": 26 }, "end": { "line": 21, "column": 44 } }, "object": { "type": "MemberExpression", "start": 755, "end": 764, "loc": { "start": { "line": 21, "column": 26 }, "end": { "line": 21, "column": 35 } }, "object": { "type": "ThisExpression", "start": 755, "end": 759, "loc": { "start": { "line": 21, "column": 26 }, "end": { "line": 21, "column": 30 } } }, "property": { "type": "Identifier", "start": 760, "end": 764, "loc": { "start": { "line": 21, "column": 31 }, "end": { "line": 21, "column": 35 }, "identifierName": "type" }, "name": "type" }, "computed": false }, "property": { "type": "Identifier", "start": 765, "end": 773, "loc": { "start": { "line": 21, "column": 36 }, "end": { "line": 21, "column": 44 }, "identifierName": "toString" }, "name": "toString" }, "computed": false }, "arguments": [] }, { "type": "MemberExpression", "start": 777, "end": 794, "loc": { "start": { "line": 21, "column": 48 }, "end": { "line": 21, "column": 65 } }, "object": { "type": "MemberExpression", "start": 777, "end": 788, "loc": { "start": { "line": 21, "column": 48 }, "end": { "line": 21, "column": 59 } }, "object": { "type": "ThisExpression", "start": 777, "end": 781, "loc": { "start": { "line": 21, "column": 48 }, "end": { "line": 21, "column": 52 } } }, "property": { "type": "Identifier", "start": 782, "end": 788, "loc": { "start": { "line": 21, "column": 53 }, "end": { "line": 21, "column": 59 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 789, "end": 794, "loc": { "start": { "line": 21, "column": 60 }, "end": { "line": 21, "column": 65 }, "identifierName": "value" }, "name": "value" }, "computed": false } ] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 800, "end": 839, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 43 } }, "expression": { "type": "CallExpression", "start": 800, "end": 839, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 800, "end": 816, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 20 } }, "object": { "type": "MemberExpression", "start": 800, "end": 809, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 13 } }, "object": { "type": "ThisExpression", "start": 800, "end": 804, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 8 } } }, "property": { "type": "Identifier", "start": 805, "end": 809, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 13 }, "identifierName": "type" }, "name": "type" }, "computed": false }, "property": { "type": "Identifier", "start": 810, "end": 816, "loc": { "start": { "line": 22, "column": 14 }, "end": { "line": 22, "column": 20 }, "identifierName": "delete" }, "name": "delete" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 817, "end": 825, "loc": { "start": { "line": 22, "column": 21 }, "end": { "line": 22, "column": 29 } }, "object": { "type": "Identifier", "start": 817, "end": 821, "loc": { "start": { "line": 22, "column": 21 }, "end": { "line": 22, "column": 25 }, "identifierName": "diff" }, "name": "diff" }, "property": { "type": "Identifier", "start": 822, "end": 825, "loc": { "start": { "line": 22, "column": 26 }, "end": { "line": 22, "column": 29 }, "identifierName": "pos" }, "name": "pos" }, "computed": false }, { "type": "MemberExpression", "start": 827, "end": 838, "loc": { "start": { "line": 22, "column": 31 }, "end": { "line": 22, "column": 42 } }, "object": { "type": "Identifier", "start": 827, "end": 831, "loc": { "start": { "line": 22, "column": 31 }, "end": { "line": 22, "column": 35 }, "identifierName": "diff" }, "name": "diff" }, "property": { "type": "Identifier", "start": 832, "end": 838, "loc": { "start": { "line": 22, "column": 36 }, "end": { "line": 22, "column": 42 }, "identifierName": "remove" }, "name": "remove" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 844, "end": 883, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 43 } }, "expression": { "type": "CallExpression", "start": 844, "end": 883, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 844, "end": 860, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 20 } }, "object": { "type": "MemberExpression", "start": 844, "end": 853, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 13 } }, "object": { "type": "ThisExpression", "start": 844, "end": 848, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 8 } } }, "property": { "type": "Identifier", "start": 849, "end": 853, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 13 }, "identifierName": "type" }, "name": "type" }, "computed": false }, "property": { "type": "Identifier", "start": 854, "end": 860, "loc": { "start": { "line": 23, "column": 14 }, "end": { "line": 23, "column": 20 }, "identifierName": "insert" }, "name": "insert" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 861, "end": 869, "loc": { "start": { "line": 23, "column": 21 }, "end": { "line": 23, "column": 29 } }, "object": { "type": "Identifier", "start": 861, "end": 865, "loc": { "start": { "line": 23, "column": 21 }, "end": { "line": 23, "column": 25 }, "identifierName": "diff" }, "name": "diff" }, "property": { "type": "Identifier", "start": 866, "end": 869, "loc": { "start": { "line": 23, "column": 26 }, "end": { "line": 23, "column": 29 }, "identifierName": "pos" }, "name": "pos" }, "computed": false }, { "type": "MemberExpression", "start": 871, "end": 882, "loc": { "start": { "line": 23, "column": 31 }, "end": { "line": 23, "column": 42 } }, "object": { "type": "Identifier", "start": 871, "end": 875, "loc": { "start": { "line": 23, "column": 31 }, "end": { "line": 23, "column": 35 }, "identifierName": "diff" }, "name": "diff" }, "property": { "type": "Identifier", "start": 876, "end": 882, "loc": { "start": { "line": 23, "column": 36 }, "end": { "line": 23, "column": 42 }, "identifierName": "insert" }, "name": "insert" }, "computed": false } ] } } ], "directives": [] } } ] } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * A binding that binds a YText to a dom textarea.\n *\n * This binding will automatically be destroyed when it's parent is deleted\n *\n * @example\n * const textare = document.createElement('textarea')\n * const type = y.define('textarea', Y.Text)\n * const binding = new Y.QuillBinding(textarea, type)\n *\n ", "start": 892, "end": 1206, "loc": { "start": { "line": 27, "column": 0 }, "end": { "line": 37, "column": 3 } } } ] }, { "type": "ExportDefaultDeclaration", "start": 1207, "end": 1909, "loc": { "start": { "line": 38, "column": 0 }, "end": { "line": 56, "column": 1 } }, "declaration": { "type": "ClassDeclaration", "start": 1222, "end": 1909, "loc": { "start": { "line": 38, "column": 15 }, "end": { "line": 56, "column": 1 } }, "id": { "type": "Identifier", "start": 1228, "end": 1243, "loc": { "start": { "line": 38, "column": 21 }, "end": { "line": 38, "column": 36 }, "identifierName": "TextareaBinding" }, "name": "TextareaBinding", "leadingComments": null }, "superClass": { "type": "Identifier", "start": 1252, "end": 1259, "loc": { "start": { "line": 38, "column": 45 }, "end": { "line": 38, "column": 52 }, "identifierName": "Binding" }, "name": "Binding" }, "body": { "type": "ClassBody", "start": 1260, "end": 1909, "loc": { "start": { "line": 38, "column": 53 }, "end": { "line": 56, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 1264, "end": 1724, "loc": { "start": { "line": 39, "column": 2 }, "end": { "line": 49, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1264, "end": 1275, "loc": { "start": { "line": 39, "column": 2 }, "end": { "line": 39, "column": 13 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1277, "end": 1285, "loc": { "start": { "line": 39, "column": 15 }, "end": { "line": 39, "column": 23 }, "identifierName": "textType" }, "name": "textType" }, { "type": "Identifier", "start": 1287, "end": 1298, "loc": { "start": { "line": 39, "column": 25 }, "end": { "line": 39, "column": 36 }, "identifierName": "domTextarea" }, "name": "domTextarea" } ], "body": { "type": "BlockStatement", "start": 1300, "end": 1724, "loc": { "start": { "line": 39, "column": 38 }, "end": { "line": 49, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 1382, "end": 1410, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 32 } }, "expression": { "type": "CallExpression", "start": 1382, "end": 1410, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 32 } }, "callee": { "type": "Super", "start": 1382, "end": 1387, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 9 } }, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 1388, "end": 1396, "loc": { "start": { "line": 41, "column": 10 }, "end": { "line": 41, "column": 18 }, "identifierName": "textType" }, "name": "textType" }, { "type": "Identifier", "start": 1398, "end": 1409, "loc": { "start": { "line": 41, "column": 20 }, "end": { "line": 41, "column": 31 }, "identifierName": "domTextarea" }, "name": "domTextarea" } ], "leadingComments": null, "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Binding handles textType as this.type and domTextarea as this.target", "start": 1306, "end": 1377, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 75 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " set initial value", "start": 1415, "end": 1435, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 24 } } } ] }, { "type": "ExpressionStatement", "start": 1440, "end": 1479, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 43, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 1440, "end": 1479, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 43, "column": 43 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1440, "end": 1457, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 43, "column": 21 } }, "object": { "type": "Identifier", "start": 1440, "end": 1451, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 43, "column": 15 }, "identifierName": "domTextarea" }, "name": "domTextarea", "leadingComments": null }, "property": { "type": "Identifier", "start": 1452, "end": 1457, "loc": { "start": { "line": 43, "column": 16 }, "end": { "line": 43, "column": 21 }, "identifierName": "value" }, "name": "value" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 1460, "end": 1479, "loc": { "start": { "line": 43, "column": 24 }, "end": { "line": 43, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 1460, "end": 1477, "loc": { "start": { "line": 43, "column": 24 }, "end": { "line": 43, "column": 41 } }, "object": { "type": "Identifier", "start": 1460, "end": 1468, "loc": { "start": { "line": 43, "column": 24 }, "end": { "line": 43, "column": 32 }, "identifierName": "textType" }, "name": "textType" }, "property": { "type": "Identifier", "start": 1469, "end": 1477, "loc": { "start": { "line": 43, "column": 33 }, "end": { "line": 43, "column": 41 }, "identifierName": "toString" }, "name": "toString" }, "computed": false }, "arguments": [], "trailingComments": null }, "leadingComments": null, "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " set initial value", "start": 1415, "end": 1435, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 24 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " Observers are handled by this class", "start": 1484, "end": 1522, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 42 } } } ] }, { "type": "ExpressionStatement", "start": 1527, "end": 1571, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 48 } }, "expression": { "type": "AssignmentExpression", "start": 1527, "end": 1571, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 48 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1527, "end": 1545, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 22 } }, "object": { "type": "ThisExpression", "start": 1527, "end": 1531, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1532, "end": 1545, "loc": { "start": { "line": 45, "column": 9 }, "end": { "line": 45, "column": 22 }, "identifierName": "_typeObserver" }, "name": "_typeObserver" }, "computed": false, "leadingComments": null }, "right": { "type": "CallExpression", "start": 1548, "end": 1571, "loc": { "start": { "line": 45, "column": 25 }, "end": { "line": 45, "column": 48 } }, "callee": { "type": "MemberExpression", "start": 1548, "end": 1565, "loc": { "start": { "line": 45, "column": 25 }, "end": { "line": 45, "column": 42 } }, "object": { "type": "Identifier", "start": 1548, "end": 1560, "loc": { "start": { "line": 45, "column": 25 }, "end": { "line": 45, "column": 37 }, "identifierName": "typeObserver" }, "name": "typeObserver" }, "property": { "type": "Identifier", "start": 1561, "end": 1565, "loc": { "start": { "line": 45, "column": 38 }, "end": { "line": 45, "column": 42 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 1566, "end": 1570, "loc": { "start": { "line": 45, "column": 43 }, "end": { "line": 45, "column": 47 } } } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Observers are handled by this class", "start": 1484, "end": 1522, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 42 } } } ] }, { "type": "ExpressionStatement", "start": 1576, "end": 1618, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 46 } }, "expression": { "type": "AssignmentExpression", "start": 1576, "end": 1618, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 46 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1576, "end": 1593, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 21 } }, "object": { "type": "ThisExpression", "start": 1576, "end": 1580, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 8 } } }, "property": { "type": "Identifier", "start": 1581, "end": 1593, "loc": { "start": { "line": 46, "column": 9 }, "end": { "line": 46, "column": 21 }, "identifierName": "_domObserver" }, "name": "_domObserver" }, "computed": false }, "right": { "type": "CallExpression", "start": 1596, "end": 1618, "loc": { "start": { "line": 46, "column": 24 }, "end": { "line": 46, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 1596, "end": 1612, "loc": { "start": { "line": 46, "column": 24 }, "end": { "line": 46, "column": 40 } }, "object": { "type": "Identifier", "start": 1596, "end": 1607, "loc": { "start": { "line": 46, "column": 24 }, "end": { "line": 46, "column": 35 }, "identifierName": "domObserver" }, "name": "domObserver" }, "property": { "type": "Identifier", "start": 1608, "end": 1612, "loc": { "start": { "line": 46, "column": 36 }, "end": { "line": 46, "column": 40 }, "identifierName": "bind" }, "name": "bind" }, "computed": false }, "arguments": [ { "type": "ThisExpression", "start": 1613, "end": 1617, "loc": { "start": { "line": 46, "column": 41 }, "end": { "line": 46, "column": 45 } } } ] } } }, { "type": "ExpressionStatement", "start": 1623, "end": 1659, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 40 } }, "expression": { "type": "CallExpression", "start": 1623, "end": 1659, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 40 } }, "callee": { "type": "MemberExpression", "start": 1623, "end": 1639, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 20 } }, "object": { "type": "Identifier", "start": 1623, "end": 1631, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 12 }, "identifierName": "textType" }, "name": "textType" }, "property": { "type": "Identifier", "start": 1632, "end": 1639, "loc": { "start": { "line": 47, "column": 13 }, "end": { "line": 47, "column": 20 }, "identifierName": "observe" }, "name": "observe" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1640, "end": 1658, "loc": { "start": { "line": 47, "column": 21 }, "end": { "line": 47, "column": 39 } }, "object": { "type": "ThisExpression", "start": 1640, "end": 1644, "loc": { "start": { "line": 47, "column": 21 }, "end": { "line": 47, "column": 25 } } }, "property": { "type": "Identifier", "start": 1645, "end": 1658, "loc": { "start": { "line": 47, "column": 26 }, "end": { "line": 47, "column": 39 }, "identifierName": "_typeObserver" }, "name": "_typeObserver" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 1664, "end": 1720, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 60 } }, "expression": { "type": "CallExpression", "start": 1664, "end": 1720, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 60 } }, "callee": { "type": "MemberExpression", "start": 1664, "end": 1692, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 32 } }, "object": { "type": "Identifier", "start": 1664, "end": 1675, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 15 }, "identifierName": "domTextarea" }, "name": "domTextarea" }, "property": { "type": "Identifier", "start": 1676, "end": 1692, "loc": { "start": { "line": 48, "column": 16 }, "end": { "line": 48, "column": 32 }, "identifierName": "addEventListener" }, "name": "addEventListener" }, "computed": false }, "arguments": [ { "type": "StringLiteral", "start": 1693, "end": 1700, "loc": { "start": { "line": 48, "column": 33 }, "end": { "line": 48, "column": 40 } }, "extra": { "rawValue": "input", "raw": "'input'" }, "value": "input" }, { "type": "MemberExpression", "start": 1702, "end": 1719, "loc": { "start": { "line": 48, "column": 42 }, "end": { "line": 48, "column": 59 } }, "object": { "type": "ThisExpression", "start": 1702, "end": 1706, "loc": { "start": { "line": 48, "column": 42 }, "end": { "line": 48, "column": 46 } } }, "property": { "type": "Identifier", "start": 1707, "end": 1719, "loc": { "start": { "line": 48, "column": 47 }, "end": { "line": 48, "column": 59 }, "identifierName": "_domObserver" }, "name": "_domObserver" }, "computed": false } ] } } ], "directives": [] } }, { "type": "ClassMethod", "start": 1727, "end": 1907, "loc": { "start": { "line": 50, "column": 2 }, "end": { "line": 55, "column": 3 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1727, "end": 1734, "loc": { "start": { "line": 50, "column": 2 }, "end": { "line": 50, "column": 9 }, "identifierName": "destroy" }, "name": "destroy" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1738, "end": 1907, "loc": { "start": { "line": 50, "column": 13 }, "end": { "line": 55, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 1799, "end": 1838, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 43 } }, "expression": { "type": "CallExpression", "start": 1799, "end": 1838, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 43 } }, "callee": { "type": "MemberExpression", "start": 1799, "end": 1818, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 23 } }, "object": { "type": "MemberExpression", "start": 1799, "end": 1808, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 13 } }, "object": { "type": "ThisExpression", "start": 1799, "end": 1803, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 8 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 1804, "end": 1808, "loc": { "start": { "line": 52, "column": 9 }, "end": { "line": 52, "column": 13 }, "identifierName": "type" }, "name": "type" }, "computed": false, "leadingComments": null }, "property": { "type": "Identifier", "start": 1809, "end": 1818, "loc": { "start": { "line": 52, "column": 14 }, "end": { "line": 52, "column": 23 }, "identifierName": "unobserve" }, "name": "unobserve" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "MemberExpression", "start": 1819, "end": 1837, "loc": { "start": { "line": 52, "column": 24 }, "end": { "line": 52, "column": 42 } }, "object": { "type": "ThisExpression", "start": 1819, "end": 1823, "loc": { "start": { "line": 52, "column": 24 }, "end": { "line": 52, "column": 28 } } }, "property": { "type": "Identifier", "start": 1824, "end": 1837, "loc": { "start": { "line": 52, "column": 29 }, "end": { "line": 52, "column": 42 }, "identifierName": "_typeObserver" }, "name": "_typeObserver" }, "computed": false } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Remove everything that is handled by this class", "start": 1744, "end": 1794, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 54 } } } ] }, { "type": "ExpressionStatement", "start": 1843, "end": 1883, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 44 } }, "expression": { "type": "CallExpression", "start": 1843, "end": 1883, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 1843, "end": 1864, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 25 } }, "object": { "type": "MemberExpression", "start": 1843, "end": 1854, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 15 } }, "object": { "type": "ThisExpression", "start": 1843, "end": 1847, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 8 } } }, "property": { "type": "Identifier", "start": 1848, "end": 1854, "loc": { "start": { "line": 53, "column": 9 }, "end": { "line": 53, "column": 15 }, "identifierName": "target" }, "name": "target" }, "computed": false }, "property": { "type": "Identifier", "start": 1855, "end": 1864, "loc": { "start": { "line": 53, "column": 16 }, "end": { "line": 53, "column": 25 }, "identifierName": "unobserve" }, "name": "unobserve" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1865, "end": 1882, "loc": { "start": { "line": 53, "column": 26 }, "end": { "line": 53, "column": 43 } }, "object": { "type": "ThisExpression", "start": 1865, "end": 1869, "loc": { "start": { "line": 53, "column": 26 }, "end": { "line": 53, "column": 30 } } }, "property": { "type": "Identifier", "start": 1870, "end": 1882, "loc": { "start": { "line": 53, "column": 31 }, "end": { "line": 53, "column": 43 }, "identifierName": "_domObserver" }, "name": "_domObserver" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 1888, "end": 1903, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 19 } }, "expression": { "type": "CallExpression", "start": 1888, "end": 1903, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 1888, "end": 1901, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 17 } }, "object": { "type": "Super", "start": 1888, "end": 1893, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 9 } } }, "property": { "type": "Identifier", "start": 1894, "end": 1901, "loc": { "start": { "line": 54, "column": 10 }, "end": { "line": 54, "column": 17 }, "identifierName": "destroy" }, "name": "destroy" }, "computed": false }, "arguments": [] } } ], "directives": [] } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * A binding that binds a YText to a dom textarea.\n *\n * This binding will automatically be destroyed when it's parent is deleted\n *\n * @example\n * const textare = document.createElement('textarea')\n * const type = y.define('textarea', Y.Text)\n * const binding = new Y.QuillBinding(textarea, type)\n *\n ", "start": 892, "end": 1206, "loc": { "start": { "line": 27, "column": 0 }, "end": { "line": 37, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * A binding that binds a YText to a dom textarea.\n *\n * This binding will automatically be destroyed when it's parent is deleted\n *\n * @example\n * const textare = document.createElement('textarea')\n * const type = y.define('textarea', Y.Text)\n * const binding = new Y.QuillBinding(textarea, type)\n *\n ", "start": 892, "end": 1206, "loc": { "start": { "line": 27, "column": 0 }, "end": { "line": 37, "column": 3 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * A binding that binds a YText to a dom textarea.\n *\n * This binding will automatically be destroyed when it's parent is deleted\n *\n * @example\n * const textare = document.createElement('textarea')\n * const type = y.define('textarea', Y.Text)\n * const binding = new Y.QuillBinding(textarea, type)\n *\n ", "start": 892, "end": 1206, "loc": { "start": { "line": 27, "column": 0 }, "end": { "line": 37, "column": 3 } } }, { "type": "CommentLine", "value": " Binding handles textType as this.type and domTextarea as this.target", "start": 1306, "end": 1377, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 75 } } }, { "type": "CommentLine", "value": " set initial value", "start": 1415, "end": 1435, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 24 } } }, { "type": "CommentLine", "value": " Observers are handled by this class", "start": 1484, "end": 1522, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 42 } } }, { "type": "CommentLine", "value": " Remove everything that is handled by this class", "start": 1744, "end": 1794, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 54 } } } ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 1, "end": 7, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Binding", "start": 8, "end": 15, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 16, "end": 20, "loc": { "start": { "line": 2, "column": 15 }, "end": { "line": 2, "column": 19 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./Binding.js", "start": 21, "end": 35, "loc": { "start": { "line": 2, "column": 20 }, "end": { "line": 2, "column": 34 } } }, { "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": 36, "end": 42, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "simpleDiff", "start": 43, "end": 53, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 54, "end": 58, "loc": { "start": { "line": 3, "column": 18 }, "end": { "line": 3, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../Util/simpleDiff.js", "start": 59, "end": 82, "loc": { "start": { "line": 3, "column": 23 }, "end": { "line": 3, "column": 46 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 83, "end": 89, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 90, "end": 91, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getRelativePosition", "start": 92, "end": 111, "loc": { "start": { "line": 4, "column": 9 }, "end": { "line": 4, "column": 28 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 111, "end": 112, "loc": { "start": { "line": 4, "column": 28 }, "end": { "line": 4, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fromRelativePosition", "start": 113, "end": 133, "loc": { "start": { "line": 4, "column": 30 }, "end": { "line": 4, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 134, "end": 135, "loc": { "start": { "line": 4, "column": 51 }, "end": { "line": 4, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 136, "end": 140, "loc": { "start": { "line": 4, "column": 53 }, "end": { "line": 4, "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": 141, "end": 170, "loc": { "start": { "line": 4, "column": 58 }, "end": { "line": 4, "column": 87 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 172, "end": 180, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 6, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeObserver", "start": 181, "end": 193, "loc": { "start": { "line": 6, "column": 9 }, "end": { "line": 6, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 194, "end": 195, "loc": { "start": { "line": 6, "column": 22 }, "end": { "line": 6, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 195, "end": 196, "loc": { "start": { "line": 6, "column": 23 }, "end": { "line": 6, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 197, "end": 198, "loc": { "start": { "line": 6, "column": 25 }, "end": { "line": 6, "column": 26 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 201, "end": 205, "loc": { "start": { "line": 7, "column": 2 }, "end": { "line": 7, "column": 6 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 205, "end": 206, "loc": { "start": { "line": 7, "column": 6 }, "end": { "line": 7, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_mutualExclude", "start": 206, "end": 220, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 220, "end": 221, "loc": { "start": { "line": 7, "column": 21 }, "end": { "line": 7, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 221, "end": 222, "loc": { "start": { "line": 7, "column": 22 }, "end": { "line": 7, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 222, "end": 223, "loc": { "start": { "line": 7, "column": 23 }, "end": { "line": 7, "column": 24 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 224, "end": 226, "loc": { "start": { "line": 7, "column": 25 }, "end": { "line": 7, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 227, "end": 228, "loc": { "start": { "line": 7, "column": 28 }, "end": { "line": 7, "column": 29 } } }, { "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": 233, "end": 238, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textarea", "start": 239, "end": 247, "loc": { "start": { "line": 8, "column": 10 }, "end": { "line": 8, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 248, "end": 249, "loc": { "start": { "line": 8, "column": 19 }, "end": { "line": 8, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 250, "end": 254, "loc": { "start": { "line": 8, "column": 21 }, "end": { "line": 8, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 254, "end": 255, "loc": { "start": { "line": 8, "column": 25 }, "end": { "line": 8, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 255, "end": 261, "loc": { "start": { "line": 8, "column": 26 }, "end": { "line": 8, "column": 32 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 266, "end": 271, "loc": { "start": { "line": 9, "column": 4 }, "end": { "line": 9, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textType", "start": 272, "end": 280, "loc": { "start": { "line": 9, "column": 10 }, "end": { "line": 9, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 281, "end": 282, "loc": { "start": { "line": 9, "column": 19 }, "end": { "line": 9, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 283, "end": 287, "loc": { "start": { "line": 9, "column": 21 }, "end": { "line": 9, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 287, "end": 288, "loc": { "start": { "line": 9, "column": 25 }, "end": { "line": 9, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 288, "end": 292, "loc": { "start": { "line": 9, "column": 26 }, "end": { "line": 9, "column": 30 } } }, { "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": 297, "end": 302, "loc": { "start": { "line": 10, "column": 4 }, "end": { "line": 10, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "relativeStart", "start": 303, "end": 316, "loc": { "start": { "line": 10, "column": 10 }, "end": { "line": 10, "column": 23 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 317, "end": 318, "loc": { "start": { "line": 10, "column": 24 }, "end": { "line": 10, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getRelativePosition", "start": 319, "end": 338, "loc": { "start": { "line": 10, "column": 26 }, "end": { "line": 10, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 338, "end": 339, "loc": { "start": { "line": 10, "column": 45 }, "end": { "line": 10, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textType", "start": 339, "end": 347, "loc": { "start": { "line": 10, "column": 46 }, "end": { "line": 10, "column": 54 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 347, "end": 348, "loc": { "start": { "line": 10, "column": 54 }, "end": { "line": 10, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textarea", "start": 349, "end": 357, "loc": { "start": { "line": 10, "column": 56 }, "end": { "line": 10, "column": 64 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 357, "end": 358, "loc": { "start": { "line": 10, "column": 64 }, "end": { "line": 10, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "selectionStart", "start": 358, "end": 372, "loc": { "start": { "line": 10, "column": 65 }, "end": { "line": 10, "column": 79 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 372, "end": 373, "loc": { "start": { "line": 10, "column": 79 }, "end": { "line": 10, "column": 80 } } }, { "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": 378, "end": 383, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "relativeEnd", "start": 384, "end": 395, "loc": { "start": { "line": 11, "column": 10 }, "end": { "line": 11, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 396, "end": 397, "loc": { "start": { "line": 11, "column": 22 }, "end": { "line": 11, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getRelativePosition", "start": 398, "end": 417, "loc": { "start": { "line": 11, "column": 24 }, "end": { "line": 11, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 417, "end": 418, "loc": { "start": { "line": 11, "column": 43 }, "end": { "line": 11, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textType", "start": 418, "end": 426, "loc": { "start": { "line": 11, "column": 44 }, "end": { "line": 11, "column": 52 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 426, "end": 427, "loc": { "start": { "line": 11, "column": 52 }, "end": { "line": 11, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textarea", "start": 428, "end": 436, "loc": { "start": { "line": 11, "column": 54 }, "end": { "line": 11, "column": 62 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 436, "end": 437, "loc": { "start": { "line": 11, "column": 62 }, "end": { "line": 11, "column": 63 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "selectionEnd", "start": 437, "end": 449, "loc": { "start": { "line": 11, "column": 63 }, "end": { "line": 11, "column": 75 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 449, "end": 450, "loc": { "start": { "line": 11, "column": 75 }, "end": { "line": 11, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textarea", "start": 455, "end": 463, "loc": { "start": { "line": 12, "column": 4 }, "end": { "line": 12, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 463, "end": 464, "loc": { "start": { "line": 12, "column": 12 }, "end": { "line": 12, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 464, "end": 469, "loc": { "start": { "line": 12, "column": 13 }, "end": { "line": 12, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 470, "end": 471, "loc": { "start": { "line": 12, "column": 19 }, "end": { "line": 12, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textType", "start": 472, "end": 480, "loc": { "start": { "line": 12, "column": 21 }, "end": { "line": 12, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 480, "end": 481, "loc": { "start": { "line": 12, "column": 29 }, "end": { "line": 12, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toString", "start": 481, "end": 489, "loc": { "start": { "line": 12, "column": 30 }, "end": { "line": 12, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 489, "end": 490, "loc": { "start": { "line": 12, "column": 38 }, "end": { "line": 12, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 490, "end": 491, "loc": { "start": { "line": 12, "column": 39 }, "end": { "line": 12, "column": 40 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 496, "end": 501, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "start", "start": 502, "end": 507, "loc": { "start": { "line": 13, "column": 10 }, "end": { "line": 13, "column": 15 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 508, "end": 509, "loc": { "start": { "line": 13, "column": 16 }, "end": { "line": 13, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fromRelativePosition", "start": 510, "end": 530, "loc": { "start": { "line": 13, "column": 18 }, "end": { "line": 13, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 530, "end": 531, "loc": { "start": { "line": 13, "column": 38 }, "end": { "line": 13, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textType", "start": 531, "end": 539, "loc": { "start": { "line": 13, "column": 39 }, "end": { "line": 13, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 539, "end": 540, "loc": { "start": { "line": 13, "column": 47 }, "end": { "line": 13, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_y", "start": 540, "end": 542, "loc": { "start": { "line": 13, "column": 48 }, "end": { "line": 13, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 542, "end": 543, "loc": { "start": { "line": 13, "column": 50 }, "end": { "line": 13, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "relativeStart", "start": 544, "end": 557, "loc": { "start": { "line": 13, "column": 52 }, "end": { "line": 13, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 557, "end": 558, "loc": { "start": { "line": 13, "column": 65 }, "end": { "line": 13, "column": 66 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 563, "end": 568, "loc": { "start": { "line": 14, "column": 4 }, "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": "end", "start": 569, "end": 572, "loc": { "start": { "line": 14, "column": 10 }, "end": { "line": 14, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 573, "end": 574, "loc": { "start": { "line": 14, "column": 14 }, "end": { "line": 14, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "fromRelativePosition", "start": 575, "end": 595, "loc": { "start": { "line": 14, "column": 16 }, "end": { "line": 14, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 595, "end": 596, "loc": { "start": { "line": 14, "column": 36 }, "end": { "line": 14, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textType", "start": 596, "end": 604, "loc": { "start": { "line": 14, "column": 37 }, "end": { "line": 14, "column": 45 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 604, "end": 605, "loc": { "start": { "line": 14, "column": 45 }, "end": { "line": 14, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_y", "start": 605, "end": 607, "loc": { "start": { "line": 14, "column": 46 }, "end": { "line": 14, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 607, "end": 608, "loc": { "start": { "line": 14, "column": 48 }, "end": { "line": 14, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "relativeEnd", "start": 609, "end": 620, "loc": { "start": { "line": 14, "column": 50 }, "end": { "line": 14, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 620, "end": 621, "loc": { "start": { "line": 14, "column": 61 }, "end": { "line": 14, "column": 62 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textarea", "start": 626, "end": 634, "loc": { "start": { "line": 15, "column": 4 }, "end": { "line": 15, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 634, "end": 635, "loc": { "start": { "line": 15, "column": 12 }, "end": { "line": 15, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setSelectionRange", "start": 635, "end": 652, "loc": { "start": { "line": 15, "column": 13 }, "end": { "line": 15, "column": 30 } } }, { "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": 15, "column": 30 }, "end": { "line": 15, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "start", "start": 653, "end": 658, "loc": { "start": { "line": 15, "column": 31 }, "end": { "line": 15, "column": 36 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 658, "end": 659, "loc": { "start": { "line": 15, "column": 36 }, "end": { "line": 15, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "end", "start": 660, "end": 663, "loc": { "start": { "line": 15, "column": 38 }, "end": { "line": 15, "column": 41 } } }, { "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": 15, "column": 41 }, "end": { "line": 15, "column": 42 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 667, "end": 668, "loc": { "start": { "line": 16, "column": 2 }, "end": { "line": 16, "column": 3 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 668, "end": 669, "loc": { "start": { "line": 16, "column": 3 }, "end": { "line": 16, "column": 4 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 670, "end": 671, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 17, "column": 1 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 673, "end": 681, "loc": { "start": { "line": 19, "column": 0 }, "end": { "line": 19, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domObserver", "start": 682, "end": 693, "loc": { "start": { "line": 19, "column": 9 }, "end": { "line": 19, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 694, "end": 695, "loc": { "start": { "line": 19, "column": 21 }, "end": { "line": 19, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 695, "end": 696, "loc": { "start": { "line": 19, "column": 22 }, "end": { "line": 19, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 697, "end": 698, "loc": { "start": { "line": 19, "column": 24 }, "end": { "line": 19, "column": 25 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 701, "end": 705, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 20, "column": 6 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 705, "end": 706, "loc": { "start": { "line": 20, "column": 6 }, "end": { "line": 20, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_mutualExclude", "start": 706, "end": 720, "loc": { "start": { "line": 20, "column": 7 }, "end": { "line": 20, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 720, "end": 721, "loc": { "start": { "line": 20, "column": 21 }, "end": { "line": 20, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 721, "end": 722, "loc": { "start": { "line": 20, "column": 22 }, "end": { "line": 20, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 722, "end": 723, "loc": { "start": { "line": 20, "column": 23 }, "end": { "line": 20, "column": 24 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 724, "end": 726, "loc": { "start": { "line": 20, "column": 25 }, "end": { "line": 20, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 727, "end": 728, "loc": { "start": { "line": 20, "column": 28 }, "end": { "line": 20, "column": 29 } } }, { "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": 733, "end": 736, "loc": { "start": { "line": 21, "column": 4 }, "end": { "line": 21, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "diff", "start": 737, "end": 741, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 742, "end": 743, "loc": { "start": { "line": 21, "column": 13 }, "end": { "line": 21, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "simpleDiff", "start": 744, "end": 754, "loc": { "start": { "line": 21, "column": 15 }, "end": { "line": 21, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 754, "end": 755, "loc": { "start": { "line": 21, "column": 25 }, "end": { "line": 21, "column": 26 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 755, "end": 759, "loc": { "start": { "line": 21, "column": 26 }, "end": { "line": 21, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 759, "end": 760, "loc": { "start": { "line": 21, "column": 30 }, "end": { "line": 21, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 760, "end": 764, "loc": { "start": { "line": 21, "column": 31 }, "end": { "line": 21, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 764, "end": 765, "loc": { "start": { "line": 21, "column": 35 }, "end": { "line": 21, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toString", "start": 765, "end": 773, "loc": { "start": { "line": 21, "column": 36 }, "end": { "line": 21, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 773, "end": 774, "loc": { "start": { "line": 21, "column": 44 }, "end": { "line": 21, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 774, "end": 775, "loc": { "start": { "line": 21, "column": 45 }, "end": { "line": 21, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 775, "end": 776, "loc": { "start": { "line": 21, "column": 46 }, "end": { "line": 21, "column": 47 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 777, "end": 781, "loc": { "start": { "line": 21, "column": 48 }, "end": { "line": 21, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 781, "end": 782, "loc": { "start": { "line": 21, "column": 52 }, "end": { "line": 21, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 782, "end": 788, "loc": { "start": { "line": 21, "column": 53 }, "end": { "line": 21, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 788, "end": 789, "loc": { "start": { "line": 21, "column": 59 }, "end": { "line": 21, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 789, "end": 794, "loc": { "start": { "line": 21, "column": 60 }, "end": { "line": 21, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 794, "end": 795, "loc": { "start": { "line": 21, "column": 65 }, "end": { "line": 21, "column": 66 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 800, "end": 804, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 804, "end": 805, "loc": { "start": { "line": 22, "column": 8 }, "end": { "line": 22, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 805, "end": 809, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 809, "end": 810, "loc": { "start": { "line": 22, "column": 13 }, "end": { "line": 22, "column": 14 } } }, { "type": { "label": "delete", "keyword": "delete", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "delete", "start": 810, "end": 816, "loc": { "start": { "line": 22, "column": 14 }, "end": { "line": 22, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 816, "end": 817, "loc": { "start": { "line": 22, "column": 20 }, "end": { "line": 22, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "diff", "start": 817, "end": 821, "loc": { "start": { "line": 22, "column": 21 }, "end": { "line": 22, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 821, "end": 822, "loc": { "start": { "line": 22, "column": 25 }, "end": { "line": 22, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 822, "end": 825, "loc": { "start": { "line": 22, "column": 26 }, "end": { "line": 22, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 825, "end": 826, "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": "diff", "start": 827, "end": 831, "loc": { "start": { "line": 22, "column": 31 }, "end": { "line": 22, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 831, "end": 832, "loc": { "start": { "line": 22, "column": 35 }, "end": { "line": 22, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remove", "start": 832, "end": 838, "loc": { "start": { "line": 22, "column": 36 }, "end": { "line": 22, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 838, "end": 839, "loc": { "start": { "line": 22, "column": 42 }, "end": { "line": 22, "column": 43 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 844, "end": 848, "loc": { "start": { "line": 23, "column": 4 }, "end": { "line": 23, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 848, "end": 849, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 849, "end": 853, "loc": { "start": { "line": 23, "column": 9 }, "end": { "line": 23, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 853, "end": 854, "loc": { "start": { "line": 23, "column": 13 }, "end": { "line": 23, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insert", "start": 854, "end": 860, "loc": { "start": { "line": 23, "column": 14 }, "end": { "line": 23, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 860, "end": 861, "loc": { "start": { "line": 23, "column": 20 }, "end": { "line": 23, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "diff", "start": 861, "end": 865, "loc": { "start": { "line": 23, "column": 21 }, "end": { "line": 23, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 865, "end": 866, "loc": { "start": { "line": 23, "column": 25 }, "end": { "line": 23, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 866, "end": 869, "loc": { "start": { "line": 23, "column": 26 }, "end": { "line": 23, "column": 29 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 869, "end": 870, "loc": { "start": { "line": 23, "column": 29 }, "end": { "line": 23, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "diff", "start": 871, "end": 875, "loc": { "start": { "line": 23, "column": 31 }, "end": { "line": 23, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 875, "end": 876, "loc": { "start": { "line": 23, "column": 35 }, "end": { "line": 23, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insert", "start": 876, "end": 882, "loc": { "start": { "line": 23, "column": 36 }, "end": { "line": 23, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 882, "end": 883, "loc": { "start": { "line": 23, "column": 42 }, "end": { "line": 23, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 886, "end": 887, "loc": { "start": { "line": 24, "column": 2 }, "end": { "line": 24, "column": 3 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 887, "end": 888, "loc": { "start": { "line": 24, "column": 3 }, "end": { "line": 24, "column": 4 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 889, "end": 890, "loc": { "start": { "line": 25, "column": 0 }, "end": { "line": 25, "column": 1 } } }, { "type": "CommentBlock", "value": "*\n * A binding that binds a YText to a dom textarea.\n *\n * This binding will automatically be destroyed when it's parent is deleted\n *\n * @example\n * const textare = document.createElement('textarea')\n * const type = y.define('textarea', Y.Text)\n * const binding = new Y.QuillBinding(textarea, type)\n *\n ", "start": 892, "end": 1206, "loc": { "start": { "line": 27, "column": 0 }, "end": { "line": 37, "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": 1207, "end": 1213, "loc": { "start": { "line": 38, "column": 0 }, "end": { "line": 38, "column": 6 } } }, { "type": { "label": "default", "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "default", "start": 1214, "end": 1221, "loc": { "start": { "line": 38, "column": 7 }, "end": { "line": 38, "column": 14 } } }, { "type": { "label": "class", "keyword": "class", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "class", "start": 1222, "end": 1227, "loc": { "start": { "line": 38, "column": 15 }, "end": { "line": 38, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "TextareaBinding", "start": 1228, "end": 1243, "loc": { "start": { "line": 38, "column": 21 }, "end": { "line": 38, "column": 36 } } }, { "type": { "label": "extends", "keyword": "extends", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "extends", "start": 1244, "end": 1251, "loc": { "start": { "line": 38, "column": 37 }, "end": { "line": 38, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Binding", "start": 1252, "end": 1259, "loc": { "start": { "line": 38, "column": 45 }, "end": { "line": 38, "column": 52 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1260, "end": 1261, "loc": { "start": { "line": 38, "column": 53 }, "end": { "line": 38, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 1264, "end": 1275, "loc": { "start": { "line": 39, "column": 2 }, "end": { "line": 39, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1276, "end": 1277, "loc": { "start": { "line": 39, "column": 14 }, "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": "textType", "start": 1277, "end": 1285, "loc": { "start": { "line": 39, "column": 15 }, "end": { "line": 39, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1285, "end": 1286, "loc": { "start": { "line": 39, "column": 23 }, "end": { "line": 39, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domTextarea", "start": 1287, "end": 1298, "loc": { "start": { "line": 39, "column": 25 }, "end": { "line": 39, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1298, "end": 1299, "loc": { "start": { "line": 39, "column": 36 }, "end": { "line": 39, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1300, "end": 1301, "loc": { "start": { "line": 39, "column": 38 }, "end": { "line": 39, "column": 39 } } }, { "type": "CommentLine", "value": " Binding handles textType as this.type and domTextarea as this.target", "start": 1306, "end": 1377, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 75 } } }, { "type": { "label": "super", "keyword": "super", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "super", "start": 1382, "end": 1387, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1387, "end": 1388, "loc": { "start": { "line": 41, "column": 9 }, "end": { "line": 41, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textType", "start": 1388, "end": 1396, "loc": { "start": { "line": 41, "column": 10 }, "end": { "line": 41, "column": 18 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1396, "end": 1397, "loc": { "start": { "line": 41, "column": 18 }, "end": { "line": 41, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domTextarea", "start": 1398, "end": 1409, "loc": { "start": { "line": 41, "column": 20 }, "end": { "line": 41, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1409, "end": 1410, "loc": { "start": { "line": 41, "column": 31 }, "end": { "line": 41, "column": 32 } } }, { "type": "CommentLine", "value": " set initial value", "start": 1415, "end": 1435, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domTextarea", "start": 1440, "end": 1451, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 43, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1451, "end": 1452, "loc": { "start": { "line": 43, "column": 15 }, "end": { "line": 43, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "value", "start": 1452, "end": 1457, "loc": { "start": { "line": 43, "column": 16 }, "end": { "line": 43, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1458, "end": 1459, "loc": { "start": { "line": 43, "column": 22 }, "end": { "line": 43, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textType", "start": 1460, "end": 1468, "loc": { "start": { "line": 43, "column": 24 }, "end": { "line": 43, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1468, "end": 1469, "loc": { "start": { "line": 43, "column": 32 }, "end": { "line": 43, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toString", "start": 1469, "end": 1477, "loc": { "start": { "line": 43, "column": 33 }, "end": { "line": 43, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1477, "end": 1478, "loc": { "start": { "line": 43, "column": 41 }, "end": { "line": 43, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1478, "end": 1479, "loc": { "start": { "line": 43, "column": 42 }, "end": { "line": 43, "column": 43 } } }, { "type": "CommentLine", "value": " Observers are handled by this class", "start": 1484, "end": 1522, "loc": { "start": { "line": 44, "column": 4 }, "end": { "line": 44, "column": 42 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1527, "end": 1531, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 45, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1531, "end": 1532, "loc": { "start": { "line": 45, "column": 8 }, "end": { "line": 45, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_typeObserver", "start": 1532, "end": 1545, "loc": { "start": { "line": 45, "column": 9 }, "end": { "line": 45, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1546, "end": 1547, "loc": { "start": { "line": 45, "column": 23 }, "end": { "line": 45, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeObserver", "start": 1548, "end": 1560, "loc": { "start": { "line": 45, "column": 25 }, "end": { "line": 45, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1560, "end": 1561, "loc": { "start": { "line": 45, "column": 37 }, "end": { "line": 45, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 1561, "end": 1565, "loc": { "start": { "line": 45, "column": 38 }, "end": { "line": 45, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1565, "end": 1566, "loc": { "start": { "line": 45, "column": 42 }, "end": { "line": 45, "column": 43 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1566, "end": 1570, "loc": { "start": { "line": 45, "column": 43 }, "end": { "line": 45, "column": 47 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1570, "end": 1571, "loc": { "start": { "line": 45, "column": 47 }, "end": { "line": 45, "column": 48 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1576, "end": 1580, "loc": { "start": { "line": 46, "column": 4 }, "end": { "line": 46, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1580, "end": 1581, "loc": { "start": { "line": 46, "column": 8 }, "end": { "line": 46, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_domObserver", "start": 1581, "end": 1593, "loc": { "start": { "line": 46, "column": 9 }, "end": { "line": 46, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1594, "end": 1595, "loc": { "start": { "line": 46, "column": 22 }, "end": { "line": 46, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domObserver", "start": 1596, "end": 1607, "loc": { "start": { "line": 46, "column": 24 }, "end": { "line": 46, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1607, "end": 1608, "loc": { "start": { "line": 46, "column": 35 }, "end": { "line": 46, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "bind", "start": 1608, "end": 1612, "loc": { "start": { "line": 46, "column": 36 }, "end": { "line": 46, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1612, "end": 1613, "loc": { "start": { "line": 46, "column": 40 }, "end": { "line": 46, "column": 41 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1613, "end": 1617, "loc": { "start": { "line": 46, "column": 41 }, "end": { "line": 46, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1617, "end": 1618, "loc": { "start": { "line": 46, "column": 45 }, "end": { "line": 46, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "textType", "start": 1623, "end": 1631, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1631, "end": 1632, "loc": { "start": { "line": 47, "column": 12 }, "end": { "line": 47, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "observe", "start": 1632, "end": 1639, "loc": { "start": { "line": 47, "column": 13 }, "end": { "line": 47, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1639, "end": 1640, "loc": { "start": { "line": 47, "column": 20 }, "end": { "line": 47, "column": 21 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1640, "end": 1644, "loc": { "start": { "line": 47, "column": 21 }, "end": { "line": 47, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1644, "end": 1645, "loc": { "start": { "line": 47, "column": 25 }, "end": { "line": 47, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_typeObserver", "start": 1645, "end": 1658, "loc": { "start": { "line": 47, "column": 26 }, "end": { "line": 47, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1658, "end": 1659, "loc": { "start": { "line": 47, "column": 39 }, "end": { "line": 47, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domTextarea", "start": 1664, "end": 1675, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1675, "end": 1676, "loc": { "start": { "line": 48, "column": 15 }, "end": { "line": 48, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "addEventListener", "start": 1676, "end": 1692, "loc": { "start": { "line": 48, "column": 16 }, "end": { "line": 48, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1692, "end": 1693, "loc": { "start": { "line": 48, "column": 32 }, "end": { "line": 48, "column": 33 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "input", "start": 1693, "end": 1700, "loc": { "start": { "line": 48, "column": 33 }, "end": { "line": 48, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1700, "end": 1701, "loc": { "start": { "line": 48, "column": 40 }, "end": { "line": 48, "column": 41 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1702, "end": 1706, "loc": { "start": { "line": 48, "column": 42 }, "end": { "line": 48, "column": 46 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1706, "end": 1707, "loc": { "start": { "line": 48, "column": 46 }, "end": { "line": 48, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_domObserver", "start": 1707, "end": 1719, "loc": { "start": { "line": 48, "column": 47 }, "end": { "line": 48, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1719, "end": 1720, "loc": { "start": { "line": 48, "column": 59 }, "end": { "line": 48, "column": 60 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1723, "end": 1724, "loc": { "start": { "line": 49, "column": 2 }, "end": { "line": 49, "column": 3 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destroy", "start": 1727, "end": 1734, "loc": { "start": { "line": 50, "column": 2 }, "end": { "line": 50, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1735, "end": 1736, "loc": { "start": { "line": 50, "column": 10 }, "end": { "line": 50, "column": 11 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1736, "end": 1737, "loc": { "start": { "line": 50, "column": 11 }, "end": { "line": 50, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1738, "end": 1739, "loc": { "start": { "line": 50, "column": 13 }, "end": { "line": 50, "column": 14 } } }, { "type": "CommentLine", "value": " Remove everything that is handled by this class", "start": 1744, "end": 1794, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 54 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1799, "end": 1803, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1803, "end": 1804, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 1804, "end": 1808, "loc": { "start": { "line": 52, "column": 9 }, "end": { "line": 52, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1808, "end": 1809, "loc": { "start": { "line": 52, "column": 13 }, "end": { "line": 52, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unobserve", "start": 1809, "end": 1818, "loc": { "start": { "line": 52, "column": 14 }, "end": { "line": 52, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1818, "end": 1819, "loc": { "start": { "line": 52, "column": 23 }, "end": { "line": 52, "column": 24 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1819, "end": 1823, "loc": { "start": { "line": 52, "column": 24 }, "end": { "line": 52, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1823, "end": 1824, "loc": { "start": { "line": 52, "column": 28 }, "end": { "line": 52, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_typeObserver", "start": 1824, "end": 1837, "loc": { "start": { "line": 52, "column": 29 }, "end": { "line": 52, "column": 42 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1837, "end": 1838, "loc": { "start": { "line": 52, "column": 42 }, "end": { "line": 52, "column": 43 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1843, "end": 1847, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 53, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1847, "end": 1848, "loc": { "start": { "line": 53, "column": 8 }, "end": { "line": 53, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 1848, "end": 1854, "loc": { "start": { "line": 53, "column": 9 }, "end": { "line": 53, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1854, "end": 1855, "loc": { "start": { "line": 53, "column": 15 }, "end": { "line": 53, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "unobserve", "start": 1855, "end": 1864, "loc": { "start": { "line": 53, "column": 16 }, "end": { "line": 53, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1864, "end": 1865, "loc": { "start": { "line": 53, "column": 25 }, "end": { "line": 53, "column": 26 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1865, "end": 1869, "loc": { "start": { "line": 53, "column": 26 }, "end": { "line": 53, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1869, "end": 1870, "loc": { "start": { "line": 53, "column": 30 }, "end": { "line": 53, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_domObserver", "start": 1870, "end": 1882, "loc": { "start": { "line": 53, "column": 31 }, "end": { "line": 53, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1882, "end": 1883, "loc": { "start": { "line": 53, "column": 43 }, "end": { "line": 53, "column": 44 } } }, { "type": { "label": "super", "keyword": "super", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "super", "start": 1888, "end": 1893, "loc": { "start": { "line": 54, "column": 4 }, "end": { "line": 54, "column": 9 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1893, "end": 1894, "loc": { "start": { "line": 54, "column": 9 }, "end": { "line": 54, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "destroy", "start": 1894, "end": 1901, "loc": { "start": { "line": 54, "column": 10 }, "end": { "line": 54, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1901, "end": 1902, "loc": { "start": { "line": 54, "column": 17 }, "end": { "line": 54, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1902, "end": 1903, "loc": { "start": { "line": 54, "column": 18 }, "end": { "line": 54, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1906, "end": 1907, "loc": { "start": { "line": 55, "column": 2 }, "end": { "line": 55, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1908, "end": 1909, "loc": { "start": { "line": 56, "column": 0 }, "end": { "line": 56, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1910, "end": 1910, "loc": { "start": { "line": 57, "column": 0 }, "end": { "line": 57, "column": 0 } } } ] }