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

7903 lines
200 KiB
JSON

{
"type": "File",
"start": 0,
"end": 1547,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 54,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 1547,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 54,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 35,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 35
}
},
"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": 35,
"loc": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"column": 35
}
},
"extra": {
"rawValue": "../Binding.js",
"raw": "'../Binding.js'"
},
"value": "../Binding.js"
}
},
{
"type": "FunctionDeclaration",
"start": 37,
"end": 349,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 13,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 46,
"end": 58,
"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": 60,
"end": 65,
"loc": {
"start": {
"line": 3,
"column": 23
},
"end": {
"line": 3,
"column": 28
},
"identifierName": "event"
},
"name": "event"
}
],
"body": {
"type": "BlockStatement",
"start": 67,
"end": 349,
"loc": {
"start": {
"line": 3,
"column": 30
},
"end": {
"line": 13,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 71,
"end": 96,
"loc": {
"start": {
"line": 4,
"column": 2
},
"end": {
"line": 4,
"column": 27
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 77,
"end": 96,
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 27
}
},
"id": {
"type": "Identifier",
"start": 77,
"end": 82,
"loc": {
"start": {
"line": 4,
"column": 8
},
"end": {
"line": 4,
"column": 13
},
"identifierName": "quill"
},
"name": "quill"
},
"init": {
"type": "MemberExpression",
"start": 85,
"end": 96,
"loc": {
"start": {
"line": 4,
"column": 16
},
"end": {
"line": 4,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 85,
"end": 89,
"loc": {
"start": {
"line": 4,
"column": 16
},
"end": {
"line": 4,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 90,
"end": 96,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 27
},
"identifierName": "target"
},
"name": "target",
"leadingComments": null,
"trailingComments": null
},
"computed": false,
"trailingComments": null
},
"trailingComments": null
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Force flush Quill changes.",
"start": 99,
"end": 128,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 5,
"column": 31
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 131,
"end": 150,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 21
}
},
"expression": {
"type": "CallExpression",
"start": 131,
"end": 150,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 21
}
},
"callee": {
"type": "MemberExpression",
"start": 131,
"end": 143,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 14
}
},
"object": {
"type": "Identifier",
"start": 131,
"end": 136,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 7
},
"identifierName": "quill"
},
"name": "quill",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 137,
"end": 143,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 14
},
"identifierName": "update"
},
"name": "update"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "StringLiteral",
"start": 144,
"end": 149,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 20
}
},
"extra": {
"rawValue": "yjs",
"raw": "'yjs'"
},
"value": "yjs"
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Force flush Quill changes.",
"start": 99,
"end": 128,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 5,
"column": 31
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 153,
"end": 347,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 12,
"column": 4
}
},
"expression": {
"type": "CallExpression",
"start": 153,
"end": 347,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 12,
"column": 4
}
},
"callee": {
"type": "MemberExpression",
"start": 153,
"end": 172,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 7,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 153,
"end": 157,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 7,
"column": 6
}
}
},
"property": {
"type": "Identifier",
"start": 158,
"end": 172,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 21
},
"identifierName": "_mutualExclude"
},
"name": "_mutualExclude"
},
"computed": false
},
"arguments": [
{
"type": "FunctionExpression",
"start": 173,
"end": 346,
"loc": {
"start": {
"line": 7,
"column": 22
},
"end": {
"line": 12,
"column": 3
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 185,
"end": 346,
"loc": {
"start": {
"line": 7,
"column": 34
},
"end": {
"line": 12,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 220,
"end": 260,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 44
}
},
"expression": {
"type": "CallExpression",
"start": 220,
"end": 260,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
"start": 220,
"end": 240,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 220,
"end": 225,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 9
},
"identifierName": "quill"
},
"name": "quill",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 226,
"end": 240,
"loc": {
"start": {
"line": 9,
"column": 10
},
"end": {
"line": 9,
"column": 24
},
"identifierName": "updateContents"
},
"name": "updateContents"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "MemberExpression",
"start": 241,
"end": 252,
"loc": {
"start": {
"line": 9,
"column": 25
},
"end": {
"line": 9,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 241,
"end": 246,
"loc": {
"start": {
"line": 9,
"column": 25
},
"end": {
"line": 9,
"column": 30
},
"identifierName": "event"
},
"name": "event"
},
"property": {
"type": "Identifier",
"start": 247,
"end": 252,
"loc": {
"start": {
"line": 9,
"column": 31
},
"end": {
"line": 9,
"column": 36
},
"identifierName": "delta"
},
"name": "delta"
},
"computed": false
},
{
"type": "StringLiteral",
"start": 254,
"end": 259,
"loc": {
"start": {
"line": 9,
"column": 38
},
"end": {
"line": 9,
"column": 43
}
},
"extra": {
"rawValue": "yjs",
"raw": "'yjs'"
},
"value": "yjs"
}
],
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Apply computed delta.",
"start": 191,
"end": 215,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 28
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Force flush Quill changes. Ignore applied changes.",
"start": 265,
"end": 318,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 57
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 323,
"end": 342,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 23
}
},
"expression": {
"type": "CallExpression",
"start": 323,
"end": 342,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 23
}
},
"callee": {
"type": "MemberExpression",
"start": 323,
"end": 335,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 16
}
},
"object": {
"type": "Identifier",
"start": 323,
"end": 328,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 9
},
"identifierName": "quill"
},
"name": "quill",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 329,
"end": 335,
"loc": {
"start": {
"line": 11,
"column": 10
},
"end": {
"line": 11,
"column": 16
},
"identifierName": "update"
},
"name": "update"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "StringLiteral",
"start": 336,
"end": 341,
"loc": {
"start": {
"line": 11,
"column": 17
},
"end": {
"line": 11,
"column": 22
}
},
"extra": {
"rawValue": "yjs",
"raw": "'yjs'"
},
"value": "yjs"
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Force flush Quill changes. Ignore applied changes.",
"start": 265,
"end": 318,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 57
}
}
}
]
}
],
"directives": []
}
}
]
}
}
],
"directives": []
}
},
{
"type": "FunctionDeclaration",
"start": 351,
"end": 456,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 19,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 360,
"end": 373,
"loc": {
"start": {
"line": 15,
"column": 9
},
"end": {
"line": 15,
"column": 22
},
"identifierName": "quillObserver"
},
"name": "quillObserver"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 375,
"end": 380,
"loc": {
"start": {
"line": 15,
"column": 24
},
"end": {
"line": 15,
"column": 29
},
"identifierName": "delta"
},
"name": "delta"
}
],
"body": {
"type": "BlockStatement",
"start": 382,
"end": 456,
"loc": {
"start": {
"line": 15,
"column": 31
},
"end": {
"line": 19,
"column": 1
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 386,
"end": 454,
"loc": {
"start": {
"line": 16,
"column": 2
},
"end": {
"line": 18,
"column": 4
}
},
"expression": {
"type": "CallExpression",
"start": 386,
"end": 454,
"loc": {
"start": {
"line": 16,
"column": 2
},
"end": {
"line": 18,
"column": 4
}
},
"callee": {
"type": "MemberExpression",
"start": 386,
"end": 405,
"loc": {
"start": {
"line": 16,
"column": 2
},
"end": {
"line": 16,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 386,
"end": 390,
"loc": {
"start": {
"line": 16,
"column": 2
},
"end": {
"line": 16,
"column": 6
}
}
},
"property": {
"type": "Identifier",
"start": 391,
"end": 405,
"loc": {
"start": {
"line": 16,
"column": 7
},
"end": {
"line": 16,
"column": 21
},
"identifierName": "_mutualExclude"
},
"name": "_mutualExclude"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 406,
"end": 453,
"loc": {
"start": {
"line": 16,
"column": 22
},
"end": {
"line": 18,
"column": 3
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 412,
"end": 453,
"loc": {
"start": {
"line": 16,
"column": 28
},
"end": {
"line": 18,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 418,
"end": 449,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 418,
"end": 449,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 418,
"end": 438,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 24
}
},
"object": {
"type": "MemberExpression",
"start": 418,
"end": 427,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 13
}
},
"object": {
"type": "ThisExpression",
"start": 418,
"end": 422,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 423,
"end": 427,
"loc": {
"start": {
"line": 17,
"column": 9
},
"end": {
"line": 17,
"column": 13
},
"identifierName": "type"
},
"name": "type"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 428,
"end": 438,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 24
},
"identifierName": "applyDelta"
},
"name": "applyDelta"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 439,
"end": 448,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 17,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 439,
"end": 444,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 17,
"column": 30
},
"identifierName": "delta"
},
"name": "delta"
},
"property": {
"type": "Identifier",
"start": 445,
"end": 448,
"loc": {
"start": {
"line": 17,
"column": 31
},
"end": {
"line": 17,
"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 * // Now modifications on the DOM will be reflected in the Type, and the other\n * // way around!\n ",
"start": 458,
"end": 785,
"loc": {
"start": {
"line": 21,
"column": 0
},
"end": {
"line": 30,
"column": 3
}
}
}
]
},
{
"type": "ExportDefaultDeclaration",
"start": 786,
"end": 1546,
"loc": {
"start": {
"line": 31,
"column": 0
},
"end": {
"line": 53,
"column": 1
}
},
"declaration": {
"type": "ClassDeclaration",
"start": 801,
"end": 1546,
"loc": {
"start": {
"line": 31,
"column": 15
},
"end": {
"line": 53,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 807,
"end": 819,
"loc": {
"start": {
"line": 31,
"column": 21
},
"end": {
"line": 31,
"column": 33
},
"identifierName": "QuillBinding"
},
"name": "QuillBinding",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 828,
"end": 835,
"loc": {
"start": {
"line": 31,
"column": 42
},
"end": {
"line": 31,
"column": 49
},
"identifierName": "Binding"
},
"name": "Binding"
},
"body": {
"type": "ClassBody",
"start": 836,
"end": 1546,
"loc": {
"start": {
"line": 31,
"column": 50
},
"end": {
"line": 53,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 907,
"end": 1349,
"loc": {
"start": {
"line": 36,
"column": 2
},
"end": {
"line": 46,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 907,
"end": 918,
"loc": {
"start": {
"line": 36,
"column": 2
},
"end": {
"line": 36,
"column": 13
},
"identifierName": "constructor"
},
"name": "constructor",
"leadingComments": null
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 920,
"end": 928,
"loc": {
"start": {
"line": 36,
"column": 15
},
"end": {
"line": 36,
"column": 23
},
"identifierName": "textType"
},
"name": "textType"
},
{
"type": "Identifier",
"start": 930,
"end": 935,
"loc": {
"start": {
"line": 36,
"column": 25
},
"end": {
"line": 36,
"column": 30
},
"identifierName": "quill"
},
"name": "quill"
}
],
"body": {
"type": "BlockStatement",
"start": 937,
"end": 1349,
"loc": {
"start": {
"line": 36,
"column": 32
},
"end": {
"line": 46,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1014,
"end": 1036,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 38,
"column": 26
}
},
"expression": {
"type": "CallExpression",
"start": 1014,
"end": 1036,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 38,
"column": 26
}
},
"callee": {
"type": "Super",
"start": 1014,
"end": 1019,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 38,
"column": 9
}
},
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 1020,
"end": 1028,
"loc": {
"start": {
"line": 38,
"column": 10
},
"end": {
"line": 38,
"column": 18
},
"identifierName": "textType"
},
"name": "textType"
},
{
"type": "Identifier",
"start": 1030,
"end": 1035,
"loc": {
"start": {
"line": 38,
"column": 20
},
"end": {
"line": 38,
"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": 943,
"end": 1009,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 70
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Set initial value.",
"start": 1041,
"end": 1062,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 25
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1067,
"end": 1111,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 48
}
},
"expression": {
"type": "CallExpression",
"start": 1067,
"end": 1111,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 1067,
"end": 1084,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 1067,
"end": 1072,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 9
},
"identifierName": "quill"
},
"name": "quill",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1073,
"end": 1084,
"loc": {
"start": {
"line": 40,
"column": 10
},
"end": {
"line": 40,
"column": 21
},
"identifierName": "setContents"
},
"name": "setContents"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "CallExpression",
"start": 1085,
"end": 1103,
"loc": {
"start": {
"line": 40,
"column": 22
},
"end": {
"line": 40,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 1085,
"end": 1101,
"loc": {
"start": {
"line": 40,
"column": 22
},
"end": {
"line": 40,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 1085,
"end": 1093,
"loc": {
"start": {
"line": 40,
"column": 22
},
"end": {
"line": 40,
"column": 30
},
"identifierName": "textType"
},
"name": "textType"
},
"property": {
"type": "Identifier",
"start": 1094,
"end": 1101,
"loc": {
"start": {
"line": 40,
"column": 31
},
"end": {
"line": 40,
"column": 38
},
"identifierName": "toDelta"
},
"name": "toDelta"
},
"computed": false
},
"arguments": []
},
{
"type": "StringLiteral",
"start": 1105,
"end": 1110,
"loc": {
"start": {
"line": 40,
"column": 42
},
"end": {
"line": 40,
"column": 47
}
},
"extra": {
"rawValue": "yjs",
"raw": "'yjs'"
},
"value": "yjs"
}
],
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Set initial value.",
"start": 1041,
"end": 1062,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 25
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Observers are handled by this class.",
"start": 1116,
"end": 1155,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"column": 43
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1160,
"end": 1204,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 42,
"column": 48
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1160,
"end": 1204,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 42,
"column": 48
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1160,
"end": 1178,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 42,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 1160,
"end": 1164,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 42,
"column": 8
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1165,
"end": 1178,
"loc": {
"start": {
"line": 42,
"column": 9
},
"end": {
"line": 42,
"column": 22
},
"identifierName": "_typeObserver"
},
"name": "_typeObserver"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "CallExpression",
"start": 1181,
"end": 1204,
"loc": {
"start": {
"line": 42,
"column": 25
},
"end": {
"line": 42,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 1181,
"end": 1198,
"loc": {
"start": {
"line": 42,
"column": 25
},
"end": {
"line": 42,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 1181,
"end": 1193,
"loc": {
"start": {
"line": 42,
"column": 25
},
"end": {
"line": 42,
"column": 37
},
"identifierName": "typeObserver"
},
"name": "typeObserver"
},
"property": {
"type": "Identifier",
"start": 1194,
"end": 1198,
"loc": {
"start": {
"line": 42,
"column": 38
},
"end": {
"line": 42,
"column": 42
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 1199,
"end": 1203,
"loc": {
"start": {
"line": 42,
"column": 43
},
"end": {
"line": 42,
"column": 47
}
}
}
]
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Observers are handled by this class.",
"start": 1116,
"end": 1155,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"column": 43
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1209,
"end": 1255,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 50
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1209,
"end": 1255,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 50
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1209,
"end": 1228,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 1209,
"end": 1213,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 1214,
"end": 1228,
"loc": {
"start": {
"line": 43,
"column": 9
},
"end": {
"line": 43,
"column": 23
},
"identifierName": "_quillObserver"
},
"name": "_quillObserver"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1231,
"end": 1255,
"loc": {
"start": {
"line": 43,
"column": 26
},
"end": {
"line": 43,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 1231,
"end": 1249,
"loc": {
"start": {
"line": 43,
"column": 26
},
"end": {
"line": 43,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 1231,
"end": 1244,
"loc": {
"start": {
"line": 43,
"column": 26
},
"end": {
"line": 43,
"column": 39
},
"identifierName": "quillObserver"
},
"name": "quillObserver"
},
"property": {
"type": "Identifier",
"start": 1245,
"end": 1249,
"loc": {
"start": {
"line": 43,
"column": 40
},
"end": {
"line": 43,
"column": 44
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 1250,
"end": 1254,
"loc": {
"start": {
"line": 43,
"column": 45
},
"end": {
"line": 43,
"column": 49
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 1260,
"end": 1296,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 40
}
},
"expression": {
"type": "CallExpression",
"start": 1260,
"end": 1296,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 1260,
"end": 1276,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 1260,
"end": 1268,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 12
},
"identifierName": "textType"
},
"name": "textType"
},
"property": {
"type": "Identifier",
"start": 1269,
"end": 1276,
"loc": {
"start": {
"line": 44,
"column": 13
},
"end": {
"line": 44,
"column": 20
},
"identifierName": "observe"
},
"name": "observe"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1277,
"end": 1295,
"loc": {
"start": {
"line": 44,
"column": 21
},
"end": {
"line": 44,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 1277,
"end": 1281,
"loc": {
"start": {
"line": 44,
"column": 21
},
"end": {
"line": 44,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 1282,
"end": 1295,
"loc": {
"start": {
"line": 44,
"column": 26
},
"end": {
"line": 44,
"column": 39
},
"identifierName": "_typeObserver"
},
"name": "_typeObserver"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1301,
"end": 1345,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 48
}
},
"expression": {
"type": "CallExpression",
"start": 1301,
"end": 1345,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 1301,
"end": 1309,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 12
}
},
"object": {
"type": "Identifier",
"start": 1301,
"end": 1306,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 9
},
"identifierName": "quill"
},
"name": "quill"
},
"property": {
"type": "Identifier",
"start": 1307,
"end": 1309,
"loc": {
"start": {
"line": 45,
"column": 10
},
"end": {
"line": 45,
"column": 12
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1310,
"end": 1323,
"loc": {
"start": {
"line": 45,
"column": 13
},
"end": {
"line": 45,
"column": 26
}
},
"extra": {
"rawValue": "text-change",
"raw": "'text-change'"
},
"value": "text-change"
},
{
"type": "MemberExpression",
"start": 1325,
"end": 1344,
"loc": {
"start": {
"line": 45,
"column": 28
},
"end": {
"line": 45,
"column": 47
}
},
"object": {
"type": "ThisExpression",
"start": 1325,
"end": 1329,
"loc": {
"start": {
"line": 45,
"column": 28
},
"end": {
"line": 45,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 1330,
"end": 1344,
"loc": {
"start": {
"line": 45,
"column": 33
},
"end": {
"line": 45,
"column": 47
},
"identifierName": "_quillObserver"
},
"name": "_quillObserver"
},
"computed": false
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * @param {YText} textType\n * @param {Quill} quill\n ",
"start": 840,
"end": 904,
"loc": {
"start": {
"line": 32,
"column": 2
},
"end": {
"line": 35,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1352,
"end": 1544,
"loc": {
"start": {
"line": 47,
"column": 2
},
"end": {
"line": 52,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1352,
"end": 1359,
"loc": {
"start": {
"line": 47,
"column": 2
},
"end": {
"line": 47,
"column": 9
},
"identifierName": "destroy"
},
"name": "destroy"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1363,
"end": 1544,
"loc": {
"start": {
"line": 47,
"column": 13
},
"end": {
"line": 52,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1425,
"end": 1464,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 49,
"column": 43
}
},
"expression": {
"type": "CallExpression",
"start": 1425,
"end": 1464,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 49,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 1425,
"end": 1444,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 49,
"column": 23
}
},
"object": {
"type": "MemberExpression",
"start": 1425,
"end": 1434,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 49,
"column": 13
}
},
"object": {
"type": "ThisExpression",
"start": 1425,
"end": 1429,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 49,
"column": 8
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1430,
"end": 1434,
"loc": {
"start": {
"line": 49,
"column": 9
},
"end": {
"line": 49,
"column": 13
},
"identifierName": "type"
},
"name": "type"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1435,
"end": 1444,
"loc": {
"start": {
"line": 49,
"column": 14
},
"end": {
"line": 49,
"column": 23
},
"identifierName": "unobserve"
},
"name": "unobserve"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "MemberExpression",
"start": 1445,
"end": 1463,
"loc": {
"start": {
"line": 49,
"column": 24
},
"end": {
"line": 49,
"column": 42
}
},
"object": {
"type": "ThisExpression",
"start": 1445,
"end": 1449,
"loc": {
"start": {
"line": 49,
"column": 24
},
"end": {
"line": 49,
"column": 28
}
}
},
"property": {
"type": "Identifier",
"start": 1450,
"end": 1463,
"loc": {
"start": {
"line": 49,
"column": 29
},
"end": {
"line": 49,
"column": 42
},
"identifierName": "_typeObserver"
},
"name": "_typeObserver"
},
"computed": false
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Remove everything that is handled by this class.",
"start": 1369,
"end": 1420,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 48,
"column": 55
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1469,
"end": 1520,
"loc": {
"start": {
"line": 50,
"column": 4
},
"end": {
"line": 50,
"column": 55
}
},
"expression": {
"type": "CallExpression",
"start": 1469,
"end": 1520,
"loc": {
"start": {
"line": 50,
"column": 4
},
"end": {
"line": 50,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1469,
"end": 1484,
"loc": {
"start": {
"line": 50,
"column": 4
},
"end": {
"line": 50,
"column": 19
}
},
"object": {
"type": "MemberExpression",
"start": 1469,
"end": 1480,
"loc": {
"start": {
"line": 50,
"column": 4
},
"end": {
"line": 50,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 1469,
"end": 1473,
"loc": {
"start": {
"line": 50,
"column": 4
},
"end": {
"line": 50,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 1474,
"end": 1480,
"loc": {
"start": {
"line": 50,
"column": 9
},
"end": {
"line": 50,
"column": 15
},
"identifierName": "target"
},
"name": "target"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1481,
"end": 1484,
"loc": {
"start": {
"line": 50,
"column": 16
},
"end": {
"line": 50,
"column": 19
},
"identifierName": "off"
},
"name": "off"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1485,
"end": 1498,
"loc": {
"start": {
"line": 50,
"column": 20
},
"end": {
"line": 50,
"column": 33
}
},
"extra": {
"rawValue": "text-change",
"raw": "'text-change'"
},
"value": "text-change"
},
{
"type": "MemberExpression",
"start": 1500,
"end": 1519,
"loc": {
"start": {
"line": 50,
"column": 35
},
"end": {
"line": 50,
"column": 54
}
},
"object": {
"type": "ThisExpression",
"start": 1500,
"end": 1504,
"loc": {
"start": {
"line": 50,
"column": 35
},
"end": {
"line": 50,
"column": 39
}
}
},
"property": {
"type": "Identifier",
"start": 1505,
"end": 1519,
"loc": {
"start": {
"line": 50,
"column": 40
},
"end": {
"line": 50,
"column": 54
},
"identifierName": "_quillObserver"
},
"name": "_quillObserver"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1525,
"end": 1540,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 51,
"column": 19
}
},
"expression": {
"type": "CallExpression",
"start": 1525,
"end": 1540,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 51,
"column": 19
}
},
"callee": {
"type": "MemberExpression",
"start": 1525,
"end": 1538,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 51,
"column": 17
}
},
"object": {
"type": "Super",
"start": 1525,
"end": 1530,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 51,
"column": 9
}
}
},
"property": {
"type": "Identifier",
"start": 1531,
"end": 1538,
"loc": {
"start": {
"line": 51,
"column": 10
},
"end": {
"line": 51,
"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 * // Now modifications on the DOM will be reflected in the Type, and the other\n * // way around!\n ",
"start": 458,
"end": 785,
"loc": {
"start": {
"line": 21,
"column": 0
},
"end": {
"line": 30,
"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 * // Now modifications on the DOM will be reflected in the Type, and the other\n * // way around!\n ",
"start": 458,
"end": 785,
"loc": {
"start": {
"line": 21,
"column": 0
},
"end": {
"line": 30,
"column": 3
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentLine",
"value": " Force flush Quill changes.",
"start": 99,
"end": 128,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 5,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " Apply computed delta.",
"start": 191,
"end": 215,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 28
}
}
},
{
"type": "CommentLine",
"value": " Force flush Quill changes. Ignore applied changes.",
"start": 265,
"end": 318,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 57
}
}
},
{
"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 * // Now modifications on the DOM will be reflected in the Type, and the other\n * // way around!\n ",
"start": 458,
"end": 785,
"loc": {
"start": {
"line": 21,
"column": 0
},
"end": {
"line": 30,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * @param {YText} textType\n * @param {Quill} quill\n ",
"start": 840,
"end": 904,
"loc": {
"start": {
"line": 32,
"column": 2
},
"end": {
"line": 35,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " Binding handles textType as this.type and quill as this.target.",
"start": 943,
"end": 1009,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 70
}
}
},
{
"type": "CommentLine",
"value": " Set initial value.",
"start": 1041,
"end": 1062,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 25
}
}
},
{
"type": "CommentLine",
"value": " Observers are handled by this class.",
"start": 1116,
"end": 1155,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"column": 43
}
}
},
{
"type": "CommentLine",
"value": " Remove everything that is handled by this class.",
"start": 1369,
"end": 1420,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 48,
"column": 55
}
}
}
],
"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": 35,
"loc": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"column": 35
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 37,
"end": 45,
"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": 46,
"end": 58,
"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": 59,
"end": 60,
"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": 60,
"end": 65,
"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": 65,
"end": 66,
"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": 67,
"end": 68,
"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": 71,
"end": 76,
"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": 77,
"end": 82,
"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": 83,
"end": 84,
"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": 85,
"end": 89,
"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": 89,
"end": 90,
"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": 90,
"end": 96,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 27
}
}
},
{
"type": "CommentLine",
"value": " Force flush Quill changes.",
"start": 99,
"end": 128,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 5,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "quill",
"start": 131,
"end": 136,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 7
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 136,
"end": 137,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "update",
"start": 137,
"end": 143,
"loc": {
"start": {
"line": 6,
"column": 8
},
"end": {
"line": 6,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 143,
"end": 144,
"loc": {
"start": {
"line": 6,
"column": 14
},
"end": {
"line": 6,
"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": 144,
"end": 149,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 149,
"end": 150,
"loc": {
"start": {
"line": 6,
"column": 20
},
"end": {
"line": 6,
"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": 153,
"end": 157,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 7,
"column": 6
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 157,
"end": 158,
"loc": {
"start": {
"line": 7,
"column": 6
},
"end": {
"line": 7,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_mutualExclude",
"start": 158,
"end": 172,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 172,
"end": 173,
"loc": {
"start": {
"line": 7,
"column": 21
},
"end": {
"line": 7,
"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": 173,
"end": 181,
"loc": {
"start": {
"line": 7,
"column": 22
},
"end": {
"line": 7,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 182,
"end": 183,
"loc": {
"start": {
"line": 7,
"column": 31
},
"end": {
"line": 7,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 183,
"end": 184,
"loc": {
"start": {
"line": 7,
"column": 32
},
"end": {
"line": 7,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 185,
"end": 186,
"loc": {
"start": {
"line": 7,
"column": 34
},
"end": {
"line": 7,
"column": 35
}
}
},
{
"type": "CommentLine",
"value": " Apply computed delta.",
"start": 191,
"end": 215,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "quill",
"start": 220,
"end": 225,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 225,
"end": 226,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "updateContents",
"start": 226,
"end": 240,
"loc": {
"start": {
"line": 9,
"column": 10
},
"end": {
"line": 9,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 240,
"end": 241,
"loc": {
"start": {
"line": 9,
"column": 24
},
"end": {
"line": 9,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "event",
"start": 241,
"end": 246,
"loc": {
"start": {
"line": 9,
"column": 25
},
"end": {
"line": 9,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 246,
"end": 247,
"loc": {
"start": {
"line": 9,
"column": 30
},
"end": {
"line": 9,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "delta",
"start": 247,
"end": 252,
"loc": {
"start": {
"line": 9,
"column": 31
},
"end": {
"line": 9,
"column": 36
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 252,
"end": 253,
"loc": {
"start": {
"line": 9,
"column": 36
},
"end": {
"line": 9,
"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": 254,
"end": 259,
"loc": {
"start": {
"line": 9,
"column": 38
},
"end": {
"line": 9,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 259,
"end": 260,
"loc": {
"start": {
"line": 9,
"column": 43
},
"end": {
"line": 9,
"column": 44
}
}
},
{
"type": "CommentLine",
"value": " Force flush Quill changes. Ignore applied changes.",
"start": 265,
"end": 318,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "quill",
"start": 323,
"end": 328,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 9
}
}
},
{
"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": 11,
"column": 9
},
"end": {
"line": 11,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "update",
"start": 329,
"end": 335,
"loc": {
"start": {
"line": 11,
"column": 10
},
"end": {
"line": 11,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 335,
"end": 336,
"loc": {
"start": {
"line": 11,
"column": 16
},
"end": {
"line": 11,
"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": 336,
"end": 341,
"loc": {
"start": {
"line": 11,
"column": 17
},
"end": {
"line": 11,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 341,
"end": 342,
"loc": {
"start": {
"line": 11,
"column": 22
},
"end": {
"line": 11,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 345,
"end": 346,
"loc": {
"start": {
"line": 12,
"column": 2
},
"end": {
"line": 12,
"column": 3
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 346,
"end": 347,
"loc": {
"start": {
"line": 12,
"column": 3
},
"end": {
"line": 12,
"column": 4
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 348,
"end": 349,
"loc": {
"start": {
"line": 13,
"column": 0
},
"end": {
"line": 13,
"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": 351,
"end": 359,
"loc": {
"start": {
"line": 15,
"column": 0
},
"end": {
"line": 15,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "quillObserver",
"start": 360,
"end": 373,
"loc": {
"start": {
"line": 15,
"column": 9
},
"end": {
"line": 15,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 374,
"end": 375,
"loc": {
"start": {
"line": 15,
"column": 23
},
"end": {
"line": 15,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "delta",
"start": 375,
"end": 380,
"loc": {
"start": {
"line": 15,
"column": 24
},
"end": {
"line": 15,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 380,
"end": 381,
"loc": {
"start": {
"line": 15,
"column": 29
},
"end": {
"line": 15,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 382,
"end": 383,
"loc": {
"start": {
"line": 15,
"column": 31
},
"end": {
"line": 15,
"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": 386,
"end": 390,
"loc": {
"start": {
"line": 16,
"column": 2
},
"end": {
"line": 16,
"column": 6
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 390,
"end": 391,
"loc": {
"start": {
"line": 16,
"column": 6
},
"end": {
"line": 16,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_mutualExclude",
"start": 391,
"end": 405,
"loc": {
"start": {
"line": 16,
"column": 7
},
"end": {
"line": 16,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 405,
"end": 406,
"loc": {
"start": {
"line": 16,
"column": 21
},
"end": {
"line": 16,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 406,
"end": 407,
"loc": {
"start": {
"line": 16,
"column": 22
},
"end": {
"line": 16,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 407,
"end": 408,
"loc": {
"start": {
"line": 16,
"column": 23
},
"end": {
"line": 16,
"column": 24
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 409,
"end": 411,
"loc": {
"start": {
"line": 16,
"column": 25
},
"end": {
"line": 16,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 412,
"end": 413,
"loc": {
"start": {
"line": 16,
"column": 28
},
"end": {
"line": 16,
"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": 418,
"end": 422,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 422,
"end": 423,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 423,
"end": 427,
"loc": {
"start": {
"line": 17,
"column": 9
},
"end": {
"line": 17,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 427,
"end": 428,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "applyDelta",
"start": 428,
"end": 438,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 438,
"end": 439,
"loc": {
"start": {
"line": 17,
"column": 24
},
"end": {
"line": 17,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "delta",
"start": 439,
"end": 444,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 17,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 444,
"end": 445,
"loc": {
"start": {
"line": 17,
"column": 30
},
"end": {
"line": 17,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ops",
"start": 445,
"end": 448,
"loc": {
"start": {
"line": 17,
"column": 31
},
"end": {
"line": 17,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 448,
"end": 449,
"loc": {
"start": {
"line": 17,
"column": 34
},
"end": {
"line": 17,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 452,
"end": 453,
"loc": {
"start": {
"line": 18,
"column": 2
},
"end": {
"line": 18,
"column": 3
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 453,
"end": 454,
"loc": {
"start": {
"line": 18,
"column": 3
},
"end": {
"line": 18,
"column": 4
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 455,
"end": 456,
"loc": {
"start": {
"line": 19,
"column": 0
},
"end": {
"line": 19,
"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 * // Now modifications on the DOM will be reflected in the Type, and the other\n * // way around!\n ",
"start": 458,
"end": 785,
"loc": {
"start": {
"line": 21,
"column": 0
},
"end": {
"line": 30,
"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": 786,
"end": 792,
"loc": {
"start": {
"line": 31,
"column": 0
},
"end": {
"line": 31,
"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": 793,
"end": 800,
"loc": {
"start": {
"line": 31,
"column": 7
},
"end": {
"line": 31,
"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": 801,
"end": 806,
"loc": {
"start": {
"line": 31,
"column": 15
},
"end": {
"line": 31,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "QuillBinding",
"start": 807,
"end": 819,
"loc": {
"start": {
"line": 31,
"column": 21
},
"end": {
"line": 31,
"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": 820,
"end": 827,
"loc": {
"start": {
"line": 31,
"column": 34
},
"end": {
"line": 31,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Binding",
"start": 828,
"end": 835,
"loc": {
"start": {
"line": 31,
"column": 42
},
"end": {
"line": 31,
"column": 49
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 836,
"end": 837,
"loc": {
"start": {
"line": 31,
"column": 50
},
"end": {
"line": 31,
"column": 51
}
}
},
{
"type": "CommentBlock",
"value": "*\n * @param {YText} textType\n * @param {Quill} quill\n ",
"start": 840,
"end": 904,
"loc": {
"start": {
"line": 32,
"column": 2
},
"end": {
"line": 35,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 907,
"end": 918,
"loc": {
"start": {
"line": 36,
"column": 2
},
"end": {
"line": 36,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 919,
"end": 920,
"loc": {
"start": {
"line": 36,
"column": 14
},
"end": {
"line": 36,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textType",
"start": 920,
"end": 928,
"loc": {
"start": {
"line": 36,
"column": 15
},
"end": {
"line": 36,
"column": 23
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 928,
"end": 929,
"loc": {
"start": {
"line": 36,
"column": 23
},
"end": {
"line": 36,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "quill",
"start": 930,
"end": 935,
"loc": {
"start": {
"line": 36,
"column": 25
},
"end": {
"line": 36,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 935,
"end": 936,
"loc": {
"start": {
"line": 36,
"column": 30
},
"end": {
"line": 36,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 937,
"end": 938,
"loc": {
"start": {
"line": 36,
"column": 32
},
"end": {
"line": 36,
"column": 33
}
}
},
{
"type": "CommentLine",
"value": " Binding handles textType as this.type and quill as this.target.",
"start": 943,
"end": 1009,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 70
}
}
},
{
"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": 1014,
"end": 1019,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 38,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1019,
"end": 1020,
"loc": {
"start": {
"line": 38,
"column": 9
},
"end": {
"line": 38,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textType",
"start": 1020,
"end": 1028,
"loc": {
"start": {
"line": 38,
"column": 10
},
"end": {
"line": 38,
"column": 18
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1028,
"end": 1029,
"loc": {
"start": {
"line": 38,
"column": 18
},
"end": {
"line": 38,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "quill",
"start": 1030,
"end": 1035,
"loc": {
"start": {
"line": 38,
"column": 20
},
"end": {
"line": 38,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1035,
"end": 1036,
"loc": {
"start": {
"line": 38,
"column": 25
},
"end": {
"line": 38,
"column": 26
}
}
},
{
"type": "CommentLine",
"value": " Set initial value.",
"start": 1041,
"end": 1062,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "quill",
"start": 1067,
"end": 1072,
"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": 1072,
"end": 1073,
"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": "setContents",
"start": 1073,
"end": 1084,
"loc": {
"start": {
"line": 40,
"column": 10
},
"end": {
"line": 40,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1084,
"end": 1085,
"loc": {
"start": {
"line": 40,
"column": 21
},
"end": {
"line": 40,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textType",
"start": 1085,
"end": 1093,
"loc": {
"start": {
"line": 40,
"column": 22
},
"end": {
"line": 40,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1093,
"end": 1094,
"loc": {
"start": {
"line": 40,
"column": 30
},
"end": {
"line": 40,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toDelta",
"start": 1094,
"end": 1101,
"loc": {
"start": {
"line": 40,
"column": 31
},
"end": {
"line": 40,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1101,
"end": 1102,
"loc": {
"start": {
"line": 40,
"column": 38
},
"end": {
"line": 40,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1102,
"end": 1103,
"loc": {
"start": {
"line": 40,
"column": 39
},
"end": {
"line": 40,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1103,
"end": 1104,
"loc": {
"start": {
"line": 40,
"column": 40
},
"end": {
"line": 40,
"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": 1105,
"end": 1110,
"loc": {
"start": {
"line": 40,
"column": 42
},
"end": {
"line": 40,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1110,
"end": 1111,
"loc": {
"start": {
"line": 40,
"column": 47
},
"end": {
"line": 40,
"column": 48
}
}
},
{
"type": "CommentLine",
"value": " Observers are handled by this class.",
"start": 1116,
"end": 1155,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"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": 1160,
"end": 1164,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 42,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1164,
"end": 1165,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_typeObserver",
"start": 1165,
"end": 1178,
"loc": {
"start": {
"line": 42,
"column": 9
},
"end": {
"line": 42,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1179,
"end": 1180,
"loc": {
"start": {
"line": 42,
"column": 23
},
"end": {
"line": 42,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "typeObserver",
"start": 1181,
"end": 1193,
"loc": {
"start": {
"line": 42,
"column": 25
},
"end": {
"line": 42,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1193,
"end": 1194,
"loc": {
"start": {
"line": 42,
"column": 37
},
"end": {
"line": 42,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 1194,
"end": 1198,
"loc": {
"start": {
"line": 42,
"column": 38
},
"end": {
"line": 42,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1198,
"end": 1199,
"loc": {
"start": {
"line": 42,
"column": 42
},
"end": {
"line": 42,
"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": 1199,
"end": 1203,
"loc": {
"start": {
"line": 42,
"column": 43
},
"end": {
"line": 42,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1203,
"end": 1204,
"loc": {
"start": {
"line": 42,
"column": 47
},
"end": {
"line": 42,
"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": 1209,
"end": 1213,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1213,
"end": 1214,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_quillObserver",
"start": 1214,
"end": 1228,
"loc": {
"start": {
"line": 43,
"column": 9
},
"end": {
"line": 43,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1229,
"end": 1230,
"loc": {
"start": {
"line": 43,
"column": 24
},
"end": {
"line": 43,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "quillObserver",
"start": 1231,
"end": 1244,
"loc": {
"start": {
"line": 43,
"column": 26
},
"end": {
"line": 43,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1244,
"end": 1245,
"loc": {
"start": {
"line": 43,
"column": 39
},
"end": {
"line": 43,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 1245,
"end": 1249,
"loc": {
"start": {
"line": 43,
"column": 40
},
"end": {
"line": 43,
"column": 44
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1249,
"end": 1250,
"loc": {
"start": {
"line": 43,
"column": 44
},
"end": {
"line": 43,
"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": 1250,
"end": 1254,
"loc": {
"start": {
"line": 43,
"column": 45
},
"end": {
"line": 43,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1254,
"end": 1255,
"loc": {
"start": {
"line": 43,
"column": 49
},
"end": {
"line": 43,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "textType",
"start": 1260,
"end": 1268,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1268,
"end": 1269,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "observe",
"start": 1269,
"end": 1276,
"loc": {
"start": {
"line": 44,
"column": 13
},
"end": {
"line": 44,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1276,
"end": 1277,
"loc": {
"start": {
"line": 44,
"column": 20
},
"end": {
"line": 44,
"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": 1277,
"end": 1281,
"loc": {
"start": {
"line": 44,
"column": 21
},
"end": {
"line": 44,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1281,
"end": 1282,
"loc": {
"start": {
"line": 44,
"column": 25
},
"end": {
"line": 44,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_typeObserver",
"start": 1282,
"end": 1295,
"loc": {
"start": {
"line": 44,
"column": 26
},
"end": {
"line": 44,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1295,
"end": 1296,
"loc": {
"start": {
"line": 44,
"column": 39
},
"end": {
"line": 44,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "quill",
"start": 1301,
"end": 1306,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1306,
"end": 1307,
"loc": {
"start": {
"line": 45,
"column": 9
},
"end": {
"line": 45,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 1307,
"end": 1309,
"loc": {
"start": {
"line": 45,
"column": 10
},
"end": {
"line": 45,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1309,
"end": 1310,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"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": 1310,
"end": 1323,
"loc": {
"start": {
"line": 45,
"column": 13
},
"end": {
"line": 45,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1323,
"end": 1324,
"loc": {
"start": {
"line": 45,
"column": 26
},
"end": {
"line": 45,
"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": 1325,
"end": 1329,
"loc": {
"start": {
"line": 45,
"column": 28
},
"end": {
"line": 45,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1329,
"end": 1330,
"loc": {
"start": {
"line": 45,
"column": 32
},
"end": {
"line": 45,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_quillObserver",
"start": 1330,
"end": 1344,
"loc": {
"start": {
"line": 45,
"column": 33
},
"end": {
"line": 45,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1344,
"end": 1345,
"loc": {
"start": {
"line": 45,
"column": 47
},
"end": {
"line": 45,
"column": 48
}
}
},
{
"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": 2
},
"end": {
"line": 46,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destroy",
"start": 1352,
"end": 1359,
"loc": {
"start": {
"line": 47,
"column": 2
},
"end": {
"line": 47,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1360,
"end": 1361,
"loc": {
"start": {
"line": 47,
"column": 10
},
"end": {
"line": 47,
"column": 11
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1361,
"end": 1362,
"loc": {
"start": {
"line": 47,
"column": 11
},
"end": {
"line": 47,
"column": 12
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1363,
"end": 1364,
"loc": {
"start": {
"line": 47,
"column": 13
},
"end": {
"line": 47,
"column": 14
}
}
},
{
"type": "CommentLine",
"value": " Remove everything that is handled by this class.",
"start": 1369,
"end": 1420,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 48,
"column": 55
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1425,
"end": 1429,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 49,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1429,
"end": 1430,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 1430,
"end": 1434,
"loc": {
"start": {
"line": 49,
"column": 9
},
"end": {
"line": 49,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1434,
"end": 1435,
"loc": {
"start": {
"line": 49,
"column": 13
},
"end": {
"line": 49,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "unobserve",
"start": 1435,
"end": 1444,
"loc": {
"start": {
"line": 49,
"column": 14
},
"end": {
"line": 49,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1444,
"end": 1445,
"loc": {
"start": {
"line": 49,
"column": 23
},
"end": {
"line": 49,
"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": 1445,
"end": 1449,
"loc": {
"start": {
"line": 49,
"column": 24
},
"end": {
"line": 49,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1449,
"end": 1450,
"loc": {
"start": {
"line": 49,
"column": 28
},
"end": {
"line": 49,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_typeObserver",
"start": 1450,
"end": 1463,
"loc": {
"start": {
"line": 49,
"column": 29
},
"end": {
"line": 49,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1463,
"end": 1464,
"loc": {
"start": {
"line": 49,
"column": 42
},
"end": {
"line": 49,
"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": 1469,
"end": 1473,
"loc": {
"start": {
"line": 50,
"column": 4
},
"end": {
"line": 50,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1473,
"end": 1474,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "target",
"start": 1474,
"end": 1480,
"loc": {
"start": {
"line": 50,
"column": 9
},
"end": {
"line": 50,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1480,
"end": 1481,
"loc": {
"start": {
"line": 50,
"column": 15
},
"end": {
"line": 50,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "off",
"start": 1481,
"end": 1484,
"loc": {
"start": {
"line": 50,
"column": 16
},
"end": {
"line": 50,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1484,
"end": 1485,
"loc": {
"start": {
"line": 50,
"column": 19
},
"end": {
"line": 50,
"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": 1485,
"end": 1498,
"loc": {
"start": {
"line": 50,
"column": 20
},
"end": {
"line": 50,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1498,
"end": 1499,
"loc": {
"start": {
"line": 50,
"column": 33
},
"end": {
"line": 50,
"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": 1500,
"end": 1504,
"loc": {
"start": {
"line": 50,
"column": 35
},
"end": {
"line": 50,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1504,
"end": 1505,
"loc": {
"start": {
"line": 50,
"column": 39
},
"end": {
"line": 50,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_quillObserver",
"start": 1505,
"end": 1519,
"loc": {
"start": {
"line": 50,
"column": 40
},
"end": {
"line": 50,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1519,
"end": 1520,
"loc": {
"start": {
"line": 50,
"column": 54
},
"end": {
"line": 50,
"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": 1525,
"end": 1530,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 51,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1530,
"end": 1531,
"loc": {
"start": {
"line": 51,
"column": 9
},
"end": {
"line": 51,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destroy",
"start": 1531,
"end": 1538,
"loc": {
"start": {
"line": 51,
"column": 10
},
"end": {
"line": 51,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1538,
"end": 1539,
"loc": {
"start": {
"line": 51,
"column": 17
},
"end": {
"line": 51,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1539,
"end": 1540,
"loc": {
"start": {
"line": 51,
"column": 18
},
"end": {
"line": 51,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1543,
"end": 1544,
"loc": {
"start": {
"line": 52,
"column": 2
},
"end": {
"line": 52,
"column": 3
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1545,
"end": 1546,
"loc": {
"start": {
"line": 53,
"column": 0
},
"end": {
"line": 53,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1547,
"end": 1547,
"loc": {
"start": {
"line": 54,
"column": 0
},
"end": {
"line": 54,
"column": 0
}
}
}
]
}