yjs/docs/ast/source/Bindings/TextareaBinding/TextareaBinding.js.json
2018-04-27 18:45:01 +02:00

11194 lines
293 KiB
JSON

{
"type": "File",
"start": 0,
"end": 1912,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 57,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 1912,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 57,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 1,
"end": 36,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 35
}
},
"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": 36,
"loc": {
"start": {
"line": 2,
"column": 20
},
"end": {
"line": 2,
"column": 35
}
},
"extra": {
"rawValue": "../Binding.js",
"raw": "'../Binding.js'"
},
"value": "../Binding.js"
}
},
{
"type": "ImportDeclaration",
"start": 37,
"end": 86,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 49
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 44,
"end": 54,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 17
}
},
"local": {
"type": "Identifier",
"start": 44,
"end": 54,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 17
},
"identifierName": "simpleDiff"
},
"name": "simpleDiff"
}
}
],
"source": {
"type": "StringLiteral",
"start": 60,
"end": 86,
"loc": {
"start": {
"line": 3,
"column": 23
},
"end": {
"line": 3,
"column": 49
}
},
"extra": {
"rawValue": "../../Util/simpleDiff.js",
"raw": "'../../Util/simpleDiff.js'"
},
"value": "../../Util/simpleDiff.js"
}
},
{
"type": "ImportDeclaration",
"start": 87,
"end": 177,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 90
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 96,
"end": 115,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 28
}
},
"imported": {
"type": "Identifier",
"start": 96,
"end": 115,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 28
},
"identifierName": "getRelativePosition"
},
"name": "getRelativePosition"
},
"local": {
"type": "Identifier",
"start": 96,
"end": 115,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 28
},
"identifierName": "getRelativePosition"
},
"name": "getRelativePosition"
}
},
{
"type": "ImportSpecifier",
"start": 117,
"end": 137,
"loc": {
"start": {
"line": 4,
"column": 30
},
"end": {
"line": 4,
"column": 50
}
},
"imported": {
"type": "Identifier",
"start": 117,
"end": 137,
"loc": {
"start": {
"line": 4,
"column": 30
},
"end": {
"line": 4,
"column": 50
},
"identifierName": "fromRelativePosition"
},
"name": "fromRelativePosition"
},
"local": {
"type": "Identifier",
"start": 117,
"end": 137,
"loc": {
"start": {
"line": 4,
"column": 30
},
"end": {
"line": 4,
"column": 50
},
"identifierName": "fromRelativePosition"
},
"name": "fromRelativePosition"
}
}
],
"source": {
"type": "StringLiteral",
"start": 145,
"end": 177,
"loc": {
"start": {
"line": 4,
"column": 58
},
"end": {
"line": 4,
"column": 90
}
},
"extra": {
"rawValue": "../../Util/relativePosition.js",
"raw": "'../../Util/relativePosition.js'"
},
"value": "../../Util/relativePosition.js"
}
},
{
"type": "FunctionDeclaration",
"start": 179,
"end": 678,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 17,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 188,
"end": 200,
"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": 204,
"end": 678,
"loc": {
"start": {
"line": 6,
"column": 25
},
"end": {
"line": 17,
"column": 1
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 208,
"end": 676,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 16,
"column": 4
}
},
"expression": {
"type": "CallExpression",
"start": 208,
"end": 676,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 16,
"column": 4
}
},
"callee": {
"type": "MemberExpression",
"start": 208,
"end": 227,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 7,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 208,
"end": 212,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 7,
"column": 6
}
}
},
"property": {
"type": "Identifier",
"start": 213,
"end": 227,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 21
},
"identifierName": "_mutualExclude"
},
"name": "_mutualExclude"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 228,
"end": 675,
"loc": {
"start": {
"line": 7,
"column": 22
},
"end": {
"line": 16,
"column": 3
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 234,
"end": 675,
"loc": {
"start": {
"line": 7,
"column": 28
},
"end": {
"line": 16,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 240,
"end": 268,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 32
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 246,
"end": 268,
"loc": {
"start": {
"line": 8,
"column": 10
},
"end": {
"line": 8,
"column": 32
}
},
"id": {
"type": "Identifier",
"start": 246,
"end": 254,
"loc": {
"start": {
"line": 8,
"column": 10
},
"end": {
"line": 8,
"column": 18
},
"identifierName": "textarea"
},
"name": "textarea"
},
"init": {
"type": "MemberExpression",
"start": 257,
"end": 268,
"loc": {
"start": {
"line": 8,
"column": 21
},
"end": {
"line": 8,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 257,
"end": 261,
"loc": {
"start": {
"line": 8,
"column": 21
},
"end": {
"line": 8,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 262,
"end": 268,
"loc": {
"start": {
"line": 8,
"column": 26
},
"end": {
"line": 8,
"column": 32
},
"identifierName": "target"
},
"name": "target"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 273,
"end": 299,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 30
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 279,
"end": 299,
"loc": {
"start": {
"line": 9,
"column": 10
},
"end": {
"line": 9,
"column": 30
}
},
"id": {
"type": "Identifier",
"start": 279,
"end": 287,
"loc": {
"start": {
"line": 9,
"column": 10
},
"end": {
"line": 9,
"column": 18
},
"identifierName": "textType"
},
"name": "textType"
},
"init": {
"type": "MemberExpression",
"start": 290,
"end": 299,
"loc": {
"start": {
"line": 9,
"column": 21
},
"end": {
"line": 9,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 290,
"end": 294,
"loc": {
"start": {
"line": 9,
"column": 21
},
"end": {
"line": 9,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 295,
"end": 299,
"loc": {
"start": {
"line": 9,
"column": 26
},
"end": {
"line": 9,
"column": 30
},
"identifierName": "type"
},
"name": "type"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 304,
"end": 380,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 80
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 310,
"end": 380,
"loc": {
"start": {
"line": 10,
"column": 10
},
"end": {
"line": 10,
"column": 80
}
},
"id": {
"type": "Identifier",
"start": 310,
"end": 323,
"loc": {
"start": {
"line": 10,
"column": 10
},
"end": {
"line": 10,
"column": 23
},
"identifierName": "relativeStart"
},
"name": "relativeStart"
},
"init": {
"type": "CallExpression",
"start": 326,
"end": 380,
"loc": {
"start": {
"line": 10,
"column": 26
},
"end": {
"line": 10,
"column": 80
}
},
"callee": {
"type": "Identifier",
"start": 326,
"end": 345,
"loc": {
"start": {
"line": 10,
"column": 26
},
"end": {
"line": 10,
"column": 45
},
"identifierName": "getRelativePosition"
},
"name": "getRelativePosition"
},
"arguments": [
{
"type": "Identifier",
"start": 346,
"end": 354,
"loc": {
"start": {
"line": 10,
"column": 46
},
"end": {
"line": 10,
"column": 54
},
"identifierName": "textType"
},
"name": "textType"
},
{
"type": "MemberExpression",
"start": 356,
"end": 379,
"loc": {
"start": {
"line": 10,
"column": 56
},
"end": {
"line": 10,
"column": 79
}
},
"object": {
"type": "Identifier",
"start": 356,
"end": 364,
"loc": {
"start": {
"line": 10,
"column": 56
},
"end": {
"line": 10,
"column": 64
},
"identifierName": "textarea"
},
"name": "textarea"
},
"property": {
"type": "Identifier",
"start": 365,
"end": 379,
"loc": {
"start": {
"line": 10,
"column": 65
},
"end": {
"line": 10,
"column": 79
},
"identifierName": "selectionStart"
},
"name": "selectionStart"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 385,
"end": 457,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 76
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 391,
"end": 457,
"loc": {
"start": {
"line": 11,
"column": 10
},
"end": {
"line": 11,
"column": 76
}
},
"id": {
"type": "Identifier",
"start": 391,
"end": 402,
"loc": {
"start": {
"line": 11,
"column": 10
},
"end": {
"line": 11,
"column": 21
},
"identifierName": "relativeEnd"
},
"name": "relativeEnd"
},
"init": {
"type": "CallExpression",
"start": 405,
"end": 457,
"loc": {
"start": {
"line": 11,
"column": 24
},
"end": {
"line": 11,
"column": 76
}
},
"callee": {
"type": "Identifier",
"start": 405,
"end": 424,
"loc": {
"start": {
"line": 11,
"column": 24
},
"end": {
"line": 11,
"column": 43
},
"identifierName": "getRelativePosition"
},
"name": "getRelativePosition"
},
"arguments": [
{
"type": "Identifier",
"start": 425,
"end": 433,
"loc": {
"start": {
"line": 11,
"column": 44
},
"end": {
"line": 11,
"column": 52
},
"identifierName": "textType"
},
"name": "textType"
},
{
"type": "MemberExpression",
"start": 435,
"end": 456,
"loc": {
"start": {
"line": 11,
"column": 54
},
"end": {
"line": 11,
"column": 75
}
},
"object": {
"type": "Identifier",
"start": 435,
"end": 443,
"loc": {
"start": {
"line": 11,
"column": 54
},
"end": {
"line": 11,
"column": 62
},
"identifierName": "textarea"
},
"name": "textarea"
},
"property": {
"type": "Identifier",
"start": 444,
"end": 456,
"loc": {
"start": {
"line": 11,
"column": 63
},
"end": {
"line": 11,
"column": 75
},
"identifierName": "selectionEnd"
},
"name": "selectionEnd"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 462,
"end": 498,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 40
}
},
"expression": {
"type": "AssignmentExpression",
"start": 462,
"end": 498,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 40
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 462,
"end": 476,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 462,
"end": 470,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 12
},
"identifierName": "textarea"
},
"name": "textarea"
},
"property": {
"type": "Identifier",
"start": 471,
"end": 476,
"loc": {
"start": {
"line": 12,
"column": 13
},
"end": {
"line": 12,
"column": 18
},
"identifierName": "value"
},
"name": "value"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 479,
"end": 498,
"loc": {
"start": {
"line": 12,
"column": 21
},
"end": {
"line": 12,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 479,
"end": 496,
"loc": {
"start": {
"line": 12,
"column": 21
},
"end": {
"line": 12,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 479,
"end": 487,
"loc": {
"start": {
"line": 12,
"column": 21
},
"end": {
"line": 12,
"column": 29
},
"identifierName": "textType"
},
"name": "textType"
},
"property": {
"type": "Identifier",
"start": 488,
"end": 496,
"loc": {
"start": {
"line": 12,
"column": 30
},
"end": {
"line": 12,
"column": 38
},
"identifierName": "toString"
},
"name": "toString"
},
"computed": false
},
"arguments": []
}
}
},
{
"type": "VariableDeclaration",
"start": 503,
"end": 565,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 66
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 509,
"end": 565,
"loc": {
"start": {
"line": 13,
"column": 10
},
"end": {
"line": 13,
"column": 66
}
},
"id": {
"type": "Identifier",
"start": 509,
"end": 514,
"loc": {
"start": {
"line": 13,
"column": 10
},
"end": {
"line": 13,
"column": 15
},
"identifierName": "start"
},
"name": "start"
},
"init": {
"type": "CallExpression",
"start": 517,
"end": 565,
"loc": {
"start": {
"line": 13,
"column": 18
},
"end": {
"line": 13,
"column": 66
}
},
"callee": {
"type": "Identifier",
"start": 517,
"end": 537,
"loc": {
"start": {
"line": 13,
"column": 18
},
"end": {
"line": 13,
"column": 38
},
"identifierName": "fromRelativePosition"
},
"name": "fromRelativePosition"
},
"arguments": [
{
"type": "MemberExpression",
"start": 538,
"end": 549,
"loc": {
"start": {
"line": 13,
"column": 39
},
"end": {
"line": 13,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 538,
"end": 546,
"loc": {
"start": {
"line": 13,
"column": 39
},
"end": {
"line": 13,
"column": 47
},
"identifierName": "textType"
},
"name": "textType"
},
"property": {
"type": "Identifier",
"start": 547,
"end": 549,
"loc": {
"start": {
"line": 13,
"column": 48
},
"end": {
"line": 13,
"column": 50
},
"identifierName": "_y"
},
"name": "_y"
},
"computed": false
},
{
"type": "Identifier",
"start": 551,
"end": 564,
"loc": {
"start": {
"line": 13,
"column": 52
},
"end": {
"line": 13,
"column": 65
},
"identifierName": "relativeStart"
},
"name": "relativeStart"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 570,
"end": 628,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 62
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 576,
"end": 628,
"loc": {
"start": {
"line": 14,
"column": 10
},
"end": {
"line": 14,
"column": 62
}
},
"id": {
"type": "Identifier",
"start": 576,
"end": 579,
"loc": {
"start": {
"line": 14,
"column": 10
},
"end": {
"line": 14,
"column": 13
},
"identifierName": "end"
},
"name": "end"
},
"init": {
"type": "CallExpression",
"start": 582,
"end": 628,
"loc": {
"start": {
"line": 14,
"column": 16
},
"end": {
"line": 14,
"column": 62
}
},
"callee": {
"type": "Identifier",
"start": 582,
"end": 602,
"loc": {
"start": {
"line": 14,
"column": 16
},
"end": {
"line": 14,
"column": 36
},
"identifierName": "fromRelativePosition"
},
"name": "fromRelativePosition"
},
"arguments": [
{
"type": "MemberExpression",
"start": 603,
"end": 614,
"loc": {
"start": {
"line": 14,
"column": 37
},
"end": {
"line": 14,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 603,
"end": 611,
"loc": {
"start": {
"line": 14,
"column": 37
},
"end": {
"line": 14,
"column": 45
},
"identifierName": "textType"
},
"name": "textType"
},
"property": {
"type": "Identifier",
"start": 612,
"end": 614,
"loc": {
"start": {
"line": 14,
"column": 46
},
"end": {
"line": 14,
"column": 48
},
"identifierName": "_y"
},
"name": "_y"
},
"computed": false
},
{
"type": "Identifier",
"start": 616,
"end": 627,
"loc": {
"start": {
"line": 14,
"column": 50
},
"end": {
"line": 14,
"column": 61
},
"identifierName": "relativeEnd"
},
"name": "relativeEnd"
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 633,
"end": 671,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 42
}
},
"expression": {
"type": "CallExpression",
"start": 633,
"end": 671,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 42
}
},
"callee": {
"type": "MemberExpression",
"start": 633,
"end": 659,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 633,
"end": 641,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 12
},
"identifierName": "textarea"
},
"name": "textarea"
},
"property": {
"type": "Identifier",
"start": 642,
"end": 659,
"loc": {
"start": {
"line": 15,
"column": 13
},
"end": {
"line": 15,
"column": 30
},
"identifierName": "setSelectionRange"
},
"name": "setSelectionRange"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 660,
"end": 665,
"loc": {
"start": {
"line": 15,
"column": 31
},
"end": {
"line": 15,
"column": 36
},
"identifierName": "start"
},
"name": "start"
},
{
"type": "Identifier",
"start": 667,
"end": 670,
"loc": {
"start": {
"line": 15,
"column": 38
},
"end": {
"line": 15,
"column": 41
},
"identifierName": "end"
},
"name": "end"
}
]
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
}
},
{
"type": "FunctionDeclaration",
"start": 680,
"end": 897,
"loc": {
"start": {
"line": 19,
"column": 0
},
"end": {
"line": 25,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 689,
"end": 700,
"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": 704,
"end": 897,
"loc": {
"start": {
"line": 19,
"column": 24
},
"end": {
"line": 25,
"column": 1
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 708,
"end": 895,
"loc": {
"start": {
"line": 20,
"column": 2
},
"end": {
"line": 24,
"column": 4
}
},
"expression": {
"type": "CallExpression",
"start": 708,
"end": 895,
"loc": {
"start": {
"line": 20,
"column": 2
},
"end": {
"line": 24,
"column": 4
}
},
"callee": {
"type": "MemberExpression",
"start": 708,
"end": 727,
"loc": {
"start": {
"line": 20,
"column": 2
},
"end": {
"line": 20,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 708,
"end": 712,
"loc": {
"start": {
"line": 20,
"column": 2
},
"end": {
"line": 20,
"column": 6
}
}
},
"property": {
"type": "Identifier",
"start": 713,
"end": 727,
"loc": {
"start": {
"line": 20,
"column": 7
},
"end": {
"line": 20,
"column": 21
},
"identifierName": "_mutualExclude"
},
"name": "_mutualExclude"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 728,
"end": 894,
"loc": {
"start": {
"line": 20,
"column": 22
},
"end": {
"line": 24,
"column": 3
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 734,
"end": 894,
"loc": {
"start": {
"line": 20,
"column": 28
},
"end": {
"line": 24,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 740,
"end": 802,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 66
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 744,
"end": 802,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 66
}
},
"id": {
"type": "Identifier",
"start": 744,
"end": 748,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 12
},
"identifierName": "diff"
},
"name": "diff"
},
"init": {
"type": "CallExpression",
"start": 751,
"end": 802,
"loc": {
"start": {
"line": 21,
"column": 15
},
"end": {
"line": 21,
"column": 66
}
},
"callee": {
"type": "Identifier",
"start": 751,
"end": 761,
"loc": {
"start": {
"line": 21,
"column": 15
},
"end": {
"line": 21,
"column": 25
},
"identifierName": "simpleDiff"
},
"name": "simpleDiff"
},
"arguments": [
{
"type": "CallExpression",
"start": 762,
"end": 782,
"loc": {
"start": {
"line": 21,
"column": 26
},
"end": {
"line": 21,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 762,
"end": 780,
"loc": {
"start": {
"line": 21,
"column": 26
},
"end": {
"line": 21,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 762,
"end": 771,
"loc": {
"start": {
"line": 21,
"column": 26
},
"end": {
"line": 21,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 762,
"end": 766,
"loc": {
"start": {
"line": 21,
"column": 26
},
"end": {
"line": 21,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"start": 767,
"end": 771,
"loc": {
"start": {
"line": 21,
"column": 31
},
"end": {
"line": 21,
"column": 35
},
"identifierName": "type"
},
"name": "type"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 772,
"end": 780,
"loc": {
"start": {
"line": 21,
"column": 36
},
"end": {
"line": 21,
"column": 44
},
"identifierName": "toString"
},
"name": "toString"
},
"computed": false
},
"arguments": []
},
{
"type": "MemberExpression",
"start": 784,
"end": 801,
"loc": {
"start": {
"line": 21,
"column": 48
},
"end": {
"line": 21,
"column": 65
}
},
"object": {
"type": "MemberExpression",
"start": 784,
"end": 795,
"loc": {
"start": {
"line": 21,
"column": 48
},
"end": {
"line": 21,
"column": 59
}
},
"object": {
"type": "ThisExpression",
"start": 784,
"end": 788,
"loc": {
"start": {
"line": 21,
"column": 48
},
"end": {
"line": 21,
"column": 52
}
}
},
"property": {
"type": "Identifier",
"start": 789,
"end": 795,
"loc": {
"start": {
"line": 21,
"column": 53
},
"end": {
"line": 21,
"column": 59
},
"identifierName": "target"
},
"name": "target"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 796,
"end": 801,
"loc": {
"start": {
"line": 21,
"column": 60
},
"end": {
"line": 21,
"column": 65
},
"identifierName": "value"
},
"name": "value"
},
"computed": false
}
]
}
}
],
"kind": "let"
},
{
"type": "ExpressionStatement",
"start": 807,
"end": 846,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 43
}
},
"expression": {
"type": "CallExpression",
"start": 807,
"end": 846,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 807,
"end": 823,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 20
}
},
"object": {
"type": "MemberExpression",
"start": 807,
"end": 816,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 13
}
},
"object": {
"type": "ThisExpression",
"start": 807,
"end": 811,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 812,
"end": 816,
"loc": {
"start": {
"line": 22,
"column": 9
},
"end": {
"line": 22,
"column": 13
},
"identifierName": "type"
},
"name": "type"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 817,
"end": 823,
"loc": {
"start": {
"line": 22,
"column": 14
},
"end": {
"line": 22,
"column": 20
},
"identifierName": "delete"
},
"name": "delete"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 824,
"end": 832,
"loc": {
"start": {
"line": 22,
"column": 21
},
"end": {
"line": 22,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 824,
"end": 828,
"loc": {
"start": {
"line": 22,
"column": 21
},
"end": {
"line": 22,
"column": 25
},
"identifierName": "diff"
},
"name": "diff"
},
"property": {
"type": "Identifier",
"start": 829,
"end": 832,
"loc": {
"start": {
"line": 22,
"column": 26
},
"end": {
"line": 22,
"column": 29
},
"identifierName": "pos"
},
"name": "pos"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 834,
"end": 845,
"loc": {
"start": {
"line": 22,
"column": 31
},
"end": {
"line": 22,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 834,
"end": 838,
"loc": {
"start": {
"line": 22,
"column": 31
},
"end": {
"line": 22,
"column": 35
},
"identifierName": "diff"
},
"name": "diff"
},
"property": {
"type": "Identifier",
"start": 839,
"end": 845,
"loc": {
"start": {
"line": 22,
"column": 36
},
"end": {
"line": 22,
"column": 42
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 851,
"end": 890,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 43
}
},
"expression": {
"type": "CallExpression",
"start": 851,
"end": 890,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 851,
"end": 867,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 20
}
},
"object": {
"type": "MemberExpression",
"start": 851,
"end": 860,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 13
}
},
"object": {
"type": "ThisExpression",
"start": 851,
"end": 855,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 856,
"end": 860,
"loc": {
"start": {
"line": 23,
"column": 9
},
"end": {
"line": 23,
"column": 13
},
"identifierName": "type"
},
"name": "type"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 861,
"end": 867,
"loc": {
"start": {
"line": 23,
"column": 14
},
"end": {
"line": 23,
"column": 20
},
"identifierName": "insert"
},
"name": "insert"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 868,
"end": 876,
"loc": {
"start": {
"line": 23,
"column": 21
},
"end": {
"line": 23,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 868,
"end": 872,
"loc": {
"start": {
"line": 23,
"column": 21
},
"end": {
"line": 23,
"column": 25
},
"identifierName": "diff"
},
"name": "diff"
},
"property": {
"type": "Identifier",
"start": 873,
"end": 876,
"loc": {
"start": {
"line": 23,
"column": 26
},
"end": {
"line": 23,
"column": 29
},
"identifierName": "pos"
},
"name": "pos"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 878,
"end": 889,
"loc": {
"start": {
"line": 23,
"column": 31
},
"end": {
"line": 23,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 878,
"end": 882,
"loc": {
"start": {
"line": 23,
"column": 31
},
"end": {
"line": 23,
"column": 35
},
"identifierName": "diff"
},
"name": "diff"
},
"property": {
"type": "Identifier",
"start": 883,
"end": 889,
"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 is automatically destroyed when its 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(type, textarea)\n *\n ",
"start": 899,
"end": 1208,
"loc": {
"start": {
"line": 27,
"column": 0
},
"end": {
"line": 37,
"column": 3
}
}
}
]
},
{
"type": "ExportDefaultDeclaration",
"start": 1209,
"end": 1911,
"loc": {
"start": {
"line": 38,
"column": 0
},
"end": {
"line": 56,
"column": 1
}
},
"declaration": {
"type": "ClassDeclaration",
"start": 1224,
"end": 1911,
"loc": {
"start": {
"line": 38,
"column": 15
},
"end": {
"line": 56,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 1230,
"end": 1245,
"loc": {
"start": {
"line": 38,
"column": 21
},
"end": {
"line": 38,
"column": 36
},
"identifierName": "TextareaBinding"
},
"name": "TextareaBinding",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 1254,
"end": 1261,
"loc": {
"start": {
"line": 38,
"column": 45
},
"end": {
"line": 38,
"column": 52
},
"identifierName": "Binding"
},
"name": "Binding"
},
"body": {
"type": "ClassBody",
"start": 1262,
"end": 1911,
"loc": {
"start": {
"line": 38,
"column": 53
},
"end": {
"line": 56,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 1266,
"end": 1726,
"loc": {
"start": {
"line": 39,
"column": 2
},
"end": {
"line": 49,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1266,
"end": 1277,
"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": 1279,
"end": 1287,
"loc": {
"start": {
"line": 39,
"column": 15
},
"end": {
"line": 39,
"column": 23
},
"identifierName": "textType"
},
"name": "textType"
},
{
"type": "Identifier",
"start": 1289,
"end": 1300,
"loc": {
"start": {
"line": 39,
"column": 25
},
"end": {
"line": 39,
"column": 36
},
"identifierName": "domTextarea"
},
"name": "domTextarea"
}
],
"body": {
"type": "BlockStatement",
"start": 1302,
"end": 1726,
"loc": {
"start": {
"line": 39,
"column": 38
},
"end": {
"line": 49,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1384,
"end": 1412,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"column": 32
}
},
"expression": {
"type": "CallExpression",
"start": 1384,
"end": 1412,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"column": 32
}
},
"callee": {
"type": "Super",
"start": 1384,
"end": 1389,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"column": 9
}
},
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 1390,
"end": 1398,
"loc": {
"start": {
"line": 41,
"column": 10
},
"end": {
"line": 41,
"column": 18
},
"identifierName": "textType"
},
"name": "textType"
},
{
"type": "Identifier",
"start": 1400,
"end": 1411,
"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": 1308,
"end": 1379,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 75
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " set initial value",
"start": 1417,
"end": 1437,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 42,
"column": 24
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1442,
"end": 1481,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1442,
"end": 1481,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 43
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1442,
"end": 1459,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 1442,
"end": 1453,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 15
},
"identifierName": "domTextarea"
},
"name": "domTextarea",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1454,
"end": 1459,
"loc": {
"start": {
"line": 43,
"column": 16
},
"end": {
"line": 43,
"column": 21
},
"identifierName": "value"
},
"name": "value"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "CallExpression",
"start": 1462,
"end": 1481,
"loc": {
"start": {
"line": 43,
"column": 24
},
"end": {
"line": 43,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 1462,
"end": 1479,
"loc": {
"start": {
"line": 43,
"column": 24
},
"end": {
"line": 43,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 1462,
"end": 1470,
"loc": {
"start": {
"line": 43,
"column": 24
},
"end": {
"line": 43,
"column": 32
},
"identifierName": "textType"
},
"name": "textType"
},
"property": {
"type": "Identifier",
"start": 1471,
"end": 1479,
"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": 1417,
"end": 1437,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 42,
"column": 24
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Observers are handled by this class",
"start": 1486,
"end": 1524,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 42
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1529,
"end": 1573,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 48
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1529,
"end": 1573,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 48
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1529,
"end": 1547,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 1529,
"end": 1533,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 8
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1534,
"end": 1547,
"loc": {
"start": {
"line": 45,
"column": 9
},
"end": {
"line": 45,
"column": 22
},
"identifierName": "_typeObserver"
},
"name": "_typeObserver"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "CallExpression",
"start": 1550,
"end": 1573,
"loc": {
"start": {
"line": 45,
"column": 25
},
"end": {
"line": 45,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 1550,
"end": 1567,
"loc": {
"start": {
"line": 45,
"column": 25
},
"end": {
"line": 45,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 1550,
"end": 1562,
"loc": {
"start": {
"line": 45,
"column": 25
},
"end": {
"line": 45,
"column": 37
},
"identifierName": "typeObserver"
},
"name": "typeObserver"
},
"property": {
"type": "Identifier",
"start": 1563,
"end": 1567,
"loc": {
"start": {
"line": 45,
"column": 38
},
"end": {
"line": 45,
"column": 42
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 1568,
"end": 1572,
"loc": {
"start": {
"line": 45,
"column": 43
},
"end": {
"line": 45,
"column": 47
}
}
}
]
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Observers are handled by this class",
"start": 1486,
"end": 1524,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 42
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1578,
"end": 1620,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 46
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1578,
"end": 1620,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 46
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1578,
"end": 1595,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 1578,
"end": 1582,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 1583,
"end": 1595,
"loc": {
"start": {
"line": 46,
"column": 9
},
"end": {
"line": 46,
"column": 21
},
"identifierName": "_domObserver"
},
"name": "_domObserver"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1598,
"end": 1620,
"loc": {
"start": {
"line": 46,
"column": 24
},
"end": {
"line": 46,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 1598,
"end": 1614,
"loc": {
"start": {
"line": 46,
"column": 24
},
"end": {
"line": 46,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 1598,
"end": 1609,
"loc": {
"start": {
"line": 46,
"column": 24
},
"end": {
"line": 46,
"column": 35
},
"identifierName": "domObserver"
},
"name": "domObserver"
},
"property": {
"type": "Identifier",
"start": 1610,
"end": 1614,
"loc": {
"start": {
"line": 46,
"column": 36
},
"end": {
"line": 46,
"column": 40
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 1615,
"end": 1619,
"loc": {
"start": {
"line": 46,
"column": 41
},
"end": {
"line": 46,
"column": 45
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 1625,
"end": 1661,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 40
}
},
"expression": {
"type": "CallExpression",
"start": 1625,
"end": 1661,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 1625,
"end": 1641,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 1625,
"end": 1633,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 12
},
"identifierName": "textType"
},
"name": "textType"
},
"property": {
"type": "Identifier",
"start": 1634,
"end": 1641,
"loc": {
"start": {
"line": 47,
"column": 13
},
"end": {
"line": 47,
"column": 20
},
"identifierName": "observe"
},
"name": "observe"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1642,
"end": 1660,
"loc": {
"start": {
"line": 47,
"column": 21
},
"end": {
"line": 47,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 1642,
"end": 1646,
"loc": {
"start": {
"line": 47,
"column": 21
},
"end": {
"line": 47,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 1647,
"end": 1660,
"loc": {
"start": {
"line": 47,
"column": 26
},
"end": {
"line": 47,
"column": 39
},
"identifierName": "_typeObserver"
},
"name": "_typeObserver"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1666,
"end": 1722,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 48,
"column": 60
}
},
"expression": {
"type": "CallExpression",
"start": 1666,
"end": 1722,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 48,
"column": 60
}
},
"callee": {
"type": "MemberExpression",
"start": 1666,
"end": 1694,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 48,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1666,
"end": 1677,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 48,
"column": 15
},
"identifierName": "domTextarea"
},
"name": "domTextarea"
},
"property": {
"type": "Identifier",
"start": 1678,
"end": 1694,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 32
},
"identifierName": "addEventListener"
},
"name": "addEventListener"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1695,
"end": 1702,
"loc": {
"start": {
"line": 48,
"column": 33
},
"end": {
"line": 48,
"column": 40
}
},
"extra": {
"rawValue": "input",
"raw": "'input'"
},
"value": "input"
},
{
"type": "MemberExpression",
"start": 1704,
"end": 1721,
"loc": {
"start": {
"line": 48,
"column": 42
},
"end": {
"line": 48,
"column": 59
}
},
"object": {
"type": "ThisExpression",
"start": 1704,
"end": 1708,
"loc": {
"start": {
"line": 48,
"column": 42
},
"end": {
"line": 48,
"column": 46
}
}
},
"property": {
"type": "Identifier",
"start": 1709,
"end": 1721,
"loc": {
"start": {
"line": 48,
"column": 47
},
"end": {
"line": 48,
"column": 59
},
"identifierName": "_domObserver"
},
"name": "_domObserver"
},
"computed": false
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1729,
"end": 1909,
"loc": {
"start": {
"line": 50,
"column": 2
},
"end": {
"line": 55,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1729,
"end": 1736,
"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": 1740,
"end": 1909,
"loc": {
"start": {
"line": 50,
"column": 13
},
"end": {
"line": 55,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1801,
"end": 1840,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 43
}
},
"expression": {
"type": "CallExpression",
"start": 1801,
"end": 1840,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 1801,
"end": 1820,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 23
}
},
"object": {
"type": "MemberExpression",
"start": 1801,
"end": 1810,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 13
}
},
"object": {
"type": "ThisExpression",
"start": 1801,
"end": 1805,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 8
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1806,
"end": 1810,
"loc": {
"start": {
"line": 52,
"column": 9
},
"end": {
"line": 52,
"column": 13
},
"identifierName": "type"
},
"name": "type"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1811,
"end": 1820,
"loc": {
"start": {
"line": 52,
"column": 14
},
"end": {
"line": 52,
"column": 23
},
"identifierName": "unobserve"
},
"name": "unobserve"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "MemberExpression",
"start": 1821,
"end": 1839,
"loc": {
"start": {
"line": 52,
"column": 24
},
"end": {
"line": 52,
"column": 42
}
},
"object": {
"type": "ThisExpression",
"start": 1821,
"end": 1825,
"loc": {
"start": {
"line": 52,
"column": 24
},
"end": {
"line": 52,
"column": 28
}
}
},
"property": {
"type": "Identifier",
"start": 1826,
"end": 1839,
"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": 1746,
"end": 1796,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 51,
"column": 54
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1845,
"end": 1885,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 44
}
},
"expression": {
"type": "CallExpression",
"start": 1845,
"end": 1885,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
"start": 1845,
"end": 1866,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 1845,
"end": 1856,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 1845,
"end": 1849,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 1850,
"end": 1856,
"loc": {
"start": {
"line": 53,
"column": 9
},
"end": {
"line": 53,
"column": 15
},
"identifierName": "target"
},
"name": "target"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1857,
"end": 1866,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 25
},
"identifierName": "unobserve"
},
"name": "unobserve"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1867,
"end": 1884,
"loc": {
"start": {
"line": 53,
"column": 26
},
"end": {
"line": 53,
"column": 43
}
},
"object": {
"type": "ThisExpression",
"start": 1867,
"end": 1871,
"loc": {
"start": {
"line": 53,
"column": 26
},
"end": {
"line": 53,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"start": 1872,
"end": 1884,
"loc": {
"start": {
"line": 53,
"column": 31
},
"end": {
"line": 53,
"column": 43
},
"identifierName": "_domObserver"
},
"name": "_domObserver"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1890,
"end": 1905,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 19
}
},
"expression": {
"type": "CallExpression",
"start": 1890,
"end": 1905,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 19
}
},
"callee": {
"type": "MemberExpression",
"start": 1890,
"end": 1903,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 17
}
},
"object": {
"type": "Super",
"start": 1890,
"end": 1895,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 9
}
}
},
"property": {
"type": "Identifier",
"start": 1896,
"end": 1903,
"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 is automatically destroyed when its 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(type, textarea)\n *\n ",
"start": 899,
"end": 1208,
"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 is automatically destroyed when its 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(type, textarea)\n *\n ",
"start": 899,
"end": 1208,
"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 is automatically destroyed when its 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(type, textarea)\n *\n ",
"start": 899,
"end": 1208,
"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": 1308,
"end": 1379,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 75
}
}
},
{
"type": "CommentLine",
"value": " set initial value",
"start": 1417,
"end": 1437,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 42,
"column": 24
}
}
},
{
"type": "CommentLine",
"value": " Observers are handled by this class",
"start": 1486,
"end": 1524,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " Remove everything that is handled by this class",
"start": 1746,
"end": 1796,
"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": 36,
"loc": {
"start": {
"line": 2,
"column": 20
},
"end": {
"line": 2,
"column": 35
}
}
},
{
"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": 37,
"end": 43,
"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": 44,
"end": 54,
"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": 55,
"end": 59,
"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": 60,
"end": 86,
"loc": {
"start": {
"line": 3,
"column": 23
},
"end": {
"line": 3,
"column": 49
}
}
},
{
"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": 87,
"end": 93,
"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": 94,
"end": 95,
"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": 96,
"end": 115,
"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": 115,
"end": 116,
"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": 117,
"end": 137,
"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": 138,
"end": 139,
"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": 140,
"end": 144,
"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": 145,
"end": 177,
"loc": {
"start": {
"line": 4,
"column": 58
},
"end": {
"line": 4,
"column": 90
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 179,
"end": 187,
"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": 188,
"end": 200,
"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": 201,
"end": 202,
"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": 202,
"end": 203,
"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": 204,
"end": 205,
"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": 208,
"end": 212,
"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": 212,
"end": 213,
"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": 213,
"end": 227,
"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": 227,
"end": 228,
"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": 228,
"end": 229,
"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": 229,
"end": 230,
"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": 231,
"end": 233,
"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": 234,
"end": 235,
"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": 240,
"end": 245,
"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": 246,
"end": 254,
"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": 255,
"end": 256,
"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": 257,
"end": 261,
"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": 261,
"end": 262,
"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": 262,
"end": 268,
"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": 273,
"end": 278,
"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": 279,
"end": 287,
"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": 288,
"end": 289,
"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": 290,
"end": 294,
"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": 294,
"end": 295,
"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": 295,
"end": 299,
"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": 304,
"end": 309,
"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": 310,
"end": 323,
"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": 324,
"end": 325,
"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": 326,
"end": 345,
"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": 345,
"end": 346,
"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": 346,
"end": 354,
"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": 354,
"end": 355,
"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": 356,
"end": 364,
"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": 364,
"end": 365,
"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": 365,
"end": 379,
"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": 379,
"end": 380,
"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": 385,
"end": 390,
"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": 391,
"end": 402,
"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": 403,
"end": 404,
"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": 405,
"end": 424,
"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": 424,
"end": 425,
"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": 425,
"end": 433,
"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": 433,
"end": 434,
"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": 435,
"end": 443,
"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": 443,
"end": 444,
"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": 444,
"end": 456,
"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": 456,
"end": 457,
"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": 462,
"end": 470,
"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": 470,
"end": 471,
"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": 471,
"end": 476,
"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": 477,
"end": 478,
"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": 479,
"end": 487,
"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": 487,
"end": 488,
"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": 488,
"end": 496,
"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": 496,
"end": 497,
"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": 497,
"end": 498,
"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": 503,
"end": 508,
"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": 509,
"end": 514,
"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": 515,
"end": 516,
"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": 517,
"end": 537,
"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": 537,
"end": 538,
"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": 538,
"end": 546,
"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": 546,
"end": 547,
"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": 547,
"end": 549,
"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": 549,
"end": 550,
"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": 551,
"end": 564,
"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": 564,
"end": 565,
"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": 570,
"end": 575,
"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": 576,
"end": 579,
"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": 580,
"end": 581,
"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": 582,
"end": 602,
"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": 602,
"end": 603,
"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": 603,
"end": 611,
"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": 611,
"end": 612,
"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": 612,
"end": 614,
"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": 614,
"end": 615,
"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": 616,
"end": 627,
"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": 627,
"end": 628,
"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": 633,
"end": 641,
"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": 641,
"end": 642,
"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": 642,
"end": 659,
"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": 659,
"end": 660,
"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": 660,
"end": 665,
"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": 665,
"end": 666,
"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": 667,
"end": 670,
"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": 670,
"end": 671,
"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": 674,
"end": 675,
"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": 675,
"end": 676,
"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": 677,
"end": 678,
"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": 680,
"end": 688,
"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": 689,
"end": 700,
"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": 701,
"end": 702,
"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": 702,
"end": 703,
"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": 704,
"end": 705,
"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": 708,
"end": 712,
"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": 712,
"end": 713,
"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": 713,
"end": 727,
"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": 727,
"end": 728,
"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": 728,
"end": 729,
"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": 729,
"end": 730,
"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": 731,
"end": 733,
"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": 734,
"end": 735,
"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": 740,
"end": 743,
"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": 744,
"end": 748,
"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": 749,
"end": 750,
"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": 751,
"end": 761,
"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": 761,
"end": 762,
"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": 762,
"end": 766,
"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": 766,
"end": 767,
"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": 767,
"end": 771,
"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": 771,
"end": 772,
"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": 772,
"end": 780,
"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": 780,
"end": 781,
"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": 781,
"end": 782,
"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": 782,
"end": 783,
"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": 784,
"end": 788,
"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": 788,
"end": 789,
"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": 789,
"end": 795,
"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": 795,
"end": 796,
"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": 796,
"end": 801,
"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": 801,
"end": 802,
"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": 807,
"end": 811,
"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": 811,
"end": 812,
"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": 812,
"end": 816,
"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": 816,
"end": 817,
"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": 817,
"end": 823,
"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": 823,
"end": 824,
"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": 824,
"end": 828,
"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": 828,
"end": 829,
"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": 829,
"end": 832,
"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": 832,
"end": 833,
"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": 834,
"end": 838,
"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": 838,
"end": 839,
"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": 839,
"end": 845,
"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": 845,
"end": 846,
"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": 851,
"end": 855,
"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": 855,
"end": 856,
"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": 856,
"end": 860,
"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": 860,
"end": 861,
"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": 861,
"end": 867,
"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": 867,
"end": 868,
"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": 868,
"end": 872,
"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": 872,
"end": 873,
"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": 873,
"end": 876,
"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": 876,
"end": 877,
"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": 878,
"end": 882,
"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": 882,
"end": 883,
"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": 883,
"end": 889,
"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": 889,
"end": 890,
"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": 893,
"end": 894,
"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": 894,
"end": 895,
"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": 896,
"end": 897,
"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 is automatically destroyed when its 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(type, textarea)\n *\n ",
"start": 899,
"end": 1208,
"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": 1209,
"end": 1215,
"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": 1216,
"end": 1223,
"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": 1224,
"end": 1229,
"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": 1230,
"end": 1245,
"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": 1246,
"end": 1253,
"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": 1254,
"end": 1261,
"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": 1262,
"end": 1263,
"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": 1266,
"end": 1277,
"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": 1278,
"end": 1279,
"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": 1279,
"end": 1287,
"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": 1287,
"end": 1288,
"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": 1289,
"end": 1300,
"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": 1300,
"end": 1301,
"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": 1302,
"end": 1303,
"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": 1308,
"end": 1379,
"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": 1384,
"end": 1389,
"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": 1389,
"end": 1390,
"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": 1390,
"end": 1398,
"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": 1398,
"end": 1399,
"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": 1400,
"end": 1411,
"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": 1411,
"end": 1412,
"loc": {
"start": {
"line": 41,
"column": 31
},
"end": {
"line": 41,
"column": 32
}
}
},
{
"type": "CommentLine",
"value": " set initial value",
"start": 1417,
"end": 1437,
"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": 1442,
"end": 1453,
"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": 1453,
"end": 1454,
"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": 1454,
"end": 1459,
"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": 1460,
"end": 1461,
"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": 1462,
"end": 1470,
"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": 1470,
"end": 1471,
"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": 1471,
"end": 1479,
"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": 1479,
"end": 1480,
"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": 1480,
"end": 1481,
"loc": {
"start": {
"line": 43,
"column": 42
},
"end": {
"line": 43,
"column": 43
}
}
},
{
"type": "CommentLine",
"value": " Observers are handled by this class",
"start": 1486,
"end": 1524,
"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": 1529,
"end": 1533,
"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": 1533,
"end": 1534,
"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": 1534,
"end": 1547,
"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": 1548,
"end": 1549,
"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": 1550,
"end": 1562,
"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": 1562,
"end": 1563,
"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": 1563,
"end": 1567,
"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": 1567,
"end": 1568,
"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": 1568,
"end": 1572,
"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": 1572,
"end": 1573,
"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": 1578,
"end": 1582,
"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": 1582,
"end": 1583,
"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": 1583,
"end": 1595,
"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": 1596,
"end": 1597,
"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": 1598,
"end": 1609,
"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": 1609,
"end": 1610,
"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": 1610,
"end": 1614,
"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": 1614,
"end": 1615,
"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": 1615,
"end": 1619,
"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": 1619,
"end": 1620,
"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": 1625,
"end": 1633,
"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": 1633,
"end": 1634,
"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": 1634,
"end": 1641,
"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": 1641,
"end": 1642,
"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": 1642,
"end": 1646,
"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": 1646,
"end": 1647,
"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": 1647,
"end": 1660,
"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": 1660,
"end": 1661,
"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": 1666,
"end": 1677,
"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": 1677,
"end": 1678,
"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": 1678,
"end": 1694,
"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": 1694,
"end": 1695,
"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": 1695,
"end": 1702,
"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": 1702,
"end": 1703,
"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": 1704,
"end": 1708,
"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": 1708,
"end": 1709,
"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": 1709,
"end": 1721,
"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": 1721,
"end": 1722,
"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": 1725,
"end": 1726,
"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": 1729,
"end": 1736,
"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": 1737,
"end": 1738,
"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": 1738,
"end": 1739,
"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": 1740,
"end": 1741,
"loc": {
"start": {
"line": 50,
"column": 13
},
"end": {
"line": 50,
"column": 14
}
}
},
{
"type": "CommentLine",
"value": " Remove everything that is handled by this class",
"start": 1746,
"end": 1796,
"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": 1801,
"end": 1805,
"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": 1805,
"end": 1806,
"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": 1806,
"end": 1810,
"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": 1810,
"end": 1811,
"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": 1811,
"end": 1820,
"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": 1820,
"end": 1821,
"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": 1821,
"end": 1825,
"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": 1825,
"end": 1826,
"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": 1826,
"end": 1839,
"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": 1839,
"end": 1840,
"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": 1845,
"end": 1849,
"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": 1849,
"end": 1850,
"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": 1850,
"end": 1856,
"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": 1856,
"end": 1857,
"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": 1857,
"end": 1866,
"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": 1866,
"end": 1867,
"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": 1867,
"end": 1871,
"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": 1871,
"end": 1872,
"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": 1872,
"end": 1884,
"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": 1884,
"end": 1885,
"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": 1890,
"end": 1895,
"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": 1895,
"end": 1896,
"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": 1896,
"end": 1903,
"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": 1903,
"end": 1904,
"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": 1904,
"end": 1905,
"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": 1908,
"end": 1909,
"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": 1910,
"end": 1911,
"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": 1912,
"end": 1912,
"loc": {
"start": {
"line": 57,
"column": 0
},
"end": {
"line": 57,
"column": 0
}
}
}
]
}