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

7772 lines
195 KiB
JSON

{
"type": "File",
"start": 0,
"end": 1356,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 49,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 1356,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 49,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 34
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 7,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 14
}
},
"local": {
"type": "Identifier",
"start": 7,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 14
},
"identifierName": "Binding"
},
"name": "Binding"
}
}
],
"source": {
"type": "StringLiteral",
"start": 20,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"column": 34
}
},
"extra": {
"rawValue": "./Binding.js",
"raw": "'./Binding.js'"
},
"value": "./Binding.js"
}
},
{
"type": "FunctionDeclaration",
"start": 36,
"end": 255,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 10,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 45,
"end": 57,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 21
},
"identifierName": "typeObserver"
},
"name": "typeObserver"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 59,
"end": 64,
"loc": {
"start": {
"line": 3,
"column": 23
},
"end": {
"line": 3,
"column": 28
},
"identifierName": "event"
},
"name": "event"
}
],
"body": {
"type": "BlockStatement",
"start": 66,
"end": 255,
"loc": {
"start": {
"line": 3,
"column": 30
},
"end": {
"line": 10,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 70,
"end": 95,
"loc": {
"start": {
"line": 4,
"column": 2
},
"end": {
"line": 4,
"column": 27
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 76,
"end": 95,
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 27
}
},
"id": {
"type": "Identifier",
"start": 76,
"end": 81,
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 13
},
"identifierName": "quill"
},
"name": "quill"
},
"init": {
"type": "MemberExpression",
"start": 84,
"end": 95,
"loc": {
"start": {
"line": 4,
"column": 16
},
"end": {
"line": 4,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 84,
"end": 88,
"loc": {
"start": {
"line": 4,
"column": 16
},
"end": {
"line": 4,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 89,
"end": 95,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 27
},
"identifierName": "target"
},
"name": "target"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 98,
"end": 117,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 5,
"column": 21
}
},
"expression": {
"type": "CallExpression",
"start": 98,
"end": 117,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 5,
"column": 21
}
},
"callee": {
"type": "MemberExpression",
"start": 98,
"end": 110,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 5,
"column": 14
}
},
"object": {
"type": "Identifier",
"start": 98,
"end": 103,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 5,
"column": 7
},
"identifierName": "quill"
},
"name": "quill"
},
"property": {
"type": "Identifier",
"start": 104,
"end": 110,
"loc": {
"start": {
"line": 5,
"column": 8
},
"end": {
"line": 5,
"column": 14
},
"identifierName": "update"
},
"name": "update"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 111,
"end": 116,
"loc": {
"start": {
"line": 5,
"column": 15
},
"end": {
"line": 5,
"column": 20
}
},
"extra": {
"rawValue": "yjs",
"raw": "'yjs'"
},
"value": "yjs"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 120,
"end": 253,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 9,
"column": 4
}
},
"expression": {
"type": "CallExpression",
"start": 120,
"end": 253,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 9,
"column": 4
}
},
"callee": {
"type": "MemberExpression",
"start": 120,
"end": 139,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 120,
"end": 124,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 6
}
}
},
"property": {
"type": "Identifier",
"start": 125,
"end": 139,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 21
},
"identifierName": "_mutualExclude"
},
"name": "_mutualExclude"
},
"computed": false
},
"arguments": [
{
"type": "FunctionExpression",
"start": 140,
"end": 252,
"loc": {
"start": {
"line": 6,
"column": 22
},
"end": {
"line": 9,
"column": 3
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 152,
"end": 252,
"loc": {
"start": {
"line": 6,
"column": 34
},
"end": {
"line": 9,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 158,
"end": 198,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 44
}
},
"expression": {
"type": "CallExpression",
"start": 158,
"end": 198,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
"start": 158,
"end": 178,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 158,
"end": 163,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 9
},
"identifierName": "quill"
},
"name": "quill"
},
"property": {
"type": "Identifier",
"start": 164,
"end": 178,
"loc": {
"start": {
"line": 7,
"column": 10
},
"end": {
"line": 7,
"column": 24
},
"identifierName": "updateContents"
},
"name": "updateContents"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 179,
"end": 190,
"loc": {
"start": {
"line": 7,
"column": 25
},
"end": {
"line": 7,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 179,
"end": 184,
"loc": {
"start": {
"line": 7,
"column": 25
},
"end": {
"line": 7,
"column": 30
},
"identifierName": "event"
},
"name": "event"
},
"property": {
"type": "Identifier",
"start": 185,
"end": 190,
"loc": {
"start": {
"line": 7,
"column": 31
},
"end": {
"line": 7,
"column": 36
},
"identifierName": "delta"
},
"name": "delta"
},
"computed": false
},
{
"type": "StringLiteral",
"start": 192,
"end": 197,
"loc": {
"start": {
"line": 7,
"column": 38
},
"end": {
"line": 7,
"column": 43
}
},
"extra": {
"rawValue": "yjs",
"raw": "'yjs'"
},
"value": "yjs"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 203,
"end": 222,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 23
}
},
"expression": {
"type": "CallExpression",
"start": 203,
"end": 222,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 23
}
},
"callee": {
"type": "MemberExpression",
"start": 203,
"end": 215,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 16
}
},
"object": {
"type": "Identifier",
"start": 203,
"end": 208,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 9
},
"identifierName": "quill"
},
"name": "quill"
},
"property": {
"type": "Identifier",
"start": 209,
"end": 215,
"loc": {
"start": {
"line": 8,
"column": 10
},
"end": {
"line": 8,
"column": 16
},
"identifierName": "update"
},
"name": "update"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 216,
"end": 221,
"loc": {
"start": {
"line": 8,
"column": 17
},
"end": {
"line": 8,
"column": 22
}
},
"extra": {
"rawValue": "yjs",
"raw": "'yjs'"
},
"value": "yjs"
}
],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " ignore applied changes",
"start": 223,
"end": 248,
"loc": {
"start": {
"line": 8,
"column": 24
},
"end": {
"line": 8,
"column": 49
}
}
}
]
}
],
"directives": []
},
"trailingComments": [
{
"type": "CommentLine",
"value": " ignore applied changes",
"start": 223,
"end": 248,
"loc": {
"start": {
"line": 8,
"column": 24
},
"end": {
"line": 8,
"column": 49
}
}
}
]
}
]
}
}
],
"directives": []
}
},
{
"type": "FunctionDeclaration",
"start": 257,
"end": 362,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 16,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 266,
"end": 279,
"loc": {
"start": {
"line": 12,
"column": 9
},
"end": {
"line": 12,
"column": 22
},
"identifierName": "quillObserver"
},
"name": "quillObserver"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 281,
"end": 286,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 12,
"column": 29
},
"identifierName": "delta"
},
"name": "delta"
}
],
"body": {
"type": "BlockStatement",
"start": 288,
"end": 362,
"loc": {
"start": {
"line": 12,
"column": 31
},
"end": {
"line": 16,
"column": 1
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 292,
"end": 360,
"loc": {
"start": {
"line": 13,
"column": 2
},
"end": {
"line": 15,
"column": 4
}
},
"expression": {
"type": "CallExpression",
"start": 292,
"end": 360,
"loc": {
"start": {
"line": 13,
"column": 2
},
"end": {
"line": 15,
"column": 4
}
},
"callee": {
"type": "MemberExpression",
"start": 292,
"end": 311,
"loc": {
"start": {
"line": 13,
"column": 2
},
"end": {
"line": 13,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 292,
"end": 296,
"loc": {
"start": {
"line": 13,
"column": 2
},
"end": {
"line": 13,
"column": 6
}
}
},
"property": {
"type": "Identifier",
"start": 297,
"end": 311,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
"line": 13,
"column": 21
},
"identifierName": "_mutualExclude"
},
"name": "_mutualExclude"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 312,
"end": 359,
"loc": {
"start": {
"line": 13,
"column": 22
},
"end": {
"line": 15,
"column": 3
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 318,
"end": 359,
"loc": {
"start": {
"line": 13,
"column": 28
},
"end": {
"line": 15,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 324,
"end": 355,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 324,
"end": 355,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 324,
"end": 344,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 24
}
},
"object": {
"type": "MemberExpression",
"start": 324,
"end": 333,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 13
}
},
"object": {
"type": "ThisExpression",
"start": 324,
"end": 328,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 329,
"end": 333,
"loc": {
"start": {
"line": 14,
"column": 9
},
"end": {
"line": 14,
"column": 13
},
"identifierName": "type"
},
"name": "type"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 334,
"end": 344,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 24
},
"identifierName": "applyDelta"
},
"name": "applyDelta"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 345,
"end": 354,
"loc": {
"start": {
"line": 14,
"column": 25
},
"end": {
"line": 14,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 345,
"end": 350,
"loc": {
"start": {
"line": 14,
"column": 25
},
"end": {
"line": 14,
"column": 30
},
"identifierName": "delta"
},
"name": "delta"
},
"property": {
"type": "Identifier",
"start": 351,
"end": 354,
"loc": {
"start": {
"line": 14,
"column": 31
},
"end": {
"line": 14,
"column": 34
},
"identifierName": "ops"
},
"name": "ops"
},
"computed": false
}
]
}
}
],
"directives": []
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * A Binding that binds a YText type to a Quill editor\n *\n * @example\n * const quill = new Quill(document.createElement('div'))\n * const type = y.define('quill', Y.Text)\n * const binding = new Y.QuillBinding(quill, type)\n ",
"start": 364,
"end": 598,
"loc": {
"start": {
"line": 18,
"column": 0
},
"end": {
"line": 25,
"column": 3
}
}
}
]
},
{
"type": "ExportDefaultDeclaration",
"start": 599,
"end": 1355,
"loc": {
"start": {
"line": 26,
"column": 0
},
"end": {
"line": 48,
"column": 1
}
},
"declaration": {
"type": "ClassDeclaration",
"start": 614,
"end": 1355,
"loc": {
"start": {
"line": 26,
"column": 15
},
"end": {
"line": 48,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 620,
"end": 632,
"loc": {
"start": {
"line": 26,
"column": 21
},
"end": {
"line": 26,
"column": 33
},
"identifierName": "QuillBinding"
},
"name": "QuillBinding",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 641,
"end": 648,
"loc": {
"start": {
"line": 26,
"column": 42
},
"end": {
"line": 26,
"column": 49
},
"identifierName": "Binding"
},
"name": "Binding"
},
"body": {
"type": "ClassBody",
"start": 649,
"end": 1355,
"loc": {
"start": {
"line": 26,
"column": 50
},
"end": {
"line": 48,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 720,
"end": 1159,
"loc": {
"start": {
"line": 31,
"column": 2
},
"end": {
"line": 41,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 720,
"end": 731,
"loc": {
"start": {
"line": 31,
"column": 2
},
"end": {
"line": 31,
"column": 13
},
"identifierName": "constructor"
},
"name": "constructor",
"leadingComments": null
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 733,
"end": 741,
"loc": {
"start": {
"line": 31,
"column": 15
},
"end": {
"line": 31,
"column": 23
},
"identifierName": "textType"
},
"name": "textType"
},
{
"type": "Identifier",
"start": 743,
"end": 748,
"loc": {
"start": {
"line": 31,
"column": 25
},
"end": {
"line": 31,
"column": 30
},
"identifierName": "quill"
},
"name": "quill"
}
],
"body": {
"type": "BlockStatement",
"start": 750,
"end": 1159,
"loc": {
"start": {
"line": 31,
"column": 32
},
"end": {
"line": 41,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 826,
"end": 848,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 26
}
},
"expression": {
"type": "CallExpression",
"start": 826,
"end": 848,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 26
}
},
"callee": {
"type": "Super",
"start": 826,
"end": 831,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 9
}
},
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 832,
"end": 840,
"loc": {
"start": {
"line": 33,
"column": 10
},
"end": {
"line": 33,
"column": 18
},
"identifierName": "textType"
},
"name": "textType"
},
{
"type": "Identifier",
"start": 842,
"end": 847,
"loc": {
"start": {
"line": 33,
"column": 20
},
"end": {
"line": 33,
"column": 25
},
"identifierName": "quill"
},
"name": "quill"
}
],
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Binding handles textType as this.type and quill as this.target",
"start": 756,
"end": 821,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 69
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " set initial value",
"start": 853,
"end": 873,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 24
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 878,
"end": 922,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 48
}
},
"expression": {
"type": "CallExpression",
"start": 878,
"end": 922,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 878,
"end": 895,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 878,
"end": 883,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 9
},
"identifierName": "quill"
},
"name": "quill",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 884,
"end": 895,
"loc": {
"start": {
"line": 35,
"column": 10
},
"end": {
"line": 35,
"column": 21
},
"identifierName": "setContents"
},
"name": "setContents"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "CallExpression",
"start": 896,
"end": 914,
"loc": {
"start": {
"line": 35,
"column": 22
},
"end": {
"line": 35,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 896,
"end": 912,
"loc": {
"start": {
"line": 35,
"column": 22
},
"end": {
"line": 35,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 896,
"end": 904,
"loc": {
"start": {
"line": 35,
"column": 22
},
"end": {
"line": 35,
"column": 30
},
"identifierName": "textType"
},
"name": "textType"
},
"property": {
"type": "Identifier",
"start": 905,
"end": 912,
"loc": {
"start": {
"line": 35,
"column": 31
},
"end": {
"line": 35,
"column": 38
},
"identifierName": "toDelta"
},
"name": "toDelta"
},
"computed": false
},
"arguments": []
},
{
"type": "StringLiteral",
"start": 916,
"end": 921,
"loc": {
"start": {
"line": 35,
"column": 42
},
"end": {
"line": 35,
"column": 47
}
},
"extra": {
"rawValue": "yjs",
"raw": "'yjs'"
},
"value": "yjs"
}
],
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " set initial value",
"start": 853,
"end": 873,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 24
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Observers are handled by this class",
"start": 927,
"end": 965,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 36,
"column": 42
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 970,
"end": 1014,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 48
}
},
"expression": {
"type": "AssignmentExpression",
"start": 970,
"end": 1014,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 48
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 970,
"end": 988,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 970,
"end": 974,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 8
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 975,
"end": 988,
"loc": {
"start": {
"line": 37,
"column": 9
},
"end": {
"line": 37,
"column": 22
},
"identifierName": "_typeObserver"
},
"name": "_typeObserver"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "CallExpression",
"start": 991,
"end": 1014,
"loc": {
"start": {
"line": 37,
"column": 25
},
"end": {
"line": 37,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 991,
"end": 1008,
"loc": {
"start": {
"line": 37,
"column": 25
},
"end": {
"line": 37,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 991,
"end": 1003,
"loc": {
"start": {
"line": 37,
"column": 25
},
"end": {
"line": 37,
"column": 37
},
"identifierName": "typeObserver"
},
"name": "typeObserver"
},
"property": {
"type": "Identifier",
"start": 1004,
"end": 1008,
"loc": {
"start": {
"line": 37,
"column": 38
},
"end": {
"line": 37,
"column": 42
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 1009,
"end": 1013,
"loc": {
"start": {
"line": 37,
"column": 43
},
"end": {
"line": 37,
"column": 47
}
}
}
]
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Observers are handled by this class",
"start": 927,
"end": 965,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 36,
"column": 42
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1019,
"end": 1065,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 38,
"column": 50
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1019,
"end": 1065,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 38,
"column": 50
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1019,
"end": 1038,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 38,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 1019,
"end": 1023,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 38,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 1024,
"end": 1038,
"loc": {
"start": {
"line": 38,
"column": 9
},
"end": {
"line": 38,
"column": 23
},
"identifierName": "_quillObserver"
},
"name": "_quillObserver"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1041,
"end": 1065,
"loc": {
"start": {
"line": 38,
"column": 26
},
"end": {
"line": 38,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 1041,
"end": 1059,
"loc": {
"start": {
"line": 38,
"column": 26
},
"end": {
"line": 38,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 1041,
"end": 1054,
"loc": {
"start": {
"line": 38,
"column": 26
},
"end": {
"line": 38,
"column": 39
},
"identifierName": "quillObserver"
},
"name": "quillObserver"
},
"property": {
"type": "Identifier",
"start": 1055,
"end": 1059,
"loc": {
"start": {
"line": 38,
"column": 40
},
"end": {
"line": 38,
"column": 44
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 1060,
"end": 1064,
"loc": {
"start": {
"line": 38,
"column": 45
},
"end": {
"line": 38,
"column": 49
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 1070,
"end": 1106,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 40
}
},
"expression": {
"type": "CallExpression",
"start": 1070,
"end": 1106,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 1070,
"end": 1086,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 1070,
"end": 1078,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 12
},
"identifierName": "textType"
},
"name": "textType"
},
"property": {
"type": "Identifier",
"start": 1079,
"end": 1086,
"loc": {
"start": {
"line": 39,
"column": 13
},
"end": {
"line": 39,
"column": 20
},
"identifierName": "observe"
},
"name": "observe"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1087,
"end": 1105,
"loc": {
"start": {
"line": 39,
"column": 21
},
"end": {
"line": 39,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 1087,
"end": 1091,
"loc": {
"start": {
"line": 39,
"column": 21
},
"end": {
"line": 39,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 1092,
"end": 1105,
"loc": {
"start": {
"line": 39,
"column": 26
},
"end": {
"line": 39,
"column": 39
},
"identifierName": "_typeObserver"
},
"name": "_typeObserver"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1111,
"end": 1155,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 48
}
},
"expression": {
"type": "CallExpression",
"start": 1111,
"end": 1155,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 1111,
"end": 1119,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 12
}
},
"object": {
"type": "Identifier",
"start": 1111,
"end": 1116,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 9
},
"identifierName": "quill"
},
"name": "quill"
},
"property": {
"type": "Identifier",
"start": 1117,
"end": 1119,
"loc": {
"start": {
"line": 40,
"column": 10
},
"end": {
"line": 40,
"column": 12
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1120,
"end": 1133,
"loc": {
"start": {
"line": 40,
"column": 13
},
"end": {
"line": 40,
"column": 26
}
},
"extra": {
"rawValue": "text-change",
"raw": "'text-change'"
},
"value": "text-change"
},
{
"type": "MemberExpression",
"start": 1135,
"end": 1154,
"loc": {
"start": {
"line": 40,
"column": 28
},
"end": {
"line": 40,
"column": 47
}
},
"object": {
"type": "ThisExpression",
"start": 1135,
"end": 1139,
"loc": {
"start": {
"line": 40,
"column": 28
},
"end": {
"line": 40,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 1140,
"end": 1154,
"loc": {
"start": {
"line": 40,
"column": 33
},
"end": {
"line": 40,
"column": 47
},
"identifierName": "_quillObserver"
},
"name": "_quillObserver"
},
"computed": false
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * @param {YText} textType\n * @param {Quill} quill\n ",
"start": 653,
"end": 717,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 30,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1162,
"end": 1353,
"loc": {
"start": {
"line": 42,
"column": 2
},
"end": {
"line": 47,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1162,
"end": 1169,
"loc": {
"start": {
"line": 42,
"column": 2
},
"end": {
"line": 42,
"column": 9
},
"identifierName": "destroy"
},
"name": "destroy"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1173,
"end": 1353,
"loc": {
"start": {
"line": 42,
"column": 13
},
"end": {
"line": 47,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1234,
"end": 1273,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 43
}
},
"expression": {
"type": "CallExpression",
"start": 1234,
"end": 1273,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 1234,
"end": 1253,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 23
}
},
"object": {
"type": "MemberExpression",
"start": 1234,
"end": 1243,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 13
}
},
"object": {
"type": "ThisExpression",
"start": 1234,
"end": 1238,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 8
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1239,
"end": 1243,
"loc": {
"start": {
"line": 44,
"column": 9
},
"end": {
"line": 44,
"column": 13
},
"identifierName": "type"
},
"name": "type"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1244,
"end": 1253,
"loc": {
"start": {
"line": 44,
"column": 14
},
"end": {
"line": 44,
"column": 23
},
"identifierName": "unobserve"
},
"name": "unobserve"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "MemberExpression",
"start": 1254,
"end": 1272,
"loc": {
"start": {
"line": 44,
"column": 24
},
"end": {
"line": 44,
"column": 42
}
},
"object": {
"type": "ThisExpression",
"start": 1254,
"end": 1258,
"loc": {
"start": {
"line": 44,
"column": 24
},
"end": {
"line": 44,
"column": 28
}
}
},
"property": {
"type": "Identifier",
"start": 1259,
"end": 1272,
"loc": {
"start": {
"line": 44,
"column": 29
},
"end": {
"line": 44,
"column": 42
},
"identifierName": "_typeObserver"
},
"name": "_typeObserver"
},
"computed": false
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Remove everything that is handled by this class",
"start": 1179,
"end": 1229,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 54
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1278,
"end": 1329,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 55
}
},
"expression": {
"type": "CallExpression",
"start": 1278,
"end": 1329,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1278,
"end": 1293,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 19
}
},
"object": {
"type": "MemberExpression",
"start": 1278,
"end": 1289,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 1278,
"end": 1282,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 1283,
"end": 1289,
"loc": {
"start": {
"line": 45,
"column": 9
},
"end": {
"line": 45,
"column": 15
},
"identifierName": "target"
},
"name": "target"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1290,
"end": 1293,
"loc": {
"start": {
"line": 45,
"column": 16
},
"end": {
"line": 45,
"column": 19
},
"identifierName": "off"
},
"name": "off"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1294,
"end": 1307,
"loc": {
"start": {
"line": 45,
"column": 20
},
"end": {
"line": 45,
"column": 33
}
},
"extra": {
"rawValue": "text-change",
"raw": "'text-change'"
},
"value": "text-change"
},
{
"type": "MemberExpression",
"start": 1309,
"end": 1328,
"loc": {
"start": {
"line": 45,
"column": 35
},
"end": {
"line": 45,
"column": 54
}
},
"object": {
"type": "ThisExpression",
"start": 1309,
"end": 1313,
"loc": {
"start": {
"line": 45,
"column": 35
},
"end": {
"line": 45,
"column": 39
}
}
},
"property": {
"type": "Identifier",
"start": 1314,
"end": 1328,
"loc": {
"start": {
"line": 45,
"column": 40
},
"end": {
"line": 45,
"column": 54
},
"identifierName": "_quillObserver"
},
"name": "_quillObserver"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1334,
"end": 1349,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 19
}
},
"expression": {
"type": "CallExpression",
"start": 1334,
"end": 1349,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 19
}
},
"callee": {
"type": "MemberExpression",
"start": 1334,
"end": 1347,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 17
}
},
"object": {
"type": "Super",
"start": 1334,
"end": 1339,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 9
}
}
},
"property": {
"type": "Identifier",
"start": 1340,
"end": 1347,
"loc": {
"start": {
"line": 46,
"column": 10
},
"end": {
"line": 46,
"column": 17
},
"identifierName": "destroy"
},
"name": "destroy"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * A Binding that binds a YText type to a Quill editor\n *\n * @example\n * const quill = new Quill(document.createElement('div'))\n * const type = y.define('quill', Y.Text)\n * const binding = new Y.QuillBinding(quill, type)\n ",
"start": 364,
"end": 598,
"loc": {
"start": {
"line": 18,
"column": 0
},
"end": {
"line": 25,
"column": 3
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * A Binding that binds a YText type to a Quill editor\n *\n * @example\n * const quill = new Quill(document.createElement('div'))\n * const type = y.define('quill', Y.Text)\n * const binding = new Y.QuillBinding(quill, type)\n ",
"start": 364,
"end": 598,
"loc": {
"start": {
"line": 18,
"column": 0
},
"end": {
"line": 25,
"column": 3
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentLine",
"value": " ignore applied changes",
"start": 223,
"end": 248,
"loc": {
"start": {
"line": 8,
"column": 24
},
"end": {
"line": 8,
"column": 49
}
}
},
{
"type": "CommentBlock",
"value": "*\n * A Binding that binds a YText type to a Quill editor\n *\n * @example\n * const quill = new Quill(document.createElement('div'))\n * const type = y.define('quill', Y.Text)\n * const binding = new Y.QuillBinding(quill, type)\n ",
"start": 364,
"end": 598,
"loc": {
"start": {
"line": 18,
"column": 0
},
"end": {
"line": 25,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * @param {YText} textType\n * @param {Quill} quill\n ",
"start": 653,
"end": 717,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 30,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " Binding handles textType as this.type and quill as this.target",
"start": 756,
"end": 821,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 69
}
}
},
{
"type": "CommentLine",
"value": " set initial value",
"start": 853,
"end": 873,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 24
}
}
},
{
"type": "CommentLine",
"value": " Observers are handled by this class",
"start": 927,
"end": 965,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 36,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " Remove everything that is handled by this class",
"start": 1179,
"end": 1229,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"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": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Binding",
"start": 7,
"end": 14,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 15,
"end": 19,
"loc": {
"start": {
"line": 1,
"column": 15
},
"end": {
"line": 1,
"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": 20,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"column": 34
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 36,
"end": 44,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "typeObserver",
"start": 45,
"end": 57,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 58,
"end": 59,
"loc": {
"start": {
"line": 3,
"column": 22
},
"end": {
"line": 3,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "event",
"start": 59,
"end": 64,
"loc": {
"start": {
"line": 3,
"column": 23
},
"end": {
"line": 3,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 64,
"end": 65,
"loc": {
"start": {
"line": 3,
"column": 28
},
"end": {
"line": 3,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 66,
"end": 67,
"loc": {
"start": {
"line": 3,
"column": 30
},
"end": {
"line": 3,
"column": 31
}
}
},
{
"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": 70,
"end": 75,
"loc": {
"start": {
"line": 4,
"column": 2
},
"end": {
"line": 4,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "quill",
"start": 76,
"end": 81,
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 82,
"end": 83,
"loc": {
"start": {
"line": 4,
"column": 14
},
"end": {
"line": 4,
"column": 15
}
}
},
{
"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": 84,
"end": 88,
"loc": {
"start": {
"line": 4,
"column": 16
},
"end": {
"line": 4,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 88,
"end": 89,
"loc": {
"start": {
"line": 4,
"column": 20
},
"end": {
"line": 4,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "target",
"start": 89,
"end": 95,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "quill",
"start": 98,
"end": 103,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 5,
"column": 7
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 103,
"end": 104,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "update",
"start": 104,
"end": 110,
"loc": {
"start": {
"line": 5,
"column": 8
},
"end": {
"line": 5,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 110,
"end": 111,
"loc": {
"start": {
"line": 5,
"column": 14
},
"end": {
"line": 5,
"column": 15
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "yjs",
"start": 111,
"end": 116,
"loc": {
"start": {
"line": 5,
"column": 15
},
"end": {
"line": 5,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 116,
"end": 117,
"loc": {
"start": {
"line": 5,
"column": 20
},
"end": {
"line": 5,
"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": 120,
"end": 124,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 6
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 124,
"end": 125,
"loc": {
"start": {
"line": 6,
"column": 6
},
"end": {
"line": 6,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_mutualExclude",
"start": 125,
"end": 139,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 139,
"end": 140,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 22
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 140,
"end": 148,
"loc": {
"start": {
"line": 6,
"column": 22
},
"end": {
"line": 6,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 149,
"end": 150,
"loc": {
"start": {
"line": 6,
"column": 31
},
"end": {
"line": 6,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 150,
"end": 151,
"loc": {
"start": {
"line": 6,
"column": 32
},
"end": {
"line": 6,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 152,
"end": 153,
"loc": {
"start": {
"line": 6,
"column": 34
},
"end": {
"line": 6,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "quill",
"start": 158,
"end": 163,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 163,
"end": 164,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "updateContents",
"start": 164,
"end": 178,
"loc": {
"start": {
"line": 7,
"column": 10
},
"end": {
"line": 7,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 178,
"end": 179,
"loc": {
"start": {
"line": 7,
"column": 24
},
"end": {
"line": 7,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "event",
"start": 179,
"end": 184,
"loc": {
"start": {
"line": 7,
"column": 25
},
"end": {
"line": 7,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 184,
"end": 185,
"loc": {
"start": {
"line": 7,
"column": 30
},
"end": {
"line": 7,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "delta",
"start": 185,
"end": 190,
"loc": {
"start": {
"line": 7,
"column": 31
},
"end": {
"line": 7,
"column": 36
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 190,
"end": 191,
"loc": {
"start": {
"line": 7,
"column": 36
},
"end": {
"line": 7,
"column": 37
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "yjs",
"start": 192,
"end": 197,
"loc": {
"start": {
"line": 7,
"column": 38
},
"end": {
"line": 7,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 197,
"end": 198,
"loc": {
"start": {
"line": 7,
"column": 43
},
"end": {
"line": 7,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "quill",
"start": 203,
"end": 208,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 208,
"end": 209,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "update",
"start": 209,
"end": 215,
"loc": {
"start": {
"line": 8,
"column": 10
},
"end": {
"line": 8,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 215,
"end": 216,
"loc": {
"start": {
"line": 8,
"column": 16
},
"end": {
"line": 8,
"column": 17
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "yjs",
"start": 216,
"end": 221,
"loc": {
"start": {
"line": 8,
"column": 17
},
"end": {
"line": 8,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 221,
"end": 222,
"loc": {
"start": {
"line": 8,
"column": 22
},
"end": {
"line": 8,
"column": 23
}
}
},
{
"type": "CommentLine",
"value": " ignore applied changes",
"start": 223,
"end": 248,
"loc": {
"start": {
"line": 8,
"column": 24
},
"end": {
"line": 8,
"column": 49
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 251,
"end": 252,
"loc": {
"start": {
"line": 9,
"column": 2
},
"end": {
"line": 9,
"column": 3
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 252,
"end": 253,
"loc": {
"start": {
"line": 9,
"column": 3
},
"end": {
"line": 9,
"column": 4
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 254,
"end": 255,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"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": 257,
"end": 265,
"loc": {
"start": {
"line": 12,
"column": 0
},
"end": {
"line": 12,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "quillObserver",
"start": 266,
"end": 279,
"loc": {
"start": {
"line": 12,
"column": 9
},
"end": {
"line": 12,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 280,
"end": 281,
"loc": {
"start": {
"line": 12,
"column": 23
},
"end": {
"line": 12,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "delta",
"start": 281,
"end": 286,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 12,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 286,
"end": 287,
"loc": {
"start": {
"line": 12,
"column": 29
},
"end": {
"line": 12,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 288,
"end": 289,
"loc": {
"start": {
"line": 12,
"column": 31
},
"end": {
"line": 12,
"column": 32
}
}
},
{
"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": 292,
"end": 296,
"loc": {
"start": {
"line": 13,
"column": 2
},
"end": {
"line": 13,
"column": 6
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 296,
"end": 297,
"loc": {
"start": {
"line": 13,
"column": 6
},
"end": {
"line": 13,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_mutualExclude",
"start": 297,
"end": 311,
"loc": {
"start": {
"line": 13,
"column": 7
},
"end": {
"line": 13,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 311,
"end": 312,
"loc": {
"start": {
"line": 13,
"column": 21
},
"end": {
"line": 13,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 312,
"end": 313,
"loc": {
"start": {
"line": 13,
"column": 22
},
"end": {
"line": 13,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 313,
"end": 314,
"loc": {
"start": {
"line": 13,
"column": 23
},
"end": {
"line": 13,
"column": 24
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 315,
"end": 317,
"loc": {
"start": {
"line": 13,
"column": 25
},
"end": {
"line": 13,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 318,
"end": 319,
"loc": {
"start": {
"line": 13,
"column": 28
},
"end": {
"line": 13,
"column": 29
}
}
},
{
"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": 324,
"end": 328,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 328,
"end": 329,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 329,
"end": 333,
"loc": {
"start": {
"line": 14,
"column": 9
},
"end": {
"line": 14,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 333,
"end": 334,
"loc": {
"start": {
"line": 14,
"column": 13
},
"end": {
"line": 14,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "applyDelta",
"start": 334,
"end": 344,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 344,
"end": 345,
"loc": {
"start": {
"line": 14,
"column": 24
},
"end": {
"line": 14,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "delta",
"start": 345,
"end": 350,
"loc": {
"start": {
"line": 14,
"column": 25
},
"end": {
"line": 14,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 350,
"end": 351,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ops",
"start": 351,
"end": 354,
"loc": {
"start": {
"line": 14,
"column": 31
},
"end": {
"line": 14,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 354,
"end": 355,
"loc": {
"start": {
"line": 14,
"column": 34
},
"end": {
"line": 14,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 358,
"end": 359,
"loc": {
"start": {
"line": 15,
"column": 2
},
"end": {
"line": 15,
"column": 3
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 359,
"end": 360,
"loc": {
"start": {
"line": 15,
"column": 3
},
"end": {
"line": 15,
"column": 4
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 361,
"end": 362,
"loc": {
"start": {
"line": 16,
"column": 0
},
"end": {
"line": 16,
"column": 1
}
}
},
{
"type": "CommentBlock",
"value": "*\n * A Binding that binds a YText type to a Quill editor\n *\n * @example\n * const quill = new Quill(document.createElement('div'))\n * const type = y.define('quill', Y.Text)\n * const binding = new Y.QuillBinding(quill, type)\n ",
"start": 364,
"end": 598,
"loc": {
"start": {
"line": 18,
"column": 0
},
"end": {
"line": 25,
"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": 599,
"end": 605,
"loc": {
"start": {
"line": 26,
"column": 0
},
"end": {
"line": 26,
"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": 606,
"end": 613,
"loc": {
"start": {
"line": 26,
"column": 7
},
"end": {
"line": 26,
"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": 614,
"end": 619,
"loc": {
"start": {
"line": 26,
"column": 15
},
"end": {
"line": 26,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "QuillBinding",
"start": 620,
"end": 632,
"loc": {
"start": {
"line": 26,
"column": 21
},
"end": {
"line": 26,
"column": 33
}
}
},
{
"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": 633,
"end": 640,
"loc": {
"start": {
"line": 26,
"column": 34
},
"end": {
"line": 26,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Binding",
"start": 641,
"end": 648,
"loc": {
"start": {
"line": 26,
"column": 42
},
"end": {
"line": 26,
"column": 49
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 649,
"end": 650,
"loc": {
"start": {
"line": 26,
"column": 50
},
"end": {
"line": 26,
"column": 51
}
}
},
{
"type": "CommentBlock",
"value": "*\n * @param {YText} textType\n * @param {Quill} quill\n ",
"start": 653,
"end": 717,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 30,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 720,
"end": 731,
"loc": {
"start": {
"line": 31,
"column": 2
},
"end": {
"line": 31,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 732,
"end": 733,
"loc": {
"start": {
"line": 31,
"column": 14
},
"end": {
"line": 31,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textType",
"start": 733,
"end": 741,
"loc": {
"start": {
"line": 31,
"column": 15
},
"end": {
"line": 31,
"column": 23
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 741,
"end": 742,
"loc": {
"start": {
"line": 31,
"column": 23
},
"end": {
"line": 31,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "quill",
"start": 743,
"end": 748,
"loc": {
"start": {
"line": 31,
"column": 25
},
"end": {
"line": 31,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 748,
"end": 749,
"loc": {
"start": {
"line": 31,
"column": 30
},
"end": {
"line": 31,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 750,
"end": 751,
"loc": {
"start": {
"line": 31,
"column": 32
},
"end": {
"line": 31,
"column": 33
}
}
},
{
"type": "CommentLine",
"value": " Binding handles textType as this.type and quill as this.target",
"start": 756,
"end": 821,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 69
}
}
},
{
"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": 826,
"end": 831,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 831,
"end": 832,
"loc": {
"start": {
"line": 33,
"column": 9
},
"end": {
"line": 33,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textType",
"start": 832,
"end": 840,
"loc": {
"start": {
"line": 33,
"column": 10
},
"end": {
"line": 33,
"column": 18
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 840,
"end": 841,
"loc": {
"start": {
"line": 33,
"column": 18
},
"end": {
"line": 33,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "quill",
"start": 842,
"end": 847,
"loc": {
"start": {
"line": 33,
"column": 20
},
"end": {
"line": 33,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 847,
"end": 848,
"loc": {
"start": {
"line": 33,
"column": 25
},
"end": {
"line": 33,
"column": 26
}
}
},
{
"type": "CommentLine",
"value": " set initial value",
"start": 853,
"end": 873,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "quill",
"start": 878,
"end": 883,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 883,
"end": 884,
"loc": {
"start": {
"line": 35,
"column": 9
},
"end": {
"line": 35,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setContents",
"start": 884,
"end": 895,
"loc": {
"start": {
"line": 35,
"column": 10
},
"end": {
"line": 35,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 895,
"end": 896,
"loc": {
"start": {
"line": 35,
"column": 21
},
"end": {
"line": 35,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textType",
"start": 896,
"end": 904,
"loc": {
"start": {
"line": 35,
"column": 22
},
"end": {
"line": 35,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 904,
"end": 905,
"loc": {
"start": {
"line": 35,
"column": 30
},
"end": {
"line": 35,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toDelta",
"start": 905,
"end": 912,
"loc": {
"start": {
"line": 35,
"column": 31
},
"end": {
"line": 35,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 912,
"end": 913,
"loc": {
"start": {
"line": 35,
"column": 38
},
"end": {
"line": 35,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 913,
"end": 914,
"loc": {
"start": {
"line": 35,
"column": 39
},
"end": {
"line": 35,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 914,
"end": 915,
"loc": {
"start": {
"line": 35,
"column": 40
},
"end": {
"line": 35,
"column": 41
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "yjs",
"start": 916,
"end": 921,
"loc": {
"start": {
"line": 35,
"column": 42
},
"end": {
"line": 35,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 921,
"end": 922,
"loc": {
"start": {
"line": 35,
"column": 47
},
"end": {
"line": 35,
"column": 48
}
}
},
{
"type": "CommentLine",
"value": " Observers are handled by this class",
"start": 927,
"end": 965,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 36,
"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": 970,
"end": 974,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 974,
"end": 975,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_typeObserver",
"start": 975,
"end": 988,
"loc": {
"start": {
"line": 37,
"column": 9
},
"end": {
"line": 37,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 989,
"end": 990,
"loc": {
"start": {
"line": 37,
"column": 23
},
"end": {
"line": 37,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "typeObserver",
"start": 991,
"end": 1003,
"loc": {
"start": {
"line": 37,
"column": 25
},
"end": {
"line": 37,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1003,
"end": 1004,
"loc": {
"start": {
"line": 37,
"column": 37
},
"end": {
"line": 37,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 1004,
"end": 1008,
"loc": {
"start": {
"line": 37,
"column": 38
},
"end": {
"line": 37,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1008,
"end": 1009,
"loc": {
"start": {
"line": 37,
"column": 42
},
"end": {
"line": 37,
"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": 1009,
"end": 1013,
"loc": {
"start": {
"line": 37,
"column": 43
},
"end": {
"line": 37,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1013,
"end": 1014,
"loc": {
"start": {
"line": 37,
"column": 47
},
"end": {
"line": 37,
"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": 1019,
"end": 1023,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 38,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1023,
"end": 1024,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_quillObserver",
"start": 1024,
"end": 1038,
"loc": {
"start": {
"line": 38,
"column": 9
},
"end": {
"line": 38,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1039,
"end": 1040,
"loc": {
"start": {
"line": 38,
"column": 24
},
"end": {
"line": 38,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "quillObserver",
"start": 1041,
"end": 1054,
"loc": {
"start": {
"line": 38,
"column": 26
},
"end": {
"line": 38,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1054,
"end": 1055,
"loc": {
"start": {
"line": 38,
"column": 39
},
"end": {
"line": 38,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 1055,
"end": 1059,
"loc": {
"start": {
"line": 38,
"column": 40
},
"end": {
"line": 38,
"column": 44
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1059,
"end": 1060,
"loc": {
"start": {
"line": 38,
"column": 44
},
"end": {
"line": 38,
"column": 45
}
}
},
{
"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": 1060,
"end": 1064,
"loc": {
"start": {
"line": 38,
"column": 45
},
"end": {
"line": 38,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1064,
"end": 1065,
"loc": {
"start": {
"line": 38,
"column": 49
},
"end": {
"line": 38,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textType",
"start": 1070,
"end": 1078,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1078,
"end": 1079,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "observe",
"start": 1079,
"end": 1086,
"loc": {
"start": {
"line": 39,
"column": 13
},
"end": {
"line": 39,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1086,
"end": 1087,
"loc": {
"start": {
"line": 39,
"column": 20
},
"end": {
"line": 39,
"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": 1087,
"end": 1091,
"loc": {
"start": {
"line": 39,
"column": 21
},
"end": {
"line": 39,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1091,
"end": 1092,
"loc": {
"start": {
"line": 39,
"column": 25
},
"end": {
"line": 39,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_typeObserver",
"start": 1092,
"end": 1105,
"loc": {
"start": {
"line": 39,
"column": 26
},
"end": {
"line": 39,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1105,
"end": 1106,
"loc": {
"start": {
"line": 39,
"column": 39
},
"end": {
"line": 39,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "quill",
"start": 1111,
"end": 1116,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1116,
"end": 1117,
"loc": {
"start": {
"line": 40,
"column": 9
},
"end": {
"line": 40,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 1117,
"end": 1119,
"loc": {
"start": {
"line": 40,
"column": 10
},
"end": {
"line": 40,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1119,
"end": 1120,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 13
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "text-change",
"start": 1120,
"end": 1133,
"loc": {
"start": {
"line": 40,
"column": 13
},
"end": {
"line": 40,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1133,
"end": 1134,
"loc": {
"start": {
"line": 40,
"column": 26
},
"end": {
"line": 40,
"column": 27
}
}
},
{
"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": 1135,
"end": 1139,
"loc": {
"start": {
"line": 40,
"column": 28
},
"end": {
"line": 40,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1139,
"end": 1140,
"loc": {
"start": {
"line": 40,
"column": 32
},
"end": {
"line": 40,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_quillObserver",
"start": 1140,
"end": 1154,
"loc": {
"start": {
"line": 40,
"column": 33
},
"end": {
"line": 40,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1154,
"end": 1155,
"loc": {
"start": {
"line": 40,
"column": 47
},
"end": {
"line": 40,
"column": 48
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1158,
"end": 1159,
"loc": {
"start": {
"line": 41,
"column": 2
},
"end": {
"line": 41,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destroy",
"start": 1162,
"end": 1169,
"loc": {
"start": {
"line": 42,
"column": 2
},
"end": {
"line": 42,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1170,
"end": 1171,
"loc": {
"start": {
"line": 42,
"column": 10
},
"end": {
"line": 42,
"column": 11
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1171,
"end": 1172,
"loc": {
"start": {
"line": 42,
"column": 11
},
"end": {
"line": 42,
"column": 12
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1173,
"end": 1174,
"loc": {
"start": {
"line": 42,
"column": 13
},
"end": {
"line": 42,
"column": 14
}
}
},
{
"type": "CommentLine",
"value": " Remove everything that is handled by this class",
"start": 1179,
"end": 1229,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"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": 1234,
"end": 1238,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1238,
"end": 1239,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 1239,
"end": 1243,
"loc": {
"start": {
"line": 44,
"column": 9
},
"end": {
"line": 44,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1243,
"end": 1244,
"loc": {
"start": {
"line": 44,
"column": 13
},
"end": {
"line": 44,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "unobserve",
"start": 1244,
"end": 1253,
"loc": {
"start": {
"line": 44,
"column": 14
},
"end": {
"line": 44,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1253,
"end": 1254,
"loc": {
"start": {
"line": 44,
"column": 23
},
"end": {
"line": 44,
"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": 1254,
"end": 1258,
"loc": {
"start": {
"line": 44,
"column": 24
},
"end": {
"line": 44,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1258,
"end": 1259,
"loc": {
"start": {
"line": 44,
"column": 28
},
"end": {
"line": 44,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_typeObserver",
"start": 1259,
"end": 1272,
"loc": {
"start": {
"line": 44,
"column": 29
},
"end": {
"line": 44,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1272,
"end": 1273,
"loc": {
"start": {
"line": 44,
"column": 42
},
"end": {
"line": 44,
"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": 1278,
"end": 1282,
"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": 1282,
"end": 1283,
"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": "target",
"start": 1283,
"end": 1289,
"loc": {
"start": {
"line": 45,
"column": 9
},
"end": {
"line": 45,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1289,
"end": 1290,
"loc": {
"start": {
"line": 45,
"column": 15
},
"end": {
"line": 45,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "off",
"start": 1290,
"end": 1293,
"loc": {
"start": {
"line": 45,
"column": 16
},
"end": {
"line": 45,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1293,
"end": 1294,
"loc": {
"start": {
"line": 45,
"column": 19
},
"end": {
"line": 45,
"column": 20
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "text-change",
"start": 1294,
"end": 1307,
"loc": {
"start": {
"line": 45,
"column": 20
},
"end": {
"line": 45,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1307,
"end": 1308,
"loc": {
"start": {
"line": 45,
"column": 33
},
"end": {
"line": 45,
"column": 34
}
}
},
{
"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": 1309,
"end": 1313,
"loc": {
"start": {
"line": 45,
"column": 35
},
"end": {
"line": 45,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1313,
"end": 1314,
"loc": {
"start": {
"line": 45,
"column": 39
},
"end": {
"line": 45,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_quillObserver",
"start": 1314,
"end": 1328,
"loc": {
"start": {
"line": 45,
"column": 40
},
"end": {
"line": 45,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1328,
"end": 1329,
"loc": {
"start": {
"line": 45,
"column": 54
},
"end": {
"line": 45,
"column": 55
}
}
},
{
"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": 1334,
"end": 1339,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1339,
"end": 1340,
"loc": {
"start": {
"line": 46,
"column": 9
},
"end": {
"line": 46,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destroy",
"start": 1340,
"end": 1347,
"loc": {
"start": {
"line": 46,
"column": 10
},
"end": {
"line": 46,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1347,
"end": 1348,
"loc": {
"start": {
"line": 46,
"column": 17
},
"end": {
"line": 46,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1348,
"end": 1349,
"loc": {
"start": {
"line": 46,
"column": 18
},
"end": {
"line": 46,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1352,
"end": 1353,
"loc": {
"start": {
"line": 47,
"column": 2
},
"end": {
"line": 47,
"column": 3
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1354,
"end": 1355,
"loc": {
"start": {
"line": 48,
"column": 0
},
"end": {
"line": 48,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1356,
"end": 1356,
"loc": {
"start": {
"line": 49,
"column": 0
},
"end": {
"line": 49,
"column": 0
}
}
}
]
}