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

23837 lines
657 KiB
JSON

{
"type": "File",
"start": 0,
"end": 5403,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 152,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 5403,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 152,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 31,
"end": 66,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 35
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 38,
"end": 45,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 14
}
},
"local": {
"type": "Identifier",
"start": 38,
"end": 45,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 14
},
"identifierName": "Binding"
},
"name": "Binding",
"leadingComments": null
},
"leadingComments": null
}
],
"source": {
"type": "StringLiteral",
"start": 51,
"end": 66,
"loc": {
"start": {
"line": 3,
"column": 20
},
"end": {
"line": 3,
"column": 35
}
},
"extra": {
"rawValue": "../Binding.js",
"raw": "'../Binding.js'"
},
"value": "../Binding.js"
},
"leadingComments": [
{
"type": "CommentBlock",
"value": " global MutationObserver ",
"start": 0,
"end": 29,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 29
}
}
}
]
},
{
"type": "ImportDeclaration",
"start": 67,
"end": 131,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 64
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 76,
"end": 93,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 26
}
},
"imported": {
"type": "Identifier",
"start": 76,
"end": 93,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 26
},
"identifierName": "createAssociation"
},
"name": "createAssociation"
},
"local": {
"type": "Identifier",
"start": 76,
"end": 93,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 26
},
"identifierName": "createAssociation"
},
"name": "createAssociation"
}
},
{
"type": "ImportSpecifier",
"start": 95,
"end": 112,
"loc": {
"start": {
"line": 4,
"column": 28
},
"end": {
"line": 4,
"column": 45
}
},
"imported": {
"type": "Identifier",
"start": 95,
"end": 112,
"loc": {
"start": {
"line": 4,
"column": 28
},
"end": {
"line": 4,
"column": 45
},
"identifierName": "removeAssociation"
},
"name": "removeAssociation"
},
"local": {
"type": "Identifier",
"start": 95,
"end": 112,
"loc": {
"start": {
"line": 4,
"column": 28
},
"end": {
"line": 4,
"column": 45
},
"identifierName": "removeAssociation"
},
"name": "removeAssociation"
}
}
],
"source": {
"type": "StringLiteral",
"start": 120,
"end": 131,
"loc": {
"start": {
"line": 4,
"column": 53
},
"end": {
"line": 4,
"column": 64
}
},
"extra": {
"rawValue": "./util.js",
"raw": "'./util.js'"
},
"value": "./util.js"
}
},
{
"type": "ImportDeclaration",
"start": 132,
"end": 228,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 96
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 141,
"end": 172,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 40
}
},
"imported": {
"type": "Identifier",
"start": 141,
"end": 172,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 40
},
"identifierName": "beforeTransactionSelectionFixer"
},
"name": "beforeTransactionSelectionFixer"
},
"local": {
"type": "Identifier",
"start": 141,
"end": 172,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 40
},
"identifierName": "beforeTransactionSelectionFixer"
},
"name": "beforeTransactionSelectionFixer"
}
},
{
"type": "ImportSpecifier",
"start": 174,
"end": 204,
"loc": {
"start": {
"line": 5,
"column": 42
},
"end": {
"line": 5,
"column": 72
}
},
"imported": {
"type": "Identifier",
"start": 174,
"end": 204,
"loc": {
"start": {
"line": 5,
"column": 42
},
"end": {
"line": 5,
"column": 72
},
"identifierName": "afterTransactionSelectionFixer"
},
"name": "afterTransactionSelectionFixer"
},
"local": {
"type": "Identifier",
"start": 174,
"end": 204,
"loc": {
"start": {
"line": 5,
"column": 42
},
"end": {
"line": 5,
"column": 72
},
"identifierName": "afterTransactionSelectionFixer"
},
"name": "afterTransactionSelectionFixer"
}
}
],
"source": {
"type": "StringLiteral",
"start": 212,
"end": 228,
"loc": {
"start": {
"line": 5,
"column": 80
},
"end": {
"line": 5,
"column": 96
}
},
"extra": {
"rawValue": "./selection.js",
"raw": "'./selection.js'"
},
"value": "./selection.js"
}
},
{
"type": "ImportDeclaration",
"start": 229,
"end": 291,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 62
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 238,
"end": 251,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 22
}
},
"imported": {
"type": "Identifier",
"start": 238,
"end": 251,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 22
},
"identifierName": "defaultFilter"
},
"name": "defaultFilter"
},
"local": {
"type": "Identifier",
"start": 238,
"end": 251,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 22
},
"identifierName": "defaultFilter"
},
"name": "defaultFilter"
}
},
{
"type": "ImportSpecifier",
"start": 253,
"end": 270,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 41
}
},
"imported": {
"type": "Identifier",
"start": 253,
"end": 270,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 41
},
"identifierName": "applyFilterOnType"
},
"name": "applyFilterOnType"
},
"local": {
"type": "Identifier",
"start": 253,
"end": 270,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 41
},
"identifierName": "applyFilterOnType"
},
"name": "applyFilterOnType"
}
}
],
"source": {
"type": "StringLiteral",
"start": 278,
"end": 291,
"loc": {
"start": {
"line": 6,
"column": 49
},
"end": {
"line": 6,
"column": 62
}
},
"extra": {
"rawValue": "./filter.js",
"raw": "'./filter.js'"
},
"value": "./filter.js"
}
},
{
"type": "ImportDeclaration",
"start": 292,
"end": 336,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 44
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 299,
"end": 311,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 19
}
},
"local": {
"type": "Identifier",
"start": 299,
"end": 311,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 19
},
"identifierName": "typeObserver"
},
"name": "typeObserver"
}
}
],
"source": {
"type": "StringLiteral",
"start": 317,
"end": 336,
"loc": {
"start": {
"line": 7,
"column": 25
},
"end": {
"line": 7,
"column": 44
}
},
"extra": {
"rawValue": "./typeObserver.js",
"raw": "'./typeObserver.js'"
},
"value": "./typeObserver.js"
}
},
{
"type": "ImportDeclaration",
"start": 337,
"end": 379,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 42
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 344,
"end": 355,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 18
}
},
"local": {
"type": "Identifier",
"start": 344,
"end": 355,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 18
},
"identifierName": "domObserver"
},
"name": "domObserver"
}
}
],
"source": {
"type": "StringLiteral",
"start": 361,
"end": 379,
"loc": {
"start": {
"line": 8,
"column": 24
},
"end": {
"line": 8,
"column": 42
}
},
"extra": {
"rawValue": "./domObserver.js",
"raw": "'./domObserver.js'"
},
"value": "./domObserver.js",
"leadingComments": null,
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * A binding that binds the children of a YXmlFragment to a DOM element.\n *\n * This binding is automatically destroyed when its parent is deleted.\n *\n * @example\n * const div = document.createElement('div')\n * const type = y.define('xml', Y.XmlFragment)\n * const binding = new Y.QuillBinding(type, div)\n *\n ",
"start": 381,
"end": 694,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 20,
"column": 3
}
}
}
]
},
{
"type": "ExportDefaultDeclaration",
"start": 695,
"end": 5139,
"loc": {
"start": {
"line": 21,
"column": 0
},
"end": {
"line": 143,
"column": 1
}
},
"declaration": {
"type": "ClassDeclaration",
"start": 710,
"end": 5139,
"loc": {
"start": {
"line": 21,
"column": 15
},
"end": {
"line": 143,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 716,
"end": 726,
"loc": {
"start": {
"line": 21,
"column": 21
},
"end": {
"line": 21,
"column": 31
},
"identifierName": "DomBinding"
},
"name": "DomBinding",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 735,
"end": 742,
"loc": {
"start": {
"line": 21,
"column": 40
},
"end": {
"line": 21,
"column": 47
},
"identifierName": "Binding"
},
"name": "Binding"
},
"body": {
"type": "ClassBody",
"start": 743,
"end": 5139,
"loc": {
"start": {
"line": 21,
"column": 48
},
"end": {
"line": 143,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 1082,
"end": 3997,
"loc": {
"start": {
"line": 30,
"column": 2
},
"end": {
"line": 106,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1082,
"end": 1093,
"loc": {
"start": {
"line": 30,
"column": 2
},
"end": {
"line": 30,
"column": 13
},
"identifierName": "constructor"
},
"name": "constructor",
"leadingComments": null
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1095,
"end": 1099,
"loc": {
"start": {
"line": 30,
"column": 15
},
"end": {
"line": 30,
"column": 19
},
"identifierName": "type"
},
"name": "type"
},
{
"type": "Identifier",
"start": 1101,
"end": 1107,
"loc": {
"start": {
"line": 30,
"column": 21
},
"end": {
"line": 30,
"column": 27
},
"identifierName": "target"
},
"name": "target"
},
{
"type": "AssignmentPattern",
"start": 1109,
"end": 1118,
"loc": {
"start": {
"line": 30,
"column": 29
},
"end": {
"line": 30,
"column": 38
}
},
"left": {
"type": "Identifier",
"start": 1109,
"end": 1113,
"loc": {
"start": {
"line": 30,
"column": 29
},
"end": {
"line": 30,
"column": 33
},
"identifierName": "opts"
},
"name": "opts"
},
"right": {
"type": "ObjectExpression",
"start": 1116,
"end": 1118,
"loc": {
"start": {
"line": 30,
"column": 36
},
"end": {
"line": 30,
"column": 38
}
},
"properties": []
}
}
],
"body": {
"type": "BlockStatement",
"start": 1120,
"end": 3997,
"loc": {
"start": {
"line": 30,
"column": 40
},
"end": {
"line": 106,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1202,
"end": 1221,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 23
}
},
"expression": {
"type": "CallExpression",
"start": 1202,
"end": 1221,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 23
}
},
"callee": {
"type": "Super",
"start": 1202,
"end": 1207,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 9
}
},
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 1208,
"end": 1212,
"loc": {
"start": {
"line": 32,
"column": 10
},
"end": {
"line": 32,
"column": 14
},
"identifierName": "type"
},
"name": "type"
},
{
"type": "Identifier",
"start": 1214,
"end": 1220,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 22
},
"identifierName": "target"
},
"name": "target"
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Binding handles textType as this.type and domTextarea as this.target",
"start": 1126,
"end": 1197,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 75
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1226,
"end": 1242,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 20
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1226,
"end": 1242,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 20
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1226,
"end": 1235,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 13
}
},
"object": {
"type": "ThisExpression",
"start": 1226,
"end": 1230,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 1231,
"end": 1235,
"loc": {
"start": {
"line": 33,
"column": 9
},
"end": {
"line": 33,
"column": 13
},
"identifierName": "opts"
},
"name": "opts"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1238,
"end": 1242,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 20
},
"identifierName": "opts"
},
"name": "opts"
}
}
},
{
"type": "ExpressionStatement",
"start": 1247,
"end": 1288,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 45
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1247,
"end": 1288,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 45
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1247,
"end": 1260,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 1247,
"end": 1251,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 8
},
"identifierName": "opts"
},
"name": "opts"
},
"property": {
"type": "Identifier",
"start": 1252,
"end": 1260,
"loc": {
"start": {
"line": 34,
"column": 9
},
"end": {
"line": 34,
"column": 17
},
"identifierName": "document"
},
"name": "document"
},
"computed": false
},
"right": {
"type": "LogicalExpression",
"start": 1263,
"end": 1288,
"loc": {
"start": {
"line": 34,
"column": 20
},
"end": {
"line": 34,
"column": 45
}
},
"left": {
"type": "MemberExpression",
"start": 1263,
"end": 1276,
"loc": {
"start": {
"line": 34,
"column": 20
},
"end": {
"line": 34,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 1263,
"end": 1267,
"loc": {
"start": {
"line": 34,
"column": 20
},
"end": {
"line": 34,
"column": 24
},
"identifierName": "opts"
},
"name": "opts"
},
"property": {
"type": "Identifier",
"start": 1268,
"end": 1276,
"loc": {
"start": {
"line": 34,
"column": 25
},
"end": {
"line": 34,
"column": 33
},
"identifierName": "document"
},
"name": "document"
},
"computed": false
},
"operator": "||",
"right": {
"type": "Identifier",
"start": 1280,
"end": 1288,
"loc": {
"start": {
"line": 34,
"column": 37
},
"end": {
"line": 34,
"column": 45
},
"identifierName": "document"
},
"name": "document"
}
}
}
},
{
"type": "ExpressionStatement",
"start": 1293,
"end": 1322,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 33
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1293,
"end": 1322,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 33
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1293,
"end": 1303,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 14
}
},
"object": {
"type": "Identifier",
"start": 1293,
"end": 1297,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 8
},
"identifierName": "opts"
},
"name": "opts"
},
"property": {
"type": "Identifier",
"start": 1298,
"end": 1303,
"loc": {
"start": {
"line": 35,
"column": 9
},
"end": {
"line": 35,
"column": 14
},
"identifierName": "hooks"
},
"name": "hooks"
},
"computed": false
},
"right": {
"type": "LogicalExpression",
"start": 1306,
"end": 1322,
"loc": {
"start": {
"line": 35,
"column": 17
},
"end": {
"line": 35,
"column": 33
}
},
"left": {
"type": "MemberExpression",
"start": 1306,
"end": 1316,
"loc": {
"start": {
"line": 35,
"column": 17
},
"end": {
"line": 35,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 1306,
"end": 1310,
"loc": {
"start": {
"line": 35,
"column": 17
},
"end": {
"line": 35,
"column": 21
},
"identifierName": "opts"
},
"name": "opts"
},
"property": {
"type": "Identifier",
"start": 1311,
"end": 1316,
"loc": {
"start": {
"line": 35,
"column": 22
},
"end": {
"line": 35,
"column": 27
},
"identifierName": "hooks"
},
"name": "hooks"
},
"computed": false
},
"operator": "||",
"right": {
"type": "ObjectExpression",
"start": 1320,
"end": 1322,
"loc": {
"start": {
"line": 35,
"column": 31
},
"end": {
"line": 35,
"column": 33
}
},
"properties": [],
"leadingComments": null,
"trailingComments": null
},
"trailingComments": null
},
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Maps each DOM element to the type that it is associated with.\n * @type {Map}\n ",
"start": 1327,
"end": 1426,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 39,
"column": 7
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1431,
"end": 1457,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1431,
"end": 1457,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 30
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1431,
"end": 1445,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 1431,
"end": 1435,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 8
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1436,
"end": 1445,
"loc": {
"start": {
"line": 40,
"column": 9
},
"end": {
"line": 40,
"column": 18
},
"identifierName": "domToType"
},
"name": "domToType"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NewExpression",
"start": 1448,
"end": 1457,
"loc": {
"start": {
"line": 40,
"column": 21
},
"end": {
"line": 40,
"column": 30
}
},
"callee": {
"type": "Identifier",
"start": 1452,
"end": 1455,
"loc": {
"start": {
"line": 40,
"column": 25
},
"end": {
"line": 40,
"column": 28
},
"identifierName": "Map"
},
"name": "Map"
},
"arguments": [],
"trailingComments": null
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Maps each DOM element to the type that it is associated with.\n * @type {Map}\n ",
"start": 1327,
"end": 1426,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 39,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Maps each YXml type to the DOM element that it is associated with.\n * @type {Map}\n ",
"start": 1462,
"end": 1566,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 44,
"column": 7
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1571,
"end": 1597,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1571,
"end": 1597,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 30
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1571,
"end": 1585,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 1571,
"end": 1575,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 8
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1576,
"end": 1585,
"loc": {
"start": {
"line": 45,
"column": 9
},
"end": {
"line": 45,
"column": 18
},
"identifierName": "typeToDom"
},
"name": "typeToDom"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NewExpression",
"start": 1588,
"end": 1597,
"loc": {
"start": {
"line": 45,
"column": 21
},
"end": {
"line": 45,
"column": 30
}
},
"callee": {
"type": "Identifier",
"start": 1592,
"end": 1595,
"loc": {
"start": {
"line": 45,
"column": 25
},
"end": {
"line": 45,
"column": 28
},
"identifierName": "Map"
},
"name": "Map"
},
"arguments": [],
"trailingComments": null
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Maps each YXml type to the DOM element that it is associated with.\n * @type {Map}\n ",
"start": 1462,
"end": 1566,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 44,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Defines which DOM attributes and elements to filter out.\n * Also filters remote changes.\n * @type {FilterFunction}\n ",
"start": 1602,
"end": 1743,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 50,
"column": 7
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1748,
"end": 1790,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 51,
"column": 46
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1748,
"end": 1790,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 51,
"column": 46
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1748,
"end": 1759,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 51,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 1748,
"end": 1752,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 51,
"column": 8
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1753,
"end": 1759,
"loc": {
"start": {
"line": 51,
"column": 9
},
"end": {
"line": 51,
"column": 15
},
"identifierName": "filter"
},
"name": "filter"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "LogicalExpression",
"start": 1762,
"end": 1790,
"loc": {
"start": {
"line": 51,
"column": 18
},
"end": {
"line": 51,
"column": 46
}
},
"left": {
"type": "MemberExpression",
"start": 1762,
"end": 1773,
"loc": {
"start": {
"line": 51,
"column": 18
},
"end": {
"line": 51,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 1762,
"end": 1766,
"loc": {
"start": {
"line": 51,
"column": 18
},
"end": {
"line": 51,
"column": 22
},
"identifierName": "opts"
},
"name": "opts"
},
"property": {
"type": "Identifier",
"start": 1767,
"end": 1773,
"loc": {
"start": {
"line": 51,
"column": 23
},
"end": {
"line": 51,
"column": 29
},
"identifierName": "filter"
},
"name": "filter"
},
"computed": false
},
"operator": "||",
"right": {
"type": "Identifier",
"start": 1777,
"end": 1790,
"loc": {
"start": {
"line": 51,
"column": 33
},
"end": {
"line": 51,
"column": 46
},
"identifierName": "defaultFilter"
},
"name": "defaultFilter",
"leadingComments": null,
"trailingComments": null
},
"trailingComments": null
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Defines which DOM attributes and elements to filter out.\n * Also filters remote changes.\n * @type {FilterFunction}\n ",
"start": 1602,
"end": 1743,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 50,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " set initial value",
"start": 1795,
"end": 1815,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 24
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1820,
"end": 1841,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1820,
"end": 1841,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 25
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1820,
"end": 1836,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 1820,
"end": 1826,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 10
},
"identifierName": "target"
},
"name": "target",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1827,
"end": 1836,
"loc": {
"start": {
"line": 53,
"column": 11
},
"end": {
"line": 53,
"column": 20
},
"identifierName": "innerHTML"
},
"name": "innerHTML"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "StringLiteral",
"start": 1839,
"end": 1841,
"loc": {
"start": {
"line": 53,
"column": 23
},
"end": {
"line": 53,
"column": 25
}
},
"extra": {
"rawValue": "",
"raw": "''"
},
"value": ""
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " set initial value",
"start": 1795,
"end": 1815,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 24
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1846,
"end": 1954,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 56,
"column": 6
}
},
"expression": {
"type": "CallExpression",
"start": 1846,
"end": 1954,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 56,
"column": 6
}
},
"callee": {
"type": "MemberExpression",
"start": 1846,
"end": 1858,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 16
}
},
"object": {
"type": "Identifier",
"start": 1846,
"end": 1850,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 8
},
"identifierName": "type"
},
"name": "type"
},
"property": {
"type": "Identifier",
"start": 1851,
"end": 1858,
"loc": {
"start": {
"line": 54,
"column": 9
},
"end": {
"line": 54,
"column": 16
},
"identifierName": "forEach"
},
"name": "forEach"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 1859,
"end": 1953,
"loc": {
"start": {
"line": 54,
"column": 17
},
"end": {
"line": 56,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1859,
"end": 1864,
"loc": {
"start": {
"line": 54,
"column": 17
},
"end": {
"line": 54,
"column": 22
},
"identifierName": "child"
},
"name": "child"
}
],
"body": {
"type": "BlockStatement",
"start": 1868,
"end": 1953,
"loc": {
"start": {
"line": 54,
"column": 26
},
"end": {
"line": 56,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1876,
"end": 1947,
"loc": {
"start": {
"line": 55,
"column": 6
},
"end": {
"line": 55,
"column": 77
}
},
"expression": {
"type": "CallExpression",
"start": 1876,
"end": 1947,
"loc": {
"start": {
"line": 55,
"column": 6
},
"end": {
"line": 55,
"column": 77
}
},
"callee": {
"type": "MemberExpression",
"start": 1876,
"end": 1895,
"loc": {
"start": {
"line": 55,
"column": 6
},
"end": {
"line": 55,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 1876,
"end": 1882,
"loc": {
"start": {
"line": 55,
"column": 6
},
"end": {
"line": 55,
"column": 12
},
"identifierName": "target"
},
"name": "target"
},
"property": {
"type": "Identifier",
"start": 1883,
"end": 1895,
"loc": {
"start": {
"line": 55,
"column": 13
},
"end": {
"line": 55,
"column": 25
},
"identifierName": "insertBefore"
},
"name": "insertBefore"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 1896,
"end": 1940,
"loc": {
"start": {
"line": 55,
"column": 26
},
"end": {
"line": 55,
"column": 70
}
},
"callee": {
"type": "MemberExpression",
"start": 1896,
"end": 1907,
"loc": {
"start": {
"line": 55,
"column": 26
},
"end": {
"line": 55,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 1896,
"end": 1901,
"loc": {
"start": {
"line": 55,
"column": 26
},
"end": {
"line": 55,
"column": 31
},
"identifierName": "child"
},
"name": "child"
},
"property": {
"type": "Identifier",
"start": 1902,
"end": 1907,
"loc": {
"start": {
"line": 55,
"column": 32
},
"end": {
"line": 55,
"column": 37
},
"identifierName": "toDom"
},
"name": "toDom"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1908,
"end": 1921,
"loc": {
"start": {
"line": 55,
"column": 38
},
"end": {
"line": 55,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 1908,
"end": 1912,
"loc": {
"start": {
"line": 55,
"column": 38
},
"end": {
"line": 55,
"column": 42
},
"identifierName": "opts"
},
"name": "opts"
},
"property": {
"type": "Identifier",
"start": 1913,
"end": 1921,
"loc": {
"start": {
"line": 55,
"column": 43
},
"end": {
"line": 55,
"column": 51
},
"identifierName": "document"
},
"name": "document"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 1923,
"end": 1933,
"loc": {
"start": {
"line": 55,
"column": 53
},
"end": {
"line": 55,
"column": 63
}
},
"object": {
"type": "Identifier",
"start": 1923,
"end": 1927,
"loc": {
"start": {
"line": 55,
"column": 53
},
"end": {
"line": 55,
"column": 57
},
"identifierName": "opts"
},
"name": "opts"
},
"property": {
"type": "Identifier",
"start": 1928,
"end": 1933,
"loc": {
"start": {
"line": 55,
"column": 58
},
"end": {
"line": 55,
"column": 63
},
"identifierName": "hooks"
},
"name": "hooks"
},
"computed": false
},
{
"type": "ThisExpression",
"start": 1935,
"end": 1939,
"loc": {
"start": {
"line": 55,
"column": 65
},
"end": {
"line": 55,
"column": 69
}
}
}
]
},
{
"type": "NullLiteral",
"start": 1942,
"end": 1946,
"loc": {
"start": {
"line": 55,
"column": 72
},
"end": {
"line": 55,
"column": 76
}
}
}
]
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1959,
"end": 2003,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 57,
"column": 48
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1959,
"end": 2003,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 57,
"column": 48
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1959,
"end": 1977,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 57,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 1959,
"end": 1963,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 57,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 1964,
"end": 1977,
"loc": {
"start": {
"line": 57,
"column": 9
},
"end": {
"line": 57,
"column": 22
},
"identifierName": "_typeObserver"
},
"name": "_typeObserver"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1980,
"end": 2003,
"loc": {
"start": {
"line": 57,
"column": 25
},
"end": {
"line": 57,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 1980,
"end": 1997,
"loc": {
"start": {
"line": 57,
"column": 25
},
"end": {
"line": 57,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 1980,
"end": 1992,
"loc": {
"start": {
"line": 57,
"column": 25
},
"end": {
"line": 57,
"column": 37
},
"identifierName": "typeObserver"
},
"name": "typeObserver"
},
"property": {
"type": "Identifier",
"start": 1993,
"end": 1997,
"loc": {
"start": {
"line": 57,
"column": 38
},
"end": {
"line": 57,
"column": 42
},
"identifierName": "bind"
},
"name": "bind"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 1998,
"end": 2002,
"loc": {
"start": {
"line": 57,
"column": 43
},
"end": {
"line": 57,
"column": 47
}
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 2008,
"end": 2105,
"loc": {
"start": {
"line": 58,
"column": 4
},
"end": {
"line": 60,
"column": 5
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2008,
"end": 2105,
"loc": {
"start": {
"line": 58,
"column": 4
},
"end": {
"line": 60,
"column": 5
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2008,
"end": 2025,
"loc": {
"start": {
"line": 58,
"column": 4
},
"end": {
"line": 58,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 2008,
"end": 2012,
"loc": {
"start": {
"line": 58,
"column": 4
},
"end": {
"line": 58,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 2013,
"end": 2025,
"loc": {
"start": {
"line": 58,
"column": 9
},
"end": {
"line": 58,
"column": 21
},
"identifierName": "_domObserver"
},
"name": "_domObserver"
},
"computed": false
},
"right": {
"type": "ArrowFunctionExpression",
"start": 2028,
"end": 2105,
"loc": {
"start": {
"line": 58,
"column": 24
},
"end": {
"line": 60,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2029,
"end": 2038,
"loc": {
"start": {
"line": 58,
"column": 25
},
"end": {
"line": 58,
"column": 34
},
"identifierName": "mutations"
},
"name": "mutations"
}
],
"body": {
"type": "BlockStatement",
"start": 2043,
"end": 2105,
"loc": {
"start": {
"line": 58,
"column": 39
},
"end": {
"line": 60,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2051,
"end": 2099,
"loc": {
"start": {
"line": 59,
"column": 6
},
"end": {
"line": 59,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 2051,
"end": 2099,
"loc": {
"start": {
"line": 59,
"column": 6
},
"end": {
"line": 59,
"column": 54
}
},
"callee": {
"type": "MemberExpression",
"start": 2051,
"end": 2067,
"loc": {
"start": {
"line": 59,
"column": 6
},
"end": {
"line": 59,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 2051,
"end": 2062,
"loc": {
"start": {
"line": 59,
"column": 6
},
"end": {
"line": 59,
"column": 17
},
"identifierName": "domObserver"
},
"name": "domObserver"
},
"property": {
"type": "Identifier",
"start": 2063,
"end": 2067,
"loc": {
"start": {
"line": 59,
"column": 18
},
"end": {
"line": 59,
"column": 22
},
"identifierName": "call"
},
"name": "call"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 2068,
"end": 2072,
"loc": {
"start": {
"line": 59,
"column": 23
},
"end": {
"line": 59,
"column": 27
}
}
},
{
"type": "Identifier",
"start": 2074,
"end": 2083,
"loc": {
"start": {
"line": 59,
"column": 29
},
"end": {
"line": 59,
"column": 38
},
"identifierName": "mutations"
},
"name": "mutations"
},
{
"type": "MemberExpression",
"start": 2085,
"end": 2098,
"loc": {
"start": {
"line": 59,
"column": 40
},
"end": {
"line": 59,
"column": 53
}
},
"object": {
"type": "Identifier",
"start": 2085,
"end": 2089,
"loc": {
"start": {
"line": 59,
"column": 40
},
"end": {
"line": 59,
"column": 44
},
"identifierName": "opts"
},
"name": "opts"
},
"property": {
"type": "Identifier",
"start": 2090,
"end": 2098,
"loc": {
"start": {
"line": 59,
"column": 45
},
"end": {
"line": 59,
"column": 53
},
"identifierName": "document"
},
"name": "document"
},
"computed": false
}
]
}
}
],
"directives": []
}
}
}
},
{
"type": "ExpressionStatement",
"start": 2110,
"end": 2146,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 40
}
},
"expression": {
"type": "CallExpression",
"start": 2110,
"end": 2146,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 2110,
"end": 2126,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 2110,
"end": 2114,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 8
},
"identifierName": "type"
},
"name": "type"
},
"property": {
"type": "Identifier",
"start": 2115,
"end": 2126,
"loc": {
"start": {
"line": 61,
"column": 9
},
"end": {
"line": 61,
"column": 20
},
"identifierName": "observeDeep"
},
"name": "observeDeep"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2127,
"end": 2145,
"loc": {
"start": {
"line": 61,
"column": 21
},
"end": {
"line": 61,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 2127,
"end": 2131,
"loc": {
"start": {
"line": 61,
"column": 21
},
"end": {
"line": 61,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 2132,
"end": 2145,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 39
},
"identifierName": "_typeObserver"
},
"name": "_typeObserver"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2151,
"end": 2215,
"loc": {
"start": {
"line": 62,
"column": 4
},
"end": {
"line": 62,
"column": 68
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2151,
"end": 2215,
"loc": {
"start": {
"line": 62,
"column": 4
},
"end": {
"line": 62,
"column": 68
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2151,
"end": 2173,
"loc": {
"start": {
"line": 62,
"column": 4
},
"end": {
"line": 62,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 2151,
"end": 2155,
"loc": {
"start": {
"line": 62,
"column": 4
},
"end": {
"line": 62,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 2156,
"end": 2173,
"loc": {
"start": {
"line": 62,
"column": 9
},
"end": {
"line": 62,
"column": 26
},
"identifierName": "_mutationObserver"
},
"name": "_mutationObserver"
},
"computed": false
},
"right": {
"type": "NewExpression",
"start": 2176,
"end": 2215,
"loc": {
"start": {
"line": 62,
"column": 29
},
"end": {
"line": 62,
"column": 68
}
},
"callee": {
"type": "Identifier",
"start": 2180,
"end": 2196,
"loc": {
"start": {
"line": 62,
"column": 33
},
"end": {
"line": 62,
"column": 49
},
"identifierName": "MutationObserver"
},
"name": "MutationObserver"
},
"arguments": [
{
"type": "MemberExpression",
"start": 2197,
"end": 2214,
"loc": {
"start": {
"line": 62,
"column": 50
},
"end": {
"line": 62,
"column": 67
}
},
"object": {
"type": "ThisExpression",
"start": 2197,
"end": 2201,
"loc": {
"start": {
"line": 62,
"column": 50
},
"end": {
"line": 62,
"column": 54
}
}
},
"property": {
"type": "Identifier",
"start": 2202,
"end": 2214,
"loc": {
"start": {
"line": 62,
"column": 55
},
"end": {
"line": 62,
"column": 67
},
"identifierName": "_domObserver"
},
"name": "_domObserver"
},
"computed": false
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 2220,
"end": 2361,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 68,
"column": 6
}
},
"expression": {
"type": "CallExpression",
"start": 2220,
"end": 2361,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 68,
"column": 6
}
},
"callee": {
"type": "MemberExpression",
"start": 2220,
"end": 2250,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 63,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 2220,
"end": 2242,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 63,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 2220,
"end": 2224,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 63,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 2225,
"end": 2242,
"loc": {
"start": {
"line": 63,
"column": 9
},
"end": {
"line": 63,
"column": 26
},
"identifierName": "_mutationObserver"
},
"name": "_mutationObserver"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2243,
"end": 2250,
"loc": {
"start": {
"line": 63,
"column": 27
},
"end": {
"line": 63,
"column": 34
},
"identifierName": "observe"
},
"name": "observe"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2251,
"end": 2257,
"loc": {
"start": {
"line": 63,
"column": 35
},
"end": {
"line": 63,
"column": 41
},
"identifierName": "target"
},
"name": "target"
},
{
"type": "ObjectExpression",
"start": 2259,
"end": 2360,
"loc": {
"start": {
"line": 63,
"column": 43
},
"end": {
"line": 68,
"column": 5
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 2267,
"end": 2282,
"loc": {
"start": {
"line": 64,
"column": 6
},
"end": {
"line": 64,
"column": 21
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2267,
"end": 2276,
"loc": {
"start": {
"line": 64,
"column": 6
},
"end": {
"line": 64,
"column": 15
},
"identifierName": "childList"
},
"name": "childList"
},
"value": {
"type": "BooleanLiteral",
"start": 2278,
"end": 2282,
"loc": {
"start": {
"line": 64,
"column": 17
},
"end": {
"line": 64,
"column": 21
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 2290,
"end": 2306,
"loc": {
"start": {
"line": 65,
"column": 6
},
"end": {
"line": 65,
"column": 22
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2290,
"end": 2300,
"loc": {
"start": {
"line": 65,
"column": 6
},
"end": {
"line": 65,
"column": 16
},
"identifierName": "attributes"
},
"name": "attributes"
},
"value": {
"type": "BooleanLiteral",
"start": 2302,
"end": 2306,
"loc": {
"start": {
"line": 65,
"column": 18
},
"end": {
"line": 65,
"column": 22
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 2314,
"end": 2333,
"loc": {
"start": {
"line": 66,
"column": 6
},
"end": {
"line": 66,
"column": 25
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2314,
"end": 2327,
"loc": {
"start": {
"line": 66,
"column": 6
},
"end": {
"line": 66,
"column": 19
},
"identifierName": "characterData"
},
"name": "characterData"
},
"value": {
"type": "BooleanLiteral",
"start": 2329,
"end": 2333,
"loc": {
"start": {
"line": 66,
"column": 21
},
"end": {
"line": 66,
"column": 25
}
},
"value": true
}
},
{
"type": "ObjectProperty",
"start": 2341,
"end": 2354,
"loc": {
"start": {
"line": 67,
"column": 6
},
"end": {
"line": 67,
"column": 19
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2341,
"end": 2348,
"loc": {
"start": {
"line": 67,
"column": 6
},
"end": {
"line": 67,
"column": 13
},
"identifierName": "subtree"
},
"name": "subtree"
},
"value": {
"type": "BooleanLiteral",
"start": 2350,
"end": 2354,
"loc": {
"start": {
"line": 67,
"column": 15
},
"end": {
"line": 67,
"column": 19
}
},
"value": true
}
}
]
}
]
}
},
{
"type": "VariableDeclaration",
"start": 2366,
"end": 2383,
"loc": {
"start": {
"line": 69,
"column": 4
},
"end": {
"line": 69,
"column": 21
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2372,
"end": 2383,
"loc": {
"start": {
"line": 69,
"column": 10
},
"end": {
"line": 69,
"column": 21
}
},
"id": {
"type": "Identifier",
"start": 2372,
"end": 2373,
"loc": {
"start": {
"line": 69,
"column": 10
},
"end": {
"line": 69,
"column": 11
},
"identifierName": "y"
},
"name": "y"
},
"init": {
"type": "MemberExpression",
"start": 2376,
"end": 2383,
"loc": {
"start": {
"line": 69,
"column": 14
},
"end": {
"line": 69,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 2376,
"end": 2380,
"loc": {
"start": {
"line": 69,
"column": 14
},
"end": {
"line": 69,
"column": 18
},
"identifierName": "type"
},
"name": "type"
},
"property": {
"type": "Identifier",
"start": 2381,
"end": 2383,
"loc": {
"start": {
"line": 69,
"column": 19
},
"end": {
"line": 69,
"column": 21
},
"identifierName": "_y"
},
"name": "_y",
"leadingComments": null,
"trailingComments": null
},
"computed": false,
"trailingComments": null
},
"trailingComments": null
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Force flush dom changes before Type changes are applied (they might",
"start": 2388,
"end": 2458,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 70,
"column": 74
}
}
},
{
"type": "CommentLine",
"value": " modify the dom)",
"start": 2463,
"end": 2481,
"loc": {
"start": {
"line": 71,
"column": 4
},
"end": {
"line": 71,
"column": 22
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 2486,
"end": 2684,
"loc": {
"start": {
"line": 72,
"column": 4
},
"end": {
"line": 75,
"column": 5
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2486,
"end": 2684,
"loc": {
"start": {
"line": 72,
"column": 4
},
"end": {
"line": 75,
"column": 5
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2486,
"end": 2516,
"loc": {
"start": {
"line": 72,
"column": 4
},
"end": {
"line": 72,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 2486,
"end": 2490,
"loc": {
"start": {
"line": 72,
"column": 4
},
"end": {
"line": 72,
"column": 8
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2491,
"end": 2516,
"loc": {
"start": {
"line": 72,
"column": 9
},
"end": {
"line": 72,
"column": 34
},
"identifierName": "_beforeTransactionHandler"
},
"name": "_beforeTransactionHandler"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "ArrowFunctionExpression",
"start": 2519,
"end": 2684,
"loc": {
"start": {
"line": 72,
"column": 37
},
"end": {
"line": 75,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2520,
"end": 2521,
"loc": {
"start": {
"line": 72,
"column": 38
},
"end": {
"line": 72,
"column": 39
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 2523,
"end": 2534,
"loc": {
"start": {
"line": 72,
"column": 41
},
"end": {
"line": 72,
"column": 52
},
"identifierName": "transaction"
},
"name": "transaction"
},
{
"type": "Identifier",
"start": 2536,
"end": 2542,
"loc": {
"start": {
"line": 72,
"column": 54
},
"end": {
"line": 72,
"column": 60
},
"identifierName": "remote"
},
"name": "remote"
}
],
"body": {
"type": "BlockStatement",
"start": 2547,
"end": 2684,
"loc": {
"start": {
"line": 72,
"column": 65
},
"end": {
"line": 75,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2555,
"end": 2610,
"loc": {
"start": {
"line": 73,
"column": 6
},
"end": {
"line": 73,
"column": 61
}
},
"expression": {
"type": "CallExpression",
"start": 2555,
"end": 2610,
"loc": {
"start": {
"line": 73,
"column": 6
},
"end": {
"line": 73,
"column": 61
}
},
"callee": {
"type": "MemberExpression",
"start": 2555,
"end": 2572,
"loc": {
"start": {
"line": 73,
"column": 6
},
"end": {
"line": 73,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 2555,
"end": 2559,
"loc": {
"start": {
"line": 73,
"column": 6
},
"end": {
"line": 73,
"column": 10
}
}
},
"property": {
"type": "Identifier",
"start": 2560,
"end": 2572,
"loc": {
"start": {
"line": 73,
"column": 11
},
"end": {
"line": 73,
"column": 23
},
"identifierName": "_domObserver"
},
"name": "_domObserver"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 2573,
"end": 2609,
"loc": {
"start": {
"line": 73,
"column": 24
},
"end": {
"line": 73,
"column": 60
}
},
"callee": {
"type": "MemberExpression",
"start": 2573,
"end": 2607,
"loc": {
"start": {
"line": 73,
"column": 24
},
"end": {
"line": 73,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 2573,
"end": 2595,
"loc": {
"start": {
"line": 73,
"column": 24
},
"end": {
"line": 73,
"column": 46
}
},
"object": {
"type": "ThisExpression",
"start": 2573,
"end": 2577,
"loc": {
"start": {
"line": 73,
"column": 24
},
"end": {
"line": 73,
"column": 28
}
}
},
"property": {
"type": "Identifier",
"start": 2578,
"end": 2595,
"loc": {
"start": {
"line": 73,
"column": 29
},
"end": {
"line": 73,
"column": 46
},
"identifierName": "_mutationObserver"
},
"name": "_mutationObserver"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2596,
"end": 2607,
"loc": {
"start": {
"line": 73,
"column": 47
},
"end": {
"line": 73,
"column": 58
},
"identifierName": "takeRecords"
},
"name": "takeRecords"
},
"computed": false
},
"arguments": []
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2617,
"end": 2678,
"loc": {
"start": {
"line": 74,
"column": 6
},
"end": {
"line": 74,
"column": 67
}
},
"expression": {
"type": "CallExpression",
"start": 2617,
"end": 2678,
"loc": {
"start": {
"line": 74,
"column": 6
},
"end": {
"line": 74,
"column": 67
}
},
"callee": {
"type": "Identifier",
"start": 2617,
"end": 2648,
"loc": {
"start": {
"line": 74,
"column": 6
},
"end": {
"line": 74,
"column": 37
},
"identifierName": "beforeTransactionSelectionFixer"
},
"name": "beforeTransactionSelectionFixer"
},
"arguments": [
{
"type": "Identifier",
"start": 2649,
"end": 2650,
"loc": {
"start": {
"line": 74,
"column": 38
},
"end": {
"line": 74,
"column": 39
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "ThisExpression",
"start": 2652,
"end": 2656,
"loc": {
"start": {
"line": 74,
"column": 41
},
"end": {
"line": 74,
"column": 45
}
}
},
{
"type": "Identifier",
"start": 2658,
"end": 2669,
"loc": {
"start": {
"line": 74,
"column": 47
},
"end": {
"line": 74,
"column": 58
},
"identifierName": "transaction"
},
"name": "transaction"
},
{
"type": "Identifier",
"start": 2671,
"end": 2677,
"loc": {
"start": {
"line": 74,
"column": 60
},
"end": {
"line": 74,
"column": 66
},
"identifierName": "remote"
},
"name": "remote"
}
]
}
}
],
"directives": []
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Force flush dom changes before Type changes are applied (they might",
"start": 2388,
"end": 2458,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 70,
"column": 74
}
}
},
{
"type": "CommentLine",
"value": " modify the dom)",
"start": 2463,
"end": 2481,
"loc": {
"start": {
"line": 71,
"column": 4
},
"end": {
"line": 71,
"column": 22
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 2689,
"end": 2746,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 61
}
},
"expression": {
"type": "CallExpression",
"start": 2689,
"end": 2746,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 61
}
},
"callee": {
"type": "MemberExpression",
"start": 2689,
"end": 2693,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 8
}
},
"object": {
"type": "Identifier",
"start": 2689,
"end": 2690,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 5
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 2691,
"end": 2693,
"loc": {
"start": {
"line": 76,
"column": 6
},
"end": {
"line": 76,
"column": 8
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2694,
"end": 2713,
"loc": {
"start": {
"line": 76,
"column": 9
},
"end": {
"line": 76,
"column": 28
}
},
"extra": {
"rawValue": "beforeTransaction",
"raw": "'beforeTransaction'"
},
"value": "beforeTransaction"
},
{
"type": "MemberExpression",
"start": 2715,
"end": 2745,
"loc": {
"start": {
"line": 76,
"column": 30
},
"end": {
"line": 76,
"column": 60
}
},
"object": {
"type": "ThisExpression",
"start": 2715,
"end": 2719,
"loc": {
"start": {
"line": 76,
"column": 30
},
"end": {
"line": 76,
"column": 34
}
}
},
"property": {
"type": "Identifier",
"start": 2720,
"end": 2745,
"loc": {
"start": {
"line": 76,
"column": 35
},
"end": {
"line": 76,
"column": 60
},
"identifierName": "_beforeTransactionHandler"
},
"name": "_beforeTransactionHandler"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2751,
"end": 3269,
"loc": {
"start": {
"line": 77,
"column": 4
},
"end": {
"line": 89,
"column": 5
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2751,
"end": 3269,
"loc": {
"start": {
"line": 77,
"column": 4
},
"end": {
"line": 89,
"column": 5
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2751,
"end": 2780,
"loc": {
"start": {
"line": 77,
"column": 4
},
"end": {
"line": 77,
"column": 33
}
},
"object": {
"type": "ThisExpression",
"start": 2751,
"end": 2755,
"loc": {
"start": {
"line": 77,
"column": 4
},
"end": {
"line": 77,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 2756,
"end": 2780,
"loc": {
"start": {
"line": 77,
"column": 9
},
"end": {
"line": 77,
"column": 33
},
"identifierName": "_afterTransactionHandler"
},
"name": "_afterTransactionHandler"
},
"computed": false
},
"right": {
"type": "ArrowFunctionExpression",
"start": 2783,
"end": 3269,
"loc": {
"start": {
"line": 77,
"column": 36
},
"end": {
"line": 89,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2784,
"end": 2785,
"loc": {
"start": {
"line": 77,
"column": 37
},
"end": {
"line": 77,
"column": 38
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 2787,
"end": 2798,
"loc": {
"start": {
"line": 77,
"column": 40
},
"end": {
"line": 77,
"column": 51
},
"identifierName": "transaction"
},
"name": "transaction"
},
{
"type": "Identifier",
"start": 2800,
"end": 2806,
"loc": {
"start": {
"line": 77,
"column": 53
},
"end": {
"line": 77,
"column": 59
},
"identifierName": "remote"
},
"name": "remote"
}
],
"body": {
"type": "BlockStatement",
"start": 2811,
"end": 3269,
"loc": {
"start": {
"line": 77,
"column": 64
},
"end": {
"line": 89,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2819,
"end": 2879,
"loc": {
"start": {
"line": 78,
"column": 6
},
"end": {
"line": 78,
"column": 66
}
},
"expression": {
"type": "CallExpression",
"start": 2819,
"end": 2879,
"loc": {
"start": {
"line": 78,
"column": 6
},
"end": {
"line": 78,
"column": 66
}
},
"callee": {
"type": "Identifier",
"start": 2819,
"end": 2849,
"loc": {
"start": {
"line": 78,
"column": 6
},
"end": {
"line": 78,
"column": 36
},
"identifierName": "afterTransactionSelectionFixer"
},
"name": "afterTransactionSelectionFixer"
},
"arguments": [
{
"type": "Identifier",
"start": 2850,
"end": 2851,
"loc": {
"start": {
"line": 78,
"column": 37
},
"end": {
"line": 78,
"column": 38
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "ThisExpression",
"start": 2853,
"end": 2857,
"loc": {
"start": {
"line": 78,
"column": 40
},
"end": {
"line": 78,
"column": 44
}
}
},
{
"type": "Identifier",
"start": 2859,
"end": 2870,
"loc": {
"start": {
"line": 78,
"column": 46
},
"end": {
"line": 78,
"column": 57
},
"identifierName": "transaction"
},
"name": "transaction"
},
{
"type": "Identifier",
"start": 2872,
"end": 2878,
"loc": {
"start": {
"line": 78,
"column": 59
},
"end": {
"line": 78,
"column": 65
},
"identifierName": "remote"
},
"name": "remote"
}
],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " remove associations",
"start": 2886,
"end": 2908,
"loc": {
"start": {
"line": 79,
"column": 6
},
"end": {
"line": 79,
"column": 28
}
}
},
{
"type": "CommentLine",
"value": " TODO: this could be done more efficiently",
"start": 2915,
"end": 2959,
"loc": {
"start": {
"line": 80,
"column": 6
},
"end": {
"line": 80,
"column": 50
}
}
},
{
"type": "CommentLine",
"value": " e.g. Always delete using the following approach, or removeAssociation",
"start": 2966,
"end": 3038,
"loc": {
"start": {
"line": 81,
"column": 6
},
"end": {
"line": 81,
"column": 78
}
}
},
{
"type": "CommentLine",
"value": " in dom/type-observer..",
"start": 3045,
"end": 3070,
"loc": {
"start": {
"line": 82,
"column": 6
},
"end": {
"line": 82,
"column": 31
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 3077,
"end": 3263,
"loc": {
"start": {
"line": 83,
"column": 6
},
"end": {
"line": 88,
"column": 8
}
},
"expression": {
"type": "CallExpression",
"start": 3077,
"end": 3263,
"loc": {
"start": {
"line": 83,
"column": 6
},
"end": {
"line": 88,
"column": 8
}
},
"callee": {
"type": "MemberExpression",
"start": 3077,
"end": 3111,
"loc": {
"start": {
"line": 83,
"column": 6
},
"end": {
"line": 83,
"column": 40
}
},
"object": {
"type": "MemberExpression",
"start": 3077,
"end": 3103,
"loc": {
"start": {
"line": 83,
"column": 6
},
"end": {
"line": 83,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 3077,
"end": 3088,
"loc": {
"start": {
"line": 83,
"column": 6
},
"end": {
"line": 83,
"column": 17
},
"identifierName": "transaction"
},
"name": "transaction",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3089,
"end": 3103,
"loc": {
"start": {
"line": 83,
"column": 18
},
"end": {
"line": 83,
"column": 32
},
"identifierName": "deletedStructs"
},
"name": "deletedStructs"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3104,
"end": 3111,
"loc": {
"start": {
"line": 83,
"column": 33
},
"end": {
"line": 83,
"column": 40
},
"identifierName": "forEach"
},
"name": "forEach"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 3112,
"end": 3262,
"loc": {
"start": {
"line": 83,
"column": 41
},
"end": {
"line": 88,
"column": 7
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3112,
"end": 3116,
"loc": {
"start": {
"line": 83,
"column": 41
},
"end": {
"line": 83,
"column": 45
},
"identifierName": "type"
},
"name": "type"
}
],
"body": {
"type": "BlockStatement",
"start": 3120,
"end": 3262,
"loc": {
"start": {
"line": 83,
"column": 49
},
"end": {
"line": 88,
"column": 7
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3130,
"end": 3166,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3136,
"end": 3166,
"loc": {
"start": {
"line": 84,
"column": 14
},
"end": {
"line": 84,
"column": 44
}
},
"id": {
"type": "Identifier",
"start": 3136,
"end": 3139,
"loc": {
"start": {
"line": 84,
"column": 14
},
"end": {
"line": 84,
"column": 17
},
"identifierName": "dom"
},
"name": "dom"
},
"init": {
"type": "CallExpression",
"start": 3142,
"end": 3166,
"loc": {
"start": {
"line": 84,
"column": 20
},
"end": {
"line": 84,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
"start": 3142,
"end": 3160,
"loc": {
"start": {
"line": 84,
"column": 20
},
"end": {
"line": 84,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 3142,
"end": 3156,
"loc": {
"start": {
"line": 84,
"column": 20
},
"end": {
"line": 84,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 3142,
"end": 3146,
"loc": {
"start": {
"line": 84,
"column": 20
},
"end": {
"line": 84,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 3147,
"end": 3156,
"loc": {
"start": {
"line": 84,
"column": 25
},
"end": {
"line": 84,
"column": 34
},
"identifierName": "typeToDom"
},
"name": "typeToDom"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3157,
"end": 3160,
"loc": {
"start": {
"line": 84,
"column": 35
},
"end": {
"line": 84,
"column": 38
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3161,
"end": 3165,
"loc": {
"start": {
"line": 84,
"column": 39
},
"end": {
"line": 84,
"column": 43
},
"identifierName": "type"
},
"name": "type"
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 3175,
"end": 3254,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 87,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 3179,
"end": 3196,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 29
}
},
"left": {
"type": "Identifier",
"start": 3179,
"end": 3182,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 15
},
"identifierName": "dom"
},
"name": "dom"
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 3187,
"end": 3196,
"loc": {
"start": {
"line": 85,
"column": 20
},
"end": {
"line": 85,
"column": 29
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
"consequent": {
"type": "BlockStatement",
"start": 3198,
"end": 3254,
"loc": {
"start": {
"line": 85,
"column": 31
},
"end": {
"line": 87,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3210,
"end": 3244,
"loc": {
"start": {
"line": 86,
"column": 10
},
"end": {
"line": 86,
"column": 44
}
},
"expression": {
"type": "CallExpression",
"start": 3210,
"end": 3244,
"loc": {
"start": {
"line": 86,
"column": 10
},
"end": {
"line": 86,
"column": 44
}
},
"callee": {
"type": "Identifier",
"start": 3210,
"end": 3227,
"loc": {
"start": {
"line": 86,
"column": 10
},
"end": {
"line": 86,
"column": 27
},
"identifierName": "removeAssociation"
},
"name": "removeAssociation"
},
"arguments": [
{
"type": "ThisExpression",
"start": 3228,
"end": 3232,
"loc": {
"start": {
"line": 86,
"column": 28
},
"end": {
"line": 86,
"column": 32
}
}
},
{
"type": "Identifier",
"start": 3234,
"end": 3237,
"loc": {
"start": {
"line": 86,
"column": 34
},
"end": {
"line": 86,
"column": 37
},
"identifierName": "dom"
},
"name": "dom"
},
{
"type": "Identifier",
"start": 3239,
"end": 3243,
"loc": {
"start": {
"line": 86,
"column": 39
},
"end": {
"line": 86,
"column": 43
},
"identifierName": "type"
},
"name": "type"
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " remove associations",
"start": 2886,
"end": 2908,
"loc": {
"start": {
"line": 79,
"column": 6
},
"end": {
"line": 79,
"column": 28
}
}
},
{
"type": "CommentLine",
"value": " TODO: this could be done more efficiently",
"start": 2915,
"end": 2959,
"loc": {
"start": {
"line": 80,
"column": 6
},
"end": {
"line": 80,
"column": 50
}
}
},
{
"type": "CommentLine",
"value": " e.g. Always delete using the following approach, or removeAssociation",
"start": 2966,
"end": 3038,
"loc": {
"start": {
"line": 81,
"column": 6
},
"end": {
"line": 81,
"column": 78
}
}
},
{
"type": "CommentLine",
"value": " in dom/type-observer..",
"start": 3045,
"end": 3070,
"loc": {
"start": {
"line": 82,
"column": 6
},
"end": {
"line": 82,
"column": 31
}
}
}
]
}
],
"directives": []
}
}
}
},
{
"type": "ExpressionStatement",
"start": 3274,
"end": 3329,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 90,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 3274,
"end": 3329,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 90,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
"start": 3274,
"end": 3278,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 90,
"column": 8
}
},
"object": {
"type": "Identifier",
"start": 3274,
"end": 3275,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 90,
"column": 5
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 3276,
"end": 3278,
"loc": {
"start": {
"line": 90,
"column": 6
},
"end": {
"line": 90,
"column": 8
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 3279,
"end": 3297,
"loc": {
"start": {
"line": 90,
"column": 9
},
"end": {
"line": 90,
"column": 27
}
},
"extra": {
"rawValue": "afterTransaction",
"raw": "'afterTransaction'"
},
"value": "afterTransaction"
},
{
"type": "MemberExpression",
"start": 3299,
"end": 3328,
"loc": {
"start": {
"line": 90,
"column": 29
},
"end": {
"line": 90,
"column": 58
}
},
"object": {
"type": "ThisExpression",
"start": 3299,
"end": 3303,
"loc": {
"start": {
"line": 90,
"column": 29
},
"end": {
"line": 90,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"start": 3304,
"end": 3328,
"loc": {
"start": {
"line": 90,
"column": 34
},
"end": {
"line": 90,
"column": 58
},
"identifierName": "_afterTransactionHandler"
},
"name": "_afterTransactionHandler"
},
"computed": false
}
],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " Before calling observers, apply dom filter to all changed and new types.",
"start": 3334,
"end": 3409,
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 91,
"column": 79
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 3414,
"end": 3885,
"loc": {
"start": {
"line": 92,
"column": 4
},
"end": {
"line": 103,
"column": 5
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3414,
"end": 3885,
"loc": {
"start": {
"line": 92,
"column": 4
},
"end": {
"line": 103,
"column": 5
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3414,
"end": 3446,
"loc": {
"start": {
"line": 92,
"column": 4
},
"end": {
"line": 92,
"column": 36
}
},
"object": {
"type": "ThisExpression",
"start": 3414,
"end": 3418,
"loc": {
"start": {
"line": 92,
"column": 4
},
"end": {
"line": 92,
"column": 8
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3419,
"end": 3446,
"loc": {
"start": {
"line": 92,
"column": 9
},
"end": {
"line": 92,
"column": 36
},
"identifierName": "_beforeObserverCallsHandler"
},
"name": "_beforeObserverCallsHandler"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "ArrowFunctionExpression",
"start": 3449,
"end": 3885,
"loc": {
"start": {
"line": 92,
"column": 39
},
"end": {
"line": 103,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3450,
"end": 3451,
"loc": {
"start": {
"line": 92,
"column": 40
},
"end": {
"line": 92,
"column": 41
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 3453,
"end": 3464,
"loc": {
"start": {
"line": 92,
"column": 43
},
"end": {
"line": 92,
"column": 54
},
"identifierName": "transaction"
},
"name": "transaction"
}
],
"body": {
"type": "BlockStatement",
"start": 3469,
"end": 3885,
"loc": {
"start": {
"line": 92,
"column": 59
},
"end": {
"line": 103,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3528,
"end": 3784,
"loc": {
"start": {
"line": 94,
"column": 6
},
"end": {
"line": 99,
"column": 8
}
},
"expression": {
"type": "CallExpression",
"start": 3528,
"end": 3784,
"loc": {
"start": {
"line": 94,
"column": 6
},
"end": {
"line": 99,
"column": 8
}
},
"callee": {
"type": "MemberExpression",
"start": 3528,
"end": 3560,
"loc": {
"start": {
"line": 94,
"column": 6
},
"end": {
"line": 94,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 3528,
"end": 3552,
"loc": {
"start": {
"line": 94,
"column": 6
},
"end": {
"line": 94,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 3528,
"end": 3539,
"loc": {
"start": {
"line": 94,
"column": 6
},
"end": {
"line": 94,
"column": 17
},
"identifierName": "transaction"
},
"name": "transaction",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3540,
"end": 3552,
"loc": {
"start": {
"line": 94,
"column": 18
},
"end": {
"line": 94,
"column": 30
},
"identifierName": "changedTypes"
},
"name": "changedTypes"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3553,
"end": 3560,
"loc": {
"start": {
"line": 94,
"column": 31
},
"end": {
"line": 94,
"column": 38
},
"identifierName": "forEach"
},
"name": "forEach"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 3561,
"end": 3783,
"loc": {
"start": {
"line": 94,
"column": 39
},
"end": {
"line": 99,
"column": 7
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3562,
"end": 3566,
"loc": {
"start": {
"line": 94,
"column": 40
},
"end": {
"line": 94,
"column": 44
},
"identifierName": "subs"
},
"name": "subs"
},
{
"type": "Identifier",
"start": 3568,
"end": 3572,
"loc": {
"start": {
"line": 94,
"column": 46
},
"end": {
"line": 94,
"column": 50
},
"identifierName": "type"
},
"name": "type"
}
],
"body": {
"type": "BlockStatement",
"start": 3577,
"end": 3783,
"loc": {
"start": {
"line": 94,
"column": 55
},
"end": {
"line": 99,
"column": 7
}
},
"body": [
{
"type": "IfStatement",
"start": 3651,
"end": 3775,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 98,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 3656,
"end": 3718,
"loc": {
"start": {
"line": 96,
"column": 13
},
"end": {
"line": 96,
"column": 75
}
},
"left": {
"type": "BinaryExpression",
"start": 3656,
"end": 3669,
"loc": {
"start": {
"line": 96,
"column": 13
},
"end": {
"line": 96,
"column": 26
}
},
"left": {
"type": "MemberExpression",
"start": 3656,
"end": 3665,
"loc": {
"start": {
"line": 96,
"column": 13
},
"end": {
"line": 96,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 3656,
"end": 3660,
"loc": {
"start": {
"line": 96,
"column": 13
},
"end": {
"line": 96,
"column": 17
},
"identifierName": "subs"
},
"name": "subs",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3661,
"end": 3665,
"loc": {
"start": {
"line": 96,
"column": 18
},
"end": {
"line": 96,
"column": 22
},
"identifierName": "size"
},
"name": "size"
},
"computed": false,
"leadingComments": null
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 3668,
"end": 3669,
"loc": {
"start": {
"line": 96,
"column": 25
},
"end": {
"line": 96,
"column": 26
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"leadingComments": null
},
"operator": "||",
"right": {
"type": "LogicalExpression",
"start": 3674,
"end": 3717,
"loc": {
"start": {
"line": 96,
"column": 31
},
"end": {
"line": 96,
"column": 74
}
},
"left": {
"type": "BinaryExpression",
"start": 3674,
"end": 3689,
"loc": {
"start": {
"line": 96,
"column": 31
},
"end": {
"line": 96,
"column": 46
}
},
"left": {
"type": "MemberExpression",
"start": 3674,
"end": 3683,
"loc": {
"start": {
"line": 96,
"column": 31
},
"end": {
"line": 96,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 3674,
"end": 3678,
"loc": {
"start": {
"line": 96,
"column": 31
},
"end": {
"line": 96,
"column": 35
},
"identifierName": "subs"
},
"name": "subs"
},
"property": {
"type": "Identifier",
"start": 3679,
"end": 3683,
"loc": {
"start": {
"line": 96,
"column": 36
},
"end": {
"line": 96,
"column": 40
},
"identifierName": "size"
},
"name": "size"
},
"computed": false
},
"operator": "===",
"right": {
"type": "NumericLiteral",
"start": 3688,
"end": 3689,
"loc": {
"start": {
"line": 96,
"column": 45
},
"end": {
"line": 96,
"column": 46
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 3693,
"end": 3717,
"loc": {
"start": {
"line": 96,
"column": 50
},
"end": {
"line": 96,
"column": 74
}
},
"left": {
"type": "CallExpression",
"start": 3693,
"end": 3707,
"loc": {
"start": {
"line": 96,
"column": 50
},
"end": {
"line": 96,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 3693,
"end": 3701,
"loc": {
"start": {
"line": 96,
"column": 50
},
"end": {
"line": 96,
"column": 58
}
},
"object": {
"type": "Identifier",
"start": 3693,
"end": 3697,
"loc": {
"start": {
"line": 96,
"column": 50
},
"end": {
"line": 96,
"column": 54
},
"identifierName": "subs"
},
"name": "subs"
},
"property": {
"type": "Identifier",
"start": 3698,
"end": 3701,
"loc": {
"start": {
"line": 96,
"column": 55
},
"end": {
"line": 96,
"column": 58
},
"identifierName": "has"
},
"name": "has"
},
"computed": false
},
"arguments": [
{
"type": "NullLiteral",
"start": 3702,
"end": 3706,
"loc": {
"start": {
"line": 96,
"column": 59
},
"end": {
"line": 96,
"column": 63
}
}
}
]
},
"operator": "===",
"right": {
"type": "BooleanLiteral",
"start": 3712,
"end": 3717,
"loc": {
"start": {
"line": 96,
"column": 69
},
"end": {
"line": 96,
"column": 74
}
},
"value": false
}
},
"extra": {
"parenthesized": true,
"parenStart": 3673
}
},
"leadingComments": null,
"extra": {
"parenthesized": true,
"parenStart": 3655
}
},
"consequent": {
"type": "BlockStatement",
"start": 3721,
"end": 3775,
"loc": {
"start": {
"line": 96,
"column": 78
},
"end": {
"line": 98,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3733,
"end": 3765,
"loc": {
"start": {
"line": 97,
"column": 10
},
"end": {
"line": 97,
"column": 42
}
},
"expression": {
"type": "CallExpression",
"start": 3733,
"end": 3765,
"loc": {
"start": {
"line": 97,
"column": 10
},
"end": {
"line": 97,
"column": 42
}
},
"callee": {
"type": "Identifier",
"start": 3733,
"end": 3750,
"loc": {
"start": {
"line": 97,
"column": 10
},
"end": {
"line": 97,
"column": 27
},
"identifierName": "applyFilterOnType"
},
"name": "applyFilterOnType"
},
"arguments": [
{
"type": "Identifier",
"start": 3751,
"end": 3752,
"loc": {
"start": {
"line": 97,
"column": 28
},
"end": {
"line": 97,
"column": 29
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "ThisExpression",
"start": 3754,
"end": 3758,
"loc": {
"start": {
"line": 97,
"column": 31
},
"end": {
"line": 97,
"column": 35
}
}
},
{
"type": "Identifier",
"start": 3760,
"end": 3764,
"loc": {
"start": {
"line": 97,
"column": 37
},
"end": {
"line": 97,
"column": 41
},
"identifierName": "type"
},
"name": "type"
}
]
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Only check attributes. New types are filtered below.",
"start": 3587,
"end": 3642,
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 95,
"column": 63
}
}
}
]
}
],
"directives": []
}
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Apply dom filter to new and changed types",
"start": 3477,
"end": 3521,
"loc": {
"start": {
"line": 93,
"column": 6
},
"end": {
"line": 93,
"column": 50
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 3791,
"end": 3879,
"loc": {
"start": {
"line": 100,
"column": 6
},
"end": {
"line": 102,
"column": 8
}
},
"expression": {
"type": "CallExpression",
"start": 3791,
"end": 3879,
"loc": {
"start": {
"line": 100,
"column": 6
},
"end": {
"line": 102,
"column": 8
}
},
"callee": {
"type": "MemberExpression",
"start": 3791,
"end": 3819,
"loc": {
"start": {
"line": 100,
"column": 6
},
"end": {
"line": 100,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 3791,
"end": 3811,
"loc": {
"start": {
"line": 100,
"column": 6
},
"end": {
"line": 100,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 3791,
"end": 3802,
"loc": {
"start": {
"line": 100,
"column": 6
},
"end": {
"line": 100,
"column": 17
},
"identifierName": "transaction"
},
"name": "transaction"
},
"property": {
"type": "Identifier",
"start": 3803,
"end": 3811,
"loc": {
"start": {
"line": 100,
"column": 18
},
"end": {
"line": 100,
"column": 26
},
"identifierName": "newTypes"
},
"name": "newTypes"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3812,
"end": 3819,
"loc": {
"start": {
"line": 100,
"column": 27
},
"end": {
"line": 100,
"column": 34
},
"identifierName": "forEach"
},
"name": "forEach"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 3820,
"end": 3878,
"loc": {
"start": {
"line": 100,
"column": 35
},
"end": {
"line": 102,
"column": 7
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3820,
"end": 3824,
"loc": {
"start": {
"line": 100,
"column": 35
},
"end": {
"line": 100,
"column": 39
},
"identifierName": "type"
},
"name": "type"
}
],
"body": {
"type": "BlockStatement",
"start": 3828,
"end": 3878,
"loc": {
"start": {
"line": 100,
"column": 43
},
"end": {
"line": 102,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3838,
"end": 3870,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 40
}
},
"expression": {
"type": "CallExpression",
"start": 3838,
"end": 3870,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 40
}
},
"callee": {
"type": "Identifier",
"start": 3838,
"end": 3855,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 25
},
"identifierName": "applyFilterOnType"
},
"name": "applyFilterOnType"
},
"arguments": [
{
"type": "Identifier",
"start": 3856,
"end": 3857,
"loc": {
"start": {
"line": 101,
"column": 26
},
"end": {
"line": 101,
"column": 27
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "ThisExpression",
"start": 3859,
"end": 3863,
"loc": {
"start": {
"line": 101,
"column": 29
},
"end": {
"line": 101,
"column": 33
}
}
},
{
"type": "Identifier",
"start": 3865,
"end": 3869,
"loc": {
"start": {
"line": 101,
"column": 35
},
"end": {
"line": 101,
"column": 39
},
"identifierName": "type"
},
"name": "type"
}
]
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Before calling observers, apply dom filter to all changed and new types.",
"start": 3334,
"end": 3409,
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 91,
"column": 79
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 3890,
"end": 3951,
"loc": {
"start": {
"line": 104,
"column": 4
},
"end": {
"line": 104,
"column": 65
}
},
"expression": {
"type": "CallExpression",
"start": 3890,
"end": 3951,
"loc": {
"start": {
"line": 104,
"column": 4
},
"end": {
"line": 104,
"column": 65
}
},
"callee": {
"type": "MemberExpression",
"start": 3890,
"end": 3894,
"loc": {
"start": {
"line": 104,
"column": 4
},
"end": {
"line": 104,
"column": 8
}
},
"object": {
"type": "Identifier",
"start": 3890,
"end": 3891,
"loc": {
"start": {
"line": 104,
"column": 4
},
"end": {
"line": 104,
"column": 5
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 3892,
"end": 3894,
"loc": {
"start": {
"line": 104,
"column": 6
},
"end": {
"line": 104,
"column": 8
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 3895,
"end": 3916,
"loc": {
"start": {
"line": 104,
"column": 9
},
"end": {
"line": 104,
"column": 30
}
},
"extra": {
"rawValue": "beforeObserverCalls",
"raw": "'beforeObserverCalls'"
},
"value": "beforeObserverCalls"
},
{
"type": "MemberExpression",
"start": 3918,
"end": 3950,
"loc": {
"start": {
"line": 104,
"column": 32
},
"end": {
"line": 104,
"column": 64
}
},
"object": {
"type": "ThisExpression",
"start": 3918,
"end": 3922,
"loc": {
"start": {
"line": 104,
"column": 32
},
"end": {
"line": 104,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 3923,
"end": 3950,
"loc": {
"start": {
"line": 104,
"column": 37
},
"end": {
"line": 104,
"column": 64
},
"identifierName": "_beforeObserverCallsHandler"
},
"name": "_beforeObserverCallsHandler"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 3956,
"end": 3993,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 105,
"column": 41
}
},
"expression": {
"type": "CallExpression",
"start": 3956,
"end": 3993,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 105,
"column": 41
}
},
"callee": {
"type": "Identifier",
"start": 3956,
"end": 3973,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 105,
"column": 21
},
"identifierName": "createAssociation"
},
"name": "createAssociation"
},
"arguments": [
{
"type": "ThisExpression",
"start": 3974,
"end": 3978,
"loc": {
"start": {
"line": 105,
"column": 22
},
"end": {
"line": 105,
"column": 26
}
}
},
{
"type": "Identifier",
"start": 3980,
"end": 3986,
"loc": {
"start": {
"line": 105,
"column": 28
},
"end": {
"line": 105,
"column": 34
},
"identifierName": "target"
},
"name": "target"
},
{
"type": "Identifier",
"start": 3988,
"end": 3992,
"loc": {
"start": {
"line": 105,
"column": 36
},
"end": {
"line": 105,
"column": 40
},
"identifierName": "type"
},
"name": "type"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * @param {YXmlFragment} type The bind source. This is the ultimate source of\n * truth.\n * @param {Element} target The bind target. Mirrors the target.\n * @param {Object} [opts] Optional configurations\n\n * @param {FilterFunction} [opts.filter=defaultFilter] The filter function to use.\n ",
"start": 747,
"end": 1079,
"loc": {
"start": {
"line": 22,
"column": 2
},
"end": {
"line": 29,
"column": 5
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Enables the smart scrolling functionality for a Dom Binding.\n * This is useful when YXml is bound to a shared editor. When activated,\n * the viewport will be changed to accommodate remote changes.\n *\n * @param {Element} scrollElement The node that is\n ",
"start": 4001,
"end": 4274,
"loc": {
"start": {
"line": 108,
"column": 2
},
"end": {
"line": 114,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4277,
"end": 4359,
"loc": {
"start": {
"line": 115,
"column": 2
},
"end": {
"line": 117,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4277,
"end": 4297,
"loc": {
"start": {
"line": 115,
"column": 2
},
"end": {
"line": 115,
"column": 22
},
"identifierName": "enableSmartScrolling"
},
"name": "enableSmartScrolling",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4299,
"end": 4312,
"loc": {
"start": {
"line": 115,
"column": 24
},
"end": {
"line": 115,
"column": 37
},
"identifierName": "scrollElement"
},
"name": "scrollElement"
}
],
"body": {
"type": "BlockStatement",
"start": 4314,
"end": 4359,
"loc": {
"start": {
"line": 115,
"column": 39
},
"end": {
"line": 117,
"column": 3
}
},
"body": [],
"directives": [],
"leadingComments": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " @TODO: implement smart scrolling",
"start": 4320,
"end": 4355,
"loc": {
"start": {
"line": 116,
"column": 4
},
"end": {
"line": 116,
"column": 39
}
}
},
{
"type": "CommentBlock",
"value": "*\n * NOTE: currently does not apply filter to existing elements!\n * @param {FilterFunction} filter The filter function to use from now on.\n ",
"start": 4363,
"end": 4513,
"loc": {
"start": {
"line": 119,
"column": 2
},
"end": {
"line": 122,
"column": 5
}
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Enables the smart scrolling functionality for a Dom Binding.\n * This is useful when YXml is bound to a shared editor. When activated,\n * the viewport will be changed to accommodate remote changes.\n *\n * @param {Element} scrollElement The node that is\n ",
"start": 4001,
"end": 4274,
"loc": {
"start": {
"line": 108,
"column": 2
},
"end": {
"line": 114,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4516,
"end": 4607,
"loc": {
"start": {
"line": 123,
"column": 2
},
"end": {
"line": 126,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4516,
"end": 4525,
"loc": {
"start": {
"line": 123,
"column": 2
},
"end": {
"line": 123,
"column": 11
},
"identifierName": "setFilter"
},
"name": "setFilter",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4527,
"end": 4533,
"loc": {
"start": {
"line": 123,
"column": 13
},
"end": {
"line": 123,
"column": 19
},
"identifierName": "filter"
},
"name": "filter"
}
],
"body": {
"type": "BlockStatement",
"start": 4535,
"end": 4607,
"loc": {
"start": {
"line": 123,
"column": 21
},
"end": {
"line": 126,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4541,
"end": 4561,
"loc": {
"start": {
"line": 124,
"column": 4
},
"end": {
"line": 124,
"column": 24
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4541,
"end": 4561,
"loc": {
"start": {
"line": 124,
"column": 4
},
"end": {
"line": 124,
"column": 24
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4541,
"end": 4552,
"loc": {
"start": {
"line": 124,
"column": 4
},
"end": {
"line": 124,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 4541,
"end": 4545,
"loc": {
"start": {
"line": 124,
"column": 4
},
"end": {
"line": 124,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 4546,
"end": 4552,
"loc": {
"start": {
"line": 124,
"column": 9
},
"end": {
"line": 124,
"column": 15
},
"identifierName": "filter"
},
"name": "filter"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 4555,
"end": 4561,
"loc": {
"start": {
"line": 124,
"column": 18
},
"end": {
"line": 124,
"column": 24
},
"identifierName": "filter"
},
"name": "filter",
"leadingComments": null,
"trailingComments": null
},
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " TODO: apply filter to all elements",
"start": 4566,
"end": 4603,
"loc": {
"start": {
"line": 125,
"column": 4
},
"end": {
"line": 125,
"column": 41
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * NOTE: currently does not apply filter to existing elements!\n * @param {FilterFunction} filter The filter function to use from now on.\n ",
"start": 4363,
"end": 4513,
"loc": {
"start": {
"line": 119,
"column": 2
},
"end": {
"line": 122,
"column": 5
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Remove all properties that are handled by this class.\n ",
"start": 4611,
"end": 4679,
"loc": {
"start": {
"line": 128,
"column": 2
},
"end": {
"line": 130,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4682,
"end": 5137,
"loc": {
"start": {
"line": 131,
"column": 2
},
"end": {
"line": 142,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4682,
"end": 4689,
"loc": {
"start": {
"line": 131,
"column": 2
},
"end": {
"line": 131,
"column": 9
},
"identifierName": "destroy"
},
"name": "destroy",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 4693,
"end": 5137,
"loc": {
"start": {
"line": 131,
"column": 13
},
"end": {
"line": 142,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4699,
"end": 4720,
"loc": {
"start": {
"line": 132,
"column": 4
},
"end": {
"line": 132,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4699,
"end": 4720,
"loc": {
"start": {
"line": 132,
"column": 4
},
"end": {
"line": 132,
"column": 25
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4699,
"end": 4713,
"loc": {
"start": {
"line": 132,
"column": 4
},
"end": {
"line": 132,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 4699,
"end": 4703,
"loc": {
"start": {
"line": 132,
"column": 4
},
"end": {
"line": 132,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 4704,
"end": 4713,
"loc": {
"start": {
"line": 132,
"column": 9
},
"end": {
"line": 132,
"column": 18
},
"identifierName": "domToType"
},
"name": "domToType"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 4716,
"end": 4720,
"loc": {
"start": {
"line": 132,
"column": 21
},
"end": {
"line": 132,
"column": 25
}
}
}
}
},
{
"type": "ExpressionStatement",
"start": 4725,
"end": 4746,
"loc": {
"start": {
"line": 133,
"column": 4
},
"end": {
"line": 133,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4725,
"end": 4746,
"loc": {
"start": {
"line": 133,
"column": 4
},
"end": {
"line": 133,
"column": 25
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4725,
"end": 4739,
"loc": {
"start": {
"line": 133,
"column": 4
},
"end": {
"line": 133,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 4725,
"end": 4729,
"loc": {
"start": {
"line": 133,
"column": 4
},
"end": {
"line": 133,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 4730,
"end": 4739,
"loc": {
"start": {
"line": 133,
"column": 9
},
"end": {
"line": 133,
"column": 18
},
"identifierName": "typeToDom"
},
"name": "typeToDom"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 4742,
"end": 4746,
"loc": {
"start": {
"line": 133,
"column": 21
},
"end": {
"line": 133,
"column": 25
}
}
}
}
},
{
"type": "ExpressionStatement",
"start": 4751,
"end": 4790,
"loc": {
"start": {
"line": 134,
"column": 4
},
"end": {
"line": 134,
"column": 43
}
},
"expression": {
"type": "CallExpression",
"start": 4751,
"end": 4790,
"loc": {
"start": {
"line": 134,
"column": 4
},
"end": {
"line": 134,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 4751,
"end": 4770,
"loc": {
"start": {
"line": 134,
"column": 4
},
"end": {
"line": 134,
"column": 23
}
},
"object": {
"type": "MemberExpression",
"start": 4751,
"end": 4760,
"loc": {
"start": {
"line": 134,
"column": 4
},
"end": {
"line": 134,
"column": 13
}
},
"object": {
"type": "ThisExpression",
"start": 4751,
"end": 4755,
"loc": {
"start": {
"line": 134,
"column": 4
},
"end": {
"line": 134,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 4756,
"end": 4760,
"loc": {
"start": {
"line": 134,
"column": 9
},
"end": {
"line": 134,
"column": 13
},
"identifierName": "type"
},
"name": "type"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4761,
"end": 4770,
"loc": {
"start": {
"line": 134,
"column": 14
},
"end": {
"line": 134,
"column": 23
},
"identifierName": "unobserve"
},
"name": "unobserve"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 4771,
"end": 4789,
"loc": {
"start": {
"line": 134,
"column": 24
},
"end": {
"line": 134,
"column": 42
}
},
"object": {
"type": "ThisExpression",
"start": 4771,
"end": 4775,
"loc": {
"start": {
"line": 134,
"column": 24
},
"end": {
"line": 134,
"column": 28
}
}
},
"property": {
"type": "Identifier",
"start": 4776,
"end": 4789,
"loc": {
"start": {
"line": 134,
"column": 29
},
"end": {
"line": 134,
"column": 42
},
"identifierName": "_typeObserver"
},
"name": "_typeObserver"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 4795,
"end": 4830,
"loc": {
"start": {
"line": 135,
"column": 4
},
"end": {
"line": 135,
"column": 39
}
},
"expression": {
"type": "CallExpression",
"start": 4795,
"end": 4830,
"loc": {
"start": {
"line": 135,
"column": 4
},
"end": {
"line": 135,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 4795,
"end": 4828,
"loc": {
"start": {
"line": 135,
"column": 4
},
"end": {
"line": 135,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 4795,
"end": 4817,
"loc": {
"start": {
"line": 135,
"column": 4
},
"end": {
"line": 135,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 4795,
"end": 4799,
"loc": {
"start": {
"line": 135,
"column": 4
},
"end": {
"line": 135,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 4800,
"end": 4817,
"loc": {
"start": {
"line": 135,
"column": 9
},
"end": {
"line": 135,
"column": 26
},
"identifierName": "_mutationObserver"
},
"name": "_mutationObserver"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4818,
"end": 4828,
"loc": {
"start": {
"line": 135,
"column": 27
},
"end": {
"line": 135,
"column": 37
},
"identifierName": "disconnect"
},
"name": "disconnect"
},
"computed": false
},
"arguments": []
}
},
{
"type": "VariableDeclaration",
"start": 4835,
"end": 4857,
"loc": {
"start": {
"line": 136,
"column": 4
},
"end": {
"line": 136,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4841,
"end": 4857,
"loc": {
"start": {
"line": 136,
"column": 10
},
"end": {
"line": 136,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 4841,
"end": 4842,
"loc": {
"start": {
"line": 136,
"column": 10
},
"end": {
"line": 136,
"column": 11
},
"identifierName": "y"
},
"name": "y"
},
"init": {
"type": "MemberExpression",
"start": 4845,
"end": 4857,
"loc": {
"start": {
"line": 136,
"column": 14
},
"end": {
"line": 136,
"column": 26
}
},
"object": {
"type": "MemberExpression",
"start": 4845,
"end": 4854,
"loc": {
"start": {
"line": 136,
"column": 14
},
"end": {
"line": 136,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 4845,
"end": 4849,
"loc": {
"start": {
"line": 136,
"column": 14
},
"end": {
"line": 136,
"column": 18
}
}
},
"property": {
"type": "Identifier",
"start": 4850,
"end": 4854,
"loc": {
"start": {
"line": 136,
"column": 19
},
"end": {
"line": 136,
"column": 23
},
"identifierName": "type"
},
"name": "type"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4855,
"end": 4857,
"loc": {
"start": {
"line": 136,
"column": 24
},
"end": {
"line": 136,
"column": 26
},
"identifierName": "_y"
},
"name": "_y"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 4862,
"end": 4920,
"loc": {
"start": {
"line": 137,
"column": 4
},
"end": {
"line": 137,
"column": 62
}
},
"expression": {
"type": "CallExpression",
"start": 4862,
"end": 4920,
"loc": {
"start": {
"line": 137,
"column": 4
},
"end": {
"line": 137,
"column": 62
}
},
"callee": {
"type": "MemberExpression",
"start": 4862,
"end": 4867,
"loc": {
"start": {
"line": 137,
"column": 4
},
"end": {
"line": 137,
"column": 9
}
},
"object": {
"type": "Identifier",
"start": 4862,
"end": 4863,
"loc": {
"start": {
"line": 137,
"column": 4
},
"end": {
"line": 137,
"column": 5
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 4864,
"end": 4867,
"loc": {
"start": {
"line": 137,
"column": 6
},
"end": {
"line": 137,
"column": 9
},
"identifierName": "off"
},
"name": "off"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 4868,
"end": 4887,
"loc": {
"start": {
"line": 137,
"column": 10
},
"end": {
"line": 137,
"column": 29
}
},
"extra": {
"rawValue": "beforeTransaction",
"raw": "'beforeTransaction'"
},
"value": "beforeTransaction"
},
{
"type": "MemberExpression",
"start": 4889,
"end": 4919,
"loc": {
"start": {
"line": 137,
"column": 31
},
"end": {
"line": 137,
"column": 61
}
},
"object": {
"type": "ThisExpression",
"start": 4889,
"end": 4893,
"loc": {
"start": {
"line": 137,
"column": 31
},
"end": {
"line": 137,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"start": 4894,
"end": 4919,
"loc": {
"start": {
"line": 137,
"column": 36
},
"end": {
"line": 137,
"column": 61
},
"identifierName": "_beforeTransactionHandler"
},
"name": "_beforeTransactionHandler"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 4925,
"end": 4987,
"loc": {
"start": {
"line": 138,
"column": 4
},
"end": {
"line": 138,
"column": 66
}
},
"expression": {
"type": "CallExpression",
"start": 4925,
"end": 4987,
"loc": {
"start": {
"line": 138,
"column": 4
},
"end": {
"line": 138,
"column": 66
}
},
"callee": {
"type": "MemberExpression",
"start": 4925,
"end": 4930,
"loc": {
"start": {
"line": 138,
"column": 4
},
"end": {
"line": 138,
"column": 9
}
},
"object": {
"type": "Identifier",
"start": 4925,
"end": 4926,
"loc": {
"start": {
"line": 138,
"column": 4
},
"end": {
"line": 138,
"column": 5
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 4927,
"end": 4930,
"loc": {
"start": {
"line": 138,
"column": 6
},
"end": {
"line": 138,
"column": 9
},
"identifierName": "off"
},
"name": "off"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 4931,
"end": 4952,
"loc": {
"start": {
"line": 138,
"column": 10
},
"end": {
"line": 138,
"column": 31
}
},
"extra": {
"rawValue": "beforeObserverCalls",
"raw": "'beforeObserverCalls'"
},
"value": "beforeObserverCalls"
},
{
"type": "MemberExpression",
"start": 4954,
"end": 4986,
"loc": {
"start": {
"line": 138,
"column": 33
},
"end": {
"line": 138,
"column": 65
}
},
"object": {
"type": "ThisExpression",
"start": 4954,
"end": 4958,
"loc": {
"start": {
"line": 138,
"column": 33
},
"end": {
"line": 138,
"column": 37
}
}
},
"property": {
"type": "Identifier",
"start": 4959,
"end": 4986,
"loc": {
"start": {
"line": 138,
"column": 38
},
"end": {
"line": 138,
"column": 65
},
"identifierName": "_beforeObserverCallsHandler"
},
"name": "_beforeObserverCallsHandler"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 4992,
"end": 5052,
"loc": {
"start": {
"line": 139,
"column": 4
},
"end": {
"line": 139,
"column": 64
}
},
"expression": {
"type": "CallExpression",
"start": 4992,
"end": 5052,
"loc": {
"start": {
"line": 139,
"column": 4
},
"end": {
"line": 139,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 4992,
"end": 4997,
"loc": {
"start": {
"line": 139,
"column": 4
},
"end": {
"line": 139,
"column": 9
}
},
"object": {
"type": "Identifier",
"start": 4992,
"end": 4993,
"loc": {
"start": {
"line": 139,
"column": 4
},
"end": {
"line": 139,
"column": 5
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 4994,
"end": 4997,
"loc": {
"start": {
"line": 139,
"column": 6
},
"end": {
"line": 139,
"column": 9
},
"identifierName": "off"
},
"name": "off"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 4998,
"end": 5018,
"loc": {
"start": {
"line": 139,
"column": 10
},
"end": {
"line": 139,
"column": 30
}
},
"extra": {
"rawValue": "afterObserverCalls",
"raw": "'afterObserverCalls'"
},
"value": "afterObserverCalls"
},
{
"type": "MemberExpression",
"start": 5020,
"end": 5051,
"loc": {
"start": {
"line": 139,
"column": 32
},
"end": {
"line": 139,
"column": 63
}
},
"object": {
"type": "ThisExpression",
"start": 5020,
"end": 5024,
"loc": {
"start": {
"line": 139,
"column": 32
},
"end": {
"line": 139,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 5025,
"end": 5051,
"loc": {
"start": {
"line": 139,
"column": 37
},
"end": {
"line": 139,
"column": 63
},
"identifierName": "_afterObserverCallsHandler"
},
"name": "_afterObserverCallsHandler"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 5057,
"end": 5113,
"loc": {
"start": {
"line": 140,
"column": 4
},
"end": {
"line": 140,
"column": 60
}
},
"expression": {
"type": "CallExpression",
"start": 5057,
"end": 5113,
"loc": {
"start": {
"line": 140,
"column": 4
},
"end": {
"line": 140,
"column": 60
}
},
"callee": {
"type": "MemberExpression",
"start": 5057,
"end": 5062,
"loc": {
"start": {
"line": 140,
"column": 4
},
"end": {
"line": 140,
"column": 9
}
},
"object": {
"type": "Identifier",
"start": 5057,
"end": 5058,
"loc": {
"start": {
"line": 140,
"column": 4
},
"end": {
"line": 140,
"column": 5
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 5059,
"end": 5062,
"loc": {
"start": {
"line": 140,
"column": 6
},
"end": {
"line": 140,
"column": 9
},
"identifierName": "off"
},
"name": "off"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 5063,
"end": 5081,
"loc": {
"start": {
"line": 140,
"column": 10
},
"end": {
"line": 140,
"column": 28
}
},
"extra": {
"rawValue": "afterTransaction",
"raw": "'afterTransaction'"
},
"value": "afterTransaction"
},
{
"type": "MemberExpression",
"start": 5083,
"end": 5112,
"loc": {
"start": {
"line": 140,
"column": 30
},
"end": {
"line": 140,
"column": 59
}
},
"object": {
"type": "ThisExpression",
"start": 5083,
"end": 5087,
"loc": {
"start": {
"line": 140,
"column": 30
},
"end": {
"line": 140,
"column": 34
}
}
},
"property": {
"type": "Identifier",
"start": 5088,
"end": 5112,
"loc": {
"start": {
"line": 140,
"column": 35
},
"end": {
"line": 140,
"column": 59
},
"identifierName": "_afterTransactionHandler"
},
"name": "_afterTransactionHandler"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 5118,
"end": 5133,
"loc": {
"start": {
"line": 141,
"column": 4
},
"end": {
"line": 141,
"column": 19
}
},
"expression": {
"type": "CallExpression",
"start": 5118,
"end": 5133,
"loc": {
"start": {
"line": 141,
"column": 4
},
"end": {
"line": 141,
"column": 19
}
},
"callee": {
"type": "MemberExpression",
"start": 5118,
"end": 5131,
"loc": {
"start": {
"line": 141,
"column": 4
},
"end": {
"line": 141,
"column": 17
}
},
"object": {
"type": "Super",
"start": 5118,
"end": 5123,
"loc": {
"start": {
"line": 141,
"column": 4
},
"end": {
"line": 141,
"column": 9
}
}
},
"property": {
"type": "Identifier",
"start": 5124,
"end": 5131,
"loc": {
"start": {
"line": 141,
"column": 10
},
"end": {
"line": 141,
"column": 17
},
"identifierName": "destroy"
},
"name": "destroy"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Remove all properties that are handled by this class.\n ",
"start": 4611,
"end": 4679,
"loc": {
"start": {
"line": 128,
"column": 2
},
"end": {
"line": 130,
"column": 5
}
}
}
]
}
],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * A binding that binds the children of a YXmlFragment to a DOM element.\n *\n * This binding is automatically destroyed when its parent is deleted.\n *\n * @example\n * const div = document.createElement('div')\n * const type = y.define('xml', Y.XmlFragment)\n * const binding = new Y.QuillBinding(type, div)\n *\n ",
"start": 381,
"end": 694,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 20,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * A filter defines which elements and attributes to share.\n * Return null if the node should be filtered. Otherwise return the Map of\n * accepted attributes.\n *\n * @typedef {function(nodeName: String, attrs: Map): Map|null} FilterFunction\n ",
"start": 5143,
"end": 5402,
"loc": {
"start": {
"line": 145,
"column": 2
},
"end": {
"line": 151,
"column": 5
}
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * A binding that binds the children of a YXmlFragment to a DOM element.\n *\n * This binding is automatically destroyed when its parent is deleted.\n *\n * @example\n * const div = document.createElement('div')\n * const type = y.define('xml', Y.XmlFragment)\n * const binding = new Y.QuillBinding(type, div)\n *\n ",
"start": 381,
"end": 694,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 20,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * A filter defines which elements and attributes to share.\n * Return null if the node should be filtered. Otherwise return the Map of\n * accepted attributes.\n *\n * @typedef {function(nodeName: String, attrs: Map): Map|null} FilterFunction\n ",
"start": 5143,
"end": 5402,
"loc": {
"start": {
"line": 145,
"column": 2
},
"end": {
"line": 151,
"column": 5
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": " global MutationObserver ",
"start": 0,
"end": 29,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 29
}
}
},
{
"type": "CommentBlock",
"value": "*\n * A binding that binds the children of a YXmlFragment to a DOM element.\n *\n * This binding is automatically destroyed when its parent is deleted.\n *\n * @example\n * const div = document.createElement('div')\n * const type = y.define('xml', Y.XmlFragment)\n * const binding = new Y.QuillBinding(type, div)\n *\n ",
"start": 381,
"end": 694,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 20,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * @param {YXmlFragment} type The bind source. This is the ultimate source of\n * truth.\n * @param {Element} target The bind target. Mirrors the target.\n * @param {Object} [opts] Optional configurations\n\n * @param {FilterFunction} [opts.filter=defaultFilter] The filter function to use.\n ",
"start": 747,
"end": 1079,
"loc": {
"start": {
"line": 22,
"column": 2
},
"end": {
"line": 29,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " Binding handles textType as this.type and domTextarea as this.target",
"start": 1126,
"end": 1197,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 75
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Maps each DOM element to the type that it is associated with.\n * @type {Map}\n ",
"start": 1327,
"end": 1426,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 39,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Maps each YXml type to the DOM element that it is associated with.\n * @type {Map}\n ",
"start": 1462,
"end": 1566,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 44,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Defines which DOM attributes and elements to filter out.\n * Also filters remote changes.\n * @type {FilterFunction}\n ",
"start": 1602,
"end": 1743,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 50,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " set initial value",
"start": 1795,
"end": 1815,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 24
}
}
},
{
"type": "CommentLine",
"value": " Force flush dom changes before Type changes are applied (they might",
"start": 2388,
"end": 2458,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 70,
"column": 74
}
}
},
{
"type": "CommentLine",
"value": " modify the dom)",
"start": 2463,
"end": 2481,
"loc": {
"start": {
"line": 71,
"column": 4
},
"end": {
"line": 71,
"column": 22
}
}
},
{
"type": "CommentLine",
"value": " remove associations",
"start": 2886,
"end": 2908,
"loc": {
"start": {
"line": 79,
"column": 6
},
"end": {
"line": 79,
"column": 28
}
}
},
{
"type": "CommentLine",
"value": " TODO: this could be done more efficiently",
"start": 2915,
"end": 2959,
"loc": {
"start": {
"line": 80,
"column": 6
},
"end": {
"line": 80,
"column": 50
}
}
},
{
"type": "CommentLine",
"value": " e.g. Always delete using the following approach, or removeAssociation",
"start": 2966,
"end": 3038,
"loc": {
"start": {
"line": 81,
"column": 6
},
"end": {
"line": 81,
"column": 78
}
}
},
{
"type": "CommentLine",
"value": " in dom/type-observer..",
"start": 3045,
"end": 3070,
"loc": {
"start": {
"line": 82,
"column": 6
},
"end": {
"line": 82,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " Before calling observers, apply dom filter to all changed and new types.",
"start": 3334,
"end": 3409,
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 91,
"column": 79
}
}
},
{
"type": "CommentLine",
"value": " Apply dom filter to new and changed types",
"start": 3477,
"end": 3521,
"loc": {
"start": {
"line": 93,
"column": 6
},
"end": {
"line": 93,
"column": 50
}
}
},
{
"type": "CommentLine",
"value": " Only check attributes. New types are filtered below.",
"start": 3587,
"end": 3642,
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 95,
"column": 63
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Enables the smart scrolling functionality for a Dom Binding.\n * This is useful when YXml is bound to a shared editor. When activated,\n * the viewport will be changed to accommodate remote changes.\n *\n * @param {Element} scrollElement The node that is\n ",
"start": 4001,
"end": 4274,
"loc": {
"start": {
"line": 108,
"column": 2
},
"end": {
"line": 114,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " @TODO: implement smart scrolling",
"start": 4320,
"end": 4355,
"loc": {
"start": {
"line": 116,
"column": 4
},
"end": {
"line": 116,
"column": 39
}
}
},
{
"type": "CommentBlock",
"value": "*\n * NOTE: currently does not apply filter to existing elements!\n * @param {FilterFunction} filter The filter function to use from now on.\n ",
"start": 4363,
"end": 4513,
"loc": {
"start": {
"line": 119,
"column": 2
},
"end": {
"line": 122,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " TODO: apply filter to all elements",
"start": 4566,
"end": 4603,
"loc": {
"start": {
"line": 125,
"column": 4
},
"end": {
"line": 125,
"column": 41
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Remove all properties that are handled by this class.\n ",
"start": 4611,
"end": 4679,
"loc": {
"start": {
"line": 128,
"column": 2
},
"end": {
"line": 130,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\n * A filter defines which elements and attributes to share.\n * Return null if the node should be filtered. Otherwise return the Map of\n * accepted attributes.\n *\n * @typedef {function(nodeName: String, attrs: Map): Map|null} FilterFunction\n ",
"start": 5143,
"end": 5402,
"loc": {
"start": {
"line": 145,
"column": 2
},
"end": {
"line": 151,
"column": 5
}
}
}
],
"tokens": [
{
"type": "CommentBlock",
"value": " global MutationObserver ",
"start": 0,
"end": 29,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 29
}
}
},
{
"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": 31,
"end": 37,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Binding",
"start": 38,
"end": 45,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 46,
"end": 50,
"loc": {
"start": {
"line": 3,
"column": 15
},
"end": {
"line": 3,
"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": 51,
"end": 66,
"loc": {
"start": {
"line": 3,
"column": 20
},
"end": {
"line": 3,
"column": 35
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 67,
"end": 73,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 74,
"end": 75,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createAssociation",
"start": 76,
"end": 93,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 93,
"end": 94,
"loc": {
"start": {
"line": 4,
"column": 26
},
"end": {
"line": 4,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "removeAssociation",
"start": 95,
"end": 112,
"loc": {
"start": {
"line": 4,
"column": 28
},
"end": {
"line": 4,
"column": 45
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 113,
"end": 114,
"loc": {
"start": {
"line": 4,
"column": 46
},
"end": {
"line": 4,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 115,
"end": 119,
"loc": {
"start": {
"line": 4,
"column": 48
},
"end": {
"line": 4,
"column": 52
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./util.js",
"start": 120,
"end": 131,
"loc": {
"start": {
"line": 4,
"column": 53
},
"end": {
"line": 4,
"column": 64
}
}
},
{
"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": 132,
"end": 138,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 139,
"end": 140,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "beforeTransactionSelectionFixer",
"start": 141,
"end": 172,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 172,
"end": 173,
"loc": {
"start": {
"line": 5,
"column": 40
},
"end": {
"line": 5,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "afterTransactionSelectionFixer",
"start": 174,
"end": 204,
"loc": {
"start": {
"line": 5,
"column": 42
},
"end": {
"line": 5,
"column": 72
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 205,
"end": 206,
"loc": {
"start": {
"line": 5,
"column": 73
},
"end": {
"line": 5,
"column": 74
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 207,
"end": 211,
"loc": {
"start": {
"line": 5,
"column": 75
},
"end": {
"line": 5,
"column": 79
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./selection.js",
"start": 212,
"end": 228,
"loc": {
"start": {
"line": 5,
"column": 80
},
"end": {
"line": 5,
"column": 96
}
}
},
{
"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": 229,
"end": 235,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 236,
"end": 237,
"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": "defaultFilter",
"start": 238,
"end": 251,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 251,
"end": 252,
"loc": {
"start": {
"line": 6,
"column": 22
},
"end": {
"line": 6,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "applyFilterOnType",
"start": 253,
"end": 270,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 271,
"end": 272,
"loc": {
"start": {
"line": 6,
"column": 42
},
"end": {
"line": 6,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 273,
"end": 277,
"loc": {
"start": {
"line": 6,
"column": 44
},
"end": {
"line": 6,
"column": 48
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./filter.js",
"start": 278,
"end": 291,
"loc": {
"start": {
"line": 6,
"column": 49
},
"end": {
"line": 6,
"column": 62
}
}
},
{
"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": 292,
"end": 298,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "typeObserver",
"start": 299,
"end": 311,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 312,
"end": 316,
"loc": {
"start": {
"line": 7,
"column": 20
},
"end": {
"line": 7,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./typeObserver.js",
"start": 317,
"end": 336,
"loc": {
"start": {
"line": 7,
"column": 25
},
"end": {
"line": 7,
"column": 44
}
}
},
{
"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": 337,
"end": 343,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "domObserver",
"start": 344,
"end": 355,
"loc": {
"start": {
"line": 8,
"column": 7
},
"end": {
"line": 8,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 356,
"end": 360,
"loc": {
"start": {
"line": 8,
"column": 19
},
"end": {
"line": 8,
"column": 23
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./domObserver.js",
"start": 361,
"end": 379,
"loc": {
"start": {
"line": 8,
"column": 24
},
"end": {
"line": 8,
"column": 42
}
}
},
{
"type": "CommentBlock",
"value": "*\n * A binding that binds the children of a YXmlFragment to a DOM element.\n *\n * This binding is automatically destroyed when its parent is deleted.\n *\n * @example\n * const div = document.createElement('div')\n * const type = y.define('xml', Y.XmlFragment)\n * const binding = new Y.QuillBinding(type, div)\n *\n ",
"start": 381,
"end": 694,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 20,
"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": 695,
"end": 701,
"loc": {
"start": {
"line": 21,
"column": 0
},
"end": {
"line": 21,
"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": 702,
"end": 709,
"loc": {
"start": {
"line": 21,
"column": 7
},
"end": {
"line": 21,
"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": 710,
"end": 715,
"loc": {
"start": {
"line": 21,
"column": 15
},
"end": {
"line": 21,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "DomBinding",
"start": 716,
"end": 726,
"loc": {
"start": {
"line": 21,
"column": 21
},
"end": {
"line": 21,
"column": 31
}
}
},
{
"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": 727,
"end": 734,
"loc": {
"start": {
"line": 21,
"column": 32
},
"end": {
"line": 21,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Binding",
"start": 735,
"end": 742,
"loc": {
"start": {
"line": 21,
"column": 40
},
"end": {
"line": 21,
"column": 47
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 743,
"end": 744,
"loc": {
"start": {
"line": 21,
"column": 48
},
"end": {
"line": 21,
"column": 49
}
}
},
{
"type": "CommentBlock",
"value": "*\n * @param {YXmlFragment} type The bind source. This is the ultimate source of\n * truth.\n * @param {Element} target The bind target. Mirrors the target.\n * @param {Object} [opts] Optional configurations\n\n * @param {FilterFunction} [opts.filter=defaultFilter] The filter function to use.\n ",
"start": 747,
"end": 1079,
"loc": {
"start": {
"line": 22,
"column": 2
},
"end": {
"line": 29,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 1082,
"end": 1093,
"loc": {
"start": {
"line": 30,
"column": 2
},
"end": {
"line": 30,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1094,
"end": 1095,
"loc": {
"start": {
"line": 30,
"column": 14
},
"end": {
"line": 30,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 1095,
"end": 1099,
"loc": {
"start": {
"line": 30,
"column": 15
},
"end": {
"line": 30,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1099,
"end": 1100,
"loc": {
"start": {
"line": 30,
"column": 19
},
"end": {
"line": 30,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "target",
"start": 1101,
"end": 1107,
"loc": {
"start": {
"line": 30,
"column": 21
},
"end": {
"line": 30,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1107,
"end": 1108,
"loc": {
"start": {
"line": 30,
"column": 27
},
"end": {
"line": 30,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "opts",
"start": 1109,
"end": 1113,
"loc": {
"start": {
"line": 30,
"column": 29
},
"end": {
"line": 30,
"column": 33
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1114,
"end": 1115,
"loc": {
"start": {
"line": 30,
"column": 34
},
"end": {
"line": 30,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1116,
"end": 1117,
"loc": {
"start": {
"line": 30,
"column": 36
},
"end": {
"line": 30,
"column": 37
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1117,
"end": 1118,
"loc": {
"start": {
"line": 30,
"column": 37
},
"end": {
"line": 30,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1118,
"end": 1119,
"loc": {
"start": {
"line": 30,
"column": 38
},
"end": {
"line": 30,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1120,
"end": 1121,
"loc": {
"start": {
"line": 30,
"column": 40
},
"end": {
"line": 30,
"column": 41
}
}
},
{
"type": "CommentLine",
"value": " Binding handles textType as this.type and domTextarea as this.target",
"start": 1126,
"end": 1197,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 75
}
}
},
{
"type": {
"label": "super",
"keyword": "super",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "super",
"start": 1202,
"end": 1207,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1207,
"end": 1208,
"loc": {
"start": {
"line": 32,
"column": 9
},
"end": {
"line": 32,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 1208,
"end": 1212,
"loc": {
"start": {
"line": 32,
"column": 10
},
"end": {
"line": 32,
"column": 14
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1212,
"end": 1213,
"loc": {
"start": {
"line": 32,
"column": 14
},
"end": {
"line": 32,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "target",
"start": 1214,
"end": 1220,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1220,
"end": 1221,
"loc": {
"start": {
"line": 32,
"column": 22
},
"end": {
"line": 32,
"column": 23
}
}
},
{
"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": 1226,
"end": 1230,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1230,
"end": 1231,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "opts",
"start": 1231,
"end": 1235,
"loc": {
"start": {
"line": 33,
"column": 9
},
"end": {
"line": 33,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1236,
"end": 1237,
"loc": {
"start": {
"line": 33,
"column": 14
},
"end": {
"line": 33,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "opts",
"start": 1238,
"end": 1242,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "opts",
"start": 1247,
"end": 1251,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1251,
"end": 1252,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "document",
"start": 1252,
"end": 1260,
"loc": {
"start": {
"line": 34,
"column": 9
},
"end": {
"line": 34,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1261,
"end": 1262,
"loc": {
"start": {
"line": 34,
"column": 18
},
"end": {
"line": 34,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "opts",
"start": 1263,
"end": 1267,
"loc": {
"start": {
"line": 34,
"column": 20
},
"end": {
"line": 34,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1267,
"end": 1268,
"loc": {
"start": {
"line": 34,
"column": 24
},
"end": {
"line": 34,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "document",
"start": 1268,
"end": 1276,
"loc": {
"start": {
"line": 34,
"column": 25
},
"end": {
"line": 34,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1277,
"end": 1279,
"loc": {
"start": {
"line": 34,
"column": 34
},
"end": {
"line": 34,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "document",
"start": 1280,
"end": 1288,
"loc": {
"start": {
"line": 34,
"column": 37
},
"end": {
"line": 34,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "opts",
"start": 1293,
"end": 1297,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1297,
"end": 1298,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hooks",
"start": 1298,
"end": 1303,
"loc": {
"start": {
"line": 35,
"column": 9
},
"end": {
"line": 35,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1304,
"end": 1305,
"loc": {
"start": {
"line": 35,
"column": 15
},
"end": {
"line": 35,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "opts",
"start": 1306,
"end": 1310,
"loc": {
"start": {
"line": 35,
"column": 17
},
"end": {
"line": 35,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1310,
"end": 1311,
"loc": {
"start": {
"line": 35,
"column": 21
},
"end": {
"line": 35,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hooks",
"start": 1311,
"end": 1316,
"loc": {
"start": {
"line": 35,
"column": 22
},
"end": {
"line": 35,
"column": 27
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1317,
"end": 1319,
"loc": {
"start": {
"line": 35,
"column": 28
},
"end": {
"line": 35,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1320,
"end": 1321,
"loc": {
"start": {
"line": 35,
"column": 31
},
"end": {
"line": 35,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1321,
"end": 1322,
"loc": {
"start": {
"line": 35,
"column": 32
},
"end": {
"line": 35,
"column": 33
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Maps each DOM element to the type that it is associated with.\n * @type {Map}\n ",
"start": 1327,
"end": 1426,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 39,
"column": 7
}
}
},
{
"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": 1431,
"end": 1435,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1435,
"end": 1436,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "domToType",
"start": 1436,
"end": 1445,
"loc": {
"start": {
"line": 40,
"column": 9
},
"end": {
"line": 40,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1446,
"end": 1447,
"loc": {
"start": {
"line": 40,
"column": 19
},
"end": {
"line": 40,
"column": 20
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 1448,
"end": 1451,
"loc": {
"start": {
"line": 40,
"column": 21
},
"end": {
"line": 40,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Map",
"start": 1452,
"end": 1455,
"loc": {
"start": {
"line": 40,
"column": 25
},
"end": {
"line": 40,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1455,
"end": 1456,
"loc": {
"start": {
"line": 40,
"column": 28
},
"end": {
"line": 40,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1456,
"end": 1457,
"loc": {
"start": {
"line": 40,
"column": 29
},
"end": {
"line": 40,
"column": 30
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Maps each YXml type to the DOM element that it is associated with.\n * @type {Map}\n ",
"start": 1462,
"end": 1566,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 44,
"column": 7
}
}
},
{
"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": 1571,
"end": 1575,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1575,
"end": 1576,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "typeToDom",
"start": 1576,
"end": 1585,
"loc": {
"start": {
"line": 45,
"column": 9
},
"end": {
"line": 45,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1586,
"end": 1587,
"loc": {
"start": {
"line": 45,
"column": 19
},
"end": {
"line": 45,
"column": 20
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 1588,
"end": 1591,
"loc": {
"start": {
"line": 45,
"column": 21
},
"end": {
"line": 45,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Map",
"start": 1592,
"end": 1595,
"loc": {
"start": {
"line": 45,
"column": 25
},
"end": {
"line": 45,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1595,
"end": 1596,
"loc": {
"start": {
"line": 45,
"column": 28
},
"end": {
"line": 45,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1596,
"end": 1597,
"loc": {
"start": {
"line": 45,
"column": 29
},
"end": {
"line": 45,
"column": 30
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Defines which DOM attributes and elements to filter out.\n * Also filters remote changes.\n * @type {FilterFunction}\n ",
"start": 1602,
"end": 1743,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 50,
"column": 7
}
}
},
{
"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": 1748,
"end": 1752,
"loc": {
"start": {
"line": 51,
"column": 4
},
"end": {
"line": 51,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1752,
"end": 1753,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filter",
"start": 1753,
"end": 1759,
"loc": {
"start": {
"line": 51,
"column": 9
},
"end": {
"line": 51,
"column": 15
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1760,
"end": 1761,
"loc": {
"start": {
"line": 51,
"column": 16
},
"end": {
"line": 51,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "opts",
"start": 1762,
"end": 1766,
"loc": {
"start": {
"line": 51,
"column": 18
},
"end": {
"line": 51,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1766,
"end": 1767,
"loc": {
"start": {
"line": 51,
"column": 22
},
"end": {
"line": 51,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filter",
"start": 1767,
"end": 1773,
"loc": {
"start": {
"line": 51,
"column": 23
},
"end": {
"line": 51,
"column": 29
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1774,
"end": 1776,
"loc": {
"start": {
"line": 51,
"column": 30
},
"end": {
"line": 51,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "defaultFilter",
"start": 1777,
"end": 1790,
"loc": {
"start": {
"line": 51,
"column": 33
},
"end": {
"line": 51,
"column": 46
}
}
},
{
"type": "CommentLine",
"value": " set initial value",
"start": 1795,
"end": 1815,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "target",
"start": 1820,
"end": 1826,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1826,
"end": 1827,
"loc": {
"start": {
"line": 53,
"column": 10
},
"end": {
"line": 53,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "innerHTML",
"start": 1827,
"end": 1836,
"loc": {
"start": {
"line": 53,
"column": 11
},
"end": {
"line": 53,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1837,
"end": 1838,
"loc": {
"start": {
"line": 53,
"column": 21
},
"end": {
"line": 53,
"column": 22
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "",
"start": 1839,
"end": 1841,
"loc": {
"start": {
"line": 53,
"column": 23
},
"end": {
"line": 53,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 1846,
"end": 1850,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1850,
"end": 1851,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "forEach",
"start": 1851,
"end": 1858,
"loc": {
"start": {
"line": 54,
"column": 9
},
"end": {
"line": 54,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1858,
"end": 1859,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "child",
"start": 1859,
"end": 1864,
"loc": {
"start": {
"line": 54,
"column": 17
},
"end": {
"line": 54,
"column": 22
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1865,
"end": 1867,
"loc": {
"start": {
"line": 54,
"column": 23
},
"end": {
"line": 54,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1868,
"end": 1869,
"loc": {
"start": {
"line": 54,
"column": 26
},
"end": {
"line": 54,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "target",
"start": 1876,
"end": 1882,
"loc": {
"start": {
"line": 55,
"column": 6
},
"end": {
"line": 55,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1882,
"end": 1883,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "insertBefore",
"start": 1883,
"end": 1895,
"loc": {
"start": {
"line": 55,
"column": 13
},
"end": {
"line": 55,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1895,
"end": 1896,
"loc": {
"start": {
"line": 55,
"column": 25
},
"end": {
"line": 55,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "child",
"start": 1896,
"end": 1901,
"loc": {
"start": {
"line": 55,
"column": 26
},
"end": {
"line": 55,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1901,
"end": 1902,
"loc": {
"start": {
"line": 55,
"column": 31
},
"end": {
"line": 55,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toDom",
"start": 1902,
"end": 1907,
"loc": {
"start": {
"line": 55,
"column": 32
},
"end": {
"line": 55,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1907,
"end": 1908,
"loc": {
"start": {
"line": 55,
"column": 37
},
"end": {
"line": 55,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "opts",
"start": 1908,
"end": 1912,
"loc": {
"start": {
"line": 55,
"column": 38
},
"end": {
"line": 55,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1912,
"end": 1913,
"loc": {
"start": {
"line": 55,
"column": 42
},
"end": {
"line": 55,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "document",
"start": 1913,
"end": 1921,
"loc": {
"start": {
"line": 55,
"column": 43
},
"end": {
"line": 55,
"column": 51
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1921,
"end": 1922,
"loc": {
"start": {
"line": 55,
"column": 51
},
"end": {
"line": 55,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "opts",
"start": 1923,
"end": 1927,
"loc": {
"start": {
"line": 55,
"column": 53
},
"end": {
"line": 55,
"column": 57
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1927,
"end": 1928,
"loc": {
"start": {
"line": 55,
"column": 57
},
"end": {
"line": 55,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hooks",
"start": 1928,
"end": 1933,
"loc": {
"start": {
"line": 55,
"column": 58
},
"end": {
"line": 55,
"column": 63
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1933,
"end": 1934,
"loc": {
"start": {
"line": 55,
"column": 63
},
"end": {
"line": 55,
"column": 64
}
}
},
{
"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": 1935,
"end": 1939,
"loc": {
"start": {
"line": 55,
"column": 65
},
"end": {
"line": 55,
"column": 69
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1939,
"end": 1940,
"loc": {
"start": {
"line": 55,
"column": 69
},
"end": {
"line": 55,
"column": 70
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1940,
"end": 1941,
"loc": {
"start": {
"line": 55,
"column": 70
},
"end": {
"line": 55,
"column": 71
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1942,
"end": 1946,
"loc": {
"start": {
"line": 55,
"column": 72
},
"end": {
"line": 55,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1946,
"end": 1947,
"loc": {
"start": {
"line": 55,
"column": 76
},
"end": {
"line": 55,
"column": 77
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1952,
"end": 1953,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 56,
"column": 5
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1953,
"end": 1954,
"loc": {
"start": {
"line": 56,
"column": 5
},
"end": {
"line": 56,
"column": 6
}
}
},
{
"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": 1959,
"end": 1963,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 57,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1963,
"end": 1964,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_typeObserver",
"start": 1964,
"end": 1977,
"loc": {
"start": {
"line": 57,
"column": 9
},
"end": {
"line": 57,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1978,
"end": 1979,
"loc": {
"start": {
"line": 57,
"column": 23
},
"end": {
"line": 57,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "typeObserver",
"start": 1980,
"end": 1992,
"loc": {
"start": {
"line": 57,
"column": 25
},
"end": {
"line": 57,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1992,
"end": 1993,
"loc": {
"start": {
"line": 57,
"column": 37
},
"end": {
"line": 57,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bind",
"start": 1993,
"end": 1997,
"loc": {
"start": {
"line": 57,
"column": 38
},
"end": {
"line": 57,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1997,
"end": 1998,
"loc": {
"start": {
"line": 57,
"column": 42
},
"end": {
"line": 57,
"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": 1998,
"end": 2002,
"loc": {
"start": {
"line": 57,
"column": 43
},
"end": {
"line": 57,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2002,
"end": 2003,
"loc": {
"start": {
"line": 57,
"column": 47
},
"end": {
"line": 57,
"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": 2008,
"end": 2012,
"loc": {
"start": {
"line": 58,
"column": 4
},
"end": {
"line": 58,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2012,
"end": 2013,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_domObserver",
"start": 2013,
"end": 2025,
"loc": {
"start": {
"line": 58,
"column": 9
},
"end": {
"line": 58,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2026,
"end": 2027,
"loc": {
"start": {
"line": 58,
"column": 22
},
"end": {
"line": 58,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2028,
"end": 2029,
"loc": {
"start": {
"line": 58,
"column": 24
},
"end": {
"line": 58,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mutations",
"start": 2029,
"end": 2038,
"loc": {
"start": {
"line": 58,
"column": 25
},
"end": {
"line": 58,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2038,
"end": 2039,
"loc": {
"start": {
"line": 58,
"column": 34
},
"end": {
"line": 58,
"column": 35
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2040,
"end": 2042,
"loc": {
"start": {
"line": 58,
"column": 36
},
"end": {
"line": 58,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2043,
"end": 2044,
"loc": {
"start": {
"line": 58,
"column": 39
},
"end": {
"line": 58,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "domObserver",
"start": 2051,
"end": 2062,
"loc": {
"start": {
"line": 59,
"column": 6
},
"end": {
"line": 59,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2062,
"end": 2063,
"loc": {
"start": {
"line": 59,
"column": 17
},
"end": {
"line": 59,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "call",
"start": 2063,
"end": 2067,
"loc": {
"start": {
"line": 59,
"column": 18
},
"end": {
"line": 59,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2067,
"end": 2068,
"loc": {
"start": {
"line": 59,
"column": 22
},
"end": {
"line": 59,
"column": 23
}
}
},
{
"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": 2068,
"end": 2072,
"loc": {
"start": {
"line": 59,
"column": 23
},
"end": {
"line": 59,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2072,
"end": 2073,
"loc": {
"start": {
"line": 59,
"column": 27
},
"end": {
"line": 59,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mutations",
"start": 2074,
"end": 2083,
"loc": {
"start": {
"line": 59,
"column": 29
},
"end": {
"line": 59,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2083,
"end": 2084,
"loc": {
"start": {
"line": 59,
"column": 38
},
"end": {
"line": 59,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "opts",
"start": 2085,
"end": 2089,
"loc": {
"start": {
"line": 59,
"column": 40
},
"end": {
"line": 59,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2089,
"end": 2090,
"loc": {
"start": {
"line": 59,
"column": 44
},
"end": {
"line": 59,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "document",
"start": 2090,
"end": 2098,
"loc": {
"start": {
"line": 59,
"column": 45
},
"end": {
"line": 59,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2098,
"end": 2099,
"loc": {
"start": {
"line": 59,
"column": 53
},
"end": {
"line": 59,
"column": 54
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2104,
"end": 2105,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 2110,
"end": 2114,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2114,
"end": 2115,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "observeDeep",
"start": 2115,
"end": 2126,
"loc": {
"start": {
"line": 61,
"column": 9
},
"end": {
"line": 61,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2126,
"end": 2127,
"loc": {
"start": {
"line": 61,
"column": 20
},
"end": {
"line": 61,
"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": 2127,
"end": 2131,
"loc": {
"start": {
"line": 61,
"column": 21
},
"end": {
"line": 61,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2131,
"end": 2132,
"loc": {
"start": {
"line": 61,
"column": 25
},
"end": {
"line": 61,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_typeObserver",
"start": 2132,
"end": 2145,
"loc": {
"start": {
"line": 61,
"column": 26
},
"end": {
"line": 61,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2145,
"end": 2146,
"loc": {
"start": {
"line": 61,
"column": 39
},
"end": {
"line": 61,
"column": 40
}
}
},
{
"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": 2151,
"end": 2155,
"loc": {
"start": {
"line": 62,
"column": 4
},
"end": {
"line": 62,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2155,
"end": 2156,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 62,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_mutationObserver",
"start": 2156,
"end": 2173,
"loc": {
"start": {
"line": 62,
"column": 9
},
"end": {
"line": 62,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2174,
"end": 2175,
"loc": {
"start": {
"line": 62,
"column": 27
},
"end": {
"line": 62,
"column": 28
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 2176,
"end": 2179,
"loc": {
"start": {
"line": 62,
"column": 29
},
"end": {
"line": 62,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MutationObserver",
"start": 2180,
"end": 2196,
"loc": {
"start": {
"line": 62,
"column": 33
},
"end": {
"line": 62,
"column": 49
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2196,
"end": 2197,
"loc": {
"start": {
"line": 62,
"column": 49
},
"end": {
"line": 62,
"column": 50
}
}
},
{
"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": 2197,
"end": 2201,
"loc": {
"start": {
"line": 62,
"column": 50
},
"end": {
"line": 62,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2201,
"end": 2202,
"loc": {
"start": {
"line": 62,
"column": 54
},
"end": {
"line": 62,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_domObserver",
"start": 2202,
"end": 2214,
"loc": {
"start": {
"line": 62,
"column": 55
},
"end": {
"line": 62,
"column": 67
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2214,
"end": 2215,
"loc": {
"start": {
"line": 62,
"column": 67
},
"end": {
"line": 62,
"column": 68
}
}
},
{
"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": 2220,
"end": 2224,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 63,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2224,
"end": 2225,
"loc": {
"start": {
"line": 63,
"column": 8
},
"end": {
"line": 63,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_mutationObserver",
"start": 2225,
"end": 2242,
"loc": {
"start": {
"line": 63,
"column": 9
},
"end": {
"line": 63,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2242,
"end": 2243,
"loc": {
"start": {
"line": 63,
"column": 26
},
"end": {
"line": 63,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "observe",
"start": 2243,
"end": 2250,
"loc": {
"start": {
"line": 63,
"column": 27
},
"end": {
"line": 63,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2250,
"end": 2251,
"loc": {
"start": {
"line": 63,
"column": 34
},
"end": {
"line": 63,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "target",
"start": 2251,
"end": 2257,
"loc": {
"start": {
"line": 63,
"column": 35
},
"end": {
"line": 63,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2257,
"end": 2258,
"loc": {
"start": {
"line": 63,
"column": 41
},
"end": {
"line": 63,
"column": 42
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2259,
"end": 2260,
"loc": {
"start": {
"line": 63,
"column": 43
},
"end": {
"line": 63,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "childList",
"start": 2267,
"end": 2276,
"loc": {
"start": {
"line": 64,
"column": 6
},
"end": {
"line": 64,
"column": 15
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2276,
"end": 2277,
"loc": {
"start": {
"line": 64,
"column": 15
},
"end": {
"line": 64,
"column": 16
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 2278,
"end": 2282,
"loc": {
"start": {
"line": 64,
"column": 17
},
"end": {
"line": 64,
"column": 21
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2282,
"end": 2283,
"loc": {
"start": {
"line": 64,
"column": 21
},
"end": {
"line": 64,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "attributes",
"start": 2290,
"end": 2300,
"loc": {
"start": {
"line": 65,
"column": 6
},
"end": {
"line": 65,
"column": 16
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2300,
"end": 2301,
"loc": {
"start": {
"line": 65,
"column": 16
},
"end": {
"line": 65,
"column": 17
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 2302,
"end": 2306,
"loc": {
"start": {
"line": 65,
"column": 18
},
"end": {
"line": 65,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2306,
"end": 2307,
"loc": {
"start": {
"line": 65,
"column": 22
},
"end": {
"line": 65,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "characterData",
"start": 2314,
"end": 2327,
"loc": {
"start": {
"line": 66,
"column": 6
},
"end": {
"line": 66,
"column": 19
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2327,
"end": 2328,
"loc": {
"start": {
"line": 66,
"column": 19
},
"end": {
"line": 66,
"column": 20
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 2329,
"end": 2333,
"loc": {
"start": {
"line": 66,
"column": 21
},
"end": {
"line": 66,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2333,
"end": 2334,
"loc": {
"start": {
"line": 66,
"column": 25
},
"end": {
"line": 66,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "subtree",
"start": 2341,
"end": 2348,
"loc": {
"start": {
"line": 67,
"column": 6
},
"end": {
"line": 67,
"column": 13
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2348,
"end": 2349,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 14
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 2350,
"end": 2354,
"loc": {
"start": {
"line": 67,
"column": 15
},
"end": {
"line": 67,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2359,
"end": 2360,
"loc": {
"start": {
"line": 68,
"column": 4
},
"end": {
"line": 68,
"column": 5
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2360,
"end": 2361,
"loc": {
"start": {
"line": 68,
"column": 5
},
"end": {
"line": 68,
"column": 6
}
}
},
{
"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": 2366,
"end": 2371,
"loc": {
"start": {
"line": 69,
"column": 4
},
"end": {
"line": 69,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2372,
"end": 2373,
"loc": {
"start": {
"line": 69,
"column": 10
},
"end": {
"line": 69,
"column": 11
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2374,
"end": 2375,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 2376,
"end": 2380,
"loc": {
"start": {
"line": 69,
"column": 14
},
"end": {
"line": 69,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2380,
"end": 2381,
"loc": {
"start": {
"line": 69,
"column": 18
},
"end": {
"line": 69,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_y",
"start": 2381,
"end": 2383,
"loc": {
"start": {
"line": 69,
"column": 19
},
"end": {
"line": 69,
"column": 21
}
}
},
{
"type": "CommentLine",
"value": " Force flush dom changes before Type changes are applied (they might",
"start": 2388,
"end": 2458,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 70,
"column": 74
}
}
},
{
"type": "CommentLine",
"value": " modify the dom)",
"start": 2463,
"end": 2481,
"loc": {
"start": {
"line": 71,
"column": 4
},
"end": {
"line": 71,
"column": 22
}
}
},
{
"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": 2486,
"end": 2490,
"loc": {
"start": {
"line": 72,
"column": 4
},
"end": {
"line": 72,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2490,
"end": 2491,
"loc": {
"start": {
"line": 72,
"column": 8
},
"end": {
"line": 72,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_beforeTransactionHandler",
"start": 2491,
"end": 2516,
"loc": {
"start": {
"line": 72,
"column": 9
},
"end": {
"line": 72,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2517,
"end": 2518,
"loc": {
"start": {
"line": 72,
"column": 35
},
"end": {
"line": 72,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2519,
"end": 2520,
"loc": {
"start": {
"line": 72,
"column": 37
},
"end": {
"line": 72,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2520,
"end": 2521,
"loc": {
"start": {
"line": 72,
"column": 38
},
"end": {
"line": 72,
"column": 39
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2521,
"end": 2522,
"loc": {
"start": {
"line": 72,
"column": 39
},
"end": {
"line": 72,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "transaction",
"start": 2523,
"end": 2534,
"loc": {
"start": {
"line": 72,
"column": 41
},
"end": {
"line": 72,
"column": 52
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2534,
"end": 2535,
"loc": {
"start": {
"line": 72,
"column": 52
},
"end": {
"line": 72,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remote",
"start": 2536,
"end": 2542,
"loc": {
"start": {
"line": 72,
"column": 54
},
"end": {
"line": 72,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2542,
"end": 2543,
"loc": {
"start": {
"line": 72,
"column": 60
},
"end": {
"line": 72,
"column": 61
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2544,
"end": 2546,
"loc": {
"start": {
"line": 72,
"column": 62
},
"end": {
"line": 72,
"column": 64
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2547,
"end": 2548,
"loc": {
"start": {
"line": 72,
"column": 65
},
"end": {
"line": 72,
"column": 66
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2555,
"end": 2559,
"loc": {
"start": {
"line": 73,
"column": 6
},
"end": {
"line": 73,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2559,
"end": 2560,
"loc": {
"start": {
"line": 73,
"column": 10
},
"end": {
"line": 73,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_domObserver",
"start": 2560,
"end": 2572,
"loc": {
"start": {
"line": 73,
"column": 11
},
"end": {
"line": 73,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2572,
"end": 2573,
"loc": {
"start": {
"line": 73,
"column": 23
},
"end": {
"line": 73,
"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": 2573,
"end": 2577,
"loc": {
"start": {
"line": 73,
"column": 24
},
"end": {
"line": 73,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2577,
"end": 2578,
"loc": {
"start": {
"line": 73,
"column": 28
},
"end": {
"line": 73,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_mutationObserver",
"start": 2578,
"end": 2595,
"loc": {
"start": {
"line": 73,
"column": 29
},
"end": {
"line": 73,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2595,
"end": 2596,
"loc": {
"start": {
"line": 73,
"column": 46
},
"end": {
"line": 73,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "takeRecords",
"start": 2596,
"end": 2607,
"loc": {
"start": {
"line": 73,
"column": 47
},
"end": {
"line": 73,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2607,
"end": 2608,
"loc": {
"start": {
"line": 73,
"column": 58
},
"end": {
"line": 73,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2608,
"end": 2609,
"loc": {
"start": {
"line": 73,
"column": 59
},
"end": {
"line": 73,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2609,
"end": 2610,
"loc": {
"start": {
"line": 73,
"column": 60
},
"end": {
"line": 73,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "beforeTransactionSelectionFixer",
"start": 2617,
"end": 2648,
"loc": {
"start": {
"line": 74,
"column": 6
},
"end": {
"line": 74,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2648,
"end": 2649,
"loc": {
"start": {
"line": 74,
"column": 37
},
"end": {
"line": 74,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2649,
"end": 2650,
"loc": {
"start": {
"line": 74,
"column": 38
},
"end": {
"line": 74,
"column": 39
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2650,
"end": 2651,
"loc": {
"start": {
"line": 74,
"column": 39
},
"end": {
"line": 74,
"column": 40
}
}
},
{
"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": 2652,
"end": 2656,
"loc": {
"start": {
"line": 74,
"column": 41
},
"end": {
"line": 74,
"column": 45
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2656,
"end": 2657,
"loc": {
"start": {
"line": 74,
"column": 45
},
"end": {
"line": 74,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "transaction",
"start": 2658,
"end": 2669,
"loc": {
"start": {
"line": 74,
"column": 47
},
"end": {
"line": 74,
"column": 58
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2669,
"end": 2670,
"loc": {
"start": {
"line": 74,
"column": 58
},
"end": {
"line": 74,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remote",
"start": 2671,
"end": 2677,
"loc": {
"start": {
"line": 74,
"column": 60
},
"end": {
"line": 74,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2677,
"end": 2678,
"loc": {
"start": {
"line": 74,
"column": 66
},
"end": {
"line": 74,
"column": 67
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2683,
"end": 2684,
"loc": {
"start": {
"line": 75,
"column": 4
},
"end": {
"line": 75,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2689,
"end": 2690,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 5
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2690,
"end": 2691,
"loc": {
"start": {
"line": 76,
"column": 5
},
"end": {
"line": 76,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 2691,
"end": 2693,
"loc": {
"start": {
"line": 76,
"column": 6
},
"end": {
"line": 76,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2693,
"end": 2694,
"loc": {
"start": {
"line": 76,
"column": 8
},
"end": {
"line": 76,
"column": 9
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "beforeTransaction",
"start": 2694,
"end": 2713,
"loc": {
"start": {
"line": 76,
"column": 9
},
"end": {
"line": 76,
"column": 28
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2713,
"end": 2714,
"loc": {
"start": {
"line": 76,
"column": 28
},
"end": {
"line": 76,
"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": 2715,
"end": 2719,
"loc": {
"start": {
"line": 76,
"column": 30
},
"end": {
"line": 76,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2719,
"end": 2720,
"loc": {
"start": {
"line": 76,
"column": 34
},
"end": {
"line": 76,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_beforeTransactionHandler",
"start": 2720,
"end": 2745,
"loc": {
"start": {
"line": 76,
"column": 35
},
"end": {
"line": 76,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2745,
"end": 2746,
"loc": {
"start": {
"line": 76,
"column": 60
},
"end": {
"line": 76,
"column": 61
}
}
},
{
"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": 2751,
"end": 2755,
"loc": {
"start": {
"line": 77,
"column": 4
},
"end": {
"line": 77,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2755,
"end": 2756,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_afterTransactionHandler",
"start": 2756,
"end": 2780,
"loc": {
"start": {
"line": 77,
"column": 9
},
"end": {
"line": 77,
"column": 33
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2781,
"end": 2782,
"loc": {
"start": {
"line": 77,
"column": 34
},
"end": {
"line": 77,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2783,
"end": 2784,
"loc": {
"start": {
"line": 77,
"column": 36
},
"end": {
"line": 77,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2784,
"end": 2785,
"loc": {
"start": {
"line": 77,
"column": 37
},
"end": {
"line": 77,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2785,
"end": 2786,
"loc": {
"start": {
"line": 77,
"column": 38
},
"end": {
"line": 77,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "transaction",
"start": 2787,
"end": 2798,
"loc": {
"start": {
"line": 77,
"column": 40
},
"end": {
"line": 77,
"column": 51
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2798,
"end": 2799,
"loc": {
"start": {
"line": 77,
"column": 51
},
"end": {
"line": 77,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remote",
"start": 2800,
"end": 2806,
"loc": {
"start": {
"line": 77,
"column": 53
},
"end": {
"line": 77,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2806,
"end": 2807,
"loc": {
"start": {
"line": 77,
"column": 59
},
"end": {
"line": 77,
"column": 60
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2808,
"end": 2810,
"loc": {
"start": {
"line": 77,
"column": 61
},
"end": {
"line": 77,
"column": 63
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2811,
"end": 2812,
"loc": {
"start": {
"line": 77,
"column": 64
},
"end": {
"line": 77,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "afterTransactionSelectionFixer",
"start": 2819,
"end": 2849,
"loc": {
"start": {
"line": 78,
"column": 6
},
"end": {
"line": 78,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2849,
"end": 2850,
"loc": {
"start": {
"line": 78,
"column": 36
},
"end": {
"line": 78,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2850,
"end": 2851,
"loc": {
"start": {
"line": 78,
"column": 37
},
"end": {
"line": 78,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2851,
"end": 2852,
"loc": {
"start": {
"line": 78,
"column": 38
},
"end": {
"line": 78,
"column": 39
}
}
},
{
"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": 2853,
"end": 2857,
"loc": {
"start": {
"line": 78,
"column": 40
},
"end": {
"line": 78,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2857,
"end": 2858,
"loc": {
"start": {
"line": 78,
"column": 44
},
"end": {
"line": 78,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "transaction",
"start": 2859,
"end": 2870,
"loc": {
"start": {
"line": 78,
"column": 46
},
"end": {
"line": 78,
"column": 57
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2870,
"end": 2871,
"loc": {
"start": {
"line": 78,
"column": 57
},
"end": {
"line": 78,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remote",
"start": 2872,
"end": 2878,
"loc": {
"start": {
"line": 78,
"column": 59
},
"end": {
"line": 78,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2878,
"end": 2879,
"loc": {
"start": {
"line": 78,
"column": 65
},
"end": {
"line": 78,
"column": 66
}
}
},
{
"type": "CommentLine",
"value": " remove associations",
"start": 2886,
"end": 2908,
"loc": {
"start": {
"line": 79,
"column": 6
},
"end": {
"line": 79,
"column": 28
}
}
},
{
"type": "CommentLine",
"value": " TODO: this could be done more efficiently",
"start": 2915,
"end": 2959,
"loc": {
"start": {
"line": 80,
"column": 6
},
"end": {
"line": 80,
"column": 50
}
}
},
{
"type": "CommentLine",
"value": " e.g. Always delete using the following approach, or removeAssociation",
"start": 2966,
"end": 3038,
"loc": {
"start": {
"line": 81,
"column": 6
},
"end": {
"line": 81,
"column": 78
}
}
},
{
"type": "CommentLine",
"value": " in dom/type-observer..",
"start": 3045,
"end": 3070,
"loc": {
"start": {
"line": 82,
"column": 6
},
"end": {
"line": 82,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "transaction",
"start": 3077,
"end": 3088,
"loc": {
"start": {
"line": 83,
"column": 6
},
"end": {
"line": 83,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3088,
"end": 3089,
"loc": {
"start": {
"line": 83,
"column": 17
},
"end": {
"line": 83,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deletedStructs",
"start": 3089,
"end": 3103,
"loc": {
"start": {
"line": 83,
"column": 18
},
"end": {
"line": 83,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3103,
"end": 3104,
"loc": {
"start": {
"line": 83,
"column": 32
},
"end": {
"line": 83,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "forEach",
"start": 3104,
"end": 3111,
"loc": {
"start": {
"line": 83,
"column": 33
},
"end": {
"line": 83,
"column": 40
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3111,
"end": 3112,
"loc": {
"start": {
"line": 83,
"column": 40
},
"end": {
"line": 83,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 3112,
"end": 3116,
"loc": {
"start": {
"line": 83,
"column": 41
},
"end": {
"line": 83,
"column": 45
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3117,
"end": 3119,
"loc": {
"start": {
"line": 83,
"column": 46
},
"end": {
"line": 83,
"column": 48
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3120,
"end": 3121,
"loc": {
"start": {
"line": 83,
"column": 49
},
"end": {
"line": 83,
"column": 50
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 3130,
"end": 3135,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dom",
"start": 3136,
"end": 3139,
"loc": {
"start": {
"line": 84,
"column": 14
},
"end": {
"line": 84,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3140,
"end": 3141,
"loc": {
"start": {
"line": 84,
"column": 18
},
"end": {
"line": 84,
"column": 19
}
}
},
{
"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": 3142,
"end": 3146,
"loc": {
"start": {
"line": 84,
"column": 20
},
"end": {
"line": 84,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3146,
"end": 3147,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "typeToDom",
"start": 3147,
"end": 3156,
"loc": {
"start": {
"line": 84,
"column": 25
},
"end": {
"line": 84,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3156,
"end": 3157,
"loc": {
"start": {
"line": 84,
"column": 34
},
"end": {
"line": 84,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 3157,
"end": 3160,
"loc": {
"start": {
"line": 84,
"column": 35
},
"end": {
"line": 84,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3160,
"end": 3161,
"loc": {
"start": {
"line": 84,
"column": 38
},
"end": {
"line": 84,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 3161,
"end": 3165,
"loc": {
"start": {
"line": 84,
"column": 39
},
"end": {
"line": 84,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3165,
"end": 3166,
"loc": {
"start": {
"line": 84,
"column": 43
},
"end": {
"line": 84,
"column": 44
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 3175,
"end": 3177,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3178,
"end": 3179,
"loc": {
"start": {
"line": 85,
"column": 11
},
"end": {
"line": 85,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dom",
"start": 3179,
"end": 3182,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 15
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 3183,
"end": 3186,
"loc": {
"start": {
"line": 85,
"column": 16
},
"end": {
"line": 85,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 3187,
"end": 3196,
"loc": {
"start": {
"line": 85,
"column": 20
},
"end": {
"line": 85,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3196,
"end": 3197,
"loc": {
"start": {
"line": 85,
"column": 29
},
"end": {
"line": 85,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3198,
"end": 3199,
"loc": {
"start": {
"line": 85,
"column": 31
},
"end": {
"line": 85,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "removeAssociation",
"start": 3210,
"end": 3227,
"loc": {
"start": {
"line": 86,
"column": 10
},
"end": {
"line": 86,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3227,
"end": 3228,
"loc": {
"start": {
"line": 86,
"column": 27
},
"end": {
"line": 86,
"column": 28
}
}
},
{
"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": 3228,
"end": 3232,
"loc": {
"start": {
"line": 86,
"column": 28
},
"end": {
"line": 86,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3232,
"end": 3233,
"loc": {
"start": {
"line": 86,
"column": 32
},
"end": {
"line": 86,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dom",
"start": 3234,
"end": 3237,
"loc": {
"start": {
"line": 86,
"column": 34
},
"end": {
"line": 86,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3237,
"end": 3238,
"loc": {
"start": {
"line": 86,
"column": 37
},
"end": {
"line": 86,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 3239,
"end": 3243,
"loc": {
"start": {
"line": 86,
"column": 39
},
"end": {
"line": 86,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3243,
"end": 3244,
"loc": {
"start": {
"line": 86,
"column": 43
},
"end": {
"line": 86,
"column": 44
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3253,
"end": 3254,
"loc": {
"start": {
"line": 87,
"column": 8
},
"end": {
"line": 87,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3261,
"end": 3262,
"loc": {
"start": {
"line": 88,
"column": 6
},
"end": {
"line": 88,
"column": 7
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3262,
"end": 3263,
"loc": {
"start": {
"line": 88,
"column": 7
},
"end": {
"line": 88,
"column": 8
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3268,
"end": 3269,
"loc": {
"start": {
"line": 89,
"column": 4
},
"end": {
"line": 89,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3274,
"end": 3275,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 90,
"column": 5
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3275,
"end": 3276,
"loc": {
"start": {
"line": 90,
"column": 5
},
"end": {
"line": 90,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 3276,
"end": 3278,
"loc": {
"start": {
"line": 90,
"column": 6
},
"end": {
"line": 90,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3278,
"end": 3279,
"loc": {
"start": {
"line": 90,
"column": 8
},
"end": {
"line": 90,
"column": 9
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "afterTransaction",
"start": 3279,
"end": 3297,
"loc": {
"start": {
"line": 90,
"column": 9
},
"end": {
"line": 90,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3297,
"end": 3298,
"loc": {
"start": {
"line": 90,
"column": 27
},
"end": {
"line": 90,
"column": 28
}
}
},
{
"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": 3299,
"end": 3303,
"loc": {
"start": {
"line": 90,
"column": 29
},
"end": {
"line": 90,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3303,
"end": 3304,
"loc": {
"start": {
"line": 90,
"column": 33
},
"end": {
"line": 90,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_afterTransactionHandler",
"start": 3304,
"end": 3328,
"loc": {
"start": {
"line": 90,
"column": 34
},
"end": {
"line": 90,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3328,
"end": 3329,
"loc": {
"start": {
"line": 90,
"column": 58
},
"end": {
"line": 90,
"column": 59
}
}
},
{
"type": "CommentLine",
"value": " Before calling observers, apply dom filter to all changed and new types.",
"start": 3334,
"end": 3409,
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 91,
"column": 79
}
}
},
{
"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": 3414,
"end": 3418,
"loc": {
"start": {
"line": 92,
"column": 4
},
"end": {
"line": 92,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3418,
"end": 3419,
"loc": {
"start": {
"line": 92,
"column": 8
},
"end": {
"line": 92,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_beforeObserverCallsHandler",
"start": 3419,
"end": 3446,
"loc": {
"start": {
"line": 92,
"column": 9
},
"end": {
"line": 92,
"column": 36
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3447,
"end": 3448,
"loc": {
"start": {
"line": 92,
"column": 37
},
"end": {
"line": 92,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3449,
"end": 3450,
"loc": {
"start": {
"line": 92,
"column": 39
},
"end": {
"line": 92,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3450,
"end": 3451,
"loc": {
"start": {
"line": 92,
"column": 40
},
"end": {
"line": 92,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3451,
"end": 3452,
"loc": {
"start": {
"line": 92,
"column": 41
},
"end": {
"line": 92,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "transaction",
"start": 3453,
"end": 3464,
"loc": {
"start": {
"line": 92,
"column": 43
},
"end": {
"line": 92,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3464,
"end": 3465,
"loc": {
"start": {
"line": 92,
"column": 54
},
"end": {
"line": 92,
"column": 55
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3466,
"end": 3468,
"loc": {
"start": {
"line": 92,
"column": 56
},
"end": {
"line": 92,
"column": 58
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3469,
"end": 3470,
"loc": {
"start": {
"line": 92,
"column": 59
},
"end": {
"line": 92,
"column": 60
}
}
},
{
"type": "CommentLine",
"value": " Apply dom filter to new and changed types",
"start": 3477,
"end": 3521,
"loc": {
"start": {
"line": 93,
"column": 6
},
"end": {
"line": 93,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "transaction",
"start": 3528,
"end": 3539,
"loc": {
"start": {
"line": 94,
"column": 6
},
"end": {
"line": 94,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3539,
"end": 3540,
"loc": {
"start": {
"line": 94,
"column": 17
},
"end": {
"line": 94,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "changedTypes",
"start": 3540,
"end": 3552,
"loc": {
"start": {
"line": 94,
"column": 18
},
"end": {
"line": 94,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3552,
"end": 3553,
"loc": {
"start": {
"line": 94,
"column": 30
},
"end": {
"line": 94,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "forEach",
"start": 3553,
"end": 3560,
"loc": {
"start": {
"line": 94,
"column": 31
},
"end": {
"line": 94,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3560,
"end": 3561,
"loc": {
"start": {
"line": 94,
"column": 38
},
"end": {
"line": 94,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3561,
"end": 3562,
"loc": {
"start": {
"line": 94,
"column": 39
},
"end": {
"line": 94,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "subs",
"start": 3562,
"end": 3566,
"loc": {
"start": {
"line": 94,
"column": 40
},
"end": {
"line": 94,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3566,
"end": 3567,
"loc": {
"start": {
"line": 94,
"column": 44
},
"end": {
"line": 94,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 3568,
"end": 3572,
"loc": {
"start": {
"line": 94,
"column": 46
},
"end": {
"line": 94,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3572,
"end": 3573,
"loc": {
"start": {
"line": 94,
"column": 50
},
"end": {
"line": 94,
"column": 51
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3574,
"end": 3576,
"loc": {
"start": {
"line": 94,
"column": 52
},
"end": {
"line": 94,
"column": 54
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3577,
"end": 3578,
"loc": {
"start": {
"line": 94,
"column": 55
},
"end": {
"line": 94,
"column": 56
}
}
},
{
"type": "CommentLine",
"value": " Only check attributes. New types are filtered below.",
"start": 3587,
"end": 3642,
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 95,
"column": 63
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 3651,
"end": 3653,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 96,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3654,
"end": 3655,
"loc": {
"start": {
"line": 96,
"column": 11
},
"end": {
"line": 96,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3655,
"end": 3656,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 96,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "subs",
"start": 3656,
"end": 3660,
"loc": {
"start": {
"line": 96,
"column": 13
},
"end": {
"line": 96,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3660,
"end": 3661,
"loc": {
"start": {
"line": 96,
"column": 17
},
"end": {
"line": 96,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "size",
"start": 3661,
"end": 3665,
"loc": {
"start": {
"line": 96,
"column": 18
},
"end": {
"line": 96,
"column": 22
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 3666,
"end": 3667,
"loc": {
"start": {
"line": 96,
"column": 23
},
"end": {
"line": 96,
"column": 24
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3668,
"end": 3669,
"loc": {
"start": {
"line": 96,
"column": 25
},
"end": {
"line": 96,
"column": 26
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 3670,
"end": 3672,
"loc": {
"start": {
"line": 96,
"column": 27
},
"end": {
"line": 96,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3673,
"end": 3674,
"loc": {
"start": {
"line": 96,
"column": 30
},
"end": {
"line": 96,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "subs",
"start": 3674,
"end": 3678,
"loc": {
"start": {
"line": 96,
"column": 31
},
"end": {
"line": 96,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3678,
"end": 3679,
"loc": {
"start": {
"line": 96,
"column": 35
},
"end": {
"line": 96,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "size",
"start": 3679,
"end": 3683,
"loc": {
"start": {
"line": 96,
"column": 36
},
"end": {
"line": 96,
"column": 40
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 3684,
"end": 3687,
"loc": {
"start": {
"line": 96,
"column": 41
},
"end": {
"line": 96,
"column": 44
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3688,
"end": 3689,
"loc": {
"start": {
"line": 96,
"column": 45
},
"end": {
"line": 96,
"column": 46
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 3690,
"end": 3692,
"loc": {
"start": {
"line": 96,
"column": 47
},
"end": {
"line": 96,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "subs",
"start": 3693,
"end": 3697,
"loc": {
"start": {
"line": 96,
"column": 50
},
"end": {
"line": 96,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3697,
"end": 3698,
"loc": {
"start": {
"line": 96,
"column": 54
},
"end": {
"line": 96,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "has",
"start": 3698,
"end": 3701,
"loc": {
"start": {
"line": 96,
"column": 55
},
"end": {
"line": 96,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3701,
"end": 3702,
"loc": {
"start": {
"line": 96,
"column": 58
},
"end": {
"line": 96,
"column": 59
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 3702,
"end": 3706,
"loc": {
"start": {
"line": 96,
"column": 59
},
"end": {
"line": 96,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3706,
"end": 3707,
"loc": {
"start": {
"line": 96,
"column": 63
},
"end": {
"line": 96,
"column": 64
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 3708,
"end": 3711,
"loc": {
"start": {
"line": 96,
"column": 65
},
"end": {
"line": 96,
"column": 68
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 3712,
"end": 3717,
"loc": {
"start": {
"line": 96,
"column": 69
},
"end": {
"line": 96,
"column": 74
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3717,
"end": 3718,
"loc": {
"start": {
"line": 96,
"column": 74
},
"end": {
"line": 96,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3718,
"end": 3719,
"loc": {
"start": {
"line": 96,
"column": 75
},
"end": {
"line": 96,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3719,
"end": 3720,
"loc": {
"start": {
"line": 96,
"column": 76
},
"end": {
"line": 96,
"column": 77
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3721,
"end": 3722,
"loc": {
"start": {
"line": 96,
"column": 78
},
"end": {
"line": 96,
"column": 79
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "applyFilterOnType",
"start": 3733,
"end": 3750,
"loc": {
"start": {
"line": 97,
"column": 10
},
"end": {
"line": 97,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3750,
"end": 3751,
"loc": {
"start": {
"line": 97,
"column": 27
},
"end": {
"line": 97,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3751,
"end": 3752,
"loc": {
"start": {
"line": 97,
"column": 28
},
"end": {
"line": 97,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3752,
"end": 3753,
"loc": {
"start": {
"line": 97,
"column": 29
},
"end": {
"line": 97,
"column": 30
}
}
},
{
"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": 3754,
"end": 3758,
"loc": {
"start": {
"line": 97,
"column": 31
},
"end": {
"line": 97,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3758,
"end": 3759,
"loc": {
"start": {
"line": 97,
"column": 35
},
"end": {
"line": 97,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 3760,
"end": 3764,
"loc": {
"start": {
"line": 97,
"column": 37
},
"end": {
"line": 97,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3764,
"end": 3765,
"loc": {
"start": {
"line": 97,
"column": 41
},
"end": {
"line": 97,
"column": 42
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3774,
"end": 3775,
"loc": {
"start": {
"line": 98,
"column": 8
},
"end": {
"line": 98,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3782,
"end": 3783,
"loc": {
"start": {
"line": 99,
"column": 6
},
"end": {
"line": 99,
"column": 7
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3783,
"end": 3784,
"loc": {
"start": {
"line": 99,
"column": 7
},
"end": {
"line": 99,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "transaction",
"start": 3791,
"end": 3802,
"loc": {
"start": {
"line": 100,
"column": 6
},
"end": {
"line": 100,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3802,
"end": 3803,
"loc": {
"start": {
"line": 100,
"column": 17
},
"end": {
"line": 100,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newTypes",
"start": 3803,
"end": 3811,
"loc": {
"start": {
"line": 100,
"column": 18
},
"end": {
"line": 100,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3811,
"end": 3812,
"loc": {
"start": {
"line": 100,
"column": 26
},
"end": {
"line": 100,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "forEach",
"start": 3812,
"end": 3819,
"loc": {
"start": {
"line": 100,
"column": 27
},
"end": {
"line": 100,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3819,
"end": 3820,
"loc": {
"start": {
"line": 100,
"column": 34
},
"end": {
"line": 100,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 3820,
"end": 3824,
"loc": {
"start": {
"line": 100,
"column": 35
},
"end": {
"line": 100,
"column": 39
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3825,
"end": 3827,
"loc": {
"start": {
"line": 100,
"column": 40
},
"end": {
"line": 100,
"column": 42
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3828,
"end": 3829,
"loc": {
"start": {
"line": 100,
"column": 43
},
"end": {
"line": 100,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "applyFilterOnType",
"start": 3838,
"end": 3855,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3855,
"end": 3856,
"loc": {
"start": {
"line": 101,
"column": 25
},
"end": {
"line": 101,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3856,
"end": 3857,
"loc": {
"start": {
"line": 101,
"column": 26
},
"end": {
"line": 101,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3857,
"end": 3858,
"loc": {
"start": {
"line": 101,
"column": 27
},
"end": {
"line": 101,
"column": 28
}
}
},
{
"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": 3859,
"end": 3863,
"loc": {
"start": {
"line": 101,
"column": 29
},
"end": {
"line": 101,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3863,
"end": 3864,
"loc": {
"start": {
"line": 101,
"column": 33
},
"end": {
"line": 101,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 3865,
"end": 3869,
"loc": {
"start": {
"line": 101,
"column": 35
},
"end": {
"line": 101,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3869,
"end": 3870,
"loc": {
"start": {
"line": 101,
"column": 39
},
"end": {
"line": 101,
"column": 40
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3877,
"end": 3878,
"loc": {
"start": {
"line": 102,
"column": 6
},
"end": {
"line": 102,
"column": 7
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3878,
"end": 3879,
"loc": {
"start": {
"line": 102,
"column": 7
},
"end": {
"line": 102,
"column": 8
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3884,
"end": 3885,
"loc": {
"start": {
"line": 103,
"column": 4
},
"end": {
"line": 103,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3890,
"end": 3891,
"loc": {
"start": {
"line": 104,
"column": 4
},
"end": {
"line": 104,
"column": 5
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3891,
"end": 3892,
"loc": {
"start": {
"line": 104,
"column": 5
},
"end": {
"line": 104,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 3892,
"end": 3894,
"loc": {
"start": {
"line": 104,
"column": 6
},
"end": {
"line": 104,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3894,
"end": 3895,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 9
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "beforeObserverCalls",
"start": 3895,
"end": 3916,
"loc": {
"start": {
"line": 104,
"column": 9
},
"end": {
"line": 104,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3916,
"end": 3917,
"loc": {
"start": {
"line": 104,
"column": 30
},
"end": {
"line": 104,
"column": 31
}
}
},
{
"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": 3918,
"end": 3922,
"loc": {
"start": {
"line": 104,
"column": 32
},
"end": {
"line": 104,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3922,
"end": 3923,
"loc": {
"start": {
"line": 104,
"column": 36
},
"end": {
"line": 104,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_beforeObserverCallsHandler",
"start": 3923,
"end": 3950,
"loc": {
"start": {
"line": 104,
"column": 37
},
"end": {
"line": 104,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3950,
"end": 3951,
"loc": {
"start": {
"line": 104,
"column": 64
},
"end": {
"line": 104,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createAssociation",
"start": 3956,
"end": 3973,
"loc": {
"start": {
"line": 105,
"column": 4
},
"end": {
"line": 105,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3973,
"end": 3974,
"loc": {
"start": {
"line": 105,
"column": 21
},
"end": {
"line": 105,
"column": 22
}
}
},
{
"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": 3974,
"end": 3978,
"loc": {
"start": {
"line": 105,
"column": 22
},
"end": {
"line": 105,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3978,
"end": 3979,
"loc": {
"start": {
"line": 105,
"column": 26
},
"end": {
"line": 105,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "target",
"start": 3980,
"end": 3986,
"loc": {
"start": {
"line": 105,
"column": 28
},
"end": {
"line": 105,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3986,
"end": 3987,
"loc": {
"start": {
"line": 105,
"column": 34
},
"end": {
"line": 105,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 3988,
"end": 3992,
"loc": {
"start": {
"line": 105,
"column": 36
},
"end": {
"line": 105,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3992,
"end": 3993,
"loc": {
"start": {
"line": 105,
"column": 40
},
"end": {
"line": 105,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3996,
"end": 3997,
"loc": {
"start": {
"line": 106,
"column": 2
},
"end": {
"line": 106,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Enables the smart scrolling functionality for a Dom Binding.\n * This is useful when YXml is bound to a shared editor. When activated,\n * the viewport will be changed to accommodate remote changes.\n *\n * @param {Element} scrollElement The node that is\n ",
"start": 4001,
"end": 4274,
"loc": {
"start": {
"line": 108,
"column": 2
},
"end": {
"line": 114,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enableSmartScrolling",
"start": 4277,
"end": 4297,
"loc": {
"start": {
"line": 115,
"column": 2
},
"end": {
"line": 115,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4298,
"end": 4299,
"loc": {
"start": {
"line": 115,
"column": 23
},
"end": {
"line": 115,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scrollElement",
"start": 4299,
"end": 4312,
"loc": {
"start": {
"line": 115,
"column": 24
},
"end": {
"line": 115,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4312,
"end": 4313,
"loc": {
"start": {
"line": 115,
"column": 37
},
"end": {
"line": 115,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4314,
"end": 4315,
"loc": {
"start": {
"line": 115,
"column": 39
},
"end": {
"line": 115,
"column": 40
}
}
},
{
"type": "CommentLine",
"value": " @TODO: implement smart scrolling",
"start": 4320,
"end": 4355,
"loc": {
"start": {
"line": 116,
"column": 4
},
"end": {
"line": 116,
"column": 39
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4358,
"end": 4359,
"loc": {
"start": {
"line": 117,
"column": 2
},
"end": {
"line": 117,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * NOTE: currently does not apply filter to existing elements!\n * @param {FilterFunction} filter The filter function to use from now on.\n ",
"start": 4363,
"end": 4513,
"loc": {
"start": {
"line": 119,
"column": 2
},
"end": {
"line": 122,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setFilter",
"start": 4516,
"end": 4525,
"loc": {
"start": {
"line": 123,
"column": 2
},
"end": {
"line": 123,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4526,
"end": 4527,
"loc": {
"start": {
"line": 123,
"column": 12
},
"end": {
"line": 123,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filter",
"start": 4527,
"end": 4533,
"loc": {
"start": {
"line": 123,
"column": 13
},
"end": {
"line": 123,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4533,
"end": 4534,
"loc": {
"start": {
"line": 123,
"column": 19
},
"end": {
"line": 123,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4535,
"end": 4536,
"loc": {
"start": {
"line": 123,
"column": 21
},
"end": {
"line": 123,
"column": 22
}
}
},
{
"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": 4541,
"end": 4545,
"loc": {
"start": {
"line": 124,
"column": 4
},
"end": {
"line": 124,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4545,
"end": 4546,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filter",
"start": 4546,
"end": 4552,
"loc": {
"start": {
"line": 124,
"column": 9
},
"end": {
"line": 124,
"column": 15
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4553,
"end": 4554,
"loc": {
"start": {
"line": 124,
"column": 16
},
"end": {
"line": 124,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filter",
"start": 4555,
"end": 4561,
"loc": {
"start": {
"line": 124,
"column": 18
},
"end": {
"line": 124,
"column": 24
}
}
},
{
"type": "CommentLine",
"value": " TODO: apply filter to all elements",
"start": 4566,
"end": 4603,
"loc": {
"start": {
"line": 125,
"column": 4
},
"end": {
"line": 125,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4606,
"end": 4607,
"loc": {
"start": {
"line": 126,
"column": 2
},
"end": {
"line": 126,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Remove all properties that are handled by this class.\n ",
"start": 4611,
"end": 4679,
"loc": {
"start": {
"line": 128,
"column": 2
},
"end": {
"line": 130,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destroy",
"start": 4682,
"end": 4689,
"loc": {
"start": {
"line": 131,
"column": 2
},
"end": {
"line": 131,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4690,
"end": 4691,
"loc": {
"start": {
"line": 131,
"column": 10
},
"end": {
"line": 131,
"column": 11
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4691,
"end": 4692,
"loc": {
"start": {
"line": 131,
"column": 11
},
"end": {
"line": 131,
"column": 12
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4693,
"end": 4694,
"loc": {
"start": {
"line": 131,
"column": 13
},
"end": {
"line": 131,
"column": 14
}
}
},
{
"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": 4699,
"end": 4703,
"loc": {
"start": {
"line": 132,
"column": 4
},
"end": {
"line": 132,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4703,
"end": 4704,
"loc": {
"start": {
"line": 132,
"column": 8
},
"end": {
"line": 132,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "domToType",
"start": 4704,
"end": 4713,
"loc": {
"start": {
"line": 132,
"column": 9
},
"end": {
"line": 132,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4714,
"end": 4715,
"loc": {
"start": {
"line": 132,
"column": 19
},
"end": {
"line": 132,
"column": 20
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 4716,
"end": 4720,
"loc": {
"start": {
"line": 132,
"column": 21
},
"end": {
"line": 132,
"column": 25
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4725,
"end": 4729,
"loc": {
"start": {
"line": 133,
"column": 4
},
"end": {
"line": 133,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4729,
"end": 4730,
"loc": {
"start": {
"line": 133,
"column": 8
},
"end": {
"line": 133,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "typeToDom",
"start": 4730,
"end": 4739,
"loc": {
"start": {
"line": 133,
"column": 9
},
"end": {
"line": 133,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4740,
"end": 4741,
"loc": {
"start": {
"line": 133,
"column": 19
},
"end": {
"line": 133,
"column": 20
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 4742,
"end": 4746,
"loc": {
"start": {
"line": 133,
"column": 21
},
"end": {
"line": 133,
"column": 25
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4751,
"end": 4755,
"loc": {
"start": {
"line": 134,
"column": 4
},
"end": {
"line": 134,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4755,
"end": 4756,
"loc": {
"start": {
"line": 134,
"column": 8
},
"end": {
"line": 134,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 4756,
"end": 4760,
"loc": {
"start": {
"line": 134,
"column": 9
},
"end": {
"line": 134,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4760,
"end": 4761,
"loc": {
"start": {
"line": 134,
"column": 13
},
"end": {
"line": 134,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "unobserve",
"start": 4761,
"end": 4770,
"loc": {
"start": {
"line": 134,
"column": 14
},
"end": {
"line": 134,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4770,
"end": 4771,
"loc": {
"start": {
"line": 134,
"column": 23
},
"end": {
"line": 134,
"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": 4771,
"end": 4775,
"loc": {
"start": {
"line": 134,
"column": 24
},
"end": {
"line": 134,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4775,
"end": 4776,
"loc": {
"start": {
"line": 134,
"column": 28
},
"end": {
"line": 134,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_typeObserver",
"start": 4776,
"end": 4789,
"loc": {
"start": {
"line": 134,
"column": 29
},
"end": {
"line": 134,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4789,
"end": 4790,
"loc": {
"start": {
"line": 134,
"column": 42
},
"end": {
"line": 134,
"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": 4795,
"end": 4799,
"loc": {
"start": {
"line": 135,
"column": 4
},
"end": {
"line": 135,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4799,
"end": 4800,
"loc": {
"start": {
"line": 135,
"column": 8
},
"end": {
"line": 135,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_mutationObserver",
"start": 4800,
"end": 4817,
"loc": {
"start": {
"line": 135,
"column": 9
},
"end": {
"line": 135,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4817,
"end": 4818,
"loc": {
"start": {
"line": 135,
"column": 26
},
"end": {
"line": 135,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "disconnect",
"start": 4818,
"end": 4828,
"loc": {
"start": {
"line": 135,
"column": 27
},
"end": {
"line": 135,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4828,
"end": 4829,
"loc": {
"start": {
"line": 135,
"column": 37
},
"end": {
"line": 135,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4829,
"end": 4830,
"loc": {
"start": {
"line": 135,
"column": 38
},
"end": {
"line": 135,
"column": 39
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 4835,
"end": 4840,
"loc": {
"start": {
"line": 136,
"column": 4
},
"end": {
"line": 136,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 4841,
"end": 4842,
"loc": {
"start": {
"line": 136,
"column": 10
},
"end": {
"line": 136,
"column": 11
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4843,
"end": 4844,
"loc": {
"start": {
"line": 136,
"column": 12
},
"end": {
"line": 136,
"column": 13
}
}
},
{
"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": 4845,
"end": 4849,
"loc": {
"start": {
"line": 136,
"column": 14
},
"end": {
"line": 136,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4849,
"end": 4850,
"loc": {
"start": {
"line": 136,
"column": 18
},
"end": {
"line": 136,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "type",
"start": 4850,
"end": 4854,
"loc": {
"start": {
"line": 136,
"column": 19
},
"end": {
"line": 136,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4854,
"end": 4855,
"loc": {
"start": {
"line": 136,
"column": 23
},
"end": {
"line": 136,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_y",
"start": 4855,
"end": 4857,
"loc": {
"start": {
"line": 136,
"column": 24
},
"end": {
"line": 136,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 4862,
"end": 4863,
"loc": {
"start": {
"line": 137,
"column": 4
},
"end": {
"line": 137,
"column": 5
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4863,
"end": 4864,
"loc": {
"start": {
"line": 137,
"column": 5
},
"end": {
"line": 137,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "off",
"start": 4864,
"end": 4867,
"loc": {
"start": {
"line": 137,
"column": 6
},
"end": {
"line": 137,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4867,
"end": 4868,
"loc": {
"start": {
"line": 137,
"column": 9
},
"end": {
"line": 137,
"column": 10
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "beforeTransaction",
"start": 4868,
"end": 4887,
"loc": {
"start": {
"line": 137,
"column": 10
},
"end": {
"line": 137,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4887,
"end": 4888,
"loc": {
"start": {
"line": 137,
"column": 29
},
"end": {
"line": 137,
"column": 30
}
}
},
{
"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": 4889,
"end": 4893,
"loc": {
"start": {
"line": 137,
"column": 31
},
"end": {
"line": 137,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4893,
"end": 4894,
"loc": {
"start": {
"line": 137,
"column": 35
},
"end": {
"line": 137,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_beforeTransactionHandler",
"start": 4894,
"end": 4919,
"loc": {
"start": {
"line": 137,
"column": 36
},
"end": {
"line": 137,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4919,
"end": 4920,
"loc": {
"start": {
"line": 137,
"column": 61
},
"end": {
"line": 137,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 4925,
"end": 4926,
"loc": {
"start": {
"line": 138,
"column": 4
},
"end": {
"line": 138,
"column": 5
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4926,
"end": 4927,
"loc": {
"start": {
"line": 138,
"column": 5
},
"end": {
"line": 138,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "off",
"start": 4927,
"end": 4930,
"loc": {
"start": {
"line": 138,
"column": 6
},
"end": {
"line": 138,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4930,
"end": 4931,
"loc": {
"start": {
"line": 138,
"column": 9
},
"end": {
"line": 138,
"column": 10
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "beforeObserverCalls",
"start": 4931,
"end": 4952,
"loc": {
"start": {
"line": 138,
"column": 10
},
"end": {
"line": 138,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4952,
"end": 4953,
"loc": {
"start": {
"line": 138,
"column": 31
},
"end": {
"line": 138,
"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": 4954,
"end": 4958,
"loc": {
"start": {
"line": 138,
"column": 33
},
"end": {
"line": 138,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4958,
"end": 4959,
"loc": {
"start": {
"line": 138,
"column": 37
},
"end": {
"line": 138,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_beforeObserverCallsHandler",
"start": 4959,
"end": 4986,
"loc": {
"start": {
"line": 138,
"column": 38
},
"end": {
"line": 138,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4986,
"end": 4987,
"loc": {
"start": {
"line": 138,
"column": 65
},
"end": {
"line": 138,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 4992,
"end": 4993,
"loc": {
"start": {
"line": 139,
"column": 4
},
"end": {
"line": 139,
"column": 5
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4993,
"end": 4994,
"loc": {
"start": {
"line": 139,
"column": 5
},
"end": {
"line": 139,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "off",
"start": 4994,
"end": 4997,
"loc": {
"start": {
"line": 139,
"column": 6
},
"end": {
"line": 139,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4997,
"end": 4998,
"loc": {
"start": {
"line": 139,
"column": 9
},
"end": {
"line": 139,
"column": 10
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "afterObserverCalls",
"start": 4998,
"end": 5018,
"loc": {
"start": {
"line": 139,
"column": 10
},
"end": {
"line": 139,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5018,
"end": 5019,
"loc": {
"start": {
"line": 139,
"column": 30
},
"end": {
"line": 139,
"column": 31
}
}
},
{
"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": 5020,
"end": 5024,
"loc": {
"start": {
"line": 139,
"column": 32
},
"end": {
"line": 139,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5024,
"end": 5025,
"loc": {
"start": {
"line": 139,
"column": 36
},
"end": {
"line": 139,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_afterObserverCallsHandler",
"start": 5025,
"end": 5051,
"loc": {
"start": {
"line": 139,
"column": 37
},
"end": {
"line": 139,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5051,
"end": 5052,
"loc": {
"start": {
"line": 139,
"column": 63
},
"end": {
"line": 139,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 5057,
"end": 5058,
"loc": {
"start": {
"line": 140,
"column": 4
},
"end": {
"line": 140,
"column": 5
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5058,
"end": 5059,
"loc": {
"start": {
"line": 140,
"column": 5
},
"end": {
"line": 140,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "off",
"start": 5059,
"end": 5062,
"loc": {
"start": {
"line": 140,
"column": 6
},
"end": {
"line": 140,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5062,
"end": 5063,
"loc": {
"start": {
"line": 140,
"column": 9
},
"end": {
"line": 140,
"column": 10
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "afterTransaction",
"start": 5063,
"end": 5081,
"loc": {
"start": {
"line": 140,
"column": 10
},
"end": {
"line": 140,
"column": 28
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5081,
"end": 5082,
"loc": {
"start": {
"line": 140,
"column": 28
},
"end": {
"line": 140,
"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": 5083,
"end": 5087,
"loc": {
"start": {
"line": 140,
"column": 30
},
"end": {
"line": 140,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5087,
"end": 5088,
"loc": {
"start": {
"line": 140,
"column": 34
},
"end": {
"line": 140,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_afterTransactionHandler",
"start": 5088,
"end": 5112,
"loc": {
"start": {
"line": 140,
"column": 35
},
"end": {
"line": 140,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5112,
"end": 5113,
"loc": {
"start": {
"line": 140,
"column": 59
},
"end": {
"line": 140,
"column": 60
}
}
},
{
"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": 5118,
"end": 5123,
"loc": {
"start": {
"line": 141,
"column": 4
},
"end": {
"line": 141,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5123,
"end": 5124,
"loc": {
"start": {
"line": 141,
"column": 9
},
"end": {
"line": 141,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destroy",
"start": 5124,
"end": 5131,
"loc": {
"start": {
"line": 141,
"column": 10
},
"end": {
"line": 141,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5131,
"end": 5132,
"loc": {
"start": {
"line": 141,
"column": 17
},
"end": {
"line": 141,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5132,
"end": 5133,
"loc": {
"start": {
"line": 141,
"column": 18
},
"end": {
"line": 141,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5136,
"end": 5137,
"loc": {
"start": {
"line": 142,
"column": 2
},
"end": {
"line": 142,
"column": 3
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5138,
"end": 5139,
"loc": {
"start": {
"line": 143,
"column": 0
},
"end": {
"line": 143,
"column": 1
}
}
},
{
"type": "CommentBlock",
"value": "*\n * A filter defines which elements and attributes to share.\n * Return null if the node should be filtered. Otherwise return the Map of\n * accepted attributes.\n *\n * @typedef {function(nodeName: String, attrs: Map): Map|null} FilterFunction\n ",
"start": 5143,
"end": 5402,
"loc": {
"start": {
"line": 145,
"column": 2
},
"end": {
"line": 151,
"column": 5
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5403,
"end": 5403,
"loc": {
"start": {
"line": 152,
"column": 0
},
"end": {
"line": 152,
"column": 0
}
}
}
]
}