{ "type": "File", "start": 0, "end": 3835, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 125, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 3835, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 125, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 1, "end": 39, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 38 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 8, "end": 17, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 16 } }, "local": { "type": "Identifier", "start": 8, "end": 17, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 16 }, "identifierName": "domToType" }, "name": "domToType" } } ], "source": { "type": "StringLiteral", "start": 23, "end": 39, "loc": { "start": { "line": 2, "column": 22 }, "end": { "line": 2, "column": 38 } }, "extra": { "rawValue": "./domToType.js", "raw": "'./domToType.js'" }, "value": "./domToType.js", "leadingComments": null, "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Iterates items until an undeleted item is found.\n *\n * @private\n ", "start": 41, "end": 115, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 8, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 116, "end": 248, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 14, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 123, "end": 248, "loc": { "start": { "line": 9, "column": 7 }, "end": { "line": 14, "column": 1 } }, "id": { "type": "Identifier", "start": 132, "end": 153, "loc": { "start": { "line": 9, "column": 16 }, "end": { "line": 9, "column": 37 }, "identifierName": "iterateUntilUndeleted" }, "name": "iterateUntilUndeleted", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 155, "end": 159, "loc": { "start": { "line": 9, "column": 39 }, "end": { "line": 9, "column": 43 }, "identifierName": "item" }, "name": "item" } ], "body": { "type": "BlockStatement", "start": 161, "end": 248, "loc": { "start": { "line": 9, "column": 45 }, "end": { "line": 14, "column": 1 } }, "body": [ { "type": "WhileStatement", "start": 165, "end": 232, "loc": { "start": { "line": 10, "column": 2 }, "end": { "line": 12, "column": 3 } }, "test": { "type": "LogicalExpression", "start": 172, "end": 202, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 39 } }, "left": { "type": "BinaryExpression", "start": 172, "end": 185, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 22 } }, "left": { "type": "Identifier", "start": 172, "end": 176, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 13 }, "identifierName": "item" }, "name": "item" }, "operator": "!==", "right": { "type": "NullLiteral", "start": 181, "end": 185, "loc": { "start": { "line": 10, "column": 18 }, "end": { "line": 10, "column": 22 } } } }, "operator": "&&", "right": { "type": "MemberExpression", "start": 189, "end": 202, "loc": { "start": { "line": 10, "column": 26 }, "end": { "line": 10, "column": 39 } }, "object": { "type": "Identifier", "start": 189, "end": 193, "loc": { "start": { "line": 10, "column": 26 }, "end": { "line": 10, "column": 30 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 194, "end": 202, "loc": { "start": { "line": 10, "column": 31 }, "end": { "line": 10, "column": 39 }, "identifierName": "_deleted" }, "name": "_deleted" }, "computed": false } }, "body": { "type": "BlockStatement", "start": 204, "end": 232, "loc": { "start": { "line": 10, "column": 41 }, "end": { "line": 12, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 210, "end": 228, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 22 } }, "expression": { "type": "AssignmentExpression", "start": 210, "end": 228, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 22 } }, "operator": "=", "left": { "type": "Identifier", "start": 210, "end": 214, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 8 }, "identifierName": "item" }, "name": "item" }, "right": { "type": "MemberExpression", "start": 217, "end": 228, "loc": { "start": { "line": 11, "column": 11 }, "end": { "line": 11, "column": 22 } }, "object": { "type": "Identifier", "start": 217, "end": 221, "loc": { "start": { "line": 11, "column": 11 }, "end": { "line": 11, "column": 15 }, "identifierName": "item" }, "name": "item" }, "property": { "type": "Identifier", "start": 222, "end": 228, "loc": { "start": { "line": 11, "column": 16 }, "end": { "line": 11, "column": 22 }, "identifierName": "_right" }, "name": "_right" }, "computed": false } } } ], "directives": [] } }, { "type": "ReturnStatement", "start": 235, "end": 246, "loc": { "start": { "line": 13, "column": 2 }, "end": { "line": 13, "column": 13 } }, "argument": { "type": "Identifier", "start": 242, "end": 246, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 13 }, "identifierName": "item" }, "name": "item" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Iterates items until an undeleted item is found.\n *\n * @private\n ", "start": 41, "end": 115, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 8, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Removes an association (the information that a DOM element belongs to a\n * type).\n *\n * @param {DomBinding} domBinding The binding object\n * @param {Element} dom The dom that is to be associated with type\n * @param {YXmlElement|YXmlHook} type The type that is to be associated with dom\n *\n ", "start": 250, "end": 549, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 24, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Iterates items until an undeleted item is found.\n *\n * @private\n ", "start": 41, "end": 115, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 8, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Removes an association (the information that a DOM element belongs to a\n * type).\n *\n * @param {DomBinding} domBinding The binding object\n * @param {Element} dom The dom that is to be associated with type\n * @param {YXmlElement|YXmlHook} type The type that is to be associated with dom\n *\n ", "start": 250, "end": 549, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 24, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 550, "end": 682, "loc": { "start": { "line": 25, "column": 0 }, "end": { "line": 28, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 557, "end": 682, "loc": { "start": { "line": 25, "column": 7 }, "end": { "line": 28, "column": 1 } }, "id": { "type": "Identifier", "start": 566, "end": 583, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 25, "column": 33 }, "identifierName": "removeAssociation" }, "name": "removeAssociation", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 585, "end": 595, "loc": { "start": { "line": 25, "column": 35 }, "end": { "line": 25, "column": 45 }, "identifierName": "domBinding" }, "name": "domBinding" }, { "type": "Identifier", "start": 597, "end": 600, "loc": { "start": { "line": 25, "column": 47 }, "end": { "line": 25, "column": 50 }, "identifierName": "dom" }, "name": "dom" }, { "type": "Identifier", "start": 602, "end": 606, "loc": { "start": { "line": 25, "column": 52 }, "end": { "line": 25, "column": 56 }, "identifierName": "type" }, "name": "type" } ], "body": { "type": "BlockStatement", "start": 608, "end": 682, "loc": { "start": { "line": 25, "column": 58 }, "end": { "line": 28, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 612, "end": 644, "loc": { "start": { "line": 26, "column": 2 }, "end": { "line": 26, "column": 34 } }, "expression": { "type": "CallExpression", "start": 612, "end": 644, "loc": { "start": { "line": 26, "column": 2 }, "end": { "line": 26, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 612, "end": 639, "loc": { "start": { "line": 26, "column": 2 }, "end": { "line": 26, "column": 29 } }, "object": { "type": "MemberExpression", "start": 612, "end": 632, "loc": { "start": { "line": 26, "column": 2 }, "end": { "line": 26, "column": 22 } }, "object": { "type": "Identifier", "start": 612, "end": 622, "loc": { "start": { "line": 26, "column": 2 }, "end": { "line": 26, "column": 12 }, "identifierName": "domBinding" }, "name": "domBinding" }, "property": { "type": "Identifier", "start": 623, "end": 632, "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 22 }, "identifierName": "domToType" }, "name": "domToType" }, "computed": false }, "property": { "type": "Identifier", "start": 633, "end": 639, "loc": { "start": { "line": 26, "column": 23 }, "end": { "line": 26, "column": 29 }, "identifierName": "delete" }, "name": "delete" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 640, "end": 643, "loc": { "start": { "line": 26, "column": 30 }, "end": { "line": 26, "column": 33 }, "identifierName": "dom" }, "name": "dom" } ] } }, { "type": "ExpressionStatement", "start": 647, "end": 680, "loc": { "start": { "line": 27, "column": 2 }, "end": { "line": 27, "column": 35 } }, "expression": { "type": "CallExpression", "start": 647, "end": 680, "loc": { "start": { "line": 27, "column": 2 }, "end": { "line": 27, "column": 35 } }, "callee": { "type": "MemberExpression", "start": 647, "end": 674, "loc": { "start": { "line": 27, "column": 2 }, "end": { "line": 27, "column": 29 } }, "object": { "type": "MemberExpression", "start": 647, "end": 667, "loc": { "start": { "line": 27, "column": 2 }, "end": { "line": 27, "column": 22 } }, "object": { "type": "Identifier", "start": 647, "end": 657, "loc": { "start": { "line": 27, "column": 2 }, "end": { "line": 27, "column": 12 }, "identifierName": "domBinding" }, "name": "domBinding" }, "property": { "type": "Identifier", "start": 658, "end": 667, "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 27, "column": 22 }, "identifierName": "typeToDom" }, "name": "typeToDom" }, "computed": false }, "property": { "type": "Identifier", "start": 668, "end": 674, "loc": { "start": { "line": 27, "column": 23 }, "end": { "line": 27, "column": 29 }, "identifierName": "delete" }, "name": "delete" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 675, "end": 679, "loc": { "start": { "line": 27, "column": 30 }, "end": { "line": 27, "column": 34 }, "identifierName": "type" }, "name": "type" } ] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Removes an association (the information that a DOM element belongs to a\n * type).\n *\n * @param {DomBinding} domBinding The binding object\n * @param {Element} dom The dom that is to be associated with type\n * @param {YXmlElement|YXmlHook} type The type that is to be associated with dom\n *\n ", "start": 250, "end": 549, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 24, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Creates an association (the information that a DOM element belongs to a\n * type).\n *\n * @param {DomBinding} domBinding The binding object\n * @param {Element} dom The dom that is to be associated with type\n * @param {YXmlElement|YXmlHook} type The type that is to be associated with dom\n *\n ", "start": 684, "end": 983, "loc": { "start": { "line": 30, "column": 0 }, "end": { "line": 38, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Removes an association (the information that a DOM element belongs to a\n * type).\n *\n * @param {DomBinding} domBinding The binding object\n * @param {Element} dom The dom that is to be associated with type\n * @param {YXmlElement|YXmlHook} type The type that is to be associated with dom\n *\n ", "start": 250, "end": 549, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 24, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Creates an association (the information that a DOM element belongs to a\n * type).\n *\n * @param {DomBinding} domBinding The binding object\n * @param {Element} dom The dom that is to be associated with type\n * @param {YXmlElement|YXmlHook} type The type that is to be associated with dom\n *\n ", "start": 684, "end": 983, "loc": { "start": { "line": 30, "column": 0 }, "end": { "line": 38, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 984, "end": 1163, "loc": { "start": { "line": 39, "column": 0 }, "end": { "line": 44, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 991, "end": 1163, "loc": { "start": { "line": 39, "column": 7 }, "end": { "line": 44, "column": 1 } }, "id": { "type": "Identifier", "start": 1000, "end": 1017, "loc": { "start": { "line": 39, "column": 16 }, "end": { "line": 39, "column": 33 }, "identifierName": "createAssociation" }, "name": "createAssociation", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1019, "end": 1029, "loc": { "start": { "line": 39, "column": 35 }, "end": { "line": 39, "column": 45 }, "identifierName": "domBinding" }, "name": "domBinding" }, { "type": "Identifier", "start": 1031, "end": 1034, "loc": { "start": { "line": 39, "column": 47 }, "end": { "line": 39, "column": 50 }, "identifierName": "dom" }, "name": "dom" }, { "type": "Identifier", "start": 1036, "end": 1040, "loc": { "start": { "line": 39, "column": 52 }, "end": { "line": 39, "column": 56 }, "identifierName": "type" }, "name": "type" } ], "body": { "type": "BlockStatement", "start": 1042, "end": 1163, "loc": { "start": { "line": 39, "column": 58 }, "end": { "line": 44, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 1046, "end": 1161, "loc": { "start": { "line": 40, "column": 2 }, "end": { "line": 43, "column": 3 } }, "test": { "type": "BinaryExpression", "start": 1050, "end": 1074, "loc": { "start": { "line": 40, "column": 6 }, "end": { "line": 40, "column": 30 } }, "left": { "type": "Identifier", "start": 1050, "end": 1060, "loc": { "start": { "line": 40, "column": 6 }, "end": { "line": 40, "column": 16 }, "identifierName": "domBinding" }, "name": "domBinding" }, "operator": "!==", "right": { "type": "Identifier", "start": 1065, "end": 1074, "loc": { "start": { "line": 40, "column": 21 }, "end": { "line": 40, "column": 30 }, "identifierName": "undefined" }, "name": "undefined" } }, "consequent": { "type": "BlockStatement", "start": 1076, "end": 1161, "loc": { "start": { "line": 40, "column": 32 }, "end": { "line": 43, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 1082, "end": 1117, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 39 } }, "expression": { "type": "CallExpression", "start": 1082, "end": 1117, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 1082, "end": 1106, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 28 } }, "object": { "type": "MemberExpression", "start": 1082, "end": 1102, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 24 } }, "object": { "type": "Identifier", "start": 1082, "end": 1092, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 14 }, "identifierName": "domBinding" }, "name": "domBinding" }, "property": { "type": "Identifier", "start": 1093, "end": 1102, "loc": { "start": { "line": 41, "column": 15 }, "end": { "line": 41, "column": 24 }, "identifierName": "domToType" }, "name": "domToType" }, "computed": false }, "property": { "type": "Identifier", "start": 1103, "end": 1106, "loc": { "start": { "line": 41, "column": 25 }, "end": { "line": 41, "column": 28 }, "identifierName": "set" }, "name": "set" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1107, "end": 1110, "loc": { "start": { "line": 41, "column": 29 }, "end": { "line": 41, "column": 32 }, "identifierName": "dom" }, "name": "dom" }, { "type": "Identifier", "start": 1112, "end": 1116, "loc": { "start": { "line": 41, "column": 34 }, "end": { "line": 41, "column": 38 }, "identifierName": "type" }, "name": "type" } ] } }, { "type": "ExpressionStatement", "start": 1122, "end": 1157, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 39 } }, "expression": { "type": "CallExpression", "start": 1122, "end": 1157, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 39 } }, "callee": { "type": "MemberExpression", "start": 1122, "end": 1146, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 28 } }, "object": { "type": "MemberExpression", "start": 1122, "end": 1142, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 24 } }, "object": { "type": "Identifier", "start": 1122, "end": 1132, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 14 }, "identifierName": "domBinding" }, "name": "domBinding" }, "property": { "type": "Identifier", "start": 1133, "end": 1142, "loc": { "start": { "line": 42, "column": 15 }, "end": { "line": 42, "column": 24 }, "identifierName": "typeToDom" }, "name": "typeToDom" }, "computed": false }, "property": { "type": "Identifier", "start": 1143, "end": 1146, "loc": { "start": { "line": 42, "column": 25 }, "end": { "line": 42, "column": 28 }, "identifierName": "set" }, "name": "set" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1147, "end": 1151, "loc": { "start": { "line": 42, "column": 29 }, "end": { "line": 42, "column": 33 }, "identifierName": "type" }, "name": "type" }, { "type": "Identifier", "start": 1153, "end": 1156, "loc": { "start": { "line": 42, "column": 35 }, "end": { "line": 42, "column": 38 }, "identifierName": "dom" }, "name": "dom" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Creates an association (the information that a DOM element belongs to a\n * type).\n *\n * @param {DomBinding} domBinding The binding object\n * @param {Element} dom The dom that is to be associated with type\n * @param {YXmlElement|YXmlHook} type The type that is to be associated with dom\n *\n ", "start": 684, "end": 983, "loc": { "start": { "line": 30, "column": 0 }, "end": { "line": 38, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * If oldDom is associated with a type, associate newDom with the type and\n * forget about oldDom. If oldDom is not associated with any type, nothing happens.\n *\n * @param {DomBinding} domBinding The binding object\n * @param {Element} oldDom The existing dom\n * @param {Element} newDom The new dom object\n ", "start": 1165, "end": 1477, "loc": { "start": { "line": 46, "column": 0 }, "end": { "line": 53, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Creates an association (the information that a DOM element belongs to a\n * type).\n *\n * @param {DomBinding} domBinding The binding object\n * @param {Element} dom The dom that is to be associated with type\n * @param {YXmlElement|YXmlHook} type The type that is to be associated with dom\n *\n ", "start": 684, "end": 983, "loc": { "start": { "line": 30, "column": 0 }, "end": { "line": 38, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * If oldDom is associated with a type, associate newDom with the type and\n * forget about oldDom. If oldDom is not associated with any type, nothing happens.\n *\n * @param {DomBinding} domBinding The binding object\n * @param {Element} oldDom The existing dom\n * @param {Element} newDom The new dom object\n ", "start": 1165, "end": 1477, "loc": { "start": { "line": 46, "column": 0 }, "end": { "line": 53, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 1478, "end": 1768, "loc": { "start": { "line": 54, "column": 0 }, "end": { "line": 62, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 1485, "end": 1768, "loc": { "start": { "line": 54, "column": 7 }, "end": { "line": 62, "column": 1 } }, "id": { "type": "Identifier", "start": 1494, "end": 1511, "loc": { "start": { "line": 54, "column": 16 }, "end": { "line": 54, "column": 33 }, "identifierName": "switchAssociation" }, "name": "switchAssociation", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1513, "end": 1523, "loc": { "start": { "line": 54, "column": 35 }, "end": { "line": 54, "column": 45 }, "identifierName": "domBinding" }, "name": "domBinding" }, { "type": "Identifier", "start": 1525, "end": 1531, "loc": { "start": { "line": 54, "column": 47 }, "end": { "line": 54, "column": 53 }, "identifierName": "oldDom" }, "name": "oldDom" }, { "type": "Identifier", "start": 1533, "end": 1539, "loc": { "start": { "line": 54, "column": 55 }, "end": { "line": 54, "column": 61 }, "identifierName": "newDom" }, "name": "newDom" } ], "body": { "type": "BlockStatement", "start": 1541, "end": 1768, "loc": { "start": { "line": 54, "column": 63 }, "end": { "line": 62, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 1545, "end": 1766, "loc": { "start": { "line": 55, "column": 2 }, "end": { "line": 61, "column": 3 } }, "test": { "type": "BinaryExpression", "start": 1549, "end": 1573, "loc": { "start": { "line": 55, "column": 6 }, "end": { "line": 55, "column": 30 } }, "left": { "type": "Identifier", "start": 1549, "end": 1559, "loc": { "start": { "line": 55, "column": 6 }, "end": { "line": 55, "column": 16 }, "identifierName": "domBinding" }, "name": "domBinding" }, "operator": "!==", "right": { "type": "Identifier", "start": 1564, "end": 1573, "loc": { "start": { "line": 55, "column": 21 }, "end": { "line": 55, "column": 30 }, "identifierName": "undefined" }, "name": "undefined" } }, "consequent": { "type": "BlockStatement", "start": 1575, "end": 1766, "loc": { "start": { "line": 55, "column": 32 }, "end": { "line": 61, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 1581, "end": 1626, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 56, "column": 49 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1587, "end": 1626, "loc": { "start": { "line": 56, "column": 10 }, "end": { "line": 56, "column": 49 } }, "id": { "type": "Identifier", "start": 1587, "end": 1591, "loc": { "start": { "line": 56, "column": 10 }, "end": { "line": 56, "column": 14 }, "identifierName": "type" }, "name": "type" }, "init": { "type": "CallExpression", "start": 1594, "end": 1626, "loc": { "start": { "line": 56, "column": 17 }, "end": { "line": 56, "column": 49 } }, "callee": { "type": "MemberExpression", "start": 1594, "end": 1618, "loc": { "start": { "line": 56, "column": 17 }, "end": { "line": 56, "column": 41 } }, "object": { "type": "MemberExpression", "start": 1594, "end": 1614, "loc": { "start": { "line": 56, "column": 17 }, "end": { "line": 56, "column": 37 } }, "object": { "type": "Identifier", "start": 1594, "end": 1604, "loc": { "start": { "line": 56, "column": 17 }, "end": { "line": 56, "column": 27 }, "identifierName": "domBinding" }, "name": "domBinding" }, "property": { "type": "Identifier", "start": 1605, "end": 1614, "loc": { "start": { "line": 56, "column": 28 }, "end": { "line": 56, "column": 37 }, "identifierName": "domToType" }, "name": "domToType" }, "computed": false }, "property": { "type": "Identifier", "start": 1615, "end": 1618, "loc": { "start": { "line": 56, "column": 38 }, "end": { "line": 56, "column": 41 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1619, "end": 1625, "loc": { "start": { "line": 56, "column": 42 }, "end": { "line": 56, "column": 48 }, "identifierName": "oldDom" }, "name": "oldDom" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 1631, "end": 1762, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 60, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 1635, "end": 1653, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 26 } }, "left": { "type": "Identifier", "start": 1635, "end": 1639, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 12 }, "identifierName": "type" }, "name": "type" }, "operator": "!==", "right": { "type": "Identifier", "start": 1644, "end": 1653, "loc": { "start": { "line": 57, "column": 17 }, "end": { "line": 57, "column": 26 }, "identifierName": "undefined" }, "name": "undefined" } }, "consequent": { "type": "BlockStatement", "start": 1655, "end": 1762, "loc": { "start": { "line": 57, "column": 28 }, "end": { "line": 60, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1663, "end": 1706, "loc": { "start": { "line": 58, "column": 6 }, "end": { "line": 58, "column": 49 } }, "expression": { "type": "CallExpression", "start": 1663, "end": 1706, "loc": { "start": { "line": 58, "column": 6 }, "end": { "line": 58, "column": 49 } }, "callee": { "type": "Identifier", "start": 1663, "end": 1680, "loc": { "start": { "line": 58, "column": 6 }, "end": { "line": 58, "column": 23 }, "identifierName": "removeAssociation" }, "name": "removeAssociation" }, "arguments": [ { "type": "Identifier", "start": 1681, "end": 1691, "loc": { "start": { "line": 58, "column": 24 }, "end": { "line": 58, "column": 34 }, "identifierName": "domBinding" }, "name": "domBinding" }, { "type": "Identifier", "start": 1693, "end": 1699, "loc": { "start": { "line": 58, "column": 36 }, "end": { "line": 58, "column": 42 }, "identifierName": "oldDom" }, "name": "oldDom" }, { "type": "Identifier", "start": 1701, "end": 1705, "loc": { "start": { "line": 58, "column": 44 }, "end": { "line": 58, "column": 48 }, "identifierName": "type" }, "name": "type" } ] } }, { "type": "ExpressionStatement", "start": 1713, "end": 1756, "loc": { "start": { "line": 59, "column": 6 }, "end": { "line": 59, "column": 49 } }, "expression": { "type": "CallExpression", "start": 1713, "end": 1756, "loc": { "start": { "line": 59, "column": 6 }, "end": { "line": 59, "column": 49 } }, "callee": { "type": "Identifier", "start": 1713, "end": 1730, "loc": { "start": { "line": 59, "column": 6 }, "end": { "line": 59, "column": 23 }, "identifierName": "createAssociation" }, "name": "createAssociation" }, "arguments": [ { "type": "Identifier", "start": 1731, "end": 1741, "loc": { "start": { "line": 59, "column": 24 }, "end": { "line": 59, "column": 34 }, "identifierName": "domBinding" }, "name": "domBinding" }, { "type": "Identifier", "start": 1743, "end": 1749, "loc": { "start": { "line": 59, "column": 36 }, "end": { "line": 59, "column": 42 }, "identifierName": "newDom" }, "name": "newDom" }, { "type": "Identifier", "start": 1751, "end": 1755, "loc": { "start": { "line": 59, "column": 44 }, "end": { "line": 59, "column": 48 }, "identifierName": "type" }, "name": "type" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * If oldDom is associated with a type, associate newDom with the type and\n * forget about oldDom. If oldDom is not associated with any type, nothing happens.\n *\n * @param {DomBinding} domBinding The binding object\n * @param {Element} oldDom The existing dom\n * @param {Element} newDom The new dom object\n ", "start": 1165, "end": 1477, "loc": { "start": { "line": 46, "column": 0 }, "end": { "line": 53, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Insert Dom Elements after one of the children of this YXmlFragment.\n * The Dom elements will be bound to a new YXmlElement and inserted at the\n * specified position.\n *\n * @param {YXmlElement} type The type in which to insert DOM elements.\n * @param {YXmlElement|null} prev The reference node. New YxmlElements are\n * inserted after this node. Set null to insert at\n * the beginning.\n * @param {Array} doms The Dom elements to insert.\n * @param {?Document} _document Optional. Provide the global document object.\n * @param {DomBinding} binding The dom binding\n * @return {Array} The YxmlElements that are inserted.\n *\n * @private\n ", "start": 1770, "end": 2484, "loc": { "start": { "line": 64, "column": 0 }, "end": { "line": 79, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * If oldDom is associated with a type, associate newDom with the type and\n * forget about oldDom. If oldDom is not associated with any type, nothing happens.\n *\n * @param {DomBinding} domBinding The binding object\n * @param {Element} oldDom The existing dom\n * @param {Element} newDom The new dom object\n ", "start": 1165, "end": 1477, "loc": { "start": { "line": 46, "column": 0 }, "end": { "line": 53, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Insert Dom Elements after one of the children of this YXmlFragment.\n * The Dom elements will be bound to a new YXmlElement and inserted at the\n * specified position.\n *\n * @param {YXmlElement} type The type in which to insert DOM elements.\n * @param {YXmlElement|null} prev The reference node. New YxmlElements are\n * inserted after this node. Set null to insert at\n * the beginning.\n * @param {Array} doms The Dom elements to insert.\n * @param {?Document} _document Optional. Provide the global document object.\n * @param {DomBinding} binding The dom binding\n * @return {Array} The YxmlElements that are inserted.\n *\n * @private\n ", "start": 1770, "end": 2484, "loc": { "start": { "line": 64, "column": 0 }, "end": { "line": 79, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 2485, "end": 2695, "loc": { "start": { "line": 80, "column": 0 }, "end": { "line": 83, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 2492, "end": 2695, "loc": { "start": { "line": 80, "column": 7 }, "end": { "line": 83, "column": 1 } }, "id": { "type": "Identifier", "start": 2501, "end": 2523, "loc": { "start": { "line": 80, "column": 16 }, "end": { "line": 80, "column": 38 }, "identifierName": "insertDomElementsAfter" }, "name": "insertDomElementsAfter", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2525, "end": 2529, "loc": { "start": { "line": 80, "column": 40 }, "end": { "line": 80, "column": 44 }, "identifierName": "type" }, "name": "type" }, { "type": "Identifier", "start": 2531, "end": 2535, "loc": { "start": { "line": 80, "column": 46 }, "end": { "line": 80, "column": 50 }, "identifierName": "prev" }, "name": "prev" }, { "type": "Identifier", "start": 2537, "end": 2541, "loc": { "start": { "line": 80, "column": 52 }, "end": { "line": 80, "column": 56 }, "identifierName": "doms" }, "name": "doms" }, { "type": "Identifier", "start": 2543, "end": 2552, "loc": { "start": { "line": 80, "column": 58 }, "end": { "line": 80, "column": 67 }, "identifierName": "_document" }, "name": "_document" }, { "type": "Identifier", "start": 2554, "end": 2561, "loc": { "start": { "line": 80, "column": 69 }, "end": { "line": 80, "column": 76 }, "identifierName": "binding" }, "name": "binding" } ], "body": { "type": "BlockStatement", "start": 2563, "end": 2695, "loc": { "start": { "line": 80, "column": 78 }, "end": { "line": 83, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 2567, "end": 2654, "loc": { "start": { "line": 81, "column": 2 }, "end": { "line": 81, "column": 89 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2573, "end": 2654, "loc": { "start": { "line": 81, "column": 8 }, "end": { "line": 81, "column": 89 } }, "id": { "type": "Identifier", "start": 2573, "end": 2578, "loc": { "start": { "line": 81, "column": 8 }, "end": { "line": 81, "column": 13 }, "identifierName": "types" }, "name": "types" }, "init": { "type": "CallExpression", "start": 2581, "end": 2654, "loc": { "start": { "line": 81, "column": 16 }, "end": { "line": 81, "column": 89 } }, "callee": { "type": "Identifier", "start": 2581, "end": 2592, "loc": { "start": { "line": 81, "column": 16 }, "end": { "line": 81, "column": 27 }, "identifierName": "domsToTypes" }, "name": "domsToTypes" }, "arguments": [ { "type": "Identifier", "start": 2593, "end": 2597, "loc": { "start": { "line": 81, "column": 28 }, "end": { "line": 81, "column": 32 }, "identifierName": "doms" }, "name": "doms" }, { "type": "Identifier", "start": 2599, "end": 2608, "loc": { "start": { "line": 81, "column": 34 }, "end": { "line": 81, "column": 43 }, "identifierName": "_document" }, "name": "_document" }, { "type": "MemberExpression", "start": 2610, "end": 2628, "loc": { "start": { "line": 81, "column": 45 }, "end": { "line": 81, "column": 63 } }, "object": { "type": "MemberExpression", "start": 2610, "end": 2622, "loc": { "start": { "line": 81, "column": 45 }, "end": { "line": 81, "column": 57 } }, "object": { "type": "Identifier", "start": 2610, "end": 2617, "loc": { "start": { "line": 81, "column": 45 }, "end": { "line": 81, "column": 52 }, "identifierName": "binding" }, "name": "binding" }, "property": { "type": "Identifier", "start": 2618, "end": 2622, "loc": { "start": { "line": 81, "column": 53 }, "end": { "line": 81, "column": 57 }, "identifierName": "opts" }, "name": "opts" }, "computed": false }, "property": { "type": "Identifier", "start": 2623, "end": 2628, "loc": { "start": { "line": 81, "column": 58 }, "end": { "line": 81, "column": 63 }, "identifierName": "hooks" }, "name": "hooks" }, "computed": false }, { "type": "MemberExpression", "start": 2630, "end": 2644, "loc": { "start": { "line": 81, "column": 65 }, "end": { "line": 81, "column": 79 } }, "object": { "type": "Identifier", "start": 2630, "end": 2637, "loc": { "start": { "line": 81, "column": 65 }, "end": { "line": 81, "column": 72 }, "identifierName": "binding" }, "name": "binding" }, "property": { "type": "Identifier", "start": 2638, "end": 2644, "loc": { "start": { "line": 81, "column": 73 }, "end": { "line": 81, "column": 79 }, "identifierName": "filter" }, "name": "filter" }, "computed": false }, { "type": "Identifier", "start": 2646, "end": 2653, "loc": { "start": { "line": 81, "column": 81 }, "end": { "line": 81, "column": 88 }, "identifierName": "binding" }, "name": "binding" } ] } } ], "kind": "const" }, { "type": "ReturnStatement", "start": 2657, "end": 2693, "loc": { "start": { "line": 82, "column": 2 }, "end": { "line": 82, "column": 38 } }, "argument": { "type": "CallExpression", "start": 2664, "end": 2693, "loc": { "start": { "line": 82, "column": 9 }, "end": { "line": 82, "column": 38 } }, "callee": { "type": "MemberExpression", "start": 2664, "end": 2680, "loc": { "start": { "line": 82, "column": 9 }, "end": { "line": 82, "column": 25 } }, "object": { "type": "Identifier", "start": 2664, "end": 2668, "loc": { "start": { "line": 82, "column": 9 }, "end": { "line": 82, "column": 13 }, "identifierName": "type" }, "name": "type" }, "property": { "type": "Identifier", "start": 2669, "end": 2680, "loc": { "start": { "line": 82, "column": 14 }, "end": { "line": 82, "column": 25 }, "identifierName": "insertAfter" }, "name": "insertAfter" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2681, "end": 2685, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 30 }, "identifierName": "prev" }, "name": "prev" }, { "type": "Identifier", "start": 2687, "end": 2692, "loc": { "start": { "line": 82, "column": 32 }, "end": { "line": 82, "column": 37 }, "identifierName": "types" }, "name": "types" } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Insert Dom Elements after one of the children of this YXmlFragment.\n * The Dom elements will be bound to a new YXmlElement and inserted at the\n * specified position.\n *\n * @param {YXmlElement} type The type in which to insert DOM elements.\n * @param {YXmlElement|null} prev The reference node. New YxmlElements are\n * inserted after this node. Set null to insert at\n * the beginning.\n * @param {Array} doms The Dom elements to insert.\n * @param {?Document} _document Optional. Provide the global document object.\n * @param {DomBinding} binding The dom binding\n * @return {Array} The YxmlElements that are inserted.\n *\n * @private\n ", "start": 1770, "end": 2484, "loc": { "start": { "line": 64, "column": 0 }, "end": { "line": 79, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Insert Dom Elements after one of the children of this YXmlFragment.\n * The Dom elements will be bound to a new YXmlElement and inserted at the\n * specified position.\n *\n * @param {YXmlElement} type The type in which to insert DOM elements.\n * @param {YXmlElement|null} prev The reference node. New YxmlElements are\n * inserted after this node. Set null to insert at\n * the beginning.\n * @param {Array} doms The Dom elements to insert.\n * @param {?Document} _document Optional. Provide the global document object.\n * @param {DomBinding} binding The dom binding\n * @return {Array} The YxmlElements that are inserted.\n *\n * @private\n ", "start": 1770, "end": 2484, "loc": { "start": { "line": 64, "column": 0 }, "end": { "line": 79, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 2697, "end": 2947, "loc": { "start": { "line": 85, "column": 0 }, "end": { "line": 94, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 2704, "end": 2947, "loc": { "start": { "line": 85, "column": 7 }, "end": { "line": 94, "column": 1 } }, "id": { "type": "Identifier", "start": 2713, "end": 2724, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 85, "column": 27 }, "identifierName": "domsToTypes" }, "name": "domsToTypes" }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2726, "end": 2730, "loc": { "start": { "line": 85, "column": 29 }, "end": { "line": 85, "column": 33 }, "identifierName": "doms" }, "name": "doms" }, { "type": "Identifier", "start": 2732, "end": 2741, "loc": { "start": { "line": 85, "column": 35 }, "end": { "line": 85, "column": 44 }, "identifierName": "_document" }, "name": "_document" }, { "type": "Identifier", "start": 2743, "end": 2748, "loc": { "start": { "line": 85, "column": 46 }, "end": { "line": 85, "column": 51 }, "identifierName": "hooks" }, "name": "hooks" }, { "type": "Identifier", "start": 2750, "end": 2756, "loc": { "start": { "line": 85, "column": 53 }, "end": { "line": 85, "column": 59 }, "identifierName": "filter" }, "name": "filter" }, { "type": "Identifier", "start": 2758, "end": 2765, "loc": { "start": { "line": 85, "column": 61 }, "end": { "line": 85, "column": 68 }, "identifierName": "binding" }, "name": "binding" } ], "body": { "type": "BlockStatement", "start": 2767, "end": 2947, "loc": { "start": { "line": 85, "column": 70 }, "end": { "line": 94, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 2771, "end": 2787, "loc": { "start": { "line": 86, "column": 2 }, "end": { "line": 86, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2777, "end": 2787, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 18 } }, "id": { "type": "Identifier", "start": 2777, "end": 2782, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 13 }, "identifierName": "types" }, "name": "types" }, "init": { "type": "ArrayExpression", "start": 2785, "end": 2787, "loc": { "start": { "line": 86, "column": 16 }, "end": { "line": 86, "column": 18 } }, "elements": [] } } ], "kind": "const" }, { "type": "ForOfStatement", "start": 2790, "end": 2930, "loc": { "start": { "line": 87, "column": 2 }, "end": { "line": 92, "column": 3 } }, "left": { "type": "VariableDeclaration", "start": 2795, "end": 2802, "loc": { "start": { "line": 87, "column": 7 }, "end": { "line": 87, "column": 14 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2799, "end": 2802, "loc": { "start": { "line": 87, "column": 11 }, "end": { "line": 87, "column": 14 } }, "id": { "type": "Identifier", "start": 2799, "end": 2802, "loc": { "start": { "line": 87, "column": 11 }, "end": { "line": 87, "column": 14 }, "identifierName": "dom" }, "name": "dom" }, "init": null } ], "kind": "let" }, "right": { "type": "Identifier", "start": 2806, "end": 2810, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 22 }, "identifierName": "doms" }, "name": "doms" }, "body": { "type": "BlockStatement", "start": 2812, "end": 2930, "loc": { "start": { "line": 87, "column": 24 }, "end": { "line": 92, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 2818, "end": 2877, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 63 } }, "declarations": [ { "type": "VariableDeclarator", "start": 2824, "end": 2877, "loc": { "start": { "line": 88, "column": 10 }, "end": { "line": 88, "column": 63 } }, "id": { "type": "Identifier", "start": 2824, "end": 2825, "loc": { "start": { "line": 88, "column": 10 }, "end": { "line": 88, "column": 11 }, "identifierName": "t" }, "name": "t" }, "init": { "type": "CallExpression", "start": 2828, "end": 2877, "loc": { "start": { "line": 88, "column": 14 }, "end": { "line": 88, "column": 63 } }, "callee": { "type": "Identifier", "start": 2828, "end": 2837, "loc": { "start": { "line": 88, "column": 14 }, "end": { "line": 88, "column": 23 }, "identifierName": "domToType" }, "name": "domToType" }, "arguments": [ { "type": "Identifier", "start": 2838, "end": 2841, "loc": { "start": { "line": 88, "column": 24 }, "end": { "line": 88, "column": 27 }, "identifierName": "dom" }, "name": "dom" }, { "type": "Identifier", "start": 2843, "end": 2852, "loc": { "start": { "line": 88, "column": 29 }, "end": { "line": 88, "column": 38 }, "identifierName": "_document" }, "name": "_document" }, { "type": "Identifier", "start": 2854, "end": 2859, "loc": { "start": { "line": 88, "column": 40 }, "end": { "line": 88, "column": 45 }, "identifierName": "hooks" }, "name": "hooks" }, { "type": "Identifier", "start": 2861, "end": 2867, "loc": { "start": { "line": 88, "column": 47 }, "end": { "line": 88, "column": 53 }, "identifierName": "filter" }, "name": "filter" }, { "type": "Identifier", "start": 2869, "end": 2876, "loc": { "start": { "line": 88, "column": 55 }, "end": { "line": 88, "column": 62 }, "identifierName": "binding" }, "name": "binding" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 2882, "end": 2926, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 91, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 2886, "end": 2897, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 19 } }, "left": { "type": "Identifier", "start": 2886, "end": 2887, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 9 }, "identifierName": "t" }, "name": "t" }, "operator": "!==", "right": { "type": "BooleanLiteral", "start": 2892, "end": 2897, "loc": { "start": { "line": 89, "column": 14 }, "end": { "line": 89, "column": 19 } }, "value": false } }, "consequent": { "type": "BlockStatement", "start": 2899, "end": 2926, "loc": { "start": { "line": 89, "column": 21 }, "end": { "line": 91, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2907, "end": 2920, "loc": { "start": { "line": 90, "column": 6 }, "end": { "line": 90, "column": 19 } }, "expression": { "type": "CallExpression", "start": 2907, "end": 2920, "loc": { "start": { "line": 90, "column": 6 }, "end": { "line": 90, "column": 19 } }, "callee": { "type": "MemberExpression", "start": 2907, "end": 2917, "loc": { "start": { "line": 90, "column": 6 }, "end": { "line": 90, "column": 16 } }, "object": { "type": "Identifier", "start": 2907, "end": 2912, "loc": { "start": { "line": 90, "column": 6 }, "end": { "line": 90, "column": 11 }, "identifierName": "types" }, "name": "types" }, "property": { "type": "Identifier", "start": 2913, "end": 2917, "loc": { "start": { "line": 90, "column": 12 }, "end": { "line": 90, "column": 16 }, "identifierName": "push" }, "name": "push" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 2918, "end": 2919, "loc": { "start": { "line": 90, "column": 17 }, "end": { "line": 90, "column": 18 }, "identifierName": "t" }, "name": "t" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] } }, { "type": "ReturnStatement", "start": 2933, "end": 2945, "loc": { "start": { "line": 93, "column": 2 }, "end": { "line": 93, "column": 14 } }, "argument": { "type": "Identifier", "start": 2940, "end": 2945, "loc": { "start": { "line": 93, "column": 9 }, "end": { "line": 93, "column": 14 }, "identifierName": "types" }, "name": "types" } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 2949, "end": 2968, "loc": { "start": { "line": 96, "column": 0 }, "end": { "line": 98, "column": 3 } } } ], "leadingComments": [] }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 2949, "end": 2968, "loc": { "start": { "line": 96, "column": 0 }, "end": { "line": 98, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 2969, "end": 3260, "loc": { "start": { "line": 99, "column": 0 }, "end": { "line": 106, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 2976, "end": 3260, "loc": { "start": { "line": 99, "column": 7 }, "end": { "line": 106, "column": 1 } }, "id": { "type": "Identifier", "start": 2985, "end": 3001, "loc": { "start": { "line": 99, "column": 16 }, "end": { "line": 99, "column": 32 }, "identifierName": "insertNodeHelper" }, "name": "insertNodeHelper", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3003, "end": 3007, "loc": { "start": { "line": 99, "column": 34 }, "end": { "line": 99, "column": 38 }, "identifierName": "yxml" }, "name": "yxml" }, { "type": "Identifier", "start": 3009, "end": 3025, "loc": { "start": { "line": 99, "column": 40 }, "end": { "line": 99, "column": 56 }, "identifierName": "prevExpectedNode" }, "name": "prevExpectedNode" }, { "type": "Identifier", "start": 3027, "end": 3032, "loc": { "start": { "line": 99, "column": 58 }, "end": { "line": 99, "column": 63 }, "identifierName": "child" }, "name": "child" }, { "type": "Identifier", "start": 3034, "end": 3043, "loc": { "start": { "line": 99, "column": 65 }, "end": { "line": 99, "column": 74 }, "identifierName": "_document" }, "name": "_document" }, { "type": "Identifier", "start": 3045, "end": 3052, "loc": { "start": { "line": 99, "column": 76 }, "end": { "line": 99, "column": 83 }, "identifierName": "binding" }, "name": "binding" } ], "body": { "type": "BlockStatement", "start": 3054, "end": 3260, "loc": { "start": { "line": 99, "column": 85 }, "end": { "line": 106, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 3058, "end": 3153, "loc": { "start": { "line": 100, "column": 2 }, "end": { "line": 100, "column": 97 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3062, "end": 3153, "loc": { "start": { "line": 100, "column": 6 }, "end": { "line": 100, "column": 97 } }, "id": { "type": "Identifier", "start": 3062, "end": 3075, "loc": { "start": { "line": 100, "column": 6 }, "end": { "line": 100, "column": 19 }, "identifierName": "insertedNodes" }, "name": "insertedNodes" }, "init": { "type": "CallExpression", "start": 3078, "end": 3153, "loc": { "start": { "line": 100, "column": 22 }, "end": { "line": 100, "column": 97 } }, "callee": { "type": "Identifier", "start": 3078, "end": 3100, "loc": { "start": { "line": 100, "column": 22 }, "end": { "line": 100, "column": 44 }, "identifierName": "insertDomElementsAfter" }, "name": "insertDomElementsAfter" }, "arguments": [ { "type": "Identifier", "start": 3101, "end": 3105, "loc": { "start": { "line": 100, "column": 45 }, "end": { "line": 100, "column": 49 }, "identifierName": "yxml" }, "name": "yxml" }, { "type": "Identifier", "start": 3107, "end": 3123, "loc": { "start": { "line": 100, "column": 51 }, "end": { "line": 100, "column": 67 }, "identifierName": "prevExpectedNode" }, "name": "prevExpectedNode" }, { "type": "ArrayExpression", "start": 3125, "end": 3132, "loc": { "start": { "line": 100, "column": 69 }, "end": { "line": 100, "column": 76 } }, "elements": [ { "type": "Identifier", "start": 3126, "end": 3131, "loc": { "start": { "line": 100, "column": 70 }, "end": { "line": 100, "column": 75 }, "identifierName": "child" }, "name": "child" } ] }, { "type": "Identifier", "start": 3134, "end": 3143, "loc": { "start": { "line": 100, "column": 78 }, "end": { "line": 100, "column": 87 }, "identifierName": "_document" }, "name": "_document" }, { "type": "Identifier", "start": 3145, "end": 3152, "loc": { "start": { "line": 100, "column": 89 }, "end": { "line": 100, "column": 96 }, "identifierName": "binding" }, "name": "binding" } ] } } ], "kind": "let" }, { "type": "IfStatement", "start": 3156, "end": 3258, "loc": { "start": { "line": 101, "column": 2 }, "end": { "line": 105, "column": 3 } }, "test": { "type": "BinaryExpression", "start": 3160, "end": 3184, "loc": { "start": { "line": 101, "column": 6 }, "end": { "line": 101, "column": 30 } }, "left": { "type": "MemberExpression", "start": 3160, "end": 3180, "loc": { "start": { "line": 101, "column": 6 }, "end": { "line": 101, "column": 26 } }, "object": { "type": "Identifier", "start": 3160, "end": 3173, "loc": { "start": { "line": 101, "column": 6 }, "end": { "line": 101, "column": 19 }, "identifierName": "insertedNodes" }, "name": "insertedNodes" }, "property": { "type": "Identifier", "start": 3174, "end": 3180, "loc": { "start": { "line": 101, "column": 20 }, "end": { "line": 101, "column": 26 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 3183, "end": 3184, "loc": { "start": { "line": 101, "column": 29 }, "end": { "line": 101, "column": 30 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "consequent": { "type": "BlockStatement", "start": 3186, "end": 3219, "loc": { "start": { "line": 101, "column": 32 }, "end": { "line": 103, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 3192, "end": 3215, "loc": { "start": { "line": 102, "column": 4 }, "end": { "line": 102, "column": 27 } }, "argument": { "type": "MemberExpression", "start": 3199, "end": 3215, "loc": { "start": { "line": 102, "column": 11 }, "end": { "line": 102, "column": 27 } }, "object": { "type": "Identifier", "start": 3199, "end": 3212, "loc": { "start": { "line": 102, "column": 11 }, "end": { "line": 102, "column": 24 }, "identifierName": "insertedNodes" }, "name": "insertedNodes" }, "property": { "type": "NumericLiteral", "start": 3213, "end": 3214, "loc": { "start": { "line": 102, "column": 25 }, "end": { "line": 102, "column": 26 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 }, "computed": true } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 3225, "end": 3258, "loc": { "start": { "line": 103, "column": 9 }, "end": { "line": 105, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 3231, "end": 3254, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 27 } }, "argument": { "type": "Identifier", "start": 3238, "end": 3254, "loc": { "start": { "line": 104, "column": 11 }, "end": { "line": 104, "column": 27 }, "identifierName": "prevExpectedNode" }, "name": "prevExpectedNode" } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 2949, "end": 2968, "loc": { "start": { "line": 96, "column": 0 }, "end": { "line": 98, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Remove children until `elem` is found.\n *\n * @param {Element} parent The parent of `elem` and `currentChild`.\n * @param {Element} currentChild Start removing elements with `currentChild`. If\n * `currentChild` is `elem` it won't be removed.\n * @param {Element|null} elem The elemnt to look for.\n *\n * @private\n ", "start": 3262, "end": 3611, "loc": { "start": { "line": 108, "column": 0 }, "end": { "line": 117, "column": 3 } } } ] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 2949, "end": 2968, "loc": { "start": { "line": 96, "column": 0 }, "end": { "line": 98, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Remove children until `elem` is found.\n *\n * @param {Element} parent The parent of `elem` and `currentChild`.\n * @param {Element} currentChild Start removing elements with `currentChild`. If\n * `currentChild` is `elem` it won't be removed.\n * @param {Element|null} elem The elemnt to look for.\n *\n * @private\n ", "start": 3262, "end": 3611, "loc": { "start": { "line": 108, "column": 0 }, "end": { "line": 117, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 3612, "end": 3834, "loc": { "start": { "line": 118, "column": 0 }, "end": { "line": 124, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 3619, "end": 3834, "loc": { "start": { "line": 118, "column": 7 }, "end": { "line": 124, "column": 1 } }, "id": { "type": "Identifier", "start": 3628, "end": 3662, "loc": { "start": { "line": 118, "column": 16 }, "end": { "line": 118, "column": 50 }, "identifierName": "removeDomChildrenUntilElementFound" }, "name": "removeDomChildrenUntilElementFound", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3664, "end": 3670, "loc": { "start": { "line": 118, "column": 52 }, "end": { "line": 118, "column": 58 }, "identifierName": "parent" }, "name": "parent" }, { "type": "Identifier", "start": 3672, "end": 3684, "loc": { "start": { "line": 118, "column": 60 }, "end": { "line": 118, "column": 72 }, "identifierName": "currentChild" }, "name": "currentChild" }, { "type": "Identifier", "start": 3686, "end": 3690, "loc": { "start": { "line": 118, "column": 74 }, "end": { "line": 118, "column": 78 }, "identifierName": "elem" }, "name": "elem" } ], "body": { "type": "BlockStatement", "start": 3692, "end": 3834, "loc": { "start": { "line": 118, "column": 80 }, "end": { "line": 124, "column": 1 } }, "body": [ { "type": "WhileStatement", "start": 3696, "end": 3832, "loc": { "start": { "line": 119, "column": 2 }, "end": { "line": 123, "column": 3 } }, "test": { "type": "BinaryExpression", "start": 3703, "end": 3724, "loc": { "start": { "line": 119, "column": 9 }, "end": { "line": 119, "column": 30 } }, "left": { "type": "Identifier", "start": 3703, "end": 3715, "loc": { "start": { "line": 119, "column": 9 }, "end": { "line": 119, "column": 21 }, "identifierName": "currentChild" }, "name": "currentChild" }, "operator": "!==", "right": { "type": "Identifier", "start": 3720, "end": 3724, "loc": { "start": { "line": 119, "column": 26 }, "end": { "line": 119, "column": 30 }, "identifierName": "elem" }, "name": "elem" } }, "body": { "type": "BlockStatement", "start": 3726, "end": 3832, "loc": { "start": { "line": 119, "column": 32 }, "end": { "line": 123, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 3732, "end": 3756, "loc": { "start": { "line": 120, "column": 4 }, "end": { "line": 120, "column": 28 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3738, "end": 3756, "loc": { "start": { "line": 120, "column": 10 }, "end": { "line": 120, "column": 28 } }, "id": { "type": "Identifier", "start": 3738, "end": 3741, "loc": { "start": { "line": 120, "column": 10 }, "end": { "line": 120, "column": 13 }, "identifierName": "del" }, "name": "del" }, "init": { "type": "Identifier", "start": 3744, "end": 3756, "loc": { "start": { "line": 120, "column": 16 }, "end": { "line": 120, "column": 28 }, "identifierName": "currentChild" }, "name": "currentChild" } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 3761, "end": 3800, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 43 } }, "expression": { "type": "AssignmentExpression", "start": 3761, "end": 3800, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 43 } }, "operator": "=", "left": { "type": "Identifier", "start": 3761, "end": 3773, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 16 }, "identifierName": "currentChild" }, "name": "currentChild" }, "right": { "type": "MemberExpression", "start": 3776, "end": 3800, "loc": { "start": { "line": 121, "column": 19 }, "end": { "line": 121, "column": 43 } }, "object": { "type": "Identifier", "start": 3776, "end": 3788, "loc": { "start": { "line": 121, "column": 19 }, "end": { "line": 121, "column": 31 }, "identifierName": "currentChild" }, "name": "currentChild" }, "property": { "type": "Identifier", "start": 3789, "end": 3800, "loc": { "start": { "line": 121, "column": 32 }, "end": { "line": 121, "column": 43 }, "identifierName": "nextSibling" }, "name": "nextSibling" }, "computed": false } } }, { "type": "ExpressionStatement", "start": 3805, "end": 3828, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 27 } }, "expression": { "type": "CallExpression", "start": 3805, "end": 3828, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 27 } }, "callee": { "type": "MemberExpression", "start": 3805, "end": 3823, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 22 } }, "object": { "type": "Identifier", "start": 3805, "end": 3811, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 10 }, "identifierName": "parent" }, "name": "parent" }, "property": { "type": "Identifier", "start": 3812, "end": 3823, "loc": { "start": { "line": 122, "column": 11 }, "end": { "line": 122, "column": 22 }, "identifierName": "removeChild" }, "name": "removeChild" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3824, "end": 3827, "loc": { "start": { "line": 122, "column": 23 }, "end": { "line": 122, "column": 26 }, "identifierName": "del" }, "name": "del" } ] } } ], "directives": [] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Remove children until `elem` is found.\n *\n * @param {Element} parent The parent of `elem` and `currentChild`.\n * @param {Element} currentChild Start removing elements with `currentChild`. If\n * `currentChild` is `elem` it won't be removed.\n * @param {Element|null} elem The elemnt to look for.\n *\n * @private\n ", "start": 3262, "end": 3611, "loc": { "start": { "line": 108, "column": 0 }, "end": { "line": 117, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Remove children until `elem` is found.\n *\n * @param {Element} parent The parent of `elem` and `currentChild`.\n * @param {Element} currentChild Start removing elements with `currentChild`. If\n * `currentChild` is `elem` it won't be removed.\n * @param {Element|null} elem The elemnt to look for.\n *\n * @private\n ", "start": 3262, "end": 3611, "loc": { "start": { "line": 108, "column": 0 }, "end": { "line": 117, "column": 3 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * Iterates items until an undeleted item is found.\n *\n * @private\n ", "start": 41, "end": 115, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 8, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Removes an association (the information that a DOM element belongs to a\n * type).\n *\n * @param {DomBinding} domBinding The binding object\n * @param {Element} dom The dom that is to be associated with type\n * @param {YXmlElement|YXmlHook} type The type that is to be associated with dom\n *\n ", "start": 250, "end": 549, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 24, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Creates an association (the information that a DOM element belongs to a\n * type).\n *\n * @param {DomBinding} domBinding The binding object\n * @param {Element} dom The dom that is to be associated with type\n * @param {YXmlElement|YXmlHook} type The type that is to be associated with dom\n *\n ", "start": 684, "end": 983, "loc": { "start": { "line": 30, "column": 0 }, "end": { "line": 38, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * If oldDom is associated with a type, associate newDom with the type and\n * forget about oldDom. If oldDom is not associated with any type, nothing happens.\n *\n * @param {DomBinding} domBinding The binding object\n * @param {Element} oldDom The existing dom\n * @param {Element} newDom The new dom object\n ", "start": 1165, "end": 1477, "loc": { "start": { "line": 46, "column": 0 }, "end": { "line": 53, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Insert Dom Elements after one of the children of this YXmlFragment.\n * The Dom elements will be bound to a new YXmlElement and inserted at the\n * specified position.\n *\n * @param {YXmlElement} type The type in which to insert DOM elements.\n * @param {YXmlElement|null} prev The reference node. New YxmlElements are\n * inserted after this node. Set null to insert at\n * the beginning.\n * @param {Array} doms The Dom elements to insert.\n * @param {?Document} _document Optional. Provide the global document object.\n * @param {DomBinding} binding The dom binding\n * @return {Array} The YxmlElements that are inserted.\n *\n * @private\n ", "start": 1770, "end": 2484, "loc": { "start": { "line": 64, "column": 0 }, "end": { "line": 79, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 2949, "end": 2968, "loc": { "start": { "line": 96, "column": 0 }, "end": { "line": 98, "column": 3 } } }, { "type": "CommentBlock", "value": "*\n * Remove children until `elem` is found.\n *\n * @param {Element} parent The parent of `elem` and `currentChild`.\n * @param {Element} currentChild Start removing elements with `currentChild`. If\n * `currentChild` is `elem` it won't be removed.\n * @param {Element|null} elem The elemnt to look for.\n *\n * @private\n ", "start": 3262, "end": 3611, "loc": { "start": { "line": 108, "column": 0 }, "end": { "line": 117, "column": 3 } } } ], "tokens": [ { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 1, "end": 7, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domToType", "start": 8, "end": 17, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 18, "end": 22, "loc": { "start": { "line": 2, "column": 17 }, "end": { "line": 2, "column": 21 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./domToType.js", "start": 23, "end": 39, "loc": { "start": { "line": 2, "column": 22 }, "end": { "line": 2, "column": 38 } } }, { "type": "CommentBlock", "value": "*\n * Iterates items until an undeleted item is found.\n *\n * @private\n ", "start": 41, "end": 115, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 8, "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": 116, "end": 122, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 9, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 123, "end": 131, "loc": { "start": { "line": 9, "column": 7 }, "end": { "line": 9, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "iterateUntilUndeleted", "start": 132, "end": 153, "loc": { "start": { "line": 9, "column": 16 }, "end": { "line": 9, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 154, "end": 155, "loc": { "start": { "line": 9, "column": 38 }, "end": { "line": 9, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 155, "end": 159, "loc": { "start": { "line": 9, "column": 39 }, "end": { "line": 9, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 159, "end": 160, "loc": { "start": { "line": 9, "column": 43 }, "end": { "line": 9, "column": 44 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 161, "end": 162, "loc": { "start": { "line": 9, "column": 45 }, "end": { "line": 9, "column": 46 } } }, { "type": { "label": "while", "keyword": "while", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "while", "start": 165, "end": 170, "loc": { "start": { "line": 10, "column": 2 }, "end": { "line": 10, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 171, "end": 172, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 172, "end": 176, "loc": { "start": { "line": 10, "column": 9 }, "end": { "line": 10, "column": 13 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 177, "end": 180, "loc": { "start": { "line": 10, "column": 14 }, "end": { "line": 10, "column": 17 } } }, { "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": 181, "end": 185, "loc": { "start": { "line": 10, "column": 18 }, "end": { "line": 10, "column": 22 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 186, "end": 188, "loc": { "start": { "line": 10, "column": 23 }, "end": { "line": 10, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 189, "end": 193, "loc": { "start": { "line": 10, "column": 26 }, "end": { "line": 10, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 193, "end": 194, "loc": { "start": { "line": 10, "column": 30 }, "end": { "line": 10, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_deleted", "start": 194, "end": 202, "loc": { "start": { "line": 10, "column": 31 }, "end": { "line": 10, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 202, "end": 203, "loc": { "start": { "line": 10, "column": 39 }, "end": { "line": 10, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 204, "end": 205, "loc": { "start": { "line": 10, "column": 41 }, "end": { "line": 10, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 210, "end": 214, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 8 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 215, "end": 216, "loc": { "start": { "line": 11, "column": 9 }, "end": { "line": 11, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 217, "end": 221, "loc": { "start": { "line": 11, "column": 11 }, "end": { "line": 11, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 221, "end": 222, "loc": { "start": { "line": 11, "column": 15 }, "end": { "line": 11, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_right", "start": 222, "end": 228, "loc": { "start": { "line": 11, "column": 16 }, "end": { "line": 11, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 231, "end": 232, "loc": { "start": { "line": 12, "column": 2 }, "end": { "line": 12, "column": 3 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 235, "end": 241, "loc": { "start": { "line": 13, "column": 2 }, "end": { "line": 13, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "item", "start": 242, "end": 246, "loc": { "start": { "line": 13, "column": 9 }, "end": { "line": 13, "column": 13 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 247, "end": 248, "loc": { "start": { "line": 14, "column": 0 }, "end": { "line": 14, "column": 1 } } }, { "type": "CommentBlock", "value": "*\n * Removes an association (the information that a DOM element belongs to a\n * type).\n *\n * @param {DomBinding} domBinding The binding object\n * @param {Element} dom The dom that is to be associated with type\n * @param {YXmlElement|YXmlHook} type The type that is to be associated with dom\n *\n ", "start": 250, "end": 549, "loc": { "start": { "line": 16, "column": 0 }, "end": { "line": 24, "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": 550, "end": 556, "loc": { "start": { "line": 25, "column": 0 }, "end": { "line": 25, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 557, "end": 565, "loc": { "start": { "line": 25, "column": 7 }, "end": { "line": 25, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeAssociation", "start": 566, "end": 583, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 25, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 584, "end": 585, "loc": { "start": { "line": 25, "column": 34 }, "end": { "line": 25, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domBinding", "start": 585, "end": 595, "loc": { "start": { "line": 25, "column": 35 }, "end": { "line": 25, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 595, "end": 596, "loc": { "start": { "line": 25, "column": 45 }, "end": { "line": 25, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 597, "end": 600, "loc": { "start": { "line": 25, "column": 47 }, "end": { "line": 25, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 600, "end": 601, "loc": { "start": { "line": 25, "column": 50 }, "end": { "line": 25, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 602, "end": 606, "loc": { "start": { "line": 25, "column": 52 }, "end": { "line": 25, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 606, "end": 607, "loc": { "start": { "line": 25, "column": 56 }, "end": { "line": 25, "column": 57 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 608, "end": 609, "loc": { "start": { "line": 25, "column": 58 }, "end": { "line": 25, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domBinding", "start": 612, "end": 622, "loc": { "start": { "line": 26, "column": 2 }, "end": { "line": 26, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 622, "end": 623, "loc": { "start": { "line": 26, "column": 12 }, "end": { "line": 26, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domToType", "start": 623, "end": 632, "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 632, "end": 633, "loc": { "start": { "line": 26, "column": 22 }, "end": { "line": 26, "column": 23 } } }, { "type": { "label": "delete", "keyword": "delete", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "delete", "start": 633, "end": 639, "loc": { "start": { "line": 26, "column": 23 }, "end": { "line": 26, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 639, "end": 640, "loc": { "start": { "line": 26, "column": 29 }, "end": { "line": 26, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 640, "end": 643, "loc": { "start": { "line": 26, "column": 30 }, "end": { "line": 26, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 643, "end": 644, "loc": { "start": { "line": 26, "column": 33 }, "end": { "line": 26, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domBinding", "start": 647, "end": 657, "loc": { "start": { "line": 27, "column": 2 }, "end": { "line": 27, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 657, "end": 658, "loc": { "start": { "line": 27, "column": 12 }, "end": { "line": 27, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeToDom", "start": 658, "end": 667, "loc": { "start": { "line": 27, "column": 13 }, "end": { "line": 27, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 667, "end": 668, "loc": { "start": { "line": 27, "column": 22 }, "end": { "line": 27, "column": 23 } } }, { "type": { "label": "delete", "keyword": "delete", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "delete", "start": 668, "end": 674, "loc": { "start": { "line": 27, "column": 23 }, "end": { "line": 27, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 674, "end": 675, "loc": { "start": { "line": 27, "column": 29 }, "end": { "line": 27, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 675, "end": 679, "loc": { "start": { "line": 27, "column": 30 }, "end": { "line": 27, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 679, "end": 680, "loc": { "start": { "line": 27, "column": 34 }, "end": { "line": 27, "column": 35 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 681, "end": 682, "loc": { "start": { "line": 28, "column": 0 }, "end": { "line": 28, "column": 1 } } }, { "type": "CommentBlock", "value": "*\n * Creates an association (the information that a DOM element belongs to a\n * type).\n *\n * @param {DomBinding} domBinding The binding object\n * @param {Element} dom The dom that is to be associated with type\n * @param {YXmlElement|YXmlHook} type The type that is to be associated with dom\n *\n ", "start": 684, "end": 983, "loc": { "start": { "line": 30, "column": 0 }, "end": { "line": 38, "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": 984, "end": 990, "loc": { "start": { "line": 39, "column": 0 }, "end": { "line": 39, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 991, "end": 999, "loc": { "start": { "line": 39, "column": 7 }, "end": { "line": 39, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createAssociation", "start": 1000, "end": 1017, "loc": { "start": { "line": 39, "column": 16 }, "end": { "line": 39, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1018, "end": 1019, "loc": { "start": { "line": 39, "column": 34 }, "end": { "line": 39, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domBinding", "start": 1019, "end": 1029, "loc": { "start": { "line": 39, "column": 35 }, "end": { "line": 39, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1029, "end": 1030, "loc": { "start": { "line": 39, "column": 45 }, "end": { "line": 39, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 1031, "end": 1034, "loc": { "start": { "line": 39, "column": 47 }, "end": { "line": 39, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1034, "end": 1035, "loc": { "start": { "line": 39, "column": 50 }, "end": { "line": 39, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 1036, "end": 1040, "loc": { "start": { "line": 39, "column": 52 }, "end": { "line": 39, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1040, "end": 1041, "loc": { "start": { "line": 39, "column": 56 }, "end": { "line": 39, "column": 57 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1042, "end": 1043, "loc": { "start": { "line": 39, "column": 58 }, "end": { "line": 39, "column": 59 } } }, { "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": 1046, "end": 1048, "loc": { "start": { "line": 40, "column": 2 }, "end": { "line": 40, "column": 4 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1049, "end": 1050, "loc": { "start": { "line": 40, "column": 5 }, "end": { "line": 40, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domBinding", "start": 1050, "end": 1060, "loc": { "start": { "line": 40, "column": 6 }, "end": { "line": 40, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 1061, "end": 1064, "loc": { "start": { "line": 40, "column": 17 }, "end": { "line": 40, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 1065, "end": 1074, "loc": { "start": { "line": 40, "column": 21 }, "end": { "line": 40, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1074, "end": 1075, "loc": { "start": { "line": 40, "column": 30 }, "end": { "line": 40, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1076, "end": 1077, "loc": { "start": { "line": 40, "column": 32 }, "end": { "line": 40, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domBinding", "start": 1082, "end": 1092, "loc": { "start": { "line": 41, "column": 4 }, "end": { "line": 41, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1092, "end": 1093, "loc": { "start": { "line": 41, "column": 14 }, "end": { "line": 41, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domToType", "start": 1093, "end": 1102, "loc": { "start": { "line": 41, "column": 15 }, "end": { "line": 41, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1102, "end": 1103, "loc": { "start": { "line": 41, "column": 24 }, "end": { "line": 41, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "set", "start": 1103, "end": 1106, "loc": { "start": { "line": 41, "column": 25 }, "end": { "line": 41, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1106, "end": 1107, "loc": { "start": { "line": 41, "column": 28 }, "end": { "line": 41, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 1107, "end": 1110, "loc": { "start": { "line": 41, "column": 29 }, "end": { "line": 41, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1110, "end": 1111, "loc": { "start": { "line": 41, "column": 32 }, "end": { "line": 41, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 1112, "end": 1116, "loc": { "start": { "line": 41, "column": 34 }, "end": { "line": 41, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1116, "end": 1117, "loc": { "start": { "line": 41, "column": 38 }, "end": { "line": 41, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domBinding", "start": 1122, "end": 1132, "loc": { "start": { "line": 42, "column": 4 }, "end": { "line": 42, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1132, "end": 1133, "loc": { "start": { "line": 42, "column": 14 }, "end": { "line": 42, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeToDom", "start": 1133, "end": 1142, "loc": { "start": { "line": 42, "column": 15 }, "end": { "line": 42, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1142, "end": 1143, "loc": { "start": { "line": 42, "column": 24 }, "end": { "line": 42, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "set", "start": 1143, "end": 1146, "loc": { "start": { "line": 42, "column": 25 }, "end": { "line": 42, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1146, "end": 1147, "loc": { "start": { "line": 42, "column": 28 }, "end": { "line": 42, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 1147, "end": 1151, "loc": { "start": { "line": 42, "column": 29 }, "end": { "line": 42, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1151, "end": 1152, "loc": { "start": { "line": 42, "column": 33 }, "end": { "line": 42, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 1153, "end": 1156, "loc": { "start": { "line": 42, "column": 35 }, "end": { "line": 42, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1156, "end": 1157, "loc": { "start": { "line": 42, "column": 38 }, "end": { "line": 42, "column": 39 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1160, "end": 1161, "loc": { "start": { "line": 43, "column": 2 }, "end": { "line": 43, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1162, "end": 1163, "loc": { "start": { "line": 44, "column": 0 }, "end": { "line": 44, "column": 1 } } }, { "type": "CommentBlock", "value": "*\n * If oldDom is associated with a type, associate newDom with the type and\n * forget about oldDom. If oldDom is not associated with any type, nothing happens.\n *\n * @param {DomBinding} domBinding The binding object\n * @param {Element} oldDom The existing dom\n * @param {Element} newDom The new dom object\n ", "start": 1165, "end": 1477, "loc": { "start": { "line": 46, "column": 0 }, "end": { "line": 53, "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": 1478, "end": 1484, "loc": { "start": { "line": 54, "column": 0 }, "end": { "line": 54, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 1485, "end": 1493, "loc": { "start": { "line": 54, "column": 7 }, "end": { "line": 54, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "switchAssociation", "start": 1494, "end": 1511, "loc": { "start": { "line": 54, "column": 16 }, "end": { "line": 54, "column": 33 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1512, "end": 1513, "loc": { "start": { "line": 54, "column": 34 }, "end": { "line": 54, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domBinding", "start": 1513, "end": 1523, "loc": { "start": { "line": 54, "column": 35 }, "end": { "line": 54, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1523, "end": 1524, "loc": { "start": { "line": 54, "column": 45 }, "end": { "line": 54, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oldDom", "start": 1525, "end": 1531, "loc": { "start": { "line": 54, "column": 47 }, "end": { "line": 54, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1531, "end": 1532, "loc": { "start": { "line": 54, "column": 53 }, "end": { "line": 54, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "newDom", "start": 1533, "end": 1539, "loc": { "start": { "line": 54, "column": 55 }, "end": { "line": 54, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1539, "end": 1540, "loc": { "start": { "line": 54, "column": 61 }, "end": { "line": 54, "column": 62 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1541, "end": 1542, "loc": { "start": { "line": 54, "column": 63 }, "end": { "line": 54, "column": 64 } } }, { "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": 1545, "end": 1547, "loc": { "start": { "line": 55, "column": 2 }, "end": { "line": 55, "column": 4 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1548, "end": 1549, "loc": { "start": { "line": 55, "column": 5 }, "end": { "line": 55, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domBinding", "start": 1549, "end": 1559, "loc": { "start": { "line": 55, "column": 6 }, "end": { "line": 55, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 1560, "end": 1563, "loc": { "start": { "line": 55, "column": 17 }, "end": { "line": 55, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 1564, "end": 1573, "loc": { "start": { "line": 55, "column": 21 }, "end": { "line": 55, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1573, "end": 1574, "loc": { "start": { "line": 55, "column": 30 }, "end": { "line": 55, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1575, "end": 1576, "loc": { "start": { "line": 55, "column": 32 }, "end": { "line": 55, "column": 33 } } }, { "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": 1581, "end": 1586, "loc": { "start": { "line": 56, "column": 4 }, "end": { "line": 56, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 1587, "end": 1591, "loc": { "start": { "line": 56, "column": 10 }, "end": { "line": 56, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1592, "end": 1593, "loc": { "start": { "line": 56, "column": 15 }, "end": { "line": 56, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domBinding", "start": 1594, "end": 1604, "loc": { "start": { "line": 56, "column": 17 }, "end": { "line": 56, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1604, "end": 1605, "loc": { "start": { "line": 56, "column": 27 }, "end": { "line": 56, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domToType", "start": 1605, "end": 1614, "loc": { "start": { "line": 56, "column": 28 }, "end": { "line": 56, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1614, "end": 1615, "loc": { "start": { "line": 56, "column": 37 }, "end": { "line": 56, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 1615, "end": 1618, "loc": { "start": { "line": 56, "column": 38 }, "end": { "line": 56, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1618, "end": 1619, "loc": { "start": { "line": 56, "column": 41 }, "end": { "line": 56, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oldDom", "start": 1619, "end": 1625, "loc": { "start": { "line": 56, "column": 42 }, "end": { "line": 56, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1625, "end": 1626, "loc": { "start": { "line": 56, "column": 48 }, "end": { "line": 56, "column": 49 } } }, { "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": 1631, "end": 1633, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 57, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1634, "end": 1635, "loc": { "start": { "line": 57, "column": 7 }, "end": { "line": 57, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 1635, "end": 1639, "loc": { "start": { "line": 57, "column": 8 }, "end": { "line": 57, "column": 12 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 1640, "end": 1643, "loc": { "start": { "line": 57, "column": 13 }, "end": { "line": 57, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 1644, "end": 1653, "loc": { "start": { "line": 57, "column": 17 }, "end": { "line": 57, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1653, "end": 1654, "loc": { "start": { "line": 57, "column": 26 }, "end": { "line": 57, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1655, "end": 1656, "loc": { "start": { "line": 57, "column": 28 }, "end": { "line": 57, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeAssociation", "start": 1663, "end": 1680, "loc": { "start": { "line": 58, "column": 6 }, "end": { "line": 58, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1680, "end": 1681, "loc": { "start": { "line": 58, "column": 23 }, "end": { "line": 58, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domBinding", "start": 1681, "end": 1691, "loc": { "start": { "line": 58, "column": 24 }, "end": { "line": 58, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1691, "end": 1692, "loc": { "start": { "line": 58, "column": 34 }, "end": { "line": 58, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "oldDom", "start": 1693, "end": 1699, "loc": { "start": { "line": 58, "column": 36 }, "end": { "line": 58, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1699, "end": 1700, "loc": { "start": { "line": 58, "column": 42 }, "end": { "line": 58, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 1701, "end": 1705, "loc": { "start": { "line": 58, "column": 44 }, "end": { "line": 58, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1705, "end": 1706, "loc": { "start": { "line": 58, "column": 48 }, "end": { "line": 58, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "createAssociation", "start": 1713, "end": 1730, "loc": { "start": { "line": 59, "column": 6 }, "end": { "line": 59, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1730, "end": 1731, "loc": { "start": { "line": 59, "column": 23 }, "end": { "line": 59, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domBinding", "start": 1731, "end": 1741, "loc": { "start": { "line": 59, "column": 24 }, "end": { "line": 59, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1741, "end": 1742, "loc": { "start": { "line": 59, "column": 34 }, "end": { "line": 59, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "newDom", "start": 1743, "end": 1749, "loc": { "start": { "line": 59, "column": 36 }, "end": { "line": 59, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1749, "end": 1750, "loc": { "start": { "line": 59, "column": 42 }, "end": { "line": 59, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 1751, "end": 1755, "loc": { "start": { "line": 59, "column": 44 }, "end": { "line": 59, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1755, "end": 1756, "loc": { "start": { "line": 59, "column": 48 }, "end": { "line": 59, "column": 49 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1761, "end": 1762, "loc": { "start": { "line": 60, "column": 4 }, "end": { "line": 60, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1765, "end": 1766, "loc": { "start": { "line": 61, "column": 2 }, "end": { "line": 61, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1767, "end": 1768, "loc": { "start": { "line": 62, "column": 0 }, "end": { "line": 62, "column": 1 } } }, { "type": "CommentBlock", "value": "*\n * Insert Dom Elements after one of the children of this YXmlFragment.\n * The Dom elements will be bound to a new YXmlElement and inserted at the\n * specified position.\n *\n * @param {YXmlElement} type The type in which to insert DOM elements.\n * @param {YXmlElement|null} prev The reference node. New YxmlElements are\n * inserted after this node. Set null to insert at\n * the beginning.\n * @param {Array} doms The Dom elements to insert.\n * @param {?Document} _document Optional. Provide the global document object.\n * @param {DomBinding} binding The dom binding\n * @return {Array} The YxmlElements that are inserted.\n *\n * @private\n ", "start": 1770, "end": 2484, "loc": { "start": { "line": 64, "column": 0 }, "end": { "line": 79, "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": 2485, "end": 2491, "loc": { "start": { "line": 80, "column": 0 }, "end": { "line": 80, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 2492, "end": 2500, "loc": { "start": { "line": 80, "column": 7 }, "end": { "line": 80, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insertDomElementsAfter", "start": 2501, "end": 2523, "loc": { "start": { "line": 80, "column": 16 }, "end": { "line": 80, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2524, "end": 2525, "loc": { "start": { "line": 80, "column": 39 }, "end": { "line": 80, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 2525, "end": 2529, "loc": { "start": { "line": 80, "column": 40 }, "end": { "line": 80, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2529, "end": 2530, "loc": { "start": { "line": 80, "column": 44 }, "end": { "line": 80, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prev", "start": 2531, "end": 2535, "loc": { "start": { "line": 80, "column": 46 }, "end": { "line": 80, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2535, "end": 2536, "loc": { "start": { "line": 80, "column": 50 }, "end": { "line": 80, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doms", "start": 2537, "end": 2541, "loc": { "start": { "line": 80, "column": 52 }, "end": { "line": 80, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2541, "end": 2542, "loc": { "start": { "line": 80, "column": 56 }, "end": { "line": 80, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_document", "start": 2543, "end": 2552, "loc": { "start": { "line": 80, "column": 58 }, "end": { "line": 80, "column": 67 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2552, "end": 2553, "loc": { "start": { "line": 80, "column": 67 }, "end": { "line": 80, "column": 68 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "binding", "start": 2554, "end": 2561, "loc": { "start": { "line": 80, "column": 69 }, "end": { "line": 80, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2561, "end": 2562, "loc": { "start": { "line": 80, "column": 76 }, "end": { "line": 80, "column": 77 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2563, "end": 2564, "loc": { "start": { "line": 80, "column": 78 }, "end": { "line": 80, "column": 79 } } }, { "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": 2567, "end": 2572, "loc": { "start": { "line": 81, "column": 2 }, "end": { "line": 81, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "types", "start": 2573, "end": 2578, "loc": { "start": { "line": 81, "column": 8 }, "end": { "line": 81, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2579, "end": 2580, "loc": { "start": { "line": 81, "column": 14 }, "end": { "line": 81, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domsToTypes", "start": 2581, "end": 2592, "loc": { "start": { "line": 81, "column": 16 }, "end": { "line": 81, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2592, "end": 2593, "loc": { "start": { "line": 81, "column": 27 }, "end": { "line": 81, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doms", "start": 2593, "end": 2597, "loc": { "start": { "line": 81, "column": 28 }, "end": { "line": 81, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2597, "end": 2598, "loc": { "start": { "line": 81, "column": 32 }, "end": { "line": 81, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_document", "start": 2599, "end": 2608, "loc": { "start": { "line": 81, "column": 34 }, "end": { "line": 81, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2608, "end": 2609, "loc": { "start": { "line": 81, "column": 43 }, "end": { "line": 81, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "binding", "start": 2610, "end": 2617, "loc": { "start": { "line": 81, "column": 45 }, "end": { "line": 81, "column": 52 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2617, "end": 2618, "loc": { "start": { "line": 81, "column": 52 }, "end": { "line": 81, "column": 53 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "opts", "start": 2618, "end": 2622, "loc": { "start": { "line": 81, "column": 53 }, "end": { "line": 81, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2622, "end": 2623, "loc": { "start": { "line": 81, "column": 57 }, "end": { "line": 81, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hooks", "start": 2623, "end": 2628, "loc": { "start": { "line": 81, "column": 58 }, "end": { "line": 81, "column": 63 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2628, "end": 2629, "loc": { "start": { "line": 81, "column": 63 }, "end": { "line": 81, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "binding", "start": 2630, "end": 2637, "loc": { "start": { "line": 81, "column": 65 }, "end": { "line": 81, "column": 72 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2637, "end": 2638, "loc": { "start": { "line": 81, "column": 72 }, "end": { "line": 81, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filter", "start": 2638, "end": 2644, "loc": { "start": { "line": 81, "column": 73 }, "end": { "line": 81, "column": 79 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2644, "end": 2645, "loc": { "start": { "line": 81, "column": 79 }, "end": { "line": 81, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "binding", "start": 2646, "end": 2653, "loc": { "start": { "line": 81, "column": 81 }, "end": { "line": 81, "column": 88 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2653, "end": 2654, "loc": { "start": { "line": 81, "column": 88 }, "end": { "line": 81, "column": 89 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2657, "end": 2663, "loc": { "start": { "line": 82, "column": 2 }, "end": { "line": 82, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 2664, "end": 2668, "loc": { "start": { "line": 82, "column": 9 }, "end": { "line": 82, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2668, "end": 2669, "loc": { "start": { "line": 82, "column": 13 }, "end": { "line": 82, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insertAfter", "start": 2669, "end": 2680, "loc": { "start": { "line": 82, "column": 14 }, "end": { "line": 82, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2680, "end": 2681, "loc": { "start": { "line": 82, "column": 25 }, "end": { "line": 82, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prev", "start": 2681, "end": 2685, "loc": { "start": { "line": 82, "column": 26 }, "end": { "line": 82, "column": 30 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2685, "end": 2686, "loc": { "start": { "line": 82, "column": 30 }, "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": "types", "start": 2687, "end": 2692, "loc": { "start": { "line": 82, "column": 32 }, "end": { "line": 82, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2692, "end": 2693, "loc": { "start": { "line": 82, "column": 37 }, "end": { "line": 82, "column": 38 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2694, "end": 2695, "loc": { "start": { "line": 83, "column": 0 }, "end": { "line": 83, "column": 1 } } }, { "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": 2697, "end": 2703, "loc": { "start": { "line": 85, "column": 0 }, "end": { "line": 85, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 2704, "end": 2712, "loc": { "start": { "line": 85, "column": 7 }, "end": { "line": 85, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domsToTypes", "start": 2713, "end": 2724, "loc": { "start": { "line": 85, "column": 16 }, "end": { "line": 85, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2725, "end": 2726, "loc": { "start": { "line": 85, "column": 28 }, "end": { "line": 85, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doms", "start": 2726, "end": 2730, "loc": { "start": { "line": 85, "column": 29 }, "end": { "line": 85, "column": 33 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2730, "end": 2731, "loc": { "start": { "line": 85, "column": 33 }, "end": { "line": 85, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_document", "start": 2732, "end": 2741, "loc": { "start": { "line": 85, "column": 35 }, "end": { "line": 85, "column": 44 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2741, "end": 2742, "loc": { "start": { "line": 85, "column": 44 }, "end": { "line": 85, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hooks", "start": 2743, "end": 2748, "loc": { "start": { "line": 85, "column": 46 }, "end": { "line": 85, "column": 51 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2748, "end": 2749, "loc": { "start": { "line": 85, "column": 51 }, "end": { "line": 85, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filter", "start": 2750, "end": 2756, "loc": { "start": { "line": 85, "column": 53 }, "end": { "line": 85, "column": 59 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2756, "end": 2757, "loc": { "start": { "line": 85, "column": 59 }, "end": { "line": 85, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "binding", "start": 2758, "end": 2765, "loc": { "start": { "line": 85, "column": 61 }, "end": { "line": 85, "column": 68 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2765, "end": 2766, "loc": { "start": { "line": 85, "column": 68 }, "end": { "line": 85, "column": 69 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2767, "end": 2768, "loc": { "start": { "line": 85, "column": 70 }, "end": { "line": 85, "column": 71 } } }, { "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": 2771, "end": 2776, "loc": { "start": { "line": 86, "column": 2 }, "end": { "line": 86, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "types", "start": 2777, "end": 2782, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2783, "end": 2784, "loc": { "start": { "line": 86, "column": 14 }, "end": { "line": 86, "column": 15 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2785, "end": 2786, "loc": { "start": { "line": 86, "column": 16 }, "end": { "line": 86, "column": 17 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2786, "end": 2787, "loc": { "start": { "line": 86, "column": 17 }, "end": { "line": 86, "column": 18 } } }, { "type": { "label": "for", "keyword": "for", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "for", "start": 2790, "end": 2793, "loc": { "start": { "line": 87, "column": 2 }, "end": { "line": 87, "column": 5 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2794, "end": 2795, "loc": { "start": { "line": 87, "column": 6 }, "end": { "line": 87, "column": 7 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 2795, "end": 2798, "loc": { "start": { "line": 87, "column": 7 }, "end": { "line": 87, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 2799, "end": 2802, "loc": { "start": { "line": 87, "column": 11 }, "end": { "line": 87, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "of", "start": 2803, "end": 2805, "loc": { "start": { "line": 87, "column": 15 }, "end": { "line": 87, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "doms", "start": 2806, "end": 2810, "loc": { "start": { "line": 87, "column": 18 }, "end": { "line": 87, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2810, "end": 2811, "loc": { "start": { "line": 87, "column": 22 }, "end": { "line": 87, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2812, "end": 2813, "loc": { "start": { "line": 87, "column": 24 }, "end": { "line": 87, "column": 25 } } }, { "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": 2818, "end": 2823, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "t", "start": 2824, "end": 2825, "loc": { "start": { "line": 88, "column": 10 }, "end": { "line": 88, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2826, "end": 2827, "loc": { "start": { "line": 88, "column": 12 }, "end": { "line": 88, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domToType", "start": 2828, "end": 2837, "loc": { "start": { "line": 88, "column": 14 }, "end": { "line": 88, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2837, "end": 2838, "loc": { "start": { "line": 88, "column": 23 }, "end": { "line": 88, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 2838, "end": 2841, "loc": { "start": { "line": 88, "column": 24 }, "end": { "line": 88, "column": 27 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2841, "end": 2842, "loc": { "start": { "line": 88, "column": 27 }, "end": { "line": 88, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_document", "start": 2843, "end": 2852, "loc": { "start": { "line": 88, "column": 29 }, "end": { "line": 88, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2852, "end": 2853, "loc": { "start": { "line": 88, "column": 38 }, "end": { "line": 88, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "hooks", "start": 2854, "end": 2859, "loc": { "start": { "line": 88, "column": 40 }, "end": { "line": 88, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2859, "end": 2860, "loc": { "start": { "line": 88, "column": 45 }, "end": { "line": 88, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filter", "start": 2861, "end": 2867, "loc": { "start": { "line": 88, "column": 47 }, "end": { "line": 88, "column": 53 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2867, "end": 2868, "loc": { "start": { "line": 88, "column": 53 }, "end": { "line": 88, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "binding", "start": 2869, "end": 2876, "loc": { "start": { "line": 88, "column": 55 }, "end": { "line": 88, "column": 62 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2876, "end": 2877, "loc": { "start": { "line": 88, "column": 62 }, "end": { "line": 88, "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": 2882, "end": 2884, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 89, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2885, "end": 2886, "loc": { "start": { "line": 89, "column": 7 }, "end": { "line": 89, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "t", "start": 2886, "end": 2887, "loc": { "start": { "line": 89, "column": 8 }, "end": { "line": 89, "column": 9 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 2888, "end": 2891, "loc": { "start": { "line": 89, "column": 10 }, "end": { "line": 89, "column": 13 } } }, { "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": 2892, "end": 2897, "loc": { "start": { "line": 89, "column": 14 }, "end": { "line": 89, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2897, "end": 2898, "loc": { "start": { "line": 89, "column": 19 }, "end": { "line": 89, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2899, "end": 2900, "loc": { "start": { "line": 89, "column": 21 }, "end": { "line": 89, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "types", "start": 2907, "end": 2912, "loc": { "start": { "line": 90, "column": 6 }, "end": { "line": 90, "column": 11 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2912, "end": 2913, "loc": { "start": { "line": 90, "column": 11 }, "end": { "line": 90, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 2913, "end": 2917, "loc": { "start": { "line": 90, "column": 12 }, "end": { "line": 90, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2917, "end": 2918, "loc": { "start": { "line": 90, "column": 16 }, "end": { "line": 90, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "t", "start": 2918, "end": 2919, "loc": { "start": { "line": 90, "column": 17 }, "end": { "line": 90, "column": 18 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2919, "end": 2920, "loc": { "start": { "line": 90, "column": 18 }, "end": { "line": 90, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2925, "end": 2926, "loc": { "start": { "line": 91, "column": 4 }, "end": { "line": 91, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2929, "end": 2930, "loc": { "start": { "line": 92, "column": 2 }, "end": { "line": 92, "column": 3 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2933, "end": 2939, "loc": { "start": { "line": 93, "column": 2 }, "end": { "line": 93, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "types", "start": 2940, "end": 2945, "loc": { "start": { "line": 93, "column": 9 }, "end": { "line": 93, "column": 14 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2946, "end": 2947, "loc": { "start": { "line": 94, "column": 0 }, "end": { "line": 94, "column": 1 } } }, { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 2949, "end": 2968, "loc": { "start": { "line": 96, "column": 0 }, "end": { "line": 98, "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": 2969, "end": 2975, "loc": { "start": { "line": 99, "column": 0 }, "end": { "line": 99, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 2976, "end": 2984, "loc": { "start": { "line": 99, "column": 7 }, "end": { "line": 99, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insertNodeHelper", "start": 2985, "end": 3001, "loc": { "start": { "line": 99, "column": 16 }, "end": { "line": 99, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3002, "end": 3003, "loc": { "start": { "line": 99, "column": 33 }, "end": { "line": 99, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 3003, "end": 3007, "loc": { "start": { "line": 99, "column": 34 }, "end": { "line": 99, "column": 38 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3007, "end": 3008, "loc": { "start": { "line": 99, "column": 38 }, "end": { "line": 99, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prevExpectedNode", "start": 3009, "end": 3025, "loc": { "start": { "line": 99, "column": 40 }, "end": { "line": 99, "column": 56 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3025, "end": 3026, "loc": { "start": { "line": 99, "column": 56 }, "end": { "line": 99, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "child", "start": 3027, "end": 3032, "loc": { "start": { "line": 99, "column": 58 }, "end": { "line": 99, "column": 63 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3032, "end": 3033, "loc": { "start": { "line": 99, "column": 63 }, "end": { "line": 99, "column": 64 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_document", "start": 3034, "end": 3043, "loc": { "start": { "line": 99, "column": 65 }, "end": { "line": 99, "column": 74 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3043, "end": 3044, "loc": { "start": { "line": 99, "column": 74 }, "end": { "line": 99, "column": 75 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "binding", "start": 3045, "end": 3052, "loc": { "start": { "line": 99, "column": 76 }, "end": { "line": 99, "column": 83 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3052, "end": 3053, "loc": { "start": { "line": 99, "column": 83 }, "end": { "line": 99, "column": 84 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3054, "end": 3055, "loc": { "start": { "line": 99, "column": 85 }, "end": { "line": 99, "column": 86 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 3058, "end": 3061, "loc": { "start": { "line": 100, "column": 2 }, "end": { "line": 100, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insertedNodes", "start": 3062, "end": 3075, "loc": { "start": { "line": 100, "column": 6 }, "end": { "line": 100, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3076, "end": 3077, "loc": { "start": { "line": 100, "column": 20 }, "end": { "line": 100, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insertDomElementsAfter", "start": 3078, "end": 3100, "loc": { "start": { "line": 100, "column": 22 }, "end": { "line": 100, "column": 44 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3100, "end": 3101, "loc": { "start": { "line": 100, "column": 44 }, "end": { "line": 100, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 3101, "end": 3105, "loc": { "start": { "line": 100, "column": 45 }, "end": { "line": 100, "column": 49 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3105, "end": 3106, "loc": { "start": { "line": 100, "column": 49 }, "end": { "line": 100, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prevExpectedNode", "start": 3107, "end": 3123, "loc": { "start": { "line": 100, "column": 51 }, "end": { "line": 100, "column": 67 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3123, "end": 3124, "loc": { "start": { "line": 100, "column": 67 }, "end": { "line": 100, "column": 68 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3125, "end": 3126, "loc": { "start": { "line": 100, "column": 69 }, "end": { "line": 100, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "child", "start": 3126, "end": 3131, "loc": { "start": { "line": 100, "column": 70 }, "end": { "line": 100, "column": 75 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3131, "end": 3132, "loc": { "start": { "line": 100, "column": 75 }, "end": { "line": 100, "column": 76 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3132, "end": 3133, "loc": { "start": { "line": 100, "column": 76 }, "end": { "line": 100, "column": 77 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_document", "start": 3134, "end": 3143, "loc": { "start": { "line": 100, "column": 78 }, "end": { "line": 100, "column": 87 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3143, "end": 3144, "loc": { "start": { "line": 100, "column": 87 }, "end": { "line": 100, "column": 88 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "binding", "start": 3145, "end": 3152, "loc": { "start": { "line": 100, "column": 89 }, "end": { "line": 100, "column": 96 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3152, "end": 3153, "loc": { "start": { "line": 100, "column": 96 }, "end": { "line": 100, "column": 97 } } }, { "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": 3156, "end": 3158, "loc": { "start": { "line": 101, "column": 2 }, "end": { "line": 101, "column": 4 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3159, "end": 3160, "loc": { "start": { "line": 101, "column": 5 }, "end": { "line": 101, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insertedNodes", "start": 3160, "end": 3173, "loc": { "start": { "line": 101, "column": 6 }, "end": { "line": 101, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3173, "end": 3174, "loc": { "start": { "line": 101, "column": 19 }, "end": { "line": 101, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 3174, "end": 3180, "loc": { "start": { "line": 101, "column": 20 }, "end": { "line": 101, "column": 26 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 3181, "end": 3182, "loc": { "start": { "line": 101, "column": 27 }, "end": { "line": 101, "column": 28 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 3183, "end": 3184, "loc": { "start": { "line": 101, "column": 29 }, "end": { "line": 101, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3184, "end": 3185, "loc": { "start": { "line": 101, "column": 30 }, "end": { "line": 101, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3186, "end": 3187, "loc": { "start": { "line": 101, "column": 32 }, "end": { "line": 101, "column": 33 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 3192, "end": 3198, "loc": { "start": { "line": 102, "column": 4 }, "end": { "line": 102, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insertedNodes", "start": 3199, "end": 3212, "loc": { "start": { "line": 102, "column": 11 }, "end": { "line": 102, "column": 24 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3212, "end": 3213, "loc": { "start": { "line": 102, "column": 24 }, "end": { "line": 102, "column": 25 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 3213, "end": 3214, "loc": { "start": { "line": 102, "column": 25 }, "end": { "line": 102, "column": 26 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3214, "end": 3215, "loc": { "start": { "line": 102, "column": 26 }, "end": { "line": 102, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3218, "end": 3219, "loc": { "start": { "line": 103, "column": 2 }, "end": { "line": 103, "column": 3 } } }, { "type": { "label": "else", "keyword": "else", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "else", "start": 3220, "end": 3224, "loc": { "start": { "line": 103, "column": 4 }, "end": { "line": 103, "column": 8 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3225, "end": 3226, "loc": { "start": { "line": 103, "column": 9 }, "end": { "line": 103, "column": 10 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 3231, "end": 3237, "loc": { "start": { "line": 104, "column": 4 }, "end": { "line": 104, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prevExpectedNode", "start": 3238, "end": 3254, "loc": { "start": { "line": 104, "column": 11 }, "end": { "line": 104, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3257, "end": 3258, "loc": { "start": { "line": 105, "column": 2 }, "end": { "line": 105, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3259, "end": 3260, "loc": { "start": { "line": 106, "column": 0 }, "end": { "line": 106, "column": 1 } } }, { "type": "CommentBlock", "value": "*\n * Remove children until `elem` is found.\n *\n * @param {Element} parent The parent of `elem` and `currentChild`.\n * @param {Element} currentChild Start removing elements with `currentChild`. If\n * `currentChild` is `elem` it won't be removed.\n * @param {Element|null} elem The elemnt to look for.\n *\n * @private\n ", "start": 3262, "end": 3611, "loc": { "start": { "line": 108, "column": 0 }, "end": { "line": 117, "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": 3612, "end": 3618, "loc": { "start": { "line": 118, "column": 0 }, "end": { "line": 118, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 3619, "end": 3627, "loc": { "start": { "line": 118, "column": 7 }, "end": { "line": 118, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeDomChildrenUntilElementFound", "start": 3628, "end": 3662, "loc": { "start": { "line": 118, "column": 16 }, "end": { "line": 118, "column": 50 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3663, "end": 3664, "loc": { "start": { "line": 118, "column": 51 }, "end": { "line": 118, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 3664, "end": 3670, "loc": { "start": { "line": 118, "column": 52 }, "end": { "line": 118, "column": 58 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3670, "end": 3671, "loc": { "start": { "line": 118, "column": 58 }, "end": { "line": 118, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentChild", "start": 3672, "end": 3684, "loc": { "start": { "line": 118, "column": 60 }, "end": { "line": 118, "column": 72 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3684, "end": 3685, "loc": { "start": { "line": 118, "column": 72 }, "end": { "line": 118, "column": 73 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elem", "start": 3686, "end": 3690, "loc": { "start": { "line": 118, "column": 74 }, "end": { "line": 118, "column": 78 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3690, "end": 3691, "loc": { "start": { "line": 118, "column": 78 }, "end": { "line": 118, "column": 79 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3692, "end": 3693, "loc": { "start": { "line": 118, "column": 80 }, "end": { "line": 118, "column": 81 } } }, { "type": { "label": "while", "keyword": "while", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "while", "start": 3696, "end": 3701, "loc": { "start": { "line": 119, "column": 2 }, "end": { "line": 119, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3702, "end": 3703, "loc": { "start": { "line": 119, "column": 8 }, "end": { "line": 119, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentChild", "start": 3703, "end": 3715, "loc": { "start": { "line": 119, "column": 9 }, "end": { "line": 119, "column": 21 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 3716, "end": 3719, "loc": { "start": { "line": 119, "column": 22 }, "end": { "line": 119, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "elem", "start": 3720, "end": 3724, "loc": { "start": { "line": 119, "column": 26 }, "end": { "line": 119, "column": 30 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3724, "end": 3725, "loc": { "start": { "line": 119, "column": 30 }, "end": { "line": 119, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3726, "end": 3727, "loc": { "start": { "line": 119, "column": 32 }, "end": { "line": 119, "column": 33 } } }, { "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": 3732, "end": 3737, "loc": { "start": { "line": 120, "column": 4 }, "end": { "line": 120, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "del", "start": 3738, "end": 3741, "loc": { "start": { "line": 120, "column": 10 }, "end": { "line": 120, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3742, "end": 3743, "loc": { "start": { "line": 120, "column": 14 }, "end": { "line": 120, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentChild", "start": 3744, "end": 3756, "loc": { "start": { "line": 120, "column": 16 }, "end": { "line": 120, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentChild", "start": 3761, "end": 3773, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3774, "end": 3775, "loc": { "start": { "line": 121, "column": 17 }, "end": { "line": 121, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "currentChild", "start": 3776, "end": 3788, "loc": { "start": { "line": 121, "column": 19 }, "end": { "line": 121, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3788, "end": 3789, "loc": { "start": { "line": 121, "column": 31 }, "end": { "line": 121, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nextSibling", "start": 3789, "end": 3800, "loc": { "start": { "line": 121, "column": 32 }, "end": { "line": 121, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "parent", "start": 3805, "end": 3811, "loc": { "start": { "line": 122, "column": 4 }, "end": { "line": 122, "column": 10 } } }, { "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": 122, "column": 10 }, "end": { "line": 122, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeChild", "start": 3812, "end": 3823, "loc": { "start": { "line": 122, "column": 11 }, "end": { "line": 122, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3823, "end": 3824, "loc": { "start": { "line": 122, "column": 22 }, "end": { "line": 122, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "del", "start": 3824, "end": 3827, "loc": { "start": { "line": 122, "column": 23 }, "end": { "line": 122, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3827, "end": 3828, "loc": { "start": { "line": 122, "column": 26 }, "end": { "line": 122, "column": 27 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3831, "end": 3832, "loc": { "start": { "line": 123, "column": 2 }, "end": { "line": 123, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3833, "end": 3834, "loc": { "start": { "line": 124, "column": 0 }, "end": { "line": 124, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3835, "end": 3835, "loc": { "start": { "line": 125, "column": 0 }, "end": { "line": 125, "column": 0 } } } ] }