{ "type": "File", "start": 0, "end": 4761, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 137, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 4761, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 137, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 1, "end": 52, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 51 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 8, "end": 16, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 15 } }, "local": { "type": "Identifier", "start": 8, "end": 16, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 15 }, "identifierName": "YXmlHook" }, "name": "YXmlHook" } } ], "source": { "type": "StringLiteral", "start": 22, "end": 52, "loc": { "start": { "line": 2, "column": 21 }, "end": { "line": 2, "column": 51 } }, "extra": { "rawValue": "../../Types/YXml/YXmlHook.js", "raw": "'../../Types/YXml/YXmlHook.js'" }, "value": "../../Types/YXml/YXmlHook.js" } }, { "type": "ImportDeclaration", "start": 53, "end": 145, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 6, "column": 37 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 64, "end": 85, "loc": { "start": { "line": 4, "column": 2 }, "end": { "line": 4, "column": 23 } }, "imported": { "type": "Identifier", "start": 64, "end": 85, "loc": { "start": { "line": 4, "column": 2 }, "end": { "line": 4, "column": 23 }, "identifierName": "iterateUntilUndeleted" }, "name": "iterateUntilUndeleted" }, "local": { "type": "Identifier", "start": 64, "end": 85, "loc": { "start": { "line": 4, "column": 2 }, "end": { "line": 4, "column": 23 }, "identifierName": "iterateUntilUndeleted" }, "name": "iterateUntilUndeleted" } }, { "type": "ImportSpecifier", "start": 89, "end": 106, "loc": { "start": { "line": 5, "column": 2 }, "end": { "line": 5, "column": 19 } }, "imported": { "type": "Identifier", "start": 89, "end": 106, "loc": { "start": { "line": 5, "column": 2 }, "end": { "line": 5, "column": 19 }, "identifierName": "removeAssociation" }, "name": "removeAssociation" }, "local": { "type": "Identifier", "start": 89, "end": 106, "loc": { "start": { "line": 5, "column": 2 }, "end": { "line": 5, "column": 19 }, "identifierName": "removeAssociation" }, "name": "removeAssociation" } }, { "type": "ImportSpecifier", "start": 110, "end": 126, "loc": { "start": { "line": 6, "column": 2 }, "end": { "line": 6, "column": 18 } }, "imported": { "type": "Identifier", "start": 110, "end": 126, "loc": { "start": { "line": 6, "column": 2 }, "end": { "line": 6, "column": 18 }, "identifierName": "insertNodeHelper" }, "name": "insertNodeHelper" }, "local": { "type": "Identifier", "start": 110, "end": 126, "loc": { "start": { "line": 6, "column": 2 }, "end": { "line": 6, "column": 18 }, "identifierName": "insertNodeHelper" }, "name": "insertNodeHelper" } } ], "source": { "type": "StringLiteral", "start": 134, "end": 145, "loc": { "start": { "line": 6, "column": 26 }, "end": { "line": 6, "column": 37 } }, "extra": { "rawValue": "./util.js", "raw": "'./util.js'" }, "value": "./util.js" } }, { "type": "ImportDeclaration", "start": 146, "end": 189, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 43 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 153, "end": 157, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 11 } }, "local": { "type": "Identifier", "start": 153, "end": 157, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 11 }, "identifierName": "diff" }, "name": "diff" } } ], "source": { "type": "StringLiteral", "start": 163, "end": 189, "loc": { "start": { "line": 7, "column": 17 }, "end": { "line": 7, "column": 43 } }, "extra": { "rawValue": "../../Util/simpleDiff.js", "raw": "'../../Util/simpleDiff.js'" }, "value": "../../Util/simpleDiff.js" } }, { "type": "ImportDeclaration", "start": 190, "end": 249, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 59 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 197, "end": 209, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "column": 19 } }, "local": { "type": "Identifier", "start": 197, "end": 209, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "column": 19 }, "identifierName": "YXmlFragment" }, "name": "YXmlFragment" } } ], "source": { "type": "StringLiteral", "start": 215, "end": 249, "loc": { "start": { "line": 8, "column": 25 }, "end": { "line": 8, "column": 59 } }, "extra": { "rawValue": "../../Types/YXml/YXmlFragment.js", "raw": "'../../Types/YXml/YXmlFragment.js'" }, "value": "../../Types/YXml/YXmlFragment.js", "leadingComments": null, "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * 1. Check if any of the nodes was deleted\n * 2. Iterate over the children.\n * 2.1 If a node exists that is not yet bound to a type, insert a new node\n * 2.2 If _contents.length < dom.childNodes.length, fill the\n * rest of _content with childNodes\n * 2.3 If a node was moved, delete it and\n * recreate a new yxml element that is bound to that node.\n * You can detect that a node was moved because expectedId\n * !== actualId in the list\n * @private\n ", "start": 251, "end": 741, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 21, "column": 3 } } } ] }, { "type": "FunctionDeclaration", "start": 742, "end": 2988, "loc": { "start": { "line": 22, "column": 0 }, "end": { "line": 81, "column": 1 } }, "id": { "type": "Identifier", "start": 751, "end": 770, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 28 }, "identifierName": "applyChangesFromDom" }, "name": "applyChangesFromDom", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 772, "end": 779, "loc": { "start": { "line": 22, "column": 30 }, "end": { "line": 22, "column": 37 }, "identifierName": "binding" }, "name": "binding" }, { "type": "Identifier", "start": 781, "end": 784, "loc": { "start": { "line": 22, "column": 39 }, "end": { "line": 22, "column": 42 }, "identifierName": "dom" }, "name": "dom" }, { "type": "Identifier", "start": 786, "end": 790, "loc": { "start": { "line": 22, "column": 44 }, "end": { "line": 22, "column": 48 }, "identifierName": "yxml" }, "name": "yxml" }, { "type": "Identifier", "start": 792, "end": 801, "loc": { "start": { "line": 22, "column": 50 }, "end": { "line": 22, "column": 59 }, "identifierName": "_document" }, "name": "_document" } ], "body": { "type": "BlockStatement", "start": 803, "end": 2988, "loc": { "start": { "line": 22, "column": 61 }, "end": { "line": 81, "column": 1 } }, "body": [ { "type": "IfStatement", "start": 807, "end": 892, "loc": { "start": { "line": 23, "column": 2 }, "end": { "line": 25, "column": 3 } }, "test": { "type": "LogicalExpression", "start": 811, "end": 874, "loc": { "start": { "line": 23, "column": 6 }, "end": { "line": 23, "column": 69 } }, "left": { "type": "LogicalExpression", "start": 811, "end": 841, "loc": { "start": { "line": 23, "column": 6 }, "end": { "line": 23, "column": 36 } }, "left": { "type": "BinaryExpression", "start": 811, "end": 823, "loc": { "start": { "line": 23, "column": 6 }, "end": { "line": 23, "column": 18 } }, "left": { "type": "Identifier", "start": 811, "end": 815, "loc": { "start": { "line": 23, "column": 6 }, "end": { "line": 23, "column": 10 }, "identifierName": "yxml" }, "name": "yxml" }, "operator": "==", "right": { "type": "NullLiteral", "start": 819, "end": 823, "loc": { "start": { "line": 23, "column": 14 }, "end": { "line": 23, "column": 18 } } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 827, "end": 841, "loc": { "start": { "line": 23, "column": 22 }, "end": { "line": 23, "column": 36 } }, "left": { "type": "Identifier", "start": 827, "end": 831, "loc": { "start": { "line": 23, "column": 22 }, "end": { "line": 23, "column": 26 }, "identifierName": "yxml" }, "name": "yxml" }, "operator": "===", "right": { "type": "BooleanLiteral", "start": 836, "end": 841, "loc": { "start": { "line": 23, "column": 31 }, "end": { "line": 23, "column": 36 } }, "value": false } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 845, "end": 874, "loc": { "start": { "line": 23, "column": 40 }, "end": { "line": 23, "column": 69 } }, "left": { "type": "MemberExpression", "start": 845, "end": 861, "loc": { "start": { "line": 23, "column": 40 }, "end": { "line": 23, "column": 56 } }, "object": { "type": "Identifier", "start": 845, "end": 849, "loc": { "start": { "line": 23, "column": 40 }, "end": { "line": 23, "column": 44 }, "identifierName": "yxml" }, "name": "yxml" }, "property": { "type": "Identifier", "start": 850, "end": 861, "loc": { "start": { "line": 23, "column": 45 }, "end": { "line": 23, "column": 56 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "operator": "===", "right": { "type": "Identifier", "start": 866, "end": 874, "loc": { "start": { "line": 23, "column": 61 }, "end": { "line": 23, "column": 69 }, "identifierName": "YXmlHook" }, "name": "YXmlHook" } } }, "consequent": { "type": "BlockStatement", "start": 876, "end": 892, "loc": { "start": { "line": 23, "column": 71 }, "end": { "line": 25, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 882, "end": 888, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 10 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 895, "end": 912, "loc": { "start": { "line": 26, "column": 2 }, "end": { "line": 26, "column": 19 } }, "declarations": [ { "type": "VariableDeclarator", "start": 901, "end": 912, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 19 } }, "id": { "type": "Identifier", "start": 901, "end": 902, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 9 }, "identifierName": "y" }, "name": "y" }, "init": { "type": "MemberExpression", "start": 905, "end": 912, "loc": { "start": { "line": 26, "column": 12 }, "end": { "line": 26, "column": 19 } }, "object": { "type": "Identifier", "start": 905, "end": 909, "loc": { "start": { "line": 26, "column": 12 }, "end": { "line": 26, "column": 16 }, "identifierName": "yxml" }, "name": "yxml" }, "property": { "type": "Identifier", "start": 910, "end": 912, "loc": { "start": { "line": 26, "column": 17 }, "end": { "line": 26, "column": 19 }, "identifierName": "_y" }, "name": "_y" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 915, "end": 946, "loc": { "start": { "line": 27, "column": 2 }, "end": { "line": 27, "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", "start": 921, "end": 946, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 33 } }, "id": { "type": "Identifier", "start": 921, "end": 934, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 21 }, "identifierName": "knownChildren" }, "name": "knownChildren" }, "init": { "type": "NewExpression", "start": 937, "end": 946, "loc": { "start": { "line": 27, "column": 24 }, "end": { "line": 27, "column": 33 } }, "callee": { "type": "Identifier", "start": 941, "end": 944, "loc": { "start": { "line": 27, "column": 28 }, "end": { "line": 27, "column": 31 }, "identifierName": "Set" }, "name": "Set" }, "arguments": [] } } ], "kind": "const" }, { "type": "ForStatement", "start": 949, "end": 1149, "loc": { "start": { "line": 28, "column": 2 }, "end": { "line": 33, "column": 3 } }, "init": { "type": "VariableDeclaration", "start": 954, "end": 987, "loc": { "start": { "line": 28, "column": 7 }, "end": { "line": 28, "column": 40 } }, "declarations": [ { "type": "VariableDeclarator", "start": 958, "end": 987, "loc": { "start": { "line": 28, "column": 11 }, "end": { "line": 28, "column": 40 } }, "id": { "type": "Identifier", "start": 958, "end": 959, "loc": { "start": { "line": 28, "column": 11 }, "end": { "line": 28, "column": 12 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "BinaryExpression", "start": 962, "end": 987, "loc": { "start": { "line": 28, "column": 15 }, "end": { "line": 28, "column": 40 } }, "left": { "type": "MemberExpression", "start": 962, "end": 983, "loc": { "start": { "line": 28, "column": 15 }, "end": { "line": 28, "column": 36 } }, "object": { "type": "MemberExpression", "start": 962, "end": 976, "loc": { "start": { "line": 28, "column": 15 }, "end": { "line": 28, "column": 29 } }, "object": { "type": "Identifier", "start": 962, "end": 965, "loc": { "start": { "line": 28, "column": 15 }, "end": { "line": 28, "column": 18 }, "identifierName": "dom" }, "name": "dom" }, "property": { "type": "Identifier", "start": 966, "end": 976, "loc": { "start": { "line": 28, "column": 19 }, "end": { "line": 28, "column": 29 }, "identifierName": "childNodes" }, "name": "childNodes" }, "computed": false }, "property": { "type": "Identifier", "start": 977, "end": 983, "loc": { "start": { "line": 28, "column": 30 }, "end": { "line": 28, "column": 36 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 986, "end": 987, "loc": { "start": { "line": 28, "column": 39 }, "end": { "line": 28, "column": 40 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 989, "end": 995, "loc": { "start": { "line": 28, "column": 42 }, "end": { "line": 28, "column": 48 } }, "left": { "type": "Identifier", "start": 989, "end": 990, "loc": { "start": { "line": 28, "column": 42 }, "end": { "line": 28, "column": 43 }, "identifierName": "i" }, "name": "i" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 994, "end": 995, "loc": { "start": { "line": 28, "column": 47 }, "end": { "line": 28, "column": 48 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "update": { "type": "UpdateExpression", "start": 997, "end": 1000, "loc": { "start": { "line": 28, "column": 50 }, "end": { "line": 28, "column": 53 } }, "operator": "--", "prefix": false, "argument": { "type": "Identifier", "start": 997, "end": 998, "loc": { "start": { "line": 28, "column": 50 }, "end": { "line": 28, "column": 51 }, "identifierName": "i" }, "name": "i" } }, "body": { "type": "BlockStatement", "start": 1002, "end": 1149, "loc": { "start": { "line": 28, "column": 55 }, "end": { "line": 33, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 1008, "end": 1061, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 57 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1014, "end": 1061, "loc": { "start": { "line": 29, "column": 10 }, "end": { "line": 29, "column": 57 } }, "id": { "type": "Identifier", "start": 1014, "end": 1018, "loc": { "start": { "line": 29, "column": 10 }, "end": { "line": 29, "column": 14 }, "identifierName": "type" }, "name": "type" }, "init": { "type": "CallExpression", "start": 1021, "end": 1061, "loc": { "start": { "line": 29, "column": 17 }, "end": { "line": 29, "column": 57 } }, "callee": { "type": "MemberExpression", "start": 1021, "end": 1042, "loc": { "start": { "line": 29, "column": 17 }, "end": { "line": 29, "column": 38 } }, "object": { "type": "MemberExpression", "start": 1021, "end": 1038, "loc": { "start": { "line": 29, "column": 17 }, "end": { "line": 29, "column": 34 } }, "object": { "type": "Identifier", "start": 1021, "end": 1028, "loc": { "start": { "line": 29, "column": 17 }, "end": { "line": 29, "column": 24 }, "identifierName": "binding" }, "name": "binding" }, "property": { "type": "Identifier", "start": 1029, "end": 1038, "loc": { "start": { "line": 29, "column": 25 }, "end": { "line": 29, "column": 34 }, "identifierName": "domToType" }, "name": "domToType" }, "computed": false }, "property": { "type": "Identifier", "start": 1039, "end": 1042, "loc": { "start": { "line": 29, "column": 35 }, "end": { "line": 29, "column": 38 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1043, "end": 1060, "loc": { "start": { "line": 29, "column": 39 }, "end": { "line": 29, "column": 56 } }, "object": { "type": "MemberExpression", "start": 1043, "end": 1057, "loc": { "start": { "line": 29, "column": 39 }, "end": { "line": 29, "column": 53 } }, "object": { "type": "Identifier", "start": 1043, "end": 1046, "loc": { "start": { "line": 29, "column": 39 }, "end": { "line": 29, "column": 42 }, "identifierName": "dom" }, "name": "dom" }, "property": { "type": "Identifier", "start": 1047, "end": 1057, "loc": { "start": { "line": 29, "column": 43 }, "end": { "line": 29, "column": 53 }, "identifierName": "childNodes" }, "name": "childNodes" }, "computed": false }, "property": { "type": "Identifier", "start": 1058, "end": 1059, "loc": { "start": { "line": 29, "column": 54 }, "end": { "line": 29, "column": 55 }, "identifierName": "i" }, "name": "i" }, "computed": true } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 1066, "end": 1145, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 32, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 1070, "end": 1106, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 44 } }, "left": { "type": "BinaryExpression", "start": 1070, "end": 1088, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 26 } }, "left": { "type": "Identifier", "start": 1070, "end": 1074, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 12 }, "identifierName": "type" }, "name": "type" }, "operator": "!==", "right": { "type": "Identifier", "start": 1079, "end": 1088, "loc": { "start": { "line": 30, "column": 17 }, "end": { "line": 30, "column": 26 }, "identifierName": "undefined" }, "name": "undefined" } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 1092, "end": 1106, "loc": { "start": { "line": 30, "column": 30 }, "end": { "line": 30, "column": 44 } }, "left": { "type": "Identifier", "start": 1092, "end": 1096, "loc": { "start": { "line": 30, "column": 30 }, "end": { "line": 30, "column": 34 }, "identifierName": "type" }, "name": "type" }, "operator": "!==", "right": { "type": "BooleanLiteral", "start": 1101, "end": 1106, "loc": { "start": { "line": 30, "column": 39 }, "end": { "line": 30, "column": 44 } }, "value": false } } }, "consequent": { "type": "BlockStatement", "start": 1108, "end": 1145, "loc": { "start": { "line": 30, "column": 46 }, "end": { "line": 32, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1116, "end": 1139, "loc": { "start": { "line": 31, "column": 6 }, "end": { "line": 31, "column": 29 } }, "expression": { "type": "CallExpression", "start": 1116, "end": 1139, "loc": { "start": { "line": 31, "column": 6 }, "end": { "line": 31, "column": 29 } }, "callee": { "type": "MemberExpression", "start": 1116, "end": 1133, "loc": { "start": { "line": 31, "column": 6 }, "end": { "line": 31, "column": 23 } }, "object": { "type": "Identifier", "start": 1116, "end": 1129, "loc": { "start": { "line": 31, "column": 6 }, "end": { "line": 31, "column": 19 }, "identifierName": "knownChildren" }, "name": "knownChildren" }, "property": { "type": "Identifier", "start": 1130, "end": 1133, "loc": { "start": { "line": 31, "column": 20 }, "end": { "line": 31, "column": 23 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1134, "end": 1138, "loc": { "start": { "line": 31, "column": 24 }, "end": { "line": 31, "column": 28 }, "identifierName": "type" }, "name": "type" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " 1. Check if any of the nodes was deleted", "start": 1152, "end": 1195, "loc": { "start": { "line": 34, "column": 2 }, "end": { "line": 34, "column": 45 } } } ] }, { "type": "ExpressionStatement", "start": 1198, "end": 1399, "loc": { "start": { "line": 35, "column": 2 }, "end": { "line": 40, "column": 4 } }, "expression": { "type": "CallExpression", "start": 1198, "end": 1399, "loc": { "start": { "line": 35, "column": 2 }, "end": { "line": 40, "column": 4 } }, "callee": { "type": "MemberExpression", "start": 1198, "end": 1210, "loc": { "start": { "line": 35, "column": 2 }, "end": { "line": 35, "column": 14 } }, "object": { "type": "Identifier", "start": 1198, "end": 1202, "loc": { "start": { "line": 35, "column": 2 }, "end": { "line": 35, "column": 6 }, "identifierName": "yxml" }, "name": "yxml", "leadingComments": null }, "property": { "type": "Identifier", "start": 1203, "end": 1210, "loc": { "start": { "line": 35, "column": 7 }, "end": { "line": 35, "column": 14 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "FunctionExpression", "start": 1211, "end": 1398, "loc": { "start": { "line": 35, "column": 15 }, "end": { "line": 40, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1221, "end": 1230, "loc": { "start": { "line": 35, "column": 25 }, "end": { "line": 35, "column": 34 }, "identifierName": "childType" }, "name": "childType" } ], "body": { "type": "BlockStatement", "start": 1232, "end": 1398, "loc": { "start": { "line": 35, "column": 36 }, "end": { "line": 40, "column": 3 } }, "body": [ { "type": "IfStatement", "start": 1238, "end": 1394, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 39, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 1242, "end": 1280, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 36, "column": 46 } }, "left": { "type": "CallExpression", "start": 1242, "end": 1270, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 36, "column": 36 } }, "callee": { "type": "MemberExpression", "start": 1242, "end": 1259, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 36, "column": 25 } }, "object": { "type": "Identifier", "start": 1242, "end": 1255, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 36, "column": 21 }, "identifierName": "knownChildren" }, "name": "knownChildren" }, "property": { "type": "Identifier", "start": 1256, "end": 1259, "loc": { "start": { "line": 36, "column": 22 }, "end": { "line": 36, "column": 25 }, "identifierName": "has" }, "name": "has" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1260, "end": 1269, "loc": { "start": { "line": 36, "column": 26 }, "end": { "line": 36, "column": 35 }, "identifierName": "childType" }, "name": "childType" } ] }, "operator": "===", "right": { "type": "BooleanLiteral", "start": 1275, "end": 1280, "loc": { "start": { "line": 36, "column": 41 }, "end": { "line": 36, "column": 46 } }, "value": false } }, "consequent": { "type": "BlockStatement", "start": 1282, "end": 1394, "loc": { "start": { "line": 36, "column": 48 }, "end": { "line": 39, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1290, "end": 1310, "loc": { "start": { "line": 37, "column": 6 }, "end": { "line": 37, "column": 26 } }, "expression": { "type": "CallExpression", "start": 1290, "end": 1310, "loc": { "start": { "line": 37, "column": 6 }, "end": { "line": 37, "column": 26 } }, "callee": { "type": "MemberExpression", "start": 1290, "end": 1307, "loc": { "start": { "line": 37, "column": 6 }, "end": { "line": 37, "column": 23 } }, "object": { "type": "Identifier", "start": 1290, "end": 1299, "loc": { "start": { "line": 37, "column": 6 }, "end": { "line": 37, "column": 15 }, "identifierName": "childType" }, "name": "childType" }, "property": { "type": "Identifier", "start": 1300, "end": 1307, "loc": { "start": { "line": 37, "column": 16 }, "end": { "line": 37, "column": 23 }, "identifierName": "_delete" }, "name": "_delete" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1308, "end": 1309, "loc": { "start": { "line": 37, "column": 24 }, "end": { "line": 37, "column": 25 }, "identifierName": "y" }, "name": "y" } ] } }, { "type": "ExpressionStatement", "start": 1317, "end": 1388, "loc": { "start": { "line": 38, "column": 6 }, "end": { "line": 38, "column": 77 } }, "expression": { "type": "CallExpression", "start": 1317, "end": 1388, "loc": { "start": { "line": 38, "column": 6 }, "end": { "line": 38, "column": 77 } }, "callee": { "type": "Identifier", "start": 1317, "end": 1334, "loc": { "start": { "line": 38, "column": 6 }, "end": { "line": 38, "column": 23 }, "identifierName": "removeAssociation" }, "name": "removeAssociation" }, "arguments": [ { "type": "Identifier", "start": 1335, "end": 1342, "loc": { "start": { "line": 38, "column": 24 }, "end": { "line": 38, "column": 31 }, "identifierName": "binding" }, "name": "binding" }, { "type": "CallExpression", "start": 1344, "end": 1376, "loc": { "start": { "line": 38, "column": 33 }, "end": { "line": 38, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 1344, "end": 1365, "loc": { "start": { "line": 38, "column": 33 }, "end": { "line": 38, "column": 54 } }, "object": { "type": "MemberExpression", "start": 1344, "end": 1361, "loc": { "start": { "line": 38, "column": 33 }, "end": { "line": 38, "column": 50 } }, "object": { "type": "Identifier", "start": 1344, "end": 1351, "loc": { "start": { "line": 38, "column": 33 }, "end": { "line": 38, "column": 40 }, "identifierName": "binding" }, "name": "binding" }, "property": { "type": "Identifier", "start": 1352, "end": 1361, "loc": { "start": { "line": 38, "column": 41 }, "end": { "line": 38, "column": 50 }, "identifierName": "typeToDom" }, "name": "typeToDom" }, "computed": false }, "property": { "type": "Identifier", "start": 1362, "end": 1365, "loc": { "start": { "line": 38, "column": 51 }, "end": { "line": 38, "column": 54 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1366, "end": 1375, "loc": { "start": { "line": 38, "column": 55 }, "end": { "line": 38, "column": 64 }, "identifierName": "childType" }, "name": "childType" } ] }, { "type": "Identifier", "start": 1378, "end": 1387, "loc": { "start": { "line": 38, "column": 67 }, "end": { "line": 38, "column": 76 }, "identifierName": "childType" }, "name": "childType" } ] } } ], "directives": [] }, "alternate": null } ], "directives": [] } } ], "leadingComments": null, "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " 1. Check if any of the nodes was deleted", "start": 1152, "end": 1195, "loc": { "start": { "line": 34, "column": 2 }, "end": { "line": 34, "column": 45 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " 2. iterate", "start": 1402, "end": 1415, "loc": { "start": { "line": 41, "column": 2 }, "end": { "line": 41, "column": 15 } } } ] }, { "type": "VariableDeclaration", "start": 1418, "end": 1451, "loc": { "start": { "line": 42, "column": 2 }, "end": { "line": 42, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1424, "end": 1451, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "column": 35 } }, "id": { "type": "Identifier", "start": 1424, "end": 1434, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "column": 18 }, "identifierName": "childNodes" }, "name": "childNodes", "leadingComments": null }, "init": { "type": "MemberExpression", "start": 1437, "end": 1451, "loc": { "start": { "line": 42, "column": 21 }, "end": { "line": 42, "column": 35 } }, "object": { "type": "Identifier", "start": 1437, "end": 1440, "loc": { "start": { "line": 42, "column": 21 }, "end": { "line": 42, "column": 24 }, "identifierName": "dom" }, "name": "dom" }, "property": { "type": "Identifier", "start": 1441, "end": 1451, "loc": { "start": { "line": 42, "column": 25 }, "end": { "line": 42, "column": 35 }, "identifierName": "childNodes" }, "name": "childNodes" }, "computed": false }, "leadingComments": null } ], "kind": "const", "leadingComments": [ { "type": "CommentLine", "value": " 2. iterate", "start": 1402, "end": 1415, "loc": { "start": { "line": 41, "column": 2 }, "end": { "line": 41, "column": 15 } } } ] }, { "type": "VariableDeclaration", "start": 1454, "end": 1483, "loc": { "start": { "line": 43, "column": 2 }, "end": { "line": 43, "column": 31 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1460, "end": 1483, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 31 } }, "id": { "type": "Identifier", "start": 1460, "end": 1463, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 11 }, "identifierName": "len" }, "name": "len" }, "init": { "type": "MemberExpression", "start": 1466, "end": 1483, "loc": { "start": { "line": 43, "column": 14 }, "end": { "line": 43, "column": 31 } }, "object": { "type": "Identifier", "start": 1466, "end": 1476, "loc": { "start": { "line": 43, "column": 14 }, "end": { "line": 43, "column": 24 }, "identifierName": "childNodes" }, "name": "childNodes" }, "property": { "type": "Identifier", "start": 1477, "end": 1483, "loc": { "start": { "line": 43, "column": 25 }, "end": { "line": 43, "column": 31 }, "identifierName": "length" }, "name": "length" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 1486, "end": 1513, "loc": { "start": { "line": 44, "column": 2 }, "end": { "line": 44, "column": 29 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1490, "end": 1513, "loc": { "start": { "line": 44, "column": 6 }, "end": { "line": 44, "column": 29 } }, "id": { "type": "Identifier", "start": 1490, "end": 1506, "loc": { "start": { "line": 44, "column": 6 }, "end": { "line": 44, "column": 22 }, "identifierName": "prevExpectedType" }, "name": "prevExpectedType" }, "init": { "type": "NullLiteral", "start": 1509, "end": 1513, "loc": { "start": { "line": 44, "column": 25 }, "end": { "line": 44, "column": 29 } } } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 1516, "end": 1569, "loc": { "start": { "line": 45, "column": 2 }, "end": { "line": 45, "column": 55 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1520, "end": 1569, "loc": { "start": { "line": 45, "column": 6 }, "end": { "line": 45, "column": 55 } }, "id": { "type": "Identifier", "start": 1520, "end": 1532, "loc": { "start": { "line": 45, "column": 6 }, "end": { "line": 45, "column": 18 }, "identifierName": "expectedType" }, "name": "expectedType" }, "init": { "type": "CallExpression", "start": 1535, "end": 1569, "loc": { "start": { "line": 45, "column": 21 }, "end": { "line": 45, "column": 55 } }, "callee": { "type": "Identifier", "start": 1535, "end": 1556, "loc": { "start": { "line": 45, "column": 21 }, "end": { "line": 45, "column": 42 }, "identifierName": "iterateUntilUndeleted" }, "name": "iterateUntilUndeleted" }, "arguments": [ { "type": "MemberExpression", "start": 1557, "end": 1568, "loc": { "start": { "line": 45, "column": 43 }, "end": { "line": 45, "column": 54 } }, "object": { "type": "Identifier", "start": 1557, "end": 1561, "loc": { "start": { "line": 45, "column": 43 }, "end": { "line": 45, "column": 47 }, "identifierName": "yxml" }, "name": "yxml" }, "property": { "type": "Identifier", "start": 1562, "end": 1568, "loc": { "start": { "line": 45, "column": 48 }, "end": { "line": 45, "column": 54 }, "identifierName": "_start" }, "name": "_start" }, "computed": false } ] } } ], "kind": "let" }, { "type": "ForStatement", "start": 1572, "end": 2986, "loc": { "start": { "line": 46, "column": 2 }, "end": { "line": 80, "column": 3 } }, "init": { "type": "VariableDeclaration", "start": 1577, "end": 1591, "loc": { "start": { "line": 46, "column": 7 }, "end": { "line": 46, "column": 21 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1581, "end": 1591, "loc": { "start": { "line": 46, "column": 11 }, "end": { "line": 46, "column": 21 } }, "id": { "type": "Identifier", "start": 1581, "end": 1587, "loc": { "start": { "line": 46, "column": 11 }, "end": { "line": 46, "column": 17 }, "identifierName": "domCnt" }, "name": "domCnt" }, "init": { "type": "NumericLiteral", "start": 1590, "end": 1591, "loc": { "start": { "line": 46, "column": 20 }, "end": { "line": 46, "column": 21 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 1593, "end": 1605, "loc": { "start": { "line": 46, "column": 23 }, "end": { "line": 46, "column": 35 } }, "left": { "type": "Identifier", "start": 1593, "end": 1599, "loc": { "start": { "line": 46, "column": 23 }, "end": { "line": 46, "column": 29 }, "identifierName": "domCnt" }, "name": "domCnt" }, "operator": "<", "right": { "type": "Identifier", "start": 1602, "end": 1605, "loc": { "start": { "line": 46, "column": 32 }, "end": { "line": 46, "column": 35 }, "identifierName": "len" }, "name": "len" } }, "update": { "type": "UpdateExpression", "start": 1607, "end": 1615, "loc": { "start": { "line": 46, "column": 37 }, "end": { "line": 46, "column": 45 } }, "operator": "++", "prefix": false, "argument": { "type": "Identifier", "start": 1607, "end": 1613, "loc": { "start": { "line": 46, "column": 37 }, "end": { "line": 46, "column": 43 }, "identifierName": "domCnt" }, "name": "domCnt" } }, "body": { "type": "BlockStatement", "start": 1617, "end": 2986, "loc": { "start": { "line": 46, "column": 47 }, "end": { "line": 80, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 1623, "end": 1659, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 40 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1629, "end": 1659, "loc": { "start": { "line": 47, "column": 10 }, "end": { "line": 47, "column": 40 } }, "id": { "type": "Identifier", "start": 1629, "end": 1638, "loc": { "start": { "line": 47, "column": 10 }, "end": { "line": 47, "column": 19 }, "identifierName": "childNode" }, "name": "childNode" }, "init": { "type": "MemberExpression", "start": 1641, "end": 1659, "loc": { "start": { "line": 47, "column": 22 }, "end": { "line": 47, "column": 40 } }, "object": { "type": "Identifier", "start": 1641, "end": 1651, "loc": { "start": { "line": 47, "column": 22 }, "end": { "line": 47, "column": 32 }, "identifierName": "childNodes" }, "name": "childNodes" }, "property": { "type": "Identifier", "start": 1652, "end": 1658, "loc": { "start": { "line": 47, "column": 33 }, "end": { "line": 47, "column": 39 }, "identifierName": "domCnt" }, "name": "domCnt" }, "computed": true } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 1664, "end": 1714, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 54 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1670, "end": 1714, "loc": { "start": { "line": 48, "column": 10 }, "end": { "line": 48, "column": 54 } }, "id": { "type": "Identifier", "start": 1670, "end": 1679, "loc": { "start": { "line": 48, "column": 10 }, "end": { "line": 48, "column": 19 }, "identifierName": "childType" }, "name": "childType" }, "init": { "type": "CallExpression", "start": 1682, "end": 1714, "loc": { "start": { "line": 48, "column": 22 }, "end": { "line": 48, "column": 54 } }, "callee": { "type": "MemberExpression", "start": 1682, "end": 1703, "loc": { "start": { "line": 48, "column": 22 }, "end": { "line": 48, "column": 43 } }, "object": { "type": "MemberExpression", "start": 1682, "end": 1699, "loc": { "start": { "line": 48, "column": 22 }, "end": { "line": 48, "column": 39 } }, "object": { "type": "Identifier", "start": 1682, "end": 1689, "loc": { "start": { "line": 48, "column": 22 }, "end": { "line": 48, "column": 29 }, "identifierName": "binding" }, "name": "binding" }, "property": { "type": "Identifier", "start": 1690, "end": 1699, "loc": { "start": { "line": 48, "column": 30 }, "end": { "line": 48, "column": 39 }, "identifierName": "domToType" }, "name": "domToType" }, "computed": false }, "property": { "type": "Identifier", "start": 1700, "end": 1703, "loc": { "start": { "line": 48, "column": 40 }, "end": { "line": 48, "column": 43 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 1704, "end": 1713, "loc": { "start": { "line": 48, "column": 44 }, "end": { "line": 48, "column": 53 }, "identifierName": "childNode" }, "name": "childNode" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 1719, "end": 2982, "loc": { "start": { "line": 49, "column": 4 }, "end": { "line": 79, "column": 5 } }, "test": { "type": "BinaryExpression", "start": 1723, "end": 1746, "loc": { "start": { "line": 49, "column": 8 }, "end": { "line": 49, "column": 31 } }, "left": { "type": "Identifier", "start": 1723, "end": 1732, "loc": { "start": { "line": 49, "column": 8 }, "end": { "line": 49, "column": 17 }, "identifierName": "childType" }, "name": "childType" }, "operator": "!==", "right": { "type": "Identifier", "start": 1737, "end": 1746, "loc": { "start": { "line": 49, "column": 22 }, "end": { "line": 49, "column": 31 }, "identifierName": "undefined" }, "name": "undefined" } }, "consequent": { "type": "BlockStatement", "start": 1748, "end": 2838, "loc": { "start": { "line": 49, "column": 33 }, "end": { "line": 76, "column": 5 } }, "body": [ { "type": "IfStatement", "start": 1756, "end": 1862, "loc": { "start": { "line": 50, "column": 6 }, "end": { "line": 53, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 1760, "end": 1779, "loc": { "start": { "line": 50, "column": 10 }, "end": { "line": 50, "column": 29 } }, "left": { "type": "Identifier", "start": 1760, "end": 1769, "loc": { "start": { "line": 50, "column": 10 }, "end": { "line": 50, "column": 19 }, "identifierName": "childType" }, "name": "childType" }, "operator": "===", "right": { "type": "BooleanLiteral", "start": 1774, "end": 1779, "loc": { "start": { "line": 50, "column": 24 }, "end": { "line": 50, "column": 29 } }, "value": false } }, "consequent": { "type": "BlockStatement", "start": 1781, "end": 1862, "loc": { "start": { "line": 50, "column": 31 }, "end": { "line": 53, "column": 7 } }, "body": [ { "type": "ContinueStatement", "start": 1846, "end": 1854, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 16 } }, "label": null, "leadingComments": [ { "type": "CommentLine", "value": " should be ignored or is going to be deleted", "start": 1791, "end": 1837, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 54 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "IfStatement", "start": 1869, "end": 2832, "loc": { "start": { "line": 54, "column": 6 }, "end": { "line": 75, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 1873, "end": 1894, "loc": { "start": { "line": 54, "column": 10 }, "end": { "line": 54, "column": 31 } }, "left": { "type": "Identifier", "start": 1873, "end": 1885, "loc": { "start": { "line": 54, "column": 10 }, "end": { "line": 54, "column": 22 }, "identifierName": "expectedType" }, "name": "expectedType" }, "operator": "!==", "right": { "type": "NullLiteral", "start": 1890, "end": 1894, "loc": { "start": { "line": 54, "column": 27 }, "end": { "line": 54, "column": 31 } } } }, "consequent": { "type": "BlockStatement", "start": 1896, "end": 2672, "loc": { "start": { "line": 54, "column": 33 }, "end": { "line": 72, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 1906, "end": 2664, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 71, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 1910, "end": 1936, "loc": { "start": { "line": 55, "column": 12 }, "end": { "line": 55, "column": 38 } }, "left": { "type": "Identifier", "start": 1910, "end": 1922, "loc": { "start": { "line": 55, "column": 12 }, "end": { "line": 55, "column": 24 }, "identifierName": "expectedType" }, "name": "expectedType" }, "operator": "!==", "right": { "type": "Identifier", "start": 1927, "end": 1936, "loc": { "start": { "line": 55, "column": 29 }, "end": { "line": 55, "column": 38 }, "identifierName": "childType" }, "name": "childType" } }, "consequent": { "type": "BlockStatement", "start": 1938, "end": 2493, "loc": { "start": { "line": 55, "column": 40 }, "end": { "line": 67, "column": 9 } }, "body": [ { "type": "IfStatement", "start": 1985, "end": 2382, "loc": { "start": { "line": 57, "column": 10 }, "end": { "line": 65, "column": 11 } }, "test": { "type": "BinaryExpression", "start": 1989, "end": 2015, "loc": { "start": { "line": 57, "column": 14 }, "end": { "line": 57, "column": 40 } }, "left": { "type": "MemberExpression", "start": 1989, "end": 2006, "loc": { "start": { "line": 57, "column": 14 }, "end": { "line": 57, "column": 31 } }, "object": { "type": "Identifier", "start": 1989, "end": 1998, "loc": { "start": { "line": 57, "column": 14 }, "end": { "line": 57, "column": 23 }, "identifierName": "childType" }, "name": "childType", "leadingComments": null }, "property": { "type": "Identifier", "start": 1999, "end": 2006, "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 31 }, "identifierName": "_parent" }, "name": "_parent" }, "computed": false, "leadingComments": null }, "operator": "!==", "right": { "type": "Identifier", "start": 2011, "end": 2015, "loc": { "start": { "line": 57, "column": 36 }, "end": { "line": 57, "column": 40 }, "identifierName": "yxml" }, "name": "yxml" }, "leadingComments": null }, "consequent": { "type": "BlockStatement", "start": 2017, "end": 2213, "loc": { "start": { "line": 57, "column": 42 }, "end": { "line": 61, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 2153, "end": 2201, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 60 } }, "expression": { "type": "CallExpression", "start": 2153, "end": 2201, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 60 } }, "callee": { "type": "Identifier", "start": 2153, "end": 2170, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 29 }, "identifierName": "removeAssociation" }, "name": "removeAssociation", "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 2171, "end": 2178, "loc": { "start": { "line": 60, "column": 30 }, "end": { "line": 60, "column": 37 }, "identifierName": "binding" }, "name": "binding" }, { "type": "Identifier", "start": 2180, "end": 2189, "loc": { "start": { "line": 60, "column": 39 }, "end": { "line": 60, "column": 48 }, "identifierName": "childNode" }, "name": "childNode" }, { "type": "Identifier", "start": 2191, "end": 2200, "loc": { "start": { "line": 60, "column": 50 }, "end": { "line": 60, "column": 59 }, "identifierName": "childType" }, "name": "childType" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " child was moved from another parent", "start": 2031, "end": 2069, "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 58, "column": 50 } } }, { "type": "CommentLine", "value": " childType is going to be deleted by its previous parent", "start": 2082, "end": 2140, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 70 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 2219, "end": 2382, "loc": { "start": { "line": 61, "column": 17 }, "end": { "line": 65, "column": 11 } }, "body": [ { "type": "ExpressionStatement", "start": 2289, "end": 2309, "loc": { "start": { "line": 63, "column": 12 }, "end": { "line": 63, "column": 32 } }, "expression": { "type": "CallExpression", "start": 2289, "end": 2309, "loc": { "start": { "line": 63, "column": 12 }, "end": { "line": 63, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 2289, "end": 2306, "loc": { "start": { "line": 63, "column": 12 }, "end": { "line": 63, "column": 29 } }, "object": { "type": "Identifier", "start": 2289, "end": 2298, "loc": { "start": { "line": 63, "column": 12 }, "end": { "line": 63, "column": 21 }, "identifierName": "childType" }, "name": "childType", "leadingComments": null }, "property": { "type": "Identifier", "start": 2299, "end": 2306, "loc": { "start": { "line": 63, "column": 22 }, "end": { "line": 63, "column": 29 }, "identifierName": "_delete" }, "name": "_delete" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "Identifier", "start": 2307, "end": 2308, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 31 }, "identifierName": "y" }, "name": "y" } ], "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " child was moved to a different position.", "start": 2233, "end": 2276, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 55 } } } ] }, { "type": "ExpressionStatement", "start": 2322, "end": 2370, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 60 } }, "expression": { "type": "CallExpression", "start": 2322, "end": 2370, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 60 } }, "callee": { "type": "Identifier", "start": 2322, "end": 2339, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 29 }, "identifierName": "removeAssociation" }, "name": "removeAssociation" }, "arguments": [ { "type": "Identifier", "start": 2340, "end": 2347, "loc": { "start": { "line": 64, "column": 30 }, "end": { "line": 64, "column": 37 }, "identifierName": "binding" }, "name": "binding" }, { "type": "Identifier", "start": 2349, "end": 2358, "loc": { "start": { "line": 64, "column": 39 }, "end": { "line": 64, "column": 48 }, "identifierName": "childNode" }, "name": "childNode" }, { "type": "Identifier", "start": 2360, "end": 2369, "loc": { "start": { "line": 64, "column": 50 }, "end": { "line": 64, "column": 59 }, "identifierName": "childType" }, "name": "childType" } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentLine", "value": " 2.3 Not expected node", "start": 1950, "end": 1974, "loc": { "start": { "line": 56, "column": 10 }, "end": { "line": 56, "column": 34 } } } ] }, { "type": "ExpressionStatement", "start": 2393, "end": 2483, "loc": { "start": { "line": 66, "column": 10 }, "end": { "line": 66, "column": 100 } }, "expression": { "type": "AssignmentExpression", "start": 2393, "end": 2483, "loc": { "start": { "line": 66, "column": 10 }, "end": { "line": 66, "column": 100 } }, "operator": "=", "left": { "type": "Identifier", "start": 2393, "end": 2409, "loc": { "start": { "line": 66, "column": 10 }, "end": { "line": 66, "column": 26 }, "identifierName": "prevExpectedType" }, "name": "prevExpectedType" }, "right": { "type": "CallExpression", "start": 2412, "end": 2483, "loc": { "start": { "line": 66, "column": 29 }, "end": { "line": 66, "column": 100 } }, "callee": { "type": "Identifier", "start": 2412, "end": 2428, "loc": { "start": { "line": 66, "column": 29 }, "end": { "line": 66, "column": 45 }, "identifierName": "insertNodeHelper" }, "name": "insertNodeHelper" }, "arguments": [ { "type": "Identifier", "start": 2429, "end": 2433, "loc": { "start": { "line": 66, "column": 46 }, "end": { "line": 66, "column": 50 }, "identifierName": "yxml" }, "name": "yxml" }, { "type": "Identifier", "start": 2435, "end": 2451, "loc": { "start": { "line": 66, "column": 52 }, "end": { "line": 66, "column": 68 }, "identifierName": "prevExpectedType" }, "name": "prevExpectedType" }, { "type": "Identifier", "start": 2453, "end": 2462, "loc": { "start": { "line": 66, "column": 70 }, "end": { "line": 66, "column": 79 }, "identifierName": "childNode" }, "name": "childNode" }, { "type": "Identifier", "start": 2464, "end": 2473, "loc": { "start": { "line": 66, "column": 81 }, "end": { "line": 66, "column": 90 }, "identifierName": "_document" }, "name": "_document" }, { "type": "Identifier", "start": 2475, "end": 2482, "loc": { "start": { "line": 66, "column": 92 }, "end": { "line": 66, "column": 99 }, "identifierName": "binding" }, "name": "binding" } ] } } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 2499, "end": 2664, "loc": { "start": { "line": 67, "column": 15 }, "end": { "line": 71, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 2555, "end": 2586, "loc": { "start": { "line": 69, "column": 10 }, "end": { "line": 69, "column": 41 } }, "expression": { "type": "AssignmentExpression", "start": 2555, "end": 2586, "loc": { "start": { "line": 69, "column": 10 }, "end": { "line": 69, "column": 41 } }, "operator": "=", "left": { "type": "Identifier", "start": 2555, "end": 2571, "loc": { "start": { "line": 69, "column": 10 }, "end": { "line": 69, "column": 26 }, "identifierName": "prevExpectedType" }, "name": "prevExpectedType", "leadingComments": null }, "right": { "type": "Identifier", "start": 2574, "end": 2586, "loc": { "start": { "line": 69, "column": 29 }, "end": { "line": 69, "column": 41 }, "identifierName": "expectedType" }, "name": "expectedType" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " Found expected node. Continue.", "start": 2511, "end": 2544, "loc": { "start": { "line": 68, "column": 10 }, "end": { "line": 68, "column": 43 } } } ] }, { "type": "ExpressionStatement", "start": 2597, "end": 2654, "loc": { "start": { "line": 70, "column": 10 }, "end": { "line": 70, "column": 67 } }, "expression": { "type": "AssignmentExpression", "start": 2597, "end": 2654, "loc": { "start": { "line": 70, "column": 10 }, "end": { "line": 70, "column": 67 } }, "operator": "=", "left": { "type": "Identifier", "start": 2597, "end": 2609, "loc": { "start": { "line": 70, "column": 10 }, "end": { "line": 70, "column": 22 }, "identifierName": "expectedType" }, "name": "expectedType" }, "right": { "type": "CallExpression", "start": 2612, "end": 2654, "loc": { "start": { "line": 70, "column": 25 }, "end": { "line": 70, "column": 67 } }, "callee": { "type": "Identifier", "start": 2612, "end": 2633, "loc": { "start": { "line": 70, "column": 25 }, "end": { "line": 70, "column": 46 }, "identifierName": "iterateUntilUndeleted" }, "name": "iterateUntilUndeleted" }, "arguments": [ { "type": "MemberExpression", "start": 2634, "end": 2653, "loc": { "start": { "line": 70, "column": 47 }, "end": { "line": 70, "column": 66 } }, "object": { "type": "Identifier", "start": 2634, "end": 2646, "loc": { "start": { "line": 70, "column": 47 }, "end": { "line": 70, "column": 59 }, "identifierName": "expectedType" }, "name": "expectedType" }, "property": { "type": "Identifier", "start": 2647, "end": 2653, "loc": { "start": { "line": 70, "column": 60 }, "end": { "line": 70, "column": 66 }, "identifierName": "_right" }, "name": "_right" }, "computed": false } ] } } } ], "directives": [] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 2678, "end": 2832, "loc": { "start": { "line": 72, "column": 13 }, "end": { "line": 75, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 2734, "end": 2824, "loc": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 98 } }, "expression": { "type": "AssignmentExpression", "start": 2734, "end": 2824, "loc": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 98 } }, "operator": "=", "left": { "type": "Identifier", "start": 2734, "end": 2750, "loc": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 24 }, "identifierName": "prevExpectedType" }, "name": "prevExpectedType", "leadingComments": null }, "right": { "type": "CallExpression", "start": 2753, "end": 2824, "loc": { "start": { "line": 74, "column": 27 }, "end": { "line": 74, "column": 98 } }, "callee": { "type": "Identifier", "start": 2753, "end": 2769, "loc": { "start": { "line": 74, "column": 27 }, "end": { "line": 74, "column": 43 }, "identifierName": "insertNodeHelper" }, "name": "insertNodeHelper" }, "arguments": [ { "type": "Identifier", "start": 2770, "end": 2774, "loc": { "start": { "line": 74, "column": 44 }, "end": { "line": 74, "column": 48 }, "identifierName": "yxml" }, "name": "yxml" }, { "type": "Identifier", "start": 2776, "end": 2792, "loc": { "start": { "line": 74, "column": 50 }, "end": { "line": 74, "column": 66 }, "identifierName": "prevExpectedType" }, "name": "prevExpectedType" }, { "type": "Identifier", "start": 2794, "end": 2803, "loc": { "start": { "line": 74, "column": 68 }, "end": { "line": 74, "column": 77 }, "identifierName": "childNode" }, "name": "childNode" }, { "type": "Identifier", "start": 2805, "end": 2814, "loc": { "start": { "line": 74, "column": 79 }, "end": { "line": 74, "column": 88 }, "identifierName": "_document" }, "name": "_document" }, { "type": "Identifier", "start": 2816, "end": 2823, "loc": { "start": { "line": 74, "column": 90 }, "end": { "line": 74, "column": 97 }, "identifierName": "binding" }, "name": "binding" } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " 2.2 Fill _content with child nodes", "start": 2688, "end": 2725, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 73, "column": 45 } } } ] } ], "directives": [] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 2844, "end": 2982, "loc": { "start": { "line": 76, "column": 11 }, "end": { "line": 79, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2886, "end": 2976, "loc": { "start": { "line": 78, "column": 6 }, "end": { "line": 78, "column": 96 } }, "expression": { "type": "AssignmentExpression", "start": 2886, "end": 2976, "loc": { "start": { "line": 78, "column": 6 }, "end": { "line": 78, "column": 96 } }, "operator": "=", "left": { "type": "Identifier", "start": 2886, "end": 2902, "loc": { "start": { "line": 78, "column": 6 }, "end": { "line": 78, "column": 22 }, "identifierName": "prevExpectedType" }, "name": "prevExpectedType", "leadingComments": null }, "right": { "type": "CallExpression", "start": 2905, "end": 2976, "loc": { "start": { "line": 78, "column": 25 }, "end": { "line": 78, "column": 96 } }, "callee": { "type": "Identifier", "start": 2905, "end": 2921, "loc": { "start": { "line": 78, "column": 25 }, "end": { "line": 78, "column": 41 }, "identifierName": "insertNodeHelper" }, "name": "insertNodeHelper" }, "arguments": [ { "type": "Identifier", "start": 2922, "end": 2926, "loc": { "start": { "line": 78, "column": 42 }, "end": { "line": 78, "column": 46 }, "identifierName": "yxml" }, "name": "yxml" }, { "type": "Identifier", "start": 2928, "end": 2944, "loc": { "start": { "line": 78, "column": 48 }, "end": { "line": 78, "column": 64 }, "identifierName": "prevExpectedType" }, "name": "prevExpectedType" }, { "type": "Identifier", "start": 2946, "end": 2955, "loc": { "start": { "line": 78, "column": 66 }, "end": { "line": 78, "column": 75 }, "identifierName": "childNode" }, "name": "childNode" }, { "type": "Identifier", "start": 2957, "end": 2966, "loc": { "start": { "line": 78, "column": 77 }, "end": { "line": 78, "column": 86 }, "identifierName": "_document" }, "name": "_document" }, { "type": "Identifier", "start": 2968, "end": 2975, "loc": { "start": { "line": 78, "column": 88 }, "end": { "line": 78, "column": 95 }, "identifierName": "binding" }, "name": "binding" } ] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " 2.1 A new node was found", "start": 2852, "end": 2879, "loc": { "start": { "line": 77, "column": 6 }, "end": { "line": 77, "column": 33 } } } ] } ], "directives": [] } } ], "directives": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * 1. Check if any of the nodes was deleted\n * 2. Iterate over the children.\n * 2.1 If a node exists that is not yet bound to a type, insert a new node\n * 2.2 If _contents.length < dom.childNodes.length, fill the\n * rest of _content with childNodes\n * 2.3 If a node was moved, delete it and\n * recreate a new yxml element that is bound to that node.\n * You can detect that a node was moved because expectedId\n * !== actualId in the list\n * @private\n ", "start": 251, "end": 741, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 21, "column": 3 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 2990, "end": 3009, "loc": { "start": { "line": 83, "column": 0 }, "end": { "line": 85, "column": 3 } } } ] }, { "type": "ExportDefaultDeclaration", "start": 3010, "end": 4760, "loc": { "start": { "line": 86, "column": 0 }, "end": { "line": 136, "column": 1 } }, "declaration": { "type": "FunctionDeclaration", "start": 3025, "end": 4760, "loc": { "start": { "line": 86, "column": 15 }, "end": { "line": 136, "column": 1 } }, "id": { "type": "Identifier", "start": 3034, "end": 3045, "loc": { "start": { "line": 86, "column": 24 }, "end": { "line": 86, "column": 35 }, "identifierName": "domObserver" }, "name": "domObserver", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3047, "end": 3056, "loc": { "start": { "line": 86, "column": 37 }, "end": { "line": 86, "column": 46 }, "identifierName": "mutations" }, "name": "mutations" }, { "type": "Identifier", "start": 3058, "end": 3067, "loc": { "start": { "line": 86, "column": 48 }, "end": { "line": 86, "column": 57 }, "identifierName": "_document" }, "name": "_document" } ], "body": { "type": "BlockStatement", "start": 3069, "end": 4760, "loc": { "start": { "line": 86, "column": 59 }, "end": { "line": 136, "column": 1 } }, "body": [ { "type": "ExpressionStatement", "start": 3073, "end": 4758, "loc": { "start": { "line": 87, "column": 2 }, "end": { "line": 135, "column": 4 } }, "expression": { "type": "CallExpression", "start": 3073, "end": 4758, "loc": { "start": { "line": 87, "column": 2 }, "end": { "line": 135, "column": 4 } }, "callee": { "type": "MemberExpression", "start": 3073, "end": 3092, "loc": { "start": { "line": 87, "column": 2 }, "end": { "line": 87, "column": 21 } }, "object": { "type": "ThisExpression", "start": 3073, "end": 3077, "loc": { "start": { "line": 87, "column": 2 }, "end": { "line": 87, "column": 6 } } }, "property": { "type": "Identifier", "start": 3078, "end": 3092, "loc": { "start": { "line": 87, "column": 7 }, "end": { "line": 87, "column": 21 }, "identifierName": "_mutualExclude" }, "name": "_mutualExclude" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 3093, "end": 4757, "loc": { "start": { "line": 87, "column": 22 }, "end": { "line": 135, "column": 3 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 3099, "end": 4757, "loc": { "start": { "line": 87, "column": 28 }, "end": { "line": 135, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 3105, "end": 4753, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 134, "column": 6 } }, "expression": { "type": "CallExpression", "start": 3105, "end": 4753, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 134, "column": 6 } }, "callee": { "type": "MemberExpression", "start": 3105, "end": 3126, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 25 } }, "object": { "type": "MemberExpression", "start": 3105, "end": 3117, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 16 } }, "object": { "type": "MemberExpression", "start": 3105, "end": 3114, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 13 } }, "object": { "type": "ThisExpression", "start": 3105, "end": 3109, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 8 } } }, "property": { "type": "Identifier", "start": 3110, "end": 3114, "loc": { "start": { "line": 88, "column": 9 }, "end": { "line": 88, "column": 13 }, "identifierName": "type" }, "name": "type" }, "computed": false }, "property": { "type": "Identifier", "start": 3115, "end": 3117, "loc": { "start": { "line": 88, "column": 14 }, "end": { "line": 88, "column": 16 }, "identifierName": "_y" }, "name": "_y" }, "computed": false }, "property": { "type": "Identifier", "start": 3118, "end": 3126, "loc": { "start": { "line": 88, "column": 17 }, "end": { "line": 88, "column": 25 }, "identifierName": "transact" }, "name": "transact" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 3127, "end": 4752, "loc": { "start": { "line": 88, "column": 26 }, "end": { "line": 134, "column": 5 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 3133, "end": 4752, "loc": { "start": { "line": 88, "column": 32 }, "end": { "line": 134, "column": 5 } }, "body": [ { "type": "VariableDeclaration", "start": 3141, "end": 3169, "loc": { "start": { "line": 89, "column": 6 }, "end": { "line": 89, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3145, "end": 3169, "loc": { "start": { "line": 89, "column": 10 }, "end": { "line": 89, "column": 34 } }, "id": { "type": "Identifier", "start": 3145, "end": 3157, "loc": { "start": { "line": 89, "column": 10 }, "end": { "line": 89, "column": 22 }, "identifierName": "diffChildren" }, "name": "diffChildren" }, "init": { "type": "NewExpression", "start": 3160, "end": 3169, "loc": { "start": { "line": 89, "column": 25 }, "end": { "line": 89, "column": 34 } }, "callee": { "type": "Identifier", "start": 3164, "end": 3167, "loc": { "start": { "line": 89, "column": 29 }, "end": { "line": 89, "column": 32 }, "identifierName": "Set" }, "name": "Set" }, "arguments": [] } } ], "kind": "let" }, { "type": "ExpressionStatement", "start": 3176, "end": 4502, "loc": { "start": { "line": 90, "column": 6 }, "end": { "line": 126, "column": 8 } }, "expression": { "type": "CallExpression", "start": 3176, "end": 4502, "loc": { "start": { "line": 90, "column": 6 }, "end": { "line": 126, "column": 8 } }, "callee": { "type": "MemberExpression", "start": 3176, "end": 3193, "loc": { "start": { "line": 90, "column": 6 }, "end": { "line": 90, "column": 23 } }, "object": { "type": "Identifier", "start": 3176, "end": 3185, "loc": { "start": { "line": 90, "column": 6 }, "end": { "line": 90, "column": 15 }, "identifierName": "mutations" }, "name": "mutations" }, "property": { "type": "Identifier", "start": 3186, "end": 3193, "loc": { "start": { "line": 90, "column": 16 }, "end": { "line": 90, "column": 23 }, "identifierName": "forEach" }, "name": "forEach" }, "computed": false }, "arguments": [ { "type": "ArrowFunctionExpression", "start": 3194, "end": 4501, "loc": { "start": { "line": 90, "column": 24 }, "end": { "line": 126, "column": 7 } }, "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 3194, "end": 3202, "loc": { "start": { "line": 90, "column": 24 }, "end": { "line": 90, "column": 32 }, "identifierName": "mutation" }, "name": "mutation" } ], "body": { "type": "BlockStatement", "start": 3206, "end": 4501, "loc": { "start": { "line": 90, "column": 36 }, "end": { "line": 126, "column": 7 } }, "body": [ { "type": "VariableDeclaration", "start": 3216, "end": 3243, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 91, "column": 35 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3222, "end": 3243, "loc": { "start": { "line": 91, "column": 14 }, "end": { "line": 91, "column": 35 } }, "id": { "type": "Identifier", "start": 3222, "end": 3225, "loc": { "start": { "line": 91, "column": 14 }, "end": { "line": 91, "column": 17 }, "identifierName": "dom" }, "name": "dom" }, "init": { "type": "MemberExpression", "start": 3228, "end": 3243, "loc": { "start": { "line": 91, "column": 20 }, "end": { "line": 91, "column": 35 } }, "object": { "type": "Identifier", "start": 3228, "end": 3236, "loc": { "start": { "line": 91, "column": 20 }, "end": { "line": 91, "column": 28 }, "identifierName": "mutation" }, "name": "mutation" }, "property": { "type": "Identifier", "start": 3237, "end": 3243, "loc": { "start": { "line": 91, "column": 29 }, "end": { "line": 91, "column": 35 }, "identifierName": "target" }, "name": "target" }, "computed": false } } ], "kind": "const" }, { "type": "VariableDeclaration", "start": 3252, "end": 3288, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3258, "end": 3288, "loc": { "start": { "line": 92, "column": 14 }, "end": { "line": 92, "column": 44 } }, "id": { "type": "Identifier", "start": 3258, "end": 3262, "loc": { "start": { "line": 92, "column": 14 }, "end": { "line": 92, "column": 18 }, "identifierName": "yxml" }, "name": "yxml" }, "init": { "type": "CallExpression", "start": 3265, "end": 3288, "loc": { "start": { "line": 92, "column": 21 }, "end": { "line": 92, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 3265, "end": 3283, "loc": { "start": { "line": 92, "column": 21 }, "end": { "line": 92, "column": 39 } }, "object": { "type": "MemberExpression", "start": 3265, "end": 3279, "loc": { "start": { "line": 92, "column": 21 }, "end": { "line": 92, "column": 35 } }, "object": { "type": "ThisExpression", "start": 3265, "end": 3269, "loc": { "start": { "line": 92, "column": 21 }, "end": { "line": 92, "column": 25 } } }, "property": { "type": "Identifier", "start": 3270, "end": 3279, "loc": { "start": { "line": 92, "column": 26 }, "end": { "line": 92, "column": 35 }, "identifierName": "domToType" }, "name": "domToType" }, "computed": false }, "property": { "type": "Identifier", "start": 3280, "end": 3283, "loc": { "start": { "line": 92, "column": 36 }, "end": { "line": 92, "column": 39 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3284, "end": 3287, "loc": { "start": { "line": 92, "column": 40 }, "end": { "line": 92, "column": 43 }, "identifierName": "dom" }, "name": "dom" } ] } } ], "kind": "const" }, { "type": "IfStatement", "start": 3297, "end": 3437, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 96, "column": 9 } }, "test": { "type": "LogicalExpression", "start": 3301, "end": 3370, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 81 } }, "left": { "type": "LogicalExpression", "start": 3301, "end": 3337, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 48 } }, "left": { "type": "BinaryExpression", "start": 3301, "end": 3315, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 26 } }, "left": { "type": "Identifier", "start": 3301, "end": 3305, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 16 }, "identifierName": "yxml" }, "name": "yxml" }, "operator": "===", "right": { "type": "BooleanLiteral", "start": 3310, "end": 3315, "loc": { "start": { "line": 93, "column": 21 }, "end": { "line": 93, "column": 26 } }, "value": false } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 3319, "end": 3337, "loc": { "start": { "line": 93, "column": 30 }, "end": { "line": 93, "column": 48 } }, "left": { "type": "Identifier", "start": 3319, "end": 3323, "loc": { "start": { "line": 93, "column": 30 }, "end": { "line": 93, "column": 34 }, "identifierName": "yxml" }, "name": "yxml" }, "operator": "===", "right": { "type": "Identifier", "start": 3328, "end": 3337, "loc": { "start": { "line": 93, "column": 39 }, "end": { "line": 93, "column": 48 }, "identifierName": "undefined" }, "name": "undefined" } } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 3341, "end": 3370, "loc": { "start": { "line": 93, "column": 52 }, "end": { "line": 93, "column": 81 } }, "left": { "type": "MemberExpression", "start": 3341, "end": 3357, "loc": { "start": { "line": 93, "column": 52 }, "end": { "line": 93, "column": 68 } }, "object": { "type": "Identifier", "start": 3341, "end": 3345, "loc": { "start": { "line": 93, "column": 52 }, "end": { "line": 93, "column": 56 }, "identifierName": "yxml" }, "name": "yxml" }, "property": { "type": "Identifier", "start": 3346, "end": 3357, "loc": { "start": { "line": 93, "column": 57 }, "end": { "line": 93, "column": 68 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "operator": "===", "right": { "type": "Identifier", "start": 3362, "end": 3370, "loc": { "start": { "line": 93, "column": 73 }, "end": { "line": 93, "column": 81 }, "identifierName": "YXmlHook" }, "name": "YXmlHook" } } }, "consequent": { "type": "BlockStatement", "start": 3372, "end": 3437, "loc": { "start": { "line": 93, "column": 83 }, "end": { "line": 96, "column": 9 } }, "body": [ { "type": "ReturnStatement", "start": 3421, "end": 3427, "loc": { "start": { "line": 95, "column": 10 }, "end": { "line": 95, "column": 16 } }, "argument": null, "leadingComments": [ { "type": "CommentLine", "value": " dom element is filtered", "start": 3384, "end": 3410, "loc": { "start": { "line": 94, "column": 10 }, "end": { "line": 94, "column": 36 } } } ] } ], "directives": [] }, "alternate": null }, { "type": "SwitchStatement", "start": 3446, "end": 4493, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 125, "column": 9 } }, "discriminant": { "type": "MemberExpression", "start": 3454, "end": 3467, "loc": { "start": { "line": 97, "column": 16 }, "end": { "line": 97, "column": 29 } }, "object": { "type": "Identifier", "start": 3454, "end": 3462, "loc": { "start": { "line": 97, "column": 16 }, "end": { "line": 97, "column": 24 }, "identifierName": "mutation" }, "name": "mutation" }, "property": { "type": "Identifier", "start": 3463, "end": 3467, "loc": { "start": { "line": 97, "column": 25 }, "end": { "line": 97, "column": 29 }, "identifierName": "type" }, "name": "type" }, "computed": false }, "cases": [ { "type": "SwitchCase", "start": 3481, "end": 3684, "loc": { "start": { "line": 98, "column": 10 }, "end": { "line": 102, "column": 17 } }, "consequent": [ { "type": "VariableDeclaration", "start": 3515, "end": 3564, "loc": { "start": { "line": 99, "column": 12 }, "end": { "line": 99, "column": 61 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3519, "end": 3564, "loc": { "start": { "line": 99, "column": 16 }, "end": { "line": 99, "column": 61 } }, "id": { "type": "Identifier", "start": 3519, "end": 3525, "loc": { "start": { "line": 99, "column": 16 }, "end": { "line": 99, "column": 22 }, "identifierName": "change" }, "name": "change" }, "init": { "type": "CallExpression", "start": 3528, "end": 3564, "loc": { "start": { "line": 99, "column": 25 }, "end": { "line": 99, "column": 61 } }, "callee": { "type": "Identifier", "start": 3528, "end": 3532, "loc": { "start": { "line": 99, "column": 25 }, "end": { "line": 99, "column": 29 }, "identifierName": "diff" }, "name": "diff" }, "arguments": [ { "type": "CallExpression", "start": 3533, "end": 3548, "loc": { "start": { "line": 99, "column": 30 }, "end": { "line": 99, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 3533, "end": 3546, "loc": { "start": { "line": 99, "column": 30 }, "end": { "line": 99, "column": 43 } }, "object": { "type": "Identifier", "start": 3533, "end": 3537, "loc": { "start": { "line": 99, "column": 30 }, "end": { "line": 99, "column": 34 }, "identifierName": "yxml" }, "name": "yxml" }, "property": { "type": "Identifier", "start": 3538, "end": 3546, "loc": { "start": { "line": 99, "column": 35 }, "end": { "line": 99, "column": 43 }, "identifierName": "toString" }, "name": "toString" }, "computed": false }, "arguments": [] }, { "type": "MemberExpression", "start": 3550, "end": 3563, "loc": { "start": { "line": 99, "column": 47 }, "end": { "line": 99, "column": 60 } }, "object": { "type": "Identifier", "start": 3550, "end": 3553, "loc": { "start": { "line": 99, "column": 47 }, "end": { "line": 99, "column": 50 }, "identifierName": "dom" }, "name": "dom" }, "property": { "type": "Identifier", "start": 3554, "end": 3563, "loc": { "start": { "line": 99, "column": 51 }, "end": { "line": 99, "column": 60 }, "identifierName": "nodeValue" }, "name": "nodeValue" }, "computed": false } ] } } ], "kind": "var" }, { "type": "ExpressionStatement", "start": 3577, "end": 3615, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 50 } }, "expression": { "type": "CallExpression", "start": 3577, "end": 3615, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 3577, "end": 3588, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 23 } }, "object": { "type": "Identifier", "start": 3577, "end": 3581, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 16 }, "identifierName": "yxml" }, "name": "yxml" }, "property": { "type": "Identifier", "start": 3582, "end": 3588, "loc": { "start": { "line": 100, "column": 17 }, "end": { "line": 100, "column": 23 }, "identifierName": "delete" }, "name": "delete" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 3589, "end": 3599, "loc": { "start": { "line": 100, "column": 24 }, "end": { "line": 100, "column": 34 } }, "object": { "type": "Identifier", "start": 3589, "end": 3595, "loc": { "start": { "line": 100, "column": 24 }, "end": { "line": 100, "column": 30 }, "identifierName": "change" }, "name": "change" }, "property": { "type": "Identifier", "start": 3596, "end": 3599, "loc": { "start": { "line": 100, "column": 31 }, "end": { "line": 100, "column": 34 }, "identifierName": "pos" }, "name": "pos" }, "computed": false }, { "type": "MemberExpression", "start": 3601, "end": 3614, "loc": { "start": { "line": 100, "column": 36 }, "end": { "line": 100, "column": 49 } }, "object": { "type": "Identifier", "start": 3601, "end": 3607, "loc": { "start": { "line": 100, "column": 36 }, "end": { "line": 100, "column": 42 }, "identifierName": "change" }, "name": "change" }, "property": { "type": "Identifier", "start": 3608, "end": 3614, "loc": { "start": { "line": 100, "column": 43 }, "end": { "line": 100, "column": 49 }, "identifierName": "remove" }, "name": "remove" }, "computed": false } ] } }, { "type": "ExpressionStatement", "start": 3628, "end": 3666, "loc": { "start": { "line": 101, "column": 12 }, "end": { "line": 101, "column": 50 } }, "expression": { "type": "CallExpression", "start": 3628, "end": 3666, "loc": { "start": { "line": 101, "column": 12 }, "end": { "line": 101, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 3628, "end": 3639, "loc": { "start": { "line": 101, "column": 12 }, "end": { "line": 101, "column": 23 } }, "object": { "type": "Identifier", "start": 3628, "end": 3632, "loc": { "start": { "line": 101, "column": 12 }, "end": { "line": 101, "column": 16 }, "identifierName": "yxml" }, "name": "yxml" }, "property": { "type": "Identifier", "start": 3633, "end": 3639, "loc": { "start": { "line": 101, "column": 17 }, "end": { "line": 101, "column": 23 }, "identifierName": "insert" }, "name": "insert" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 3640, "end": 3650, "loc": { "start": { "line": 101, "column": 24 }, "end": { "line": 101, "column": 34 } }, "object": { "type": "Identifier", "start": 3640, "end": 3646, "loc": { "start": { "line": 101, "column": 24 }, "end": { "line": 101, "column": 30 }, "identifierName": "change" }, "name": "change" }, "property": { "type": "Identifier", "start": 3647, "end": 3650, "loc": { "start": { "line": 101, "column": 31 }, "end": { "line": 101, "column": 34 }, "identifierName": "pos" }, "name": "pos" }, "computed": false }, { "type": "MemberExpression", "start": 3652, "end": 3665, "loc": { "start": { "line": 101, "column": 36 }, "end": { "line": 101, "column": 49 } }, "object": { "type": "Identifier", "start": 3652, "end": 3658, "loc": { "start": { "line": 101, "column": 36 }, "end": { "line": 101, "column": 42 }, "identifierName": "change" }, "name": "change" }, "property": { "type": "Identifier", "start": 3659, "end": 3665, "loc": { "start": { "line": 101, "column": 43 }, "end": { "line": 101, "column": 49 }, "identifierName": "insert" }, "name": "insert" }, "computed": false } ] } }, { "type": "BreakStatement", "start": 3679, "end": 3684, "loc": { "start": { "line": 102, "column": 12 }, "end": { "line": 102, "column": 17 } }, "label": null } ], "test": { "type": "StringLiteral", "start": 3486, "end": 3501, "loc": { "start": { "line": 98, "column": 15 }, "end": { "line": 98, "column": 30 } }, "extra": { "rawValue": "characterData", "raw": "'characterData'" }, "value": "characterData" } }, { "type": "SwitchCase", "start": 3695, "end": 4391, "loc": { "start": { "line": 103, "column": 10 }, "end": { "line": 121, "column": 17 } }, "consequent": [ { "type": "IfStatement", "start": 3726, "end": 3800, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 106, "column": 13 } }, "test": { "type": "BinaryExpression", "start": 3730, "end": 3763, "loc": { "start": { "line": 104, "column": 16 }, "end": { "line": 104, "column": 49 } }, "left": { "type": "MemberExpression", "start": 3730, "end": 3746, "loc": { "start": { "line": 104, "column": 16 }, "end": { "line": 104, "column": 32 } }, "object": { "type": "Identifier", "start": 3730, "end": 3734, "loc": { "start": { "line": 104, "column": 16 }, "end": { "line": 104, "column": 20 }, "identifierName": "yxml" }, "name": "yxml" }, "property": { "type": "Identifier", "start": 3735, "end": 3746, "loc": { "start": { "line": 104, "column": 21 }, "end": { "line": 104, "column": 32 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "operator": "===", "right": { "type": "Identifier", "start": 3751, "end": 3763, "loc": { "start": { "line": 104, "column": 37 }, "end": { "line": 104, "column": 49 }, "identifierName": "YXmlFragment" }, "name": "YXmlFragment" } }, "consequent": { "type": "BlockStatement", "start": 3765, "end": 3800, "loc": { "start": { "line": 104, "column": 51 }, "end": { "line": 106, "column": 13 } }, "body": [ { "type": "BreakStatement", "start": 3781, "end": 3786, "loc": { "start": { "line": 105, "column": 14 }, "end": { "line": 105, "column": 19 } }, "label": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 3813, "end": 3846, "loc": { "start": { "line": 107, "column": 12 }, "end": { "line": 107, "column": 45 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3817, "end": 3846, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 45 } }, "id": { "type": "Identifier", "start": 3817, "end": 3821, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 20 }, "identifierName": "name" }, "name": "name" }, "init": { "type": "MemberExpression", "start": 3824, "end": 3846, "loc": { "start": { "line": 107, "column": 23 }, "end": { "line": 107, "column": 45 } }, "object": { "type": "Identifier", "start": 3824, "end": 3832, "loc": { "start": { "line": 107, "column": 23 }, "end": { "line": 107, "column": 31 }, "identifierName": "mutation" }, "name": "mutation" }, "property": { "type": "Identifier", "start": 3833, "end": 3846, "loc": { "start": { "line": 107, "column": 32 }, "end": { "line": 107, "column": 45 }, "identifierName": "attributeName" }, "name": "attributeName" }, "computed": false } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 3859, "end": 3891, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3863, "end": 3891, "loc": { "start": { "line": 108, "column": 16 }, "end": { "line": 108, "column": 44 } }, "id": { "type": "Identifier", "start": 3863, "end": 3866, "loc": { "start": { "line": 108, "column": 16 }, "end": { "line": 108, "column": 19 }, "identifierName": "val" }, "name": "val" }, "init": { "type": "CallExpression", "start": 3869, "end": 3891, "loc": { "start": { "line": 108, "column": 22 }, "end": { "line": 108, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 3869, "end": 3885, "loc": { "start": { "line": 108, "column": 22 }, "end": { "line": 108, "column": 38 } }, "object": { "type": "Identifier", "start": 3869, "end": 3872, "loc": { "start": { "line": 108, "column": 22 }, "end": { "line": 108, "column": 25 }, "identifierName": "dom" }, "name": "dom" }, "property": { "type": "Identifier", "start": 3873, "end": 3885, "loc": { "start": { "line": 108, "column": 26 }, "end": { "line": 108, "column": 38 }, "identifierName": "getAttribute" }, "name": "getAttribute" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 3886, "end": 3890, "loc": { "start": { "line": 108, "column": 39 }, "end": { "line": 108, "column": 43 }, "identifierName": "name" }, "name": "name" } ], "trailingComments": null }, "trailingComments": null } ], "kind": "let", "trailingComments": [ { "type": "CommentLine", "value": " check if filter accepts attribute", "start": 3904, "end": 3940, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 48 } } } ] }, { "type": "VariableDeclaration", "start": 3953, "end": 3979, "loc": { "start": { "line": 110, "column": 12 }, "end": { "line": 110, "column": 38 } }, "declarations": [ { "type": "VariableDeclarator", "start": 3957, "end": 3979, "loc": { "start": { "line": 110, "column": 16 }, "end": { "line": 110, "column": 38 } }, "id": { "type": "Identifier", "start": 3957, "end": 3967, "loc": { "start": { "line": 110, "column": 16 }, "end": { "line": 110, "column": 26 }, "identifierName": "attributes" }, "name": "attributes", "leadingComments": null }, "init": { "type": "NewExpression", "start": 3970, "end": 3979, "loc": { "start": { "line": 110, "column": 29 }, "end": { "line": 110, "column": 38 } }, "callee": { "type": "Identifier", "start": 3974, "end": 3977, "loc": { "start": { "line": 110, "column": 33 }, "end": { "line": 110, "column": 36 }, "identifierName": "Map" }, "name": "Map" }, "arguments": [] }, "leadingComments": null } ], "kind": "let", "leadingComments": [ { "type": "CommentLine", "value": " check if filter accepts attribute", "start": 3904, "end": 3940, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 48 } } } ] }, { "type": "ExpressionStatement", "start": 3992, "end": 4017, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 37 } }, "expression": { "type": "CallExpression", "start": 3992, "end": 4017, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 37 } }, "callee": { "type": "MemberExpression", "start": 3992, "end": 4006, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 26 } }, "object": { "type": "Identifier", "start": 3992, "end": 4002, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 22 }, "identifierName": "attributes" }, "name": "attributes" }, "property": { "type": "Identifier", "start": 4003, "end": 4006, "loc": { "start": { "line": 111, "column": 23 }, "end": { "line": 111, "column": 26 }, "identifierName": "set" }, "name": "set" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4007, "end": 4011, "loc": { "start": { "line": 111, "column": 27 }, "end": { "line": 111, "column": 31 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 4013, "end": 4016, "loc": { "start": { "line": 111, "column": 33 }, "end": { "line": 111, "column": 36 }, "identifierName": "val" }, "name": "val" } ] } }, { "type": "IfStatement", "start": 4030, "end": 4373, "loc": { "start": { "line": 112, "column": 12 }, "end": { "line": 120, "column": 13 } }, "test": { "type": "LogicalExpression", "start": 4034, "end": 4117, "loc": { "start": { "line": 112, "column": 16 }, "end": { "line": 112, "column": 99 } }, "left": { "type": "BinaryExpression", "start": 4034, "end": 4067, "loc": { "start": { "line": 112, "column": 16 }, "end": { "line": 112, "column": 49 } }, "left": { "type": "MemberExpression", "start": 4034, "end": 4050, "loc": { "start": { "line": 112, "column": 16 }, "end": { "line": 112, "column": 32 } }, "object": { "type": "Identifier", "start": 4034, "end": 4038, "loc": { "start": { "line": 112, "column": 16 }, "end": { "line": 112, "column": 20 }, "identifierName": "yxml" }, "name": "yxml" }, "property": { "type": "Identifier", "start": 4039, "end": 4050, "loc": { "start": { "line": 112, "column": 21 }, "end": { "line": 112, "column": 32 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "operator": "!==", "right": { "type": "Identifier", "start": 4055, "end": 4067, "loc": { "start": { "line": 112, "column": 37 }, "end": { "line": 112, "column": 49 }, "identifierName": "YXmlFragment" }, "name": "YXmlFragment" } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 4071, "end": 4117, "loc": { "start": { "line": 112, "column": 53 }, "end": { "line": 112, "column": 99 } }, "left": { "type": "MemberExpression", "start": 4071, "end": 4113, "loc": { "start": { "line": 112, "column": 53 }, "end": { "line": 112, "column": 95 } }, "object": { "type": "CallExpression", "start": 4071, "end": 4108, "loc": { "start": { "line": 112, "column": 53 }, "end": { "line": 112, "column": 90 } }, "callee": { "type": "MemberExpression", "start": 4071, "end": 4082, "loc": { "start": { "line": 112, "column": 53 }, "end": { "line": 112, "column": 64 } }, "object": { "type": "ThisExpression", "start": 4071, "end": 4075, "loc": { "start": { "line": 112, "column": 53 }, "end": { "line": 112, "column": 57 } } }, "property": { "type": "Identifier", "start": 4076, "end": 4082, "loc": { "start": { "line": 112, "column": 58 }, "end": { "line": 112, "column": 64 }, "identifierName": "filter" }, "name": "filter" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 4083, "end": 4095, "loc": { "start": { "line": 112, "column": 65 }, "end": { "line": 112, "column": 77 } }, "object": { "type": "Identifier", "start": 4083, "end": 4086, "loc": { "start": { "line": 112, "column": 65 }, "end": { "line": 112, "column": 68 }, "identifierName": "dom" }, "name": "dom" }, "property": { "type": "Identifier", "start": 4087, "end": 4095, "loc": { "start": { "line": 112, "column": 69 }, "end": { "line": 112, "column": 77 }, "identifierName": "nodeName" }, "name": "nodeName" }, "computed": false }, { "type": "Identifier", "start": 4097, "end": 4107, "loc": { "start": { "line": 112, "column": 79 }, "end": { "line": 112, "column": 89 }, "identifierName": "attributes" }, "name": "attributes" } ] }, "property": { "type": "Identifier", "start": 4109, "end": 4113, "loc": { "start": { "line": 112, "column": 91 }, "end": { "line": 112, "column": 95 }, "identifierName": "size" }, "name": "size" }, "computed": false }, "operator": ">", "right": { "type": "NumericLiteral", "start": 4116, "end": 4117, "loc": { "start": { "line": 112, "column": 98 }, "end": { "line": 112, "column": 99 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } } }, "consequent": { "type": "BlockStatement", "start": 4119, "end": 4373, "loc": { "start": { "line": 112, "column": 101 }, "end": { "line": 120, "column": 13 } }, "body": [ { "type": "IfStatement", "start": 4135, "end": 4359, "loc": { "start": { "line": 113, "column": 14 }, "end": { "line": 119, "column": 15 } }, "test": { "type": "BinaryExpression", "start": 4139, "end": 4170, "loc": { "start": { "line": 113, "column": 18 }, "end": { "line": 113, "column": 49 } }, "left": { "type": "CallExpression", "start": 4139, "end": 4162, "loc": { "start": { "line": 113, "column": 18 }, "end": { "line": 113, "column": 41 } }, "callee": { "type": "MemberExpression", "start": 4139, "end": 4156, "loc": { "start": { "line": 113, "column": 18 }, "end": { "line": 113, "column": 35 } }, "object": { "type": "Identifier", "start": 4139, "end": 4143, "loc": { "start": { "line": 113, "column": 18 }, "end": { "line": 113, "column": 22 }, "identifierName": "yxml" }, "name": "yxml" }, "property": { "type": "Identifier", "start": 4144, "end": 4156, "loc": { "start": { "line": 113, "column": 23 }, "end": { "line": 113, "column": 35 }, "identifierName": "getAttribute" }, "name": "getAttribute" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4157, "end": 4161, "loc": { "start": { "line": 113, "column": 36 }, "end": { "line": 113, "column": 40 }, "identifierName": "name" }, "name": "name" } ] }, "operator": "!==", "right": { "type": "Identifier", "start": 4167, "end": 4170, "loc": { "start": { "line": 113, "column": 46 }, "end": { "line": 113, "column": 49 }, "identifierName": "val" }, "name": "val" } }, "consequent": { "type": "BlockStatement", "start": 4172, "end": 4359, "loc": { "start": { "line": 113, "column": 51 }, "end": { "line": 119, "column": 15 } }, "body": [ { "type": "IfStatement", "start": 4190, "end": 4343, "loc": { "start": { "line": 114, "column": 16 }, "end": { "line": 118, "column": 17 } }, "test": { "type": "BinaryExpression", "start": 4194, "end": 4205, "loc": { "start": { "line": 114, "column": 20 }, "end": { "line": 114, "column": 31 } }, "left": { "type": "Identifier", "start": 4194, "end": 4197, "loc": { "start": { "line": 114, "column": 20 }, "end": { "line": 114, "column": 23 }, "identifierName": "val" }, "name": "val" }, "operator": "==", "right": { "type": "NullLiteral", "start": 4201, "end": 4205, "loc": { "start": { "line": 114, "column": 27 }, "end": { "line": 114, "column": 31 } } } }, "consequent": { "type": "BlockStatement", "start": 4207, "end": 4271, "loc": { "start": { "line": 114, "column": 33 }, "end": { "line": 116, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 4227, "end": 4253, "loc": { "start": { "line": 115, "column": 18 }, "end": { "line": 115, "column": 44 } }, "expression": { "type": "CallExpression", "start": 4227, "end": 4253, "loc": { "start": { "line": 115, "column": 18 }, "end": { "line": 115, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4227, "end": 4247, "loc": { "start": { "line": 115, "column": 18 }, "end": { "line": 115, "column": 38 } }, "object": { "type": "Identifier", "start": 4227, "end": 4231, "loc": { "start": { "line": 115, "column": 18 }, "end": { "line": 115, "column": 22 }, "identifierName": "yxml" }, "name": "yxml" }, "property": { "type": "Identifier", "start": 4232, "end": 4247, "loc": { "start": { "line": 115, "column": 23 }, "end": { "line": 115, "column": 38 }, "identifierName": "removeAttribute" }, "name": "removeAttribute" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4248, "end": 4252, "loc": { "start": { "line": 115, "column": 39 }, "end": { "line": 115, "column": 43 }, "identifierName": "name" }, "name": "name" } ] } } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 4277, "end": 4343, "loc": { "start": { "line": 116, "column": 23 }, "end": { "line": 118, "column": 17 } }, "body": [ { "type": "ExpressionStatement", "start": 4297, "end": 4325, "loc": { "start": { "line": 117, "column": 18 }, "end": { "line": 117, "column": 46 } }, "expression": { "type": "CallExpression", "start": 4297, "end": 4325, "loc": { "start": { "line": 117, "column": 18 }, "end": { "line": 117, "column": 46 } }, "callee": { "type": "MemberExpression", "start": 4297, "end": 4314, "loc": { "start": { "line": 117, "column": 18 }, "end": { "line": 117, "column": 35 } }, "object": { "type": "Identifier", "start": 4297, "end": 4301, "loc": { "start": { "line": 117, "column": 18 }, "end": { "line": 117, "column": 22 }, "identifierName": "yxml" }, "name": "yxml" }, "property": { "type": "Identifier", "start": 4302, "end": 4314, "loc": { "start": { "line": 117, "column": 23 }, "end": { "line": 117, "column": 35 }, "identifierName": "setAttribute" }, "name": "setAttribute" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4315, "end": 4319, "loc": { "start": { "line": 117, "column": 36 }, "end": { "line": 117, "column": 40 }, "identifierName": "name" }, "name": "name" }, { "type": "Identifier", "start": 4321, "end": 4324, "loc": { "start": { "line": 117, "column": 42 }, "end": { "line": 117, "column": 45 }, "identifierName": "val" }, "name": "val" } ] } } ], "directives": [] } } ], "directives": [] }, "alternate": null } ], "directives": [] }, "alternate": null }, { "type": "BreakStatement", "start": 4386, "end": 4391, "loc": { "start": { "line": 121, "column": 12 }, "end": { "line": 121, "column": 17 } }, "label": null } ], "test": { "type": "StringLiteral", "start": 3700, "end": 3712, "loc": { "start": { "line": 103, "column": 15 }, "end": { "line": 103, "column": 27 } }, "extra": { "rawValue": "attributes", "raw": "'attributes'" }, "value": "attributes" } }, { "type": "SwitchCase", "start": 4402, "end": 4483, "loc": { "start": { "line": 122, "column": 10 }, "end": { "line": 124, "column": 17 } }, "consequent": [ { "type": "ExpressionStatement", "start": 4432, "end": 4465, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 45 } }, "expression": { "type": "CallExpression", "start": 4432, "end": 4465, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 45 } }, "callee": { "type": "MemberExpression", "start": 4432, "end": 4448, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 28 } }, "object": { "type": "Identifier", "start": 4432, "end": 4444, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 24 }, "identifierName": "diffChildren" }, "name": "diffChildren" }, "property": { "type": "Identifier", "start": 4445, "end": 4448, "loc": { "start": { "line": 123, "column": 25 }, "end": { "line": 123, "column": 28 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 4449, "end": 4464, "loc": { "start": { "line": 123, "column": 29 }, "end": { "line": 123, "column": 44 } }, "object": { "type": "Identifier", "start": 4449, "end": 4457, "loc": { "start": { "line": 123, "column": 29 }, "end": { "line": 123, "column": 37 }, "identifierName": "mutation" }, "name": "mutation" }, "property": { "type": "Identifier", "start": 4458, "end": 4464, "loc": { "start": { "line": 123, "column": 38 }, "end": { "line": 123, "column": 44 }, "identifierName": "target" }, "name": "target" }, "computed": false } ] } }, { "type": "BreakStatement", "start": 4478, "end": 4483, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 17 } }, "label": null } ], "test": { "type": "StringLiteral", "start": 4407, "end": 4418, "loc": { "start": { "line": 122, "column": 15 }, "end": { "line": 122, "column": 26 } }, "extra": { "rawValue": "childList", "raw": "'childList'" }, "value": "childList" } } ] } ], "directives": [] } } ] } }, { "type": "ForOfStatement", "start": 4509, "end": 4746, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 133, "column": 7 } }, "left": { "type": "VariableDeclaration", "start": 4514, "end": 4521, "loc": { "start": { "line": 127, "column": 11 }, "end": { "line": 127, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4518, "end": 4521, "loc": { "start": { "line": 127, "column": 15 }, "end": { "line": 127, "column": 18 } }, "id": { "type": "Identifier", "start": 4518, "end": 4521, "loc": { "start": { "line": 127, "column": 15 }, "end": { "line": 127, "column": 18 }, "identifierName": "dom" }, "name": "dom" }, "init": null } ], "kind": "let" }, "right": { "type": "Identifier", "start": 4525, "end": 4537, "loc": { "start": { "line": 127, "column": 22 }, "end": { "line": 127, "column": 34 }, "identifierName": "diffChildren" }, "name": "diffChildren" }, "body": { "type": "BlockStatement", "start": 4539, "end": 4746, "loc": { "start": { "line": 127, "column": 36 }, "end": { "line": 133, "column": 7 } }, "body": [ { "type": "IfStatement", "start": 4549, "end": 4637, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 130, "column": 9 } }, "test": { "type": "BinaryExpression", "start": 4553, "end": 4589, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 48 } }, "left": { "type": "MemberExpression", "start": 4553, "end": 4575, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 34 } }, "object": { "type": "Identifier", "start": 4553, "end": 4556, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 15 }, "identifierName": "dom" }, "name": "dom" }, "property": { "type": "Identifier", "start": 4557, "end": 4575, "loc": { "start": { "line": 128, "column": 16 }, "end": { "line": 128, "column": 34 }, "identifierName": "yOnChildrenChanged" }, "name": "yOnChildrenChanged" }, "computed": false }, "operator": "!==", "right": { "type": "Identifier", "start": 4580, "end": 4589, "loc": { "start": { "line": 128, "column": 39 }, "end": { "line": 128, "column": 48 }, "identifierName": "undefined" }, "name": "undefined" } }, "consequent": { "type": "BlockStatement", "start": 4591, "end": 4637, "loc": { "start": { "line": 128, "column": 50 }, "end": { "line": 130, "column": 9 } }, "body": [ { "type": "ExpressionStatement", "start": 4603, "end": 4627, "loc": { "start": { "line": 129, "column": 10 }, "end": { "line": 129, "column": 34 } }, "expression": { "type": "CallExpression", "start": 4603, "end": 4627, "loc": { "start": { "line": 129, "column": 10 }, "end": { "line": 129, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 4603, "end": 4625, "loc": { "start": { "line": 129, "column": 10 }, "end": { "line": 129, "column": 32 } }, "object": { "type": "Identifier", "start": 4603, "end": 4606, "loc": { "start": { "line": 129, "column": 10 }, "end": { "line": 129, "column": 13 }, "identifierName": "dom" }, "name": "dom" }, "property": { "type": "Identifier", "start": 4607, "end": 4625, "loc": { "start": { "line": 129, "column": 14 }, "end": { "line": 129, "column": 32 }, "identifierName": "yOnChildrenChanged" }, "name": "yOnChildrenChanged" }, "computed": false }, "arguments": [] } } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 4646, "end": 4682, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 44 } }, "declarations": [ { "type": "VariableDeclarator", "start": 4652, "end": 4682, "loc": { "start": { "line": 131, "column": 14 }, "end": { "line": 131, "column": 44 } }, "id": { "type": "Identifier", "start": 4652, "end": 4656, "loc": { "start": { "line": 131, "column": 14 }, "end": { "line": 131, "column": 18 }, "identifierName": "yxml" }, "name": "yxml" }, "init": { "type": "CallExpression", "start": 4659, "end": 4682, "loc": { "start": { "line": 131, "column": 21 }, "end": { "line": 131, "column": 44 } }, "callee": { "type": "MemberExpression", "start": 4659, "end": 4677, "loc": { "start": { "line": 131, "column": 21 }, "end": { "line": 131, "column": 39 } }, "object": { "type": "MemberExpression", "start": 4659, "end": 4673, "loc": { "start": { "line": 131, "column": 21 }, "end": { "line": 131, "column": 35 } }, "object": { "type": "ThisExpression", "start": 4659, "end": 4663, "loc": { "start": { "line": 131, "column": 21 }, "end": { "line": 131, "column": 25 } } }, "property": { "type": "Identifier", "start": 4664, "end": 4673, "loc": { "start": { "line": 131, "column": 26 }, "end": { "line": 131, "column": 35 }, "identifierName": "domToType" }, "name": "domToType" }, "computed": false }, "property": { "type": "Identifier", "start": 4674, "end": 4677, "loc": { "start": { "line": 131, "column": 36 }, "end": { "line": 131, "column": 39 }, "identifierName": "get" }, "name": "get" }, "computed": false }, "arguments": [ { "type": "Identifier", "start": 4678, "end": 4681, "loc": { "start": { "line": 131, "column": 40 }, "end": { "line": 131, "column": 43 }, "identifierName": "dom" }, "name": "dom" } ] } } ], "kind": "const" }, { "type": "ExpressionStatement", "start": 4691, "end": 4738, "loc": { "start": { "line": 132, "column": 8 }, "end": { "line": 132, "column": 55 } }, "expression": { "type": "CallExpression", "start": 4691, "end": 4738, "loc": { "start": { "line": 132, "column": 8 }, "end": { "line": 132, "column": 55 } }, "callee": { "type": "Identifier", "start": 4691, "end": 4710, "loc": { "start": { "line": 132, "column": 8 }, "end": { "line": 132, "column": 27 }, "identifierName": "applyChangesFromDom" }, "name": "applyChangesFromDom" }, "arguments": [ { "type": "ThisExpression", "start": 4711, "end": 4715, "loc": { "start": { "line": 132, "column": 28 }, "end": { "line": 132, "column": 32 } } }, { "type": "Identifier", "start": 4717, "end": 4720, "loc": { "start": { "line": 132, "column": 34 }, "end": { "line": 132, "column": 37 }, "identifierName": "dom" }, "name": "dom" }, { "type": "Identifier", "start": 4722, "end": 4726, "loc": { "start": { "line": 132, "column": 39 }, "end": { "line": 132, "column": 43 }, "identifierName": "yxml" }, "name": "yxml" }, { "type": "Identifier", "start": 4728, "end": 4737, "loc": { "start": { "line": 132, "column": 45 }, "end": { "line": 132, "column": 54 }, "identifierName": "_document" }, "name": "_document" } ] } } ], "directives": [] } } ], "directives": [] } } ] } } ], "directives": [] } } ] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 2990, "end": 3009, "loc": { "start": { "line": 83, "column": 0 }, "end": { "line": 85, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 2990, "end": 3009, "loc": { "start": { "line": 83, "column": 0 }, "end": { "line": 85, "column": 3 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * 1. Check if any of the nodes was deleted\n * 2. Iterate over the children.\n * 2.1 If a node exists that is not yet bound to a type, insert a new node\n * 2.2 If _contents.length < dom.childNodes.length, fill the\n * rest of _content with childNodes\n * 2.3 If a node was moved, delete it and\n * recreate a new yxml element that is bound to that node.\n * You can detect that a node was moved because expectedId\n * !== actualId in the list\n * @private\n ", "start": 251, "end": 741, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 21, "column": 3 } } }, { "type": "CommentLine", "value": " 1. Check if any of the nodes was deleted", "start": 1152, "end": 1195, "loc": { "start": { "line": 34, "column": 2 }, "end": { "line": 34, "column": 45 } } }, { "type": "CommentLine", "value": " 2. iterate", "start": 1402, "end": 1415, "loc": { "start": { "line": 41, "column": 2 }, "end": { "line": 41, "column": 15 } } }, { "type": "CommentLine", "value": " should be ignored or is going to be deleted", "start": 1791, "end": 1837, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 54 } } }, { "type": "CommentLine", "value": " 2.3 Not expected node", "start": 1950, "end": 1974, "loc": { "start": { "line": 56, "column": 10 }, "end": { "line": 56, "column": 34 } } }, { "type": "CommentLine", "value": " child was moved from another parent", "start": 2031, "end": 2069, "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 58, "column": 50 } } }, { "type": "CommentLine", "value": " childType is going to be deleted by its previous parent", "start": 2082, "end": 2140, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 70 } } }, { "type": "CommentLine", "value": " child was moved to a different position.", "start": 2233, "end": 2276, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 55 } } }, { "type": "CommentLine", "value": " Found expected node. Continue.", "start": 2511, "end": 2544, "loc": { "start": { "line": 68, "column": 10 }, "end": { "line": 68, "column": 43 } } }, { "type": "CommentLine", "value": " 2.2 Fill _content with child nodes", "start": 2688, "end": 2725, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 73, "column": 45 } } }, { "type": "CommentLine", "value": " 2.1 A new node was found", "start": 2852, "end": 2879, "loc": { "start": { "line": 77, "column": 6 }, "end": { "line": 77, "column": 33 } } }, { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 2990, "end": 3009, "loc": { "start": { "line": 83, "column": 0 }, "end": { "line": 85, "column": 3 } } }, { "type": "CommentLine", "value": " dom element is filtered", "start": 3384, "end": 3410, "loc": { "start": { "line": 94, "column": 10 }, "end": { "line": 94, "column": 36 } } }, { "type": "CommentLine", "value": " check if filter accepts attribute", "start": 3904, "end": 3940, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 48 } } } ], "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": "YXmlHook", "start": 8, "end": 16, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 17, "end": 21, "loc": { "start": { "line": 2, "column": 16 }, "end": { "line": 2, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../Types/YXml/YXmlHook.js", "start": 22, "end": 52, "loc": { "start": { "line": 2, "column": 21 }, "end": { "line": 2, "column": 51 } } }, { "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": 53, "end": 59, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 60, "end": 61, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "iterateUntilUndeleted", "start": 64, "end": 85, "loc": { "start": { "line": 4, "column": 2 }, "end": { "line": 4, "column": 23 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 85, "end": 86, "loc": { "start": { "line": 4, "column": 23 }, "end": { "line": 4, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeAssociation", "start": 89, "end": 106, "loc": { "start": { "line": 5, "column": 2 }, "end": { "line": 5, "column": 19 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 106, "end": 107, "loc": { "start": { "line": 5, "column": 19 }, "end": { "line": 5, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insertNodeHelper", "start": 110, "end": 126, "loc": { "start": { "line": 6, "column": 2 }, "end": { "line": 6, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 127, "end": 128, "loc": { "start": { "line": 6, "column": 19 }, "end": { "line": 6, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 129, "end": 133, "loc": { "start": { "line": 6, "column": 21 }, "end": { "line": 6, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "./util.js", "start": 134, "end": 145, "loc": { "start": { "line": 6, "column": 26 }, "end": { "line": 6, "column": 37 } } }, { "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": 146, "end": 152, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "diff", "start": 153, "end": 157, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 158, "end": 162, "loc": { "start": { "line": 7, "column": 12 }, "end": { "line": 7, "column": 16 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../Util/simpleDiff.js", "start": 163, "end": 189, "loc": { "start": { "line": 7, "column": 17 }, "end": { "line": 7, "column": 43 } } }, { "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": 190, "end": 196, "loc": { "start": { "line": 8, "column": 0 }, "end": { "line": 8, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "YXmlFragment", "start": 197, "end": 209, "loc": { "start": { "line": 8, "column": 7 }, "end": { "line": 8, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 210, "end": 214, "loc": { "start": { "line": 8, "column": 20 }, "end": { "line": 8, "column": 24 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../../Types/YXml/YXmlFragment.js", "start": 215, "end": 249, "loc": { "start": { "line": 8, "column": 25 }, "end": { "line": 8, "column": 59 } } }, { "type": "CommentBlock", "value": "*\n * 1. Check if any of the nodes was deleted\n * 2. Iterate over the children.\n * 2.1 If a node exists that is not yet bound to a type, insert a new node\n * 2.2 If _contents.length < dom.childNodes.length, fill the\n * rest of _content with childNodes\n * 2.3 If a node was moved, delete it and\n * recreate a new yxml element that is bound to that node.\n * You can detect that a node was moved because expectedId\n * !== actualId in the list\n * @private\n ", "start": 251, "end": 741, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 21, "column": 3 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 742, "end": 750, "loc": { "start": { "line": 22, "column": 0 }, "end": { "line": 22, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "applyChangesFromDom", "start": 751, "end": 770, "loc": { "start": { "line": 22, "column": 9 }, "end": { "line": 22, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 771, "end": 772, "loc": { "start": { "line": 22, "column": 29 }, "end": { "line": 22, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "binding", "start": 772, "end": 779, "loc": { "start": { "line": 22, "column": 30 }, "end": { "line": 22, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 779, "end": 780, "loc": { "start": { "line": 22, "column": 37 }, "end": { "line": 22, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 781, "end": 784, "loc": { "start": { "line": 22, "column": 39 }, "end": { "line": 22, "column": 42 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 784, "end": 785, "loc": { "start": { "line": 22, "column": 42 }, "end": { "line": 22, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 786, "end": 790, "loc": { "start": { "line": 22, "column": 44 }, "end": { "line": 22, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 790, "end": 791, "loc": { "start": { "line": 22, "column": 48 }, "end": { "line": 22, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_document", "start": 792, "end": 801, "loc": { "start": { "line": 22, "column": 50 }, "end": { "line": 22, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 801, "end": 802, "loc": { "start": { "line": 22, "column": 59 }, "end": { "line": 22, "column": 60 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 803, "end": 804, "loc": { "start": { "line": 22, "column": 61 }, "end": { "line": 22, "column": 62 } } }, { "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": 807, "end": 809, "loc": { "start": { "line": 23, "column": 2 }, "end": { "line": 23, "column": 4 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 810, "end": 811, "loc": { "start": { "line": 23, "column": 5 }, "end": { "line": 23, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 811, "end": 815, "loc": { "start": { "line": 23, "column": 6 }, "end": { "line": 23, "column": 10 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "==", "start": 816, "end": 818, "loc": { "start": { "line": 23, "column": 11 }, "end": { "line": 23, "column": 13 } } }, { "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": 819, "end": 823, "loc": { "start": { "line": 23, "column": 14 }, "end": { "line": 23, "column": 18 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 824, "end": 826, "loc": { "start": { "line": 23, "column": 19 }, "end": { "line": 23, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 827, "end": 831, "loc": { "start": { "line": 23, "column": 22 }, "end": { "line": 23, "column": 26 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 832, "end": 835, "loc": { "start": { "line": 23, "column": 27 }, "end": { "line": 23, "column": 30 } } }, { "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": 836, "end": 841, "loc": { "start": { "line": 23, "column": 31 }, "end": { "line": 23, "column": 36 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 842, "end": 844, "loc": { "start": { "line": 23, "column": 37 }, "end": { "line": 23, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 845, "end": 849, "loc": { "start": { "line": 23, "column": 40 }, "end": { "line": 23, "column": 44 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 849, "end": 850, "loc": { "start": { "line": 23, "column": 44 }, "end": { "line": 23, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 850, "end": 861, "loc": { "start": { "line": 23, "column": 45 }, "end": { "line": 23, "column": 56 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 862, "end": 865, "loc": { "start": { "line": 23, "column": 57 }, "end": { "line": 23, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "YXmlHook", "start": 866, "end": 874, "loc": { "start": { "line": 23, "column": 61 }, "end": { "line": 23, "column": 69 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 874, "end": 875, "loc": { "start": { "line": 23, "column": 69 }, "end": { "line": 23, "column": 70 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 876, "end": 877, "loc": { "start": { "line": 23, "column": 71 }, "end": { "line": 23, "column": 72 } } }, { "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": 882, "end": 888, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 891, "end": 892, "loc": { "start": { "line": 25, "column": 2 }, "end": { "line": 25, "column": 3 } } }, { "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": 895, "end": 900, "loc": { "start": { "line": 26, "column": 2 }, "end": { "line": 26, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 901, "end": 902, "loc": { "start": { "line": 26, "column": 8 }, "end": { "line": 26, "column": 9 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 903, "end": 904, "loc": { "start": { "line": 26, "column": 10 }, "end": { "line": 26, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 905, "end": 909, "loc": { "start": { "line": 26, "column": 12 }, "end": { "line": 26, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 909, "end": 910, "loc": { "start": { "line": 26, "column": 16 }, "end": { "line": 26, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_y", "start": 910, "end": 912, "loc": { "start": { "line": 26, "column": 17 }, "end": { "line": 26, "column": 19 } } }, { "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": 915, "end": 920, "loc": { "start": { "line": 27, "column": 2 }, "end": { "line": 27, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "knownChildren", "start": 921, "end": 934, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 21 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 935, "end": 936, "loc": { "start": { "line": 27, "column": 22 }, "end": { "line": 27, "column": 23 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 937, "end": 940, "loc": { "start": { "line": 27, "column": 24 }, "end": { "line": 27, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Set", "start": 941, "end": 944, "loc": { "start": { "line": 27, "column": 28 }, "end": { "line": 27, "column": 31 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 944, "end": 945, "loc": { "start": { "line": 27, "column": 31 }, "end": { "line": 27, "column": 32 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 945, "end": 946, "loc": { "start": { "line": 27, "column": 32 }, "end": { "line": 27, "column": 33 } } }, { "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": 949, "end": 952, "loc": { "start": { "line": 28, "column": 2 }, "end": { "line": 28, "column": 5 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 953, "end": 954, "loc": { "start": { "line": 28, "column": 6 }, "end": { "line": 28, "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": 954, "end": 957, "loc": { "start": { "line": 28, "column": 7 }, "end": { "line": 28, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 958, "end": 959, "loc": { "start": { "line": 28, "column": 11 }, "end": { "line": 28, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 960, "end": 961, "loc": { "start": { "line": 28, "column": 13 }, "end": { "line": 28, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 962, "end": 965, "loc": { "start": { "line": 28, "column": 15 }, "end": { "line": 28, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 965, "end": 966, "loc": { "start": { "line": 28, "column": 18 }, "end": { "line": 28, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childNodes", "start": 966, "end": 976, "loc": { "start": { "line": 28, "column": 19 }, "end": { "line": 28, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 976, "end": 977, "loc": { "start": { "line": 28, "column": 29 }, "end": { "line": 28, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 977, "end": 983, "loc": { "start": { "line": 28, "column": 30 }, "end": { "line": 28, "column": 36 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 984, "end": 985, "loc": { "start": { "line": 28, "column": 37 }, "end": { "line": 28, "column": 38 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 986, "end": 987, "loc": { "start": { "line": 28, "column": 39 }, "end": { "line": 28, "column": 40 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 987, "end": 988, "loc": { "start": { "line": 28, "column": 40 }, "end": { "line": 28, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 989, "end": 990, "loc": { "start": { "line": 28, "column": 42 }, "end": { "line": 28, "column": 43 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 991, "end": 993, "loc": { "start": { "line": 28, "column": 44 }, "end": { "line": 28, "column": 46 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 994, "end": 995, "loc": { "start": { "line": 28, "column": 47 }, "end": { "line": 28, "column": 48 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 995, "end": 996, "loc": { "start": { "line": 28, "column": 48 }, "end": { "line": 28, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 997, "end": 998, "loc": { "start": { "line": 28, "column": 50 }, "end": { "line": 28, "column": 51 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "--", "start": 998, "end": 1000, "loc": { "start": { "line": 28, "column": 51 }, "end": { "line": 28, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1000, "end": 1001, "loc": { "start": { "line": 28, "column": 53 }, "end": { "line": 28, "column": 54 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1002, "end": 1003, "loc": { "start": { "line": 28, "column": 55 }, "end": { "line": 28, "column": 56 } } }, { "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": 1008, "end": 1013, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 1014, "end": 1018, "loc": { "start": { "line": 29, "column": 10 }, "end": { "line": 29, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1019, "end": 1020, "loc": { "start": { "line": 29, "column": 15 }, "end": { "line": 29, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "binding", "start": 1021, "end": 1028, "loc": { "start": { "line": 29, "column": 17 }, "end": { "line": 29, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1028, "end": 1029, "loc": { "start": { "line": 29, "column": 24 }, "end": { "line": 29, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domToType", "start": 1029, "end": 1038, "loc": { "start": { "line": 29, "column": 25 }, "end": { "line": 29, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1038, "end": 1039, "loc": { "start": { "line": 29, "column": 34 }, "end": { "line": 29, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 1039, "end": 1042, "loc": { "start": { "line": 29, "column": 35 }, "end": { "line": 29, "column": 38 } } }, { "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": 29, "column": 38 }, "end": { "line": 29, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 1043, "end": 1046, "loc": { "start": { "line": 29, "column": 39 }, "end": { "line": 29, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1046, "end": 1047, "loc": { "start": { "line": 29, "column": 42 }, "end": { "line": 29, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childNodes", "start": 1047, "end": 1057, "loc": { "start": { "line": 29, "column": 43 }, "end": { "line": 29, "column": 53 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1057, "end": 1058, "loc": { "start": { "line": 29, "column": 53 }, "end": { "line": 29, "column": 54 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1058, "end": 1059, "loc": { "start": { "line": 29, "column": 54 }, "end": { "line": 29, "column": 55 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1059, "end": 1060, "loc": { "start": { "line": 29, "column": 55 }, "end": { "line": 29, "column": 56 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1060, "end": 1061, "loc": { "start": { "line": 29, "column": 56 }, "end": { "line": 29, "column": 57 } } }, { "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": 1066, "end": 1068, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1069, "end": 1070, "loc": { "start": { "line": 30, "column": 7 }, "end": { "line": 30, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 1070, "end": 1074, "loc": { "start": { "line": 30, "column": 8 }, "end": { "line": 30, "column": 12 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 1075, "end": 1078, "loc": { "start": { "line": 30, "column": 13 }, "end": { "line": 30, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 1079, "end": 1088, "loc": { "start": { "line": 30, "column": 17 }, "end": { "line": 30, "column": 26 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 1089, "end": 1091, "loc": { "start": { "line": 30, "column": 27 }, "end": { "line": 30, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 1092, "end": 1096, "loc": { "start": { "line": 30, "column": 30 }, "end": { "line": 30, "column": 34 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 1097, "end": 1100, "loc": { "start": { "line": 30, "column": 35 }, "end": { "line": 30, "column": 38 } } }, { "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": 1101, "end": 1106, "loc": { "start": { "line": 30, "column": 39 }, "end": { "line": 30, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1106, "end": 1107, "loc": { "start": { "line": 30, "column": 44 }, "end": { "line": 30, "column": 45 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1108, "end": 1109, "loc": { "start": { "line": 30, "column": 46 }, "end": { "line": 30, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "knownChildren", "start": 1116, "end": 1129, "loc": { "start": { "line": 31, "column": 6 }, "end": { "line": 31, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1129, "end": 1130, "loc": { "start": { "line": 31, "column": 19 }, "end": { "line": 31, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 1130, "end": 1133, "loc": { "start": { "line": 31, "column": 20 }, "end": { "line": 31, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1133, "end": 1134, "loc": { "start": { "line": 31, "column": 23 }, "end": { "line": 31, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 1134, "end": 1138, "loc": { "start": { "line": 31, "column": 24 }, "end": { "line": 31, "column": 28 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1138, "end": 1139, "loc": { "start": { "line": 31, "column": 28 }, "end": { "line": 31, "column": 29 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1144, "end": 1145, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 32, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1148, "end": 1149, "loc": { "start": { "line": 33, "column": 2 }, "end": { "line": 33, "column": 3 } } }, { "type": "CommentLine", "value": " 1. Check if any of the nodes was deleted", "start": 1152, "end": 1195, "loc": { "start": { "line": 34, "column": 2 }, "end": { "line": 34, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 1198, "end": 1202, "loc": { "start": { "line": 35, "column": 2 }, "end": { "line": 35, "column": 6 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1202, "end": 1203, "loc": { "start": { "line": 35, "column": 6 }, "end": { "line": 35, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 1203, "end": 1210, "loc": { "start": { "line": 35, "column": 7 }, "end": { "line": 35, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1210, "end": 1211, "loc": { "start": { "line": 35, "column": 14 }, "end": { "line": 35, "column": 15 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 1211, "end": 1219, "loc": { "start": { "line": 35, "column": 15 }, "end": { "line": 35, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1220, "end": 1221, "loc": { "start": { "line": 35, "column": 24 }, "end": { "line": 35, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childType", "start": 1221, "end": 1230, "loc": { "start": { "line": 35, "column": 25 }, "end": { "line": 35, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1230, "end": 1231, "loc": { "start": { "line": 35, "column": 34 }, "end": { "line": 35, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1232, "end": 1233, "loc": { "start": { "line": 35, "column": 36 }, "end": { "line": 35, "column": 37 } } }, { "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": 1238, "end": 1240, "loc": { "start": { "line": 36, "column": 4 }, "end": { "line": 36, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1241, "end": 1242, "loc": { "start": { "line": 36, "column": 7 }, "end": { "line": 36, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "knownChildren", "start": 1242, "end": 1255, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 36, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1255, "end": 1256, "loc": { "start": { "line": 36, "column": 21 }, "end": { "line": 36, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "has", "start": 1256, "end": 1259, "loc": { "start": { "line": 36, "column": 22 }, "end": { "line": 36, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1259, "end": 1260, "loc": { "start": { "line": 36, "column": 25 }, "end": { "line": 36, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childType", "start": 1260, "end": 1269, "loc": { "start": { "line": 36, "column": 26 }, "end": { "line": 36, "column": 35 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1269, "end": 1270, "loc": { "start": { "line": 36, "column": 35 }, "end": { "line": 36, "column": 36 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 1271, "end": 1274, "loc": { "start": { "line": 36, "column": 37 }, "end": { "line": 36, "column": 40 } } }, { "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": 1275, "end": 1280, "loc": { "start": { "line": 36, "column": 41 }, "end": { "line": 36, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1280, "end": 1281, "loc": { "start": { "line": 36, "column": 46 }, "end": { "line": 36, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1282, "end": 1283, "loc": { "start": { "line": 36, "column": 48 }, "end": { "line": 36, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childType", "start": 1290, "end": 1299, "loc": { "start": { "line": 37, "column": 6 }, "end": { "line": 37, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1299, "end": 1300, "loc": { "start": { "line": 37, "column": 15 }, "end": { "line": 37, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_delete", "start": 1300, "end": 1307, "loc": { "start": { "line": 37, "column": 16 }, "end": { "line": 37, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1307, "end": 1308, "loc": { "start": { "line": 37, "column": 23 }, "end": { "line": 37, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 1308, "end": 1309, "loc": { "start": { "line": 37, "column": 24 }, "end": { "line": 37, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1309, "end": 1310, "loc": { "start": { "line": 37, "column": 25 }, "end": { "line": 37, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeAssociation", "start": 1317, "end": 1334, "loc": { "start": { "line": 38, "column": 6 }, "end": { "line": 38, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1334, "end": 1335, "loc": { "start": { "line": 38, "column": 23 }, "end": { "line": 38, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "binding", "start": 1335, "end": 1342, "loc": { "start": { "line": 38, "column": 24 }, "end": { "line": 38, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1342, "end": 1343, "loc": { "start": { "line": 38, "column": 31 }, "end": { "line": 38, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "binding", "start": 1344, "end": 1351, "loc": { "start": { "line": 38, "column": 33 }, "end": { "line": 38, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1351, "end": 1352, "loc": { "start": { "line": 38, "column": 40 }, "end": { "line": 38, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "typeToDom", "start": 1352, "end": 1361, "loc": { "start": { "line": 38, "column": 41 }, "end": { "line": 38, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1361, "end": 1362, "loc": { "start": { "line": 38, "column": 50 }, "end": { "line": 38, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 1362, "end": 1365, "loc": { "start": { "line": 38, "column": 51 }, "end": { "line": 38, "column": 54 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1365, "end": 1366, "loc": { "start": { "line": 38, "column": 54 }, "end": { "line": 38, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childType", "start": 1366, "end": 1375, "loc": { "start": { "line": 38, "column": 55 }, "end": { "line": 38, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1375, "end": 1376, "loc": { "start": { "line": 38, "column": 64 }, "end": { "line": 38, "column": 65 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1376, "end": 1377, "loc": { "start": { "line": 38, "column": 65 }, "end": { "line": 38, "column": 66 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childType", "start": 1378, "end": 1387, "loc": { "start": { "line": 38, "column": 67 }, "end": { "line": 38, "column": 76 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1387, "end": 1388, "loc": { "start": { "line": 38, "column": 76 }, "end": { "line": 38, "column": 77 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1393, "end": 1394, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 39, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1397, "end": 1398, "loc": { "start": { "line": 40, "column": 2 }, "end": { "line": 40, "column": 3 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1398, "end": 1399, "loc": { "start": { "line": 40, "column": 3 }, "end": { "line": 40, "column": 4 } } }, { "type": "CommentLine", "value": " 2. iterate", "start": 1402, "end": 1415, "loc": { "start": { "line": 41, "column": 2 }, "end": { "line": 41, "column": 15 } } }, { "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": 1418, "end": 1423, "loc": { "start": { "line": 42, "column": 2 }, "end": { "line": 42, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childNodes", "start": 1424, "end": 1434, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1435, "end": 1436, "loc": { "start": { "line": 42, "column": 19 }, "end": { "line": 42, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 1437, "end": 1440, "loc": { "start": { "line": 42, "column": 21 }, "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": 1440, "end": 1441, "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": "childNodes", "start": 1441, "end": 1451, "loc": { "start": { "line": 42, "column": 25 }, "end": { "line": 42, "column": 35 } } }, { "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": 1454, "end": 1459, "loc": { "start": { "line": 43, "column": 2 }, "end": { "line": 43, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "len", "start": 1460, "end": 1463, "loc": { "start": { "line": 43, "column": 8 }, "end": { "line": 43, "column": 11 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1464, "end": 1465, "loc": { "start": { "line": 43, "column": 12 }, "end": { "line": 43, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childNodes", "start": 1466, "end": 1476, "loc": { "start": { "line": 43, "column": 14 }, "end": { "line": 43, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1476, "end": 1477, "loc": { "start": { "line": 43, "column": 24 }, "end": { "line": 43, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1477, "end": 1483, "loc": { "start": { "line": 43, "column": 25 }, "end": { "line": 43, "column": 31 } } }, { "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": 1486, "end": 1489, "loc": { "start": { "line": 44, "column": 2 }, "end": { "line": 44, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prevExpectedType", "start": 1490, "end": 1506, "loc": { "start": { "line": 44, "column": 6 }, "end": { "line": 44, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1507, "end": 1508, "loc": { "start": { "line": 44, "column": 23 }, "end": { "line": 44, "column": 24 } } }, { "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": 1509, "end": 1513, "loc": { "start": { "line": 44, "column": 25 }, "end": { "line": 44, "column": 29 } } }, { "type": { "label": "let", "keyword": "let", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "let", "start": 1516, "end": 1519, "loc": { "start": { "line": 45, "column": 2 }, "end": { "line": 45, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "expectedType", "start": 1520, "end": 1532, "loc": { "start": { "line": 45, "column": 6 }, "end": { "line": 45, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1533, "end": 1534, "loc": { "start": { "line": 45, "column": 19 }, "end": { "line": 45, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "iterateUntilUndeleted", "start": 1535, "end": 1556, "loc": { "start": { "line": 45, "column": 21 }, "end": { "line": 45, "column": 42 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1556, "end": 1557, "loc": { "start": { "line": 45, "column": 42 }, "end": { "line": 45, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 1557, "end": 1561, "loc": { "start": { "line": 45, "column": 43 }, "end": { "line": 45, "column": 47 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1561, "end": 1562, "loc": { "start": { "line": 45, "column": 47 }, "end": { "line": 45, "column": 48 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_start", "start": 1562, "end": 1568, "loc": { "start": { "line": 45, "column": 48 }, "end": { "line": 45, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1568, "end": 1569, "loc": { "start": { "line": 45, "column": 54 }, "end": { "line": 45, "column": 55 } } }, { "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": 1572, "end": 1575, "loc": { "start": { "line": 46, "column": 2 }, "end": { "line": 46, "column": 5 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1576, "end": 1577, "loc": { "start": { "line": 46, "column": 6 }, "end": { "line": 46, "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": 1577, "end": 1580, "loc": { "start": { "line": 46, "column": 7 }, "end": { "line": 46, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domCnt", "start": 1581, "end": 1587, "loc": { "start": { "line": 46, "column": 11 }, "end": { "line": 46, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1588, "end": 1589, "loc": { "start": { "line": 46, "column": 18 }, "end": { "line": 46, "column": 19 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1590, "end": 1591, "loc": { "start": { "line": 46, "column": 20 }, "end": { "line": 46, "column": 21 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1591, "end": 1592, "loc": { "start": { "line": 46, "column": 21 }, "end": { "line": 46, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domCnt", "start": 1593, "end": 1599, "loc": { "start": { "line": 46, "column": 23 }, "end": { "line": 46, "column": 29 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 1600, "end": 1601, "loc": { "start": { "line": 46, "column": 30 }, "end": { "line": 46, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "len", "start": 1602, "end": 1605, "loc": { "start": { "line": 46, "column": 32 }, "end": { "line": 46, "column": 35 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1605, "end": 1606, "loc": { "start": { "line": 46, "column": 35 }, "end": { "line": 46, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domCnt", "start": 1607, "end": 1613, "loc": { "start": { "line": 46, "column": 37 }, "end": { "line": 46, "column": 43 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "++", "start": 1613, "end": 1615, "loc": { "start": { "line": 46, "column": 43 }, "end": { "line": 46, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1615, "end": 1616, "loc": { "start": { "line": 46, "column": 45 }, "end": { "line": 46, "column": 46 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1617, "end": 1618, "loc": { "start": { "line": 46, "column": 47 }, "end": { "line": 46, "column": 48 } } }, { "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": 1623, "end": 1628, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childNode", "start": 1629, "end": 1638, "loc": { "start": { "line": 47, "column": 10 }, "end": { "line": 47, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1639, "end": 1640, "loc": { "start": { "line": 47, "column": 20 }, "end": { "line": 47, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childNodes", "start": 1641, "end": 1651, "loc": { "start": { "line": 47, "column": 22 }, "end": { "line": 47, "column": 32 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1651, "end": 1652, "loc": { "start": { "line": 47, "column": 32 }, "end": { "line": 47, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domCnt", "start": 1652, "end": 1658, "loc": { "start": { "line": 47, "column": 33 }, "end": { "line": 47, "column": 39 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1658, "end": 1659, "loc": { "start": { "line": 47, "column": 39 }, "end": { "line": 47, "column": 40 } } }, { "type": { "label": "const", "keyword": "const", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "const", "start": 1664, "end": 1669, "loc": { "start": { "line": 48, "column": 4 }, "end": { "line": 48, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childType", "start": 1670, "end": 1679, "loc": { "start": { "line": 48, "column": 10 }, "end": { "line": 48, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1680, "end": 1681, "loc": { "start": { "line": 48, "column": 20 }, "end": { "line": 48, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "binding", "start": 1682, "end": 1689, "loc": { "start": { "line": 48, "column": 22 }, "end": { "line": 48, "column": 29 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1689, "end": 1690, "loc": { "start": { "line": 48, "column": 29 }, "end": { "line": 48, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domToType", "start": 1690, "end": 1699, "loc": { "start": { "line": 48, "column": 30 }, "end": { "line": 48, "column": 39 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1699, "end": 1700, "loc": { "start": { "line": 48, "column": 39 }, "end": { "line": 48, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 1700, "end": 1703, "loc": { "start": { "line": 48, "column": 40 }, "end": { "line": 48, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1703, "end": 1704, "loc": { "start": { "line": 48, "column": 43 }, "end": { "line": 48, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childNode", "start": 1704, "end": 1713, "loc": { "start": { "line": 48, "column": 44 }, "end": { "line": 48, "column": 53 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1713, "end": 1714, "loc": { "start": { "line": 48, "column": 53 }, "end": { "line": 48, "column": 54 } } }, { "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": 1719, "end": 1721, "loc": { "start": { "line": 49, "column": 4 }, "end": { "line": 49, "column": 6 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1722, "end": 1723, "loc": { "start": { "line": 49, "column": 7 }, "end": { "line": 49, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childType", "start": 1723, "end": 1732, "loc": { "start": { "line": 49, "column": 8 }, "end": { "line": 49, "column": 17 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 1733, "end": 1736, "loc": { "start": { "line": 49, "column": 18 }, "end": { "line": 49, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 1737, "end": 1746, "loc": { "start": { "line": 49, "column": 22 }, "end": { "line": 49, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1746, "end": 1747, "loc": { "start": { "line": 49, "column": 31 }, "end": { "line": 49, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1748, "end": 1749, "loc": { "start": { "line": 49, "column": 33 }, "end": { "line": 49, "column": 34 } } }, { "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": 1756, "end": 1758, "loc": { "start": { "line": 50, "column": 6 }, "end": { "line": 50, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1759, "end": 1760, "loc": { "start": { "line": 50, "column": 9 }, "end": { "line": 50, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childType", "start": 1760, "end": 1769, "loc": { "start": { "line": 50, "column": 10 }, "end": { "line": 50, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 1770, "end": 1773, "loc": { "start": { "line": 50, "column": 20 }, "end": { "line": 50, "column": 23 } } }, { "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": 1774, "end": 1779, "loc": { "start": { "line": 50, "column": 24 }, "end": { "line": 50, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1779, "end": 1780, "loc": { "start": { "line": 50, "column": 29 }, "end": { "line": 50, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1781, "end": 1782, "loc": { "start": { "line": 50, "column": 31 }, "end": { "line": 50, "column": 32 } } }, { "type": "CommentLine", "value": " should be ignored or is going to be deleted", "start": 1791, "end": 1837, "loc": { "start": { "line": 51, "column": 8 }, "end": { "line": 51, "column": 54 } } }, { "type": { "label": "continue", "keyword": "continue", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "continue", "start": 1846, "end": 1854, "loc": { "start": { "line": 52, "column": 8 }, "end": { "line": 52, "column": 16 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1861, "end": 1862, "loc": { "start": { "line": 53, "column": 6 }, "end": { "line": 53, "column": 7 } } }, { "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": 1869, "end": 1871, "loc": { "start": { "line": 54, "column": 6 }, "end": { "line": 54, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1872, "end": 1873, "loc": { "start": { "line": 54, "column": 9 }, "end": { "line": 54, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "expectedType", "start": 1873, "end": 1885, "loc": { "start": { "line": 54, "column": 10 }, "end": { "line": 54, "column": 22 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 1886, "end": 1889, "loc": { "start": { "line": 54, "column": 23 }, "end": { "line": 54, "column": 26 } } }, { "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": 1890, "end": 1894, "loc": { "start": { "line": 54, "column": 27 }, "end": { "line": 54, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1894, "end": 1895, "loc": { "start": { "line": 54, "column": 31 }, "end": { "line": 54, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1896, "end": 1897, "loc": { "start": { "line": 54, "column": 33 }, "end": { "line": 54, "column": 34 } } }, { "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": 1906, "end": 1908, "loc": { "start": { "line": 55, "column": 8 }, "end": { "line": 55, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1909, "end": 1910, "loc": { "start": { "line": 55, "column": 11 }, "end": { "line": 55, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "expectedType", "start": 1910, "end": 1922, "loc": { "start": { "line": 55, "column": 12 }, "end": { "line": 55, "column": 24 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 1923, "end": 1926, "loc": { "start": { "line": 55, "column": 25 }, "end": { "line": 55, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childType", "start": 1927, "end": 1936, "loc": { "start": { "line": 55, "column": 29 }, "end": { "line": 55, "column": 38 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1936, "end": 1937, "loc": { "start": { "line": 55, "column": 38 }, "end": { "line": 55, "column": 39 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1938, "end": 1939, "loc": { "start": { "line": 55, "column": 40 }, "end": { "line": 55, "column": 41 } } }, { "type": "CommentLine", "value": " 2.3 Not expected node", "start": 1950, "end": 1974, "loc": { "start": { "line": 56, "column": 10 }, "end": { "line": 56, "column": 34 } } }, { "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": 1985, "end": 1987, "loc": { "start": { "line": 57, "column": 10 }, "end": { "line": 57, "column": 12 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1988, "end": 1989, "loc": { "start": { "line": 57, "column": 13 }, "end": { "line": 57, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childType", "start": 1989, "end": 1998, "loc": { "start": { "line": 57, "column": 14 }, "end": { "line": 57, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1998, "end": 1999, "loc": { "start": { "line": 57, "column": 23 }, "end": { "line": 57, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_parent", "start": 1999, "end": 2006, "loc": { "start": { "line": 57, "column": 24 }, "end": { "line": 57, "column": 31 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 2007, "end": 2010, "loc": { "start": { "line": 57, "column": 32 }, "end": { "line": 57, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 2011, "end": 2015, "loc": { "start": { "line": 57, "column": 36 }, "end": { "line": 57, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2015, "end": 2016, "loc": { "start": { "line": 57, "column": 40 }, "end": { "line": 57, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2017, "end": 2018, "loc": { "start": { "line": 57, "column": 42 }, "end": { "line": 57, "column": 43 } } }, { "type": "CommentLine", "value": " child was moved from another parent", "start": 2031, "end": 2069, "loc": { "start": { "line": 58, "column": 12 }, "end": { "line": 58, "column": 50 } } }, { "type": "CommentLine", "value": " childType is going to be deleted by its previous parent", "start": 2082, "end": 2140, "loc": { "start": { "line": 59, "column": 12 }, "end": { "line": 59, "column": 70 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeAssociation", "start": 2153, "end": 2170, "loc": { "start": { "line": 60, "column": 12 }, "end": { "line": 60, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2170, "end": 2171, "loc": { "start": { "line": 60, "column": 29 }, "end": { "line": 60, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "binding", "start": 2171, "end": 2178, "loc": { "start": { "line": 60, "column": 30 }, "end": { "line": 60, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2178, "end": 2179, "loc": { "start": { "line": 60, "column": 37 }, "end": { "line": 60, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childNode", "start": 2180, "end": 2189, "loc": { "start": { "line": 60, "column": 39 }, "end": { "line": 60, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2189, "end": 2190, "loc": { "start": { "line": 60, "column": 48 }, "end": { "line": 60, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childType", "start": 2191, "end": 2200, "loc": { "start": { "line": 60, "column": 50 }, "end": { "line": 60, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2200, "end": 2201, "loc": { "start": { "line": 60, "column": 59 }, "end": { "line": 60, "column": 60 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2212, "end": 2213, "loc": { "start": { "line": 61, "column": 10 }, "end": { "line": 61, "column": 11 } } }, { "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": 2214, "end": 2218, "loc": { "start": { "line": 61, "column": 12 }, "end": { "line": 61, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2219, "end": 2220, "loc": { "start": { "line": 61, "column": 17 }, "end": { "line": 61, "column": 18 } } }, { "type": "CommentLine", "value": " child was moved to a different position.", "start": 2233, "end": 2276, "loc": { "start": { "line": 62, "column": 12 }, "end": { "line": 62, "column": 55 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childType", "start": 2289, "end": 2298, "loc": { "start": { "line": 63, "column": 12 }, "end": { "line": 63, "column": 21 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2298, "end": 2299, "loc": { "start": { "line": 63, "column": 21 }, "end": { "line": 63, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_delete", "start": 2299, "end": 2306, "loc": { "start": { "line": 63, "column": 22 }, "end": { "line": 63, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2306, "end": 2307, "loc": { "start": { "line": 63, "column": 29 }, "end": { "line": 63, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 2307, "end": 2308, "loc": { "start": { "line": 63, "column": 30 }, "end": { "line": 63, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2308, "end": 2309, "loc": { "start": { "line": 63, "column": 31 }, "end": { "line": 63, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeAssociation", "start": 2322, "end": 2339, "loc": { "start": { "line": 64, "column": 12 }, "end": { "line": 64, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2339, "end": 2340, "loc": { "start": { "line": 64, "column": 29 }, "end": { "line": 64, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "binding", "start": 2340, "end": 2347, "loc": { "start": { "line": 64, "column": 30 }, "end": { "line": 64, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2347, "end": 2348, "loc": { "start": { "line": 64, "column": 37 }, "end": { "line": 64, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childNode", "start": 2349, "end": 2358, "loc": { "start": { "line": 64, "column": 39 }, "end": { "line": 64, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2358, "end": 2359, "loc": { "start": { "line": 64, "column": 48 }, "end": { "line": 64, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childType", "start": 2360, "end": 2369, "loc": { "start": { "line": 64, "column": 50 }, "end": { "line": 64, "column": 59 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2369, "end": 2370, "loc": { "start": { "line": 64, "column": 59 }, "end": { "line": 64, "column": 60 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2381, "end": 2382, "loc": { "start": { "line": 65, "column": 10 }, "end": { "line": 65, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prevExpectedType", "start": 2393, "end": 2409, "loc": { "start": { "line": 66, "column": 10 }, "end": { "line": 66, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2410, "end": 2411, "loc": { "start": { "line": 66, "column": 27 }, "end": { "line": 66, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insertNodeHelper", "start": 2412, "end": 2428, "loc": { "start": { "line": 66, "column": 29 }, "end": { "line": 66, "column": 45 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2428, "end": 2429, "loc": { "start": { "line": 66, "column": 45 }, "end": { "line": 66, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 2429, "end": 2433, "loc": { "start": { "line": 66, "column": 46 }, "end": { "line": 66, "column": 50 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2433, "end": 2434, "loc": { "start": { "line": 66, "column": 50 }, "end": { "line": 66, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prevExpectedType", "start": 2435, "end": 2451, "loc": { "start": { "line": 66, "column": 52 }, "end": { "line": 66, "column": 68 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2451, "end": 2452, "loc": { "start": { "line": 66, "column": 68 }, "end": { "line": 66, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childNode", "start": 2453, "end": 2462, "loc": { "start": { "line": 66, "column": 70 }, "end": { "line": 66, "column": 79 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2462, "end": 2463, "loc": { "start": { "line": 66, "column": 79 }, "end": { "line": 66, "column": 80 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_document", "start": 2464, "end": 2473, "loc": { "start": { "line": 66, "column": 81 }, "end": { "line": 66, "column": 90 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2473, "end": 2474, "loc": { "start": { "line": 66, "column": 90 }, "end": { "line": 66, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "binding", "start": 2475, "end": 2482, "loc": { "start": { "line": 66, "column": 92 }, "end": { "line": 66, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2482, "end": 2483, "loc": { "start": { "line": 66, "column": 99 }, "end": { "line": 66, "column": 100 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2492, "end": 2493, "loc": { "start": { "line": 67, "column": 8 }, "end": { "line": 67, "column": 9 } } }, { "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": 2494, "end": 2498, "loc": { "start": { "line": 67, "column": 10 }, "end": { "line": 67, "column": 14 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2499, "end": 2500, "loc": { "start": { "line": 67, "column": 15 }, "end": { "line": 67, "column": 16 } } }, { "type": "CommentLine", "value": " Found expected node. Continue.", "start": 2511, "end": 2544, "loc": { "start": { "line": 68, "column": 10 }, "end": { "line": 68, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prevExpectedType", "start": 2555, "end": 2571, "loc": { "start": { "line": 69, "column": 10 }, "end": { "line": 69, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2572, "end": 2573, "loc": { "start": { "line": 69, "column": 27 }, "end": { "line": 69, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "expectedType", "start": 2574, "end": 2586, "loc": { "start": { "line": 69, "column": 29 }, "end": { "line": 69, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "expectedType", "start": 2597, "end": 2609, "loc": { "start": { "line": 70, "column": 10 }, "end": { "line": 70, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2610, "end": 2611, "loc": { "start": { "line": 70, "column": 23 }, "end": { "line": 70, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "iterateUntilUndeleted", "start": 2612, "end": 2633, "loc": { "start": { "line": 70, "column": 25 }, "end": { "line": 70, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2633, "end": 2634, "loc": { "start": { "line": 70, "column": 46 }, "end": { "line": 70, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "expectedType", "start": 2634, "end": 2646, "loc": { "start": { "line": 70, "column": 47 }, "end": { "line": 70, "column": 59 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2646, "end": 2647, "loc": { "start": { "line": 70, "column": 59 }, "end": { "line": 70, "column": 60 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_right", "start": 2647, "end": 2653, "loc": { "start": { "line": 70, "column": 60 }, "end": { "line": 70, "column": 66 } } }, { "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": 70, "column": 66 }, "end": { "line": 70, "column": 67 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2663, "end": 2664, "loc": { "start": { "line": 71, "column": 8 }, "end": { "line": 71, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2671, "end": 2672, "loc": { "start": { "line": 72, "column": 6 }, "end": { "line": 72, "column": 7 } } }, { "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": 2673, "end": 2677, "loc": { "start": { "line": 72, "column": 8 }, "end": { "line": 72, "column": 12 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2678, "end": 2679, "loc": { "start": { "line": 72, "column": 13 }, "end": { "line": 72, "column": 14 } } }, { "type": "CommentLine", "value": " 2.2 Fill _content with child nodes", "start": 2688, "end": 2725, "loc": { "start": { "line": 73, "column": 8 }, "end": { "line": 73, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prevExpectedType", "start": 2734, "end": 2750, "loc": { "start": { "line": 74, "column": 8 }, "end": { "line": 74, "column": 24 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2751, "end": 2752, "loc": { "start": { "line": 74, "column": 25 }, "end": { "line": 74, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insertNodeHelper", "start": 2753, "end": 2769, "loc": { "start": { "line": 74, "column": 27 }, "end": { "line": 74, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2769, "end": 2770, "loc": { "start": { "line": 74, "column": 43 }, "end": { "line": 74, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 2770, "end": 2774, "loc": { "start": { "line": 74, "column": 44 }, "end": { "line": 74, "column": 48 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2774, "end": 2775, "loc": { "start": { "line": 74, "column": 48 }, "end": { "line": 74, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prevExpectedType", "start": 2776, "end": 2792, "loc": { "start": { "line": 74, "column": 50 }, "end": { "line": 74, "column": 66 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2792, "end": 2793, "loc": { "start": { "line": 74, "column": 66 }, "end": { "line": 74, "column": 67 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childNode", "start": 2794, "end": 2803, "loc": { "start": { "line": 74, "column": 68 }, "end": { "line": 74, "column": 77 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2803, "end": 2804, "loc": { "start": { "line": 74, "column": 77 }, "end": { "line": 74, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_document", "start": 2805, "end": 2814, "loc": { "start": { "line": 74, "column": 79 }, "end": { "line": 74, "column": 88 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2814, "end": 2815, "loc": { "start": { "line": 74, "column": 88 }, "end": { "line": 74, "column": 89 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "binding", "start": 2816, "end": 2823, "loc": { "start": { "line": 74, "column": 90 }, "end": { "line": 74, "column": 97 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2823, "end": 2824, "loc": { "start": { "line": 74, "column": 97 }, "end": { "line": 74, "column": 98 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2831, "end": 2832, "loc": { "start": { "line": 75, "column": 6 }, "end": { "line": 75, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2837, "end": 2838, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 5 } } }, { "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": 2839, "end": 2843, "loc": { "start": { "line": 76, "column": 6 }, "end": { "line": 76, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2844, "end": 2845, "loc": { "start": { "line": 76, "column": 11 }, "end": { "line": 76, "column": 12 } } }, { "type": "CommentLine", "value": " 2.1 A new node was found", "start": 2852, "end": 2879, "loc": { "start": { "line": 77, "column": 6 }, "end": { "line": 77, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prevExpectedType", "start": 2886, "end": 2902, "loc": { "start": { "line": 78, "column": 6 }, "end": { "line": 78, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 2903, "end": 2904, "loc": { "start": { "line": 78, "column": 23 }, "end": { "line": 78, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insertNodeHelper", "start": 2905, "end": 2921, "loc": { "start": { "line": 78, "column": 25 }, "end": { "line": 78, "column": 41 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2921, "end": 2922, "loc": { "start": { "line": 78, "column": 41 }, "end": { "line": 78, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 2922, "end": 2926, "loc": { "start": { "line": 78, "column": 42 }, "end": { "line": 78, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2926, "end": 2927, "loc": { "start": { "line": 78, "column": 46 }, "end": { "line": 78, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "prevExpectedType", "start": 2928, "end": 2944, "loc": { "start": { "line": 78, "column": 48 }, "end": { "line": 78, "column": 64 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2944, "end": 2945, "loc": { "start": { "line": 78, "column": 64 }, "end": { "line": 78, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "childNode", "start": 2946, "end": 2955, "loc": { "start": { "line": 78, "column": 66 }, "end": { "line": 78, "column": 75 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2955, "end": 2956, "loc": { "start": { "line": 78, "column": 75 }, "end": { "line": 78, "column": 76 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_document", "start": 2957, "end": 2966, "loc": { "start": { "line": 78, "column": 77 }, "end": { "line": 78, "column": 86 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2966, "end": 2967, "loc": { "start": { "line": 78, "column": 86 }, "end": { "line": 78, "column": 87 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "binding", "start": 2968, "end": 2975, "loc": { "start": { "line": 78, "column": 88 }, "end": { "line": 78, "column": 95 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2975, "end": 2976, "loc": { "start": { "line": 78, "column": 95 }, "end": { "line": 78, "column": 96 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2981, "end": 2982, "loc": { "start": { "line": 79, "column": 4 }, "end": { "line": 79, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2985, "end": 2986, "loc": { "start": { "line": 80, "column": 2 }, "end": { "line": 80, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2987, "end": 2988, "loc": { "start": { "line": 81, "column": 0 }, "end": { "line": 81, "column": 1 } } }, { "type": "CommentBlock", "value": "*\n * @private\n ", "start": 2990, "end": 3009, "loc": { "start": { "line": 83, "column": 0 }, "end": { "line": 85, "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": 3010, "end": 3016, "loc": { "start": { "line": 86, "column": 0 }, "end": { "line": 86, "column": 6 } } }, { "type": { "label": "default", "keyword": "default", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "default", "start": 3017, "end": 3024, "loc": { "start": { "line": 86, "column": 7 }, "end": { "line": 86, "column": 14 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 3025, "end": 3033, "loc": { "start": { "line": 86, "column": 15 }, "end": { "line": 86, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domObserver", "start": 3034, "end": 3045, "loc": { "start": { "line": 86, "column": 24 }, "end": { "line": 86, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3046, "end": 3047, "loc": { "start": { "line": 86, "column": 36 }, "end": { "line": 86, "column": 37 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mutations", "start": 3047, "end": 3056, "loc": { "start": { "line": 86, "column": 37 }, "end": { "line": 86, "column": 46 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3056, "end": 3057, "loc": { "start": { "line": 86, "column": 46 }, "end": { "line": 86, "column": 47 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_document", "start": 3058, "end": 3067, "loc": { "start": { "line": 86, "column": 48 }, "end": { "line": 86, "column": 57 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3067, "end": 3068, "loc": { "start": { "line": 86, "column": 57 }, "end": { "line": 86, "column": 58 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3069, "end": 3070, "loc": { "start": { "line": 86, "column": 59 }, "end": { "line": 86, "column": 60 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3073, "end": 3077, "loc": { "start": { "line": 87, "column": 2 }, "end": { "line": 87, "column": 6 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3077, "end": 3078, "loc": { "start": { "line": 87, "column": 6 }, "end": { "line": 87, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_mutualExclude", "start": 3078, "end": 3092, "loc": { "start": { "line": 87, "column": 7 }, "end": { "line": 87, "column": 21 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3092, "end": 3093, "loc": { "start": { "line": 87, "column": 21 }, "end": { "line": 87, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3093, "end": 3094, "loc": { "start": { "line": 87, "column": 22 }, "end": { "line": 87, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3094, "end": 3095, "loc": { "start": { "line": 87, "column": 23 }, "end": { "line": 87, "column": 24 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3096, "end": 3098, "loc": { "start": { "line": 87, "column": 25 }, "end": { "line": 87, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3099, "end": 3100, "loc": { "start": { "line": 87, "column": 28 }, "end": { "line": 87, "column": 29 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3105, "end": 3109, "loc": { "start": { "line": 88, "column": 4 }, "end": { "line": 88, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3109, "end": 3110, "loc": { "start": { "line": 88, "column": 8 }, "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": "type", "start": 3110, "end": 3114, "loc": { "start": { "line": 88, "column": 9 }, "end": { "line": 88, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3114, "end": 3115, "loc": { "start": { "line": 88, "column": 13 }, "end": { "line": 88, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_y", "start": 3115, "end": 3117, "loc": { "start": { "line": 88, "column": 14 }, "end": { "line": 88, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3117, "end": 3118, "loc": { "start": { "line": 88, "column": 16 }, "end": { "line": 88, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "transact", "start": 3118, "end": 3126, "loc": { "start": { "line": 88, "column": 17 }, "end": { "line": 88, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3126, "end": 3127, "loc": { "start": { "line": 88, "column": 25 }, "end": { "line": 88, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3127, "end": 3128, "loc": { "start": { "line": 88, "column": 26 }, "end": { "line": 88, "column": 27 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3128, "end": 3129, "loc": { "start": { "line": 88, "column": 27 }, "end": { "line": 88, "column": 28 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3130, "end": 3132, "loc": { "start": { "line": 88, "column": 29 }, "end": { "line": 88, "column": 31 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3133, "end": 3134, "loc": { "start": { "line": 88, "column": 32 }, "end": { "line": 88, "column": 33 } } }, { "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": 3141, "end": 3144, "loc": { "start": { "line": 89, "column": 6 }, "end": { "line": 89, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "diffChildren", "start": 3145, "end": 3157, "loc": { "start": { "line": 89, "column": 10 }, "end": { "line": 89, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3158, "end": 3159, "loc": { "start": { "line": 89, "column": 23 }, "end": { "line": 89, "column": 24 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 3160, "end": 3163, "loc": { "start": { "line": 89, "column": 25 }, "end": { "line": 89, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Set", "start": 3164, "end": 3167, "loc": { "start": { "line": 89, "column": 29 }, "end": { "line": 89, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3167, "end": 3168, "loc": { "start": { "line": 89, "column": 32 }, "end": { "line": 89, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3168, "end": 3169, "loc": { "start": { "line": 89, "column": 33 }, "end": { "line": 89, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mutations", "start": 3176, "end": 3185, "loc": { "start": { "line": 90, "column": 6 }, "end": { "line": 90, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3185, "end": 3186, "loc": { "start": { "line": 90, "column": 15 }, "end": { "line": 90, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "forEach", "start": 3186, "end": 3193, "loc": { "start": { "line": 90, "column": 16 }, "end": { "line": 90, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3193, "end": 3194, "loc": { "start": { "line": 90, "column": 23 }, "end": { "line": 90, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mutation", "start": 3194, "end": 3202, "loc": { "start": { "line": 90, "column": 24 }, "end": { "line": 90, "column": 32 } } }, { "type": { "label": "=>", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3203, "end": 3205, "loc": { "start": { "line": 90, "column": 33 }, "end": { "line": 90, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3206, "end": 3207, "loc": { "start": { "line": 90, "column": 36 }, "end": { "line": 90, "column": 37 } } }, { "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": 3216, "end": 3221, "loc": { "start": { "line": 91, "column": 8 }, "end": { "line": 91, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 3222, "end": 3225, "loc": { "start": { "line": 91, "column": 14 }, "end": { "line": 91, "column": 17 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3226, "end": 3227, "loc": { "start": { "line": 91, "column": 18 }, "end": { "line": 91, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mutation", "start": 3228, "end": 3236, "loc": { "start": { "line": 91, "column": 20 }, "end": { "line": 91, "column": 28 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3236, "end": 3237, "loc": { "start": { "line": 91, "column": 28 }, "end": { "line": 91, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 3237, "end": 3243, "loc": { "start": { "line": 91, "column": 29 }, "end": { "line": 91, "column": 35 } } }, { "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": 3252, "end": 3257, "loc": { "start": { "line": 92, "column": 8 }, "end": { "line": 92, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 3258, "end": 3262, "loc": { "start": { "line": 92, "column": 14 }, "end": { "line": 92, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3263, "end": 3264, "loc": { "start": { "line": 92, "column": 19 }, "end": { "line": 92, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 3265, "end": 3269, "loc": { "start": { "line": 92, "column": 21 }, "end": { "line": 92, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3269, "end": 3270, "loc": { "start": { "line": 92, "column": 25 }, "end": { "line": 92, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domToType", "start": 3270, "end": 3279, "loc": { "start": { "line": 92, "column": 26 }, "end": { "line": 92, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3279, "end": 3280, "loc": { "start": { "line": 92, "column": 35 }, "end": { "line": 92, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 3280, "end": 3283, "loc": { "start": { "line": 92, "column": 36 }, "end": { "line": 92, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3283, "end": 3284, "loc": { "start": { "line": 92, "column": 39 }, "end": { "line": 92, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 3284, "end": 3287, "loc": { "start": { "line": 92, "column": 40 }, "end": { "line": 92, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3287, "end": 3288, "loc": { "start": { "line": 92, "column": 43 }, "end": { "line": 92, "column": 44 } } }, { "type": { "label": "if", "keyword": "if", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "if", "start": 3297, "end": 3299, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3300, "end": 3301, "loc": { "start": { "line": 93, "column": 11 }, "end": { "line": 93, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 3301, "end": 3305, "loc": { "start": { "line": 93, "column": 12 }, "end": { "line": 93, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3306, "end": 3309, "loc": { "start": { "line": 93, "column": 17 }, "end": { "line": 93, "column": 20 } } }, { "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": 3310, "end": 3315, "loc": { "start": { "line": 93, "column": 21 }, "end": { "line": 93, "column": 26 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 3316, "end": 3318, "loc": { "start": { "line": 93, "column": 27 }, "end": { "line": 93, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 3319, "end": 3323, "loc": { "start": { "line": 93, "column": 30 }, "end": { "line": 93, "column": 34 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3324, "end": 3327, "loc": { "start": { "line": 93, "column": 35 }, "end": { "line": 93, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 3328, "end": 3337, "loc": { "start": { "line": 93, "column": 39 }, "end": { "line": 93, "column": 48 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 3338, "end": 3340, "loc": { "start": { "line": 93, "column": 49 }, "end": { "line": 93, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 3341, "end": 3345, "loc": { "start": { "line": 93, "column": 52 }, "end": { "line": 93, "column": 56 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3345, "end": 3346, "loc": { "start": { "line": 93, "column": 56 }, "end": { "line": 93, "column": 57 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 3346, "end": 3357, "loc": { "start": { "line": 93, "column": 57 }, "end": { "line": 93, "column": 68 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3358, "end": 3361, "loc": { "start": { "line": 93, "column": 69 }, "end": { "line": 93, "column": 72 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "YXmlHook", "start": 3362, "end": 3370, "loc": { "start": { "line": 93, "column": 73 }, "end": { "line": 93, "column": 81 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3370, "end": 3371, "loc": { "start": { "line": 93, "column": 81 }, "end": { "line": 93, "column": 82 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3372, "end": 3373, "loc": { "start": { "line": 93, "column": 83 }, "end": { "line": 93, "column": 84 } } }, { "type": "CommentLine", "value": " dom element is filtered", "start": 3384, "end": 3410, "loc": { "start": { "line": 94, "column": 10 }, "end": { "line": 94, "column": 36 } } }, { "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": 3421, "end": 3427, "loc": { "start": { "line": 95, "column": 10 }, "end": { "line": 95, "column": 16 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3436, "end": 3437, "loc": { "start": { "line": 96, "column": 8 }, "end": { "line": 96, "column": 9 } } }, { "type": { "label": "switch", "keyword": "switch", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "switch", "start": 3446, "end": 3452, "loc": { "start": { "line": 97, "column": 8 }, "end": { "line": 97, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3453, "end": 3454, "loc": { "start": { "line": 97, "column": 15 }, "end": { "line": 97, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mutation", "start": 3454, "end": 3462, "loc": { "start": { "line": 97, "column": 16 }, "end": { "line": 97, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3462, "end": 3463, "loc": { "start": { "line": 97, "column": 24 }, "end": { "line": 97, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "type", "start": 3463, "end": 3467, "loc": { "start": { "line": 97, "column": 25 }, "end": { "line": 97, "column": 29 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3467, "end": 3468, "loc": { "start": { "line": 97, "column": 29 }, "end": { "line": 97, "column": 30 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3469, "end": 3470, "loc": { "start": { "line": 97, "column": 31 }, "end": { "line": 97, "column": 32 } } }, { "type": { "label": "case", "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "case", "start": 3481, "end": 3485, "loc": { "start": { "line": 98, "column": 10 }, "end": { "line": 98, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "characterData", "start": 3486, "end": 3501, "loc": { "start": { "line": 98, "column": 15 }, "end": { "line": 98, "column": 30 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3501, "end": 3502, "loc": { "start": { "line": 98, "column": 30 }, "end": { "line": 98, "column": 31 } } }, { "type": { "label": "var", "keyword": "var", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "var", "start": 3515, "end": 3518, "loc": { "start": { "line": 99, "column": 12 }, "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": "change", "start": 3519, "end": 3525, "loc": { "start": { "line": 99, "column": 16 }, "end": { "line": 99, "column": 22 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3526, "end": 3527, "loc": { "start": { "line": 99, "column": 23 }, "end": { "line": 99, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "diff", "start": 3528, "end": 3532, "loc": { "start": { "line": 99, "column": 25 }, "end": { "line": 99, "column": 29 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3532, "end": 3533, "loc": { "start": { "line": 99, "column": 29 }, "end": { "line": 99, "column": 30 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 3533, "end": 3537, "loc": { "start": { "line": 99, "column": 30 }, "end": { "line": 99, "column": 34 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3537, "end": 3538, "loc": { "start": { "line": 99, "column": 34 }, "end": { "line": 99, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "toString", "start": 3538, "end": 3546, "loc": { "start": { "line": 99, "column": 35 }, "end": { "line": 99, "column": 43 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3546, "end": 3547, "loc": { "start": { "line": 99, "column": 43 }, "end": { "line": 99, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3547, "end": 3548, "loc": { "start": { "line": 99, "column": 44 }, "end": { "line": 99, "column": 45 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3548, "end": 3549, "loc": { "start": { "line": 99, "column": 45 }, "end": { "line": 99, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 3550, "end": 3553, "loc": { "start": { "line": 99, "column": 47 }, "end": { "line": 99, "column": 50 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3553, "end": 3554, "loc": { "start": { "line": 99, "column": 50 }, "end": { "line": 99, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nodeValue", "start": 3554, "end": 3563, "loc": { "start": { "line": 99, "column": 51 }, "end": { "line": 99, "column": 60 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3563, "end": 3564, "loc": { "start": { "line": 99, "column": 60 }, "end": { "line": 99, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 3577, "end": 3581, "loc": { "start": { "line": 100, "column": 12 }, "end": { "line": 100, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3581, "end": 3582, "loc": { "start": { "line": 100, "column": 16 }, "end": { "line": 100, "column": 17 } } }, { "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": 3582, "end": 3588, "loc": { "start": { "line": 100, "column": 17 }, "end": { "line": 100, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3588, "end": 3589, "loc": { "start": { "line": 100, "column": 23 }, "end": { "line": 100, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "change", "start": 3589, "end": 3595, "loc": { "start": { "line": 100, "column": 24 }, "end": { "line": 100, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3595, "end": 3596, "loc": { "start": { "line": 100, "column": 30 }, "end": { "line": 100, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 3596, "end": 3599, "loc": { "start": { "line": 100, "column": 31 }, "end": { "line": 100, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3599, "end": 3600, "loc": { "start": { "line": 100, "column": 34 }, "end": { "line": 100, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "change", "start": 3601, "end": 3607, "loc": { "start": { "line": 100, "column": 36 }, "end": { "line": 100, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3607, "end": 3608, "loc": { "start": { "line": 100, "column": 42 }, "end": { "line": 100, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "remove", "start": 3608, "end": 3614, "loc": { "start": { "line": 100, "column": 43 }, "end": { "line": 100, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3614, "end": 3615, "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": "yxml", "start": 3628, "end": 3632, "loc": { "start": { "line": 101, "column": 12 }, "end": { "line": 101, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3632, "end": 3633, "loc": { "start": { "line": 101, "column": 16 }, "end": { "line": 101, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insert", "start": 3633, "end": 3639, "loc": { "start": { "line": 101, "column": 17 }, "end": { "line": 101, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3639, "end": 3640, "loc": { "start": { "line": 101, "column": 23 }, "end": { "line": 101, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "change", "start": 3640, "end": 3646, "loc": { "start": { "line": 101, "column": 24 }, "end": { "line": 101, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3646, "end": 3647, "loc": { "start": { "line": 101, "column": 30 }, "end": { "line": 101, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "pos", "start": 3647, "end": 3650, "loc": { "start": { "line": 101, "column": 31 }, "end": { "line": 101, "column": 34 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3650, "end": 3651, "loc": { "start": { "line": 101, "column": 34 }, "end": { "line": 101, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "change", "start": 3652, "end": 3658, "loc": { "start": { "line": 101, "column": 36 }, "end": { "line": 101, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3658, "end": 3659, "loc": { "start": { "line": 101, "column": 42 }, "end": { "line": 101, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "insert", "start": 3659, "end": 3665, "loc": { "start": { "line": 101, "column": 43 }, "end": { "line": 101, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3665, "end": 3666, "loc": { "start": { "line": 101, "column": 49 }, "end": { "line": 101, "column": 50 } } }, { "type": { "label": "break", "keyword": "break", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "break", "start": 3679, "end": 3684, "loc": { "start": { "line": 102, "column": 12 }, "end": { "line": 102, "column": 17 } } }, { "type": { "label": "case", "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "case", "start": 3695, "end": 3699, "loc": { "start": { "line": 103, "column": 10 }, "end": { "line": 103, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "attributes", "start": 3700, "end": 3712, "loc": { "start": { "line": 103, "column": 15 }, "end": { "line": 103, "column": 27 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3712, "end": 3713, "loc": { "start": { "line": 103, "column": 27 }, "end": { "line": 103, "column": 28 } } }, { "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": 3726, "end": 3728, "loc": { "start": { "line": 104, "column": 12 }, "end": { "line": 104, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3729, "end": 3730, "loc": { "start": { "line": 104, "column": 15 }, "end": { "line": 104, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 3730, "end": 3734, "loc": { "start": { "line": 104, "column": 16 }, "end": { "line": 104, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3734, "end": 3735, "loc": { "start": { "line": 104, "column": 20 }, "end": { "line": 104, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 3735, "end": 3746, "loc": { "start": { "line": 104, "column": 21 }, "end": { "line": 104, "column": 32 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 3747, "end": 3750, "loc": { "start": { "line": 104, "column": 33 }, "end": { "line": 104, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "YXmlFragment", "start": 3751, "end": 3763, "loc": { "start": { "line": 104, "column": 37 }, "end": { "line": 104, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3763, "end": 3764, "loc": { "start": { "line": 104, "column": 49 }, "end": { "line": 104, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3765, "end": 3766, "loc": { "start": { "line": 104, "column": 51 }, "end": { "line": 104, "column": 52 } } }, { "type": { "label": "break", "keyword": "break", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "break", "start": 3781, "end": 3786, "loc": { "start": { "line": 105, "column": 14 }, "end": { "line": 105, "column": 19 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3799, "end": 3800, "loc": { "start": { "line": 106, "column": 12 }, "end": { "line": 106, "column": 13 } } }, { "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": 3813, "end": 3816, "loc": { "start": { "line": 107, "column": 12 }, "end": { "line": 107, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 3817, "end": 3821, "loc": { "start": { "line": 107, "column": 16 }, "end": { "line": 107, "column": 20 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3822, "end": 3823, "loc": { "start": { "line": 107, "column": 21 }, "end": { "line": 107, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mutation", "start": 3824, "end": 3832, "loc": { "start": { "line": 107, "column": 23 }, "end": { "line": 107, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3832, "end": 3833, "loc": { "start": { "line": 107, "column": 31 }, "end": { "line": 107, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "attributeName", "start": 3833, "end": 3846, "loc": { "start": { "line": 107, "column": 32 }, "end": { "line": 107, "column": 45 } } }, { "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": 3859, "end": 3862, "loc": { "start": { "line": 108, "column": 12 }, "end": { "line": 108, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "val", "start": 3863, "end": 3866, "loc": { "start": { "line": 108, "column": 16 }, "end": { "line": 108, "column": 19 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3867, "end": 3868, "loc": { "start": { "line": 108, "column": 20 }, "end": { "line": 108, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 3869, "end": 3872, "loc": { "start": { "line": 108, "column": 22 }, "end": { "line": 108, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 3872, "end": 3873, "loc": { "start": { "line": 108, "column": 25 }, "end": { "line": 108, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getAttribute", "start": 3873, "end": 3885, "loc": { "start": { "line": 108, "column": 26 }, "end": { "line": 108, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3885, "end": 3886, "loc": { "start": { "line": 108, "column": 38 }, "end": { "line": 108, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 3886, "end": 3890, "loc": { "start": { "line": 108, "column": 39 }, "end": { "line": 108, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3890, "end": 3891, "loc": { "start": { "line": 108, "column": 43 }, "end": { "line": 108, "column": 44 } } }, { "type": "CommentLine", "value": " check if filter accepts attribute", "start": 3904, "end": 3940, "loc": { "start": { "line": 109, "column": 12 }, "end": { "line": 109, "column": 48 } } }, { "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": 3953, "end": 3956, "loc": { "start": { "line": 110, "column": 12 }, "end": { "line": 110, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "attributes", "start": 3957, "end": 3967, "loc": { "start": { "line": 110, "column": 16 }, "end": { "line": 110, "column": 26 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 3968, "end": 3969, "loc": { "start": { "line": 110, "column": 27 }, "end": { "line": 110, "column": 28 } } }, { "type": { "label": "new", "keyword": "new", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "new", "start": 3970, "end": 3973, "loc": { "start": { "line": 110, "column": 29 }, "end": { "line": 110, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Map", "start": 3974, "end": 3977, "loc": { "start": { "line": 110, "column": 33 }, "end": { "line": 110, "column": 36 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3977, "end": 3978, "loc": { "start": { "line": 110, "column": 36 }, "end": { "line": 110, "column": 37 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 3978, "end": 3979, "loc": { "start": { "line": 110, "column": 37 }, "end": { "line": 110, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "attributes", "start": 3992, "end": 4002, "loc": { "start": { "line": 111, "column": 12 }, "end": { "line": 111, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4002, "end": 4003, "loc": { "start": { "line": 111, "column": 22 }, "end": { "line": 111, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "set", "start": 4003, "end": 4006, "loc": { "start": { "line": 111, "column": 23 }, "end": { "line": 111, "column": 26 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4006, "end": 4007, "loc": { "start": { "line": 111, "column": 26 }, "end": { "line": 111, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 4007, "end": 4011, "loc": { "start": { "line": 111, "column": 27 }, "end": { "line": 111, "column": 31 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4011, "end": 4012, "loc": { "start": { "line": 111, "column": 31 }, "end": { "line": 111, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "val", "start": 4013, "end": 4016, "loc": { "start": { "line": 111, "column": 33 }, "end": { "line": 111, "column": 36 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4016, "end": 4017, "loc": { "start": { "line": 111, "column": 36 }, "end": { "line": 111, "column": 37 } } }, { "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": 4030, "end": 4032, "loc": { "start": { "line": 112, "column": 12 }, "end": { "line": 112, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4033, "end": 4034, "loc": { "start": { "line": 112, "column": 15 }, "end": { "line": 112, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 4034, "end": 4038, "loc": { "start": { "line": 112, "column": 16 }, "end": { "line": 112, "column": 20 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4038, "end": 4039, "loc": { "start": { "line": 112, "column": 20 }, "end": { "line": 112, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 4039, "end": 4050, "loc": { "start": { "line": 112, "column": 21 }, "end": { "line": 112, "column": 32 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 4051, "end": 4054, "loc": { "start": { "line": 112, "column": 33 }, "end": { "line": 112, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "YXmlFragment", "start": 4055, "end": 4067, "loc": { "start": { "line": 112, "column": 37 }, "end": { "line": 112, "column": 49 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 4068, "end": 4070, "loc": { "start": { "line": 112, "column": 50 }, "end": { "line": 112, "column": 52 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4071, "end": 4075, "loc": { "start": { "line": 112, "column": 53 }, "end": { "line": 112, "column": 57 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4075, "end": 4076, "loc": { "start": { "line": 112, "column": 57 }, "end": { "line": 112, "column": 58 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "filter", "start": 4076, "end": 4082, "loc": { "start": { "line": 112, "column": 58 }, "end": { "line": 112, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4082, "end": 4083, "loc": { "start": { "line": 112, "column": 64 }, "end": { "line": 112, "column": 65 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 4083, "end": 4086, "loc": { "start": { "line": 112, "column": 65 }, "end": { "line": 112, "column": 68 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4086, "end": 4087, "loc": { "start": { "line": 112, "column": 68 }, "end": { "line": 112, "column": 69 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "nodeName", "start": 4087, "end": 4095, "loc": { "start": { "line": 112, "column": 69 }, "end": { "line": 112, "column": 77 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4095, "end": 4096, "loc": { "start": { "line": 112, "column": 77 }, "end": { "line": 112, "column": 78 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "attributes", "start": 4097, "end": 4107, "loc": { "start": { "line": 112, "column": 79 }, "end": { "line": 112, "column": 89 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4107, "end": 4108, "loc": { "start": { "line": 112, "column": 89 }, "end": { "line": 112, "column": 90 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4108, "end": 4109, "loc": { "start": { "line": 112, "column": 90 }, "end": { "line": 112, "column": 91 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "size", "start": 4109, "end": 4113, "loc": { "start": { "line": 112, "column": 91 }, "end": { "line": 112, "column": 95 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">", "start": 4114, "end": 4115, "loc": { "start": { "line": 112, "column": 96 }, "end": { "line": 112, "column": 97 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 4116, "end": 4117, "loc": { "start": { "line": 112, "column": 98 }, "end": { "line": 112, "column": 99 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4117, "end": 4118, "loc": { "start": { "line": 112, "column": 99 }, "end": { "line": 112, "column": 100 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4119, "end": 4120, "loc": { "start": { "line": 112, "column": 101 }, "end": { "line": 112, "column": 102 } } }, { "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": 4135, "end": 4137, "loc": { "start": { "line": 113, "column": 14 }, "end": { "line": 113, "column": 16 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4138, "end": 4139, "loc": { "start": { "line": 113, "column": 17 }, "end": { "line": 113, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 4139, "end": 4143, "loc": { "start": { "line": 113, "column": 18 }, "end": { "line": 113, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4143, "end": 4144, "loc": { "start": { "line": 113, "column": 22 }, "end": { "line": 113, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getAttribute", "start": 4144, "end": 4156, "loc": { "start": { "line": 113, "column": 23 }, "end": { "line": 113, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4156, "end": 4157, "loc": { "start": { "line": 113, "column": 35 }, "end": { "line": 113, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 4157, "end": 4161, "loc": { "start": { "line": 113, "column": 36 }, "end": { "line": 113, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4161, "end": 4162, "loc": { "start": { "line": 113, "column": 40 }, "end": { "line": 113, "column": 41 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 4163, "end": 4166, "loc": { "start": { "line": 113, "column": 42 }, "end": { "line": 113, "column": 45 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "val", "start": 4167, "end": 4170, "loc": { "start": { "line": 113, "column": 46 }, "end": { "line": 113, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4170, "end": 4171, "loc": { "start": { "line": 113, "column": 49 }, "end": { "line": 113, "column": 50 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4172, "end": 4173, "loc": { "start": { "line": 113, "column": 51 }, "end": { "line": 113, "column": 52 } } }, { "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": 4190, "end": 4192, "loc": { "start": { "line": 114, "column": 16 }, "end": { "line": 114, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4193, "end": 4194, "loc": { "start": { "line": 114, "column": 19 }, "end": { "line": 114, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "val", "start": 4194, "end": 4197, "loc": { "start": { "line": 114, "column": 20 }, "end": { "line": 114, "column": 23 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "==", "start": 4198, "end": 4200, "loc": { "start": { "line": 114, "column": 24 }, "end": { "line": 114, "column": 26 } } }, { "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": 4201, "end": 4205, "loc": { "start": { "line": 114, "column": 27 }, "end": { "line": 114, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4205, "end": 4206, "loc": { "start": { "line": 114, "column": 31 }, "end": { "line": 114, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4207, "end": 4208, "loc": { "start": { "line": 114, "column": 33 }, "end": { "line": 114, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 4227, "end": 4231, "loc": { "start": { "line": 115, "column": 18 }, "end": { "line": 115, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4231, "end": 4232, "loc": { "start": { "line": 115, "column": 22 }, "end": { "line": 115, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "removeAttribute", "start": 4232, "end": 4247, "loc": { "start": { "line": 115, "column": 23 }, "end": { "line": 115, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4247, "end": 4248, "loc": { "start": { "line": 115, "column": 38 }, "end": { "line": 115, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 4248, "end": 4252, "loc": { "start": { "line": 115, "column": 39 }, "end": { "line": 115, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4252, "end": 4253, "loc": { "start": { "line": 115, "column": 43 }, "end": { "line": 115, "column": 44 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4270, "end": 4271, "loc": { "start": { "line": 116, "column": 16 }, "end": { "line": 116, "column": 17 } } }, { "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": 4272, "end": 4276, "loc": { "start": { "line": 116, "column": 18 }, "end": { "line": 116, "column": 22 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4277, "end": 4278, "loc": { "start": { "line": 116, "column": 23 }, "end": { "line": 116, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 4297, "end": 4301, "loc": { "start": { "line": 117, "column": 18 }, "end": { "line": 117, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4301, "end": 4302, "loc": { "start": { "line": 117, "column": 22 }, "end": { "line": 117, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setAttribute", "start": 4302, "end": 4314, "loc": { "start": { "line": 117, "column": 23 }, "end": { "line": 117, "column": 35 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4314, "end": 4315, "loc": { "start": { "line": 117, "column": 35 }, "end": { "line": 117, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "name", "start": 4315, "end": 4319, "loc": { "start": { "line": 117, "column": 36 }, "end": { "line": 117, "column": 40 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4319, "end": 4320, "loc": { "start": { "line": 117, "column": 40 }, "end": { "line": 117, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "val", "start": 4321, "end": 4324, "loc": { "start": { "line": 117, "column": 42 }, "end": { "line": 117, "column": 45 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4324, "end": 4325, "loc": { "start": { "line": 117, "column": 45 }, "end": { "line": 117, "column": 46 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4342, "end": 4343, "loc": { "start": { "line": 118, "column": 16 }, "end": { "line": 118, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4358, "end": 4359, "loc": { "start": { "line": 119, "column": 14 }, "end": { "line": 119, "column": 15 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4372, "end": 4373, "loc": { "start": { "line": 120, "column": 12 }, "end": { "line": 120, "column": 13 } } }, { "type": { "label": "break", "keyword": "break", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "break", "start": 4386, "end": 4391, "loc": { "start": { "line": 121, "column": 12 }, "end": { "line": 121, "column": 17 } } }, { "type": { "label": "case", "keyword": "case", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "case", "start": 4402, "end": 4406, "loc": { "start": { "line": 122, "column": 10 }, "end": { "line": 122, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "childList", "start": 4407, "end": 4418, "loc": { "start": { "line": 122, "column": 15 }, "end": { "line": 122, "column": 26 } } }, { "type": { "label": ":", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4418, "end": 4419, "loc": { "start": { "line": 122, "column": 26 }, "end": { "line": 122, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "diffChildren", "start": 4432, "end": 4444, "loc": { "start": { "line": 123, "column": 12 }, "end": { "line": 123, "column": 24 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4444, "end": 4445, "loc": { "start": { "line": 123, "column": 24 }, "end": { "line": 123, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 4445, "end": 4448, "loc": { "start": { "line": 123, "column": 25 }, "end": { "line": 123, "column": 28 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4448, "end": 4449, "loc": { "start": { "line": 123, "column": 28 }, "end": { "line": 123, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "mutation", "start": 4449, "end": 4457, "loc": { "start": { "line": 123, "column": 29 }, "end": { "line": 123, "column": 37 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4457, "end": 4458, "loc": { "start": { "line": 123, "column": 37 }, "end": { "line": 123, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "target", "start": 4458, "end": 4464, "loc": { "start": { "line": 123, "column": 38 }, "end": { "line": 123, "column": 44 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4464, "end": 4465, "loc": { "start": { "line": 123, "column": 44 }, "end": { "line": 123, "column": 45 } } }, { "type": { "label": "break", "keyword": "break", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "break", "start": 4478, "end": 4483, "loc": { "start": { "line": 124, "column": 12 }, "end": { "line": 124, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4492, "end": 4493, "loc": { "start": { "line": 125, "column": 8 }, "end": { "line": 125, "column": 9 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4500, "end": 4501, "loc": { "start": { "line": 126, "column": 6 }, "end": { "line": 126, "column": 7 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4501, "end": 4502, "loc": { "start": { "line": 126, "column": 7 }, "end": { "line": 126, "column": 8 } } }, { "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": 4509, "end": 4512, "loc": { "start": { "line": 127, "column": 6 }, "end": { "line": 127, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4513, "end": 4514, "loc": { "start": { "line": 127, "column": 10 }, "end": { "line": 127, "column": 11 } } }, { "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": 4514, "end": 4517, "loc": { "start": { "line": 127, "column": 11 }, "end": { "line": 127, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 4518, "end": 4521, "loc": { "start": { "line": 127, "column": 15 }, "end": { "line": 127, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "of", "start": 4522, "end": 4524, "loc": { "start": { "line": 127, "column": 19 }, "end": { "line": 127, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "diffChildren", "start": 4525, "end": 4537, "loc": { "start": { "line": 127, "column": 22 }, "end": { "line": 127, "column": 34 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4537, "end": 4538, "loc": { "start": { "line": 127, "column": 34 }, "end": { "line": 127, "column": 35 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4539, "end": 4540, "loc": { "start": { "line": 127, "column": 36 }, "end": { "line": 127, "column": 37 } } }, { "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": 4549, "end": 4551, "loc": { "start": { "line": 128, "column": 8 }, "end": { "line": 128, "column": 10 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4552, "end": 4553, "loc": { "start": { "line": 128, "column": 11 }, "end": { "line": 128, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 4553, "end": 4556, "loc": { "start": { "line": 128, "column": 12 }, "end": { "line": 128, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4556, "end": 4557, "loc": { "start": { "line": 128, "column": 15 }, "end": { "line": 128, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yOnChildrenChanged", "start": 4557, "end": 4575, "loc": { "start": { "line": 128, "column": 16 }, "end": { "line": 128, "column": 34 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 4576, "end": 4579, "loc": { "start": { "line": 128, "column": 35 }, "end": { "line": 128, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "undefined", "start": 4580, "end": 4589, "loc": { "start": { "line": 128, "column": 39 }, "end": { "line": 128, "column": 48 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4589, "end": 4590, "loc": { "start": { "line": 128, "column": 48 }, "end": { "line": 128, "column": 49 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4591, "end": 4592, "loc": { "start": { "line": 128, "column": 50 }, "end": { "line": 128, "column": 51 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 4603, "end": 4606, "loc": { "start": { "line": 129, "column": 10 }, "end": { "line": 129, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4606, "end": 4607, "loc": { "start": { "line": 129, "column": 13 }, "end": { "line": 129, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yOnChildrenChanged", "start": 4607, "end": 4625, "loc": { "start": { "line": 129, "column": 14 }, "end": { "line": 129, "column": 32 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4625, "end": 4626, "loc": { "start": { "line": 129, "column": 32 }, "end": { "line": 129, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4626, "end": 4627, "loc": { "start": { "line": 129, "column": 33 }, "end": { "line": 129, "column": 34 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4636, "end": 4637, "loc": { "start": { "line": 130, "column": 8 }, "end": { "line": 130, "column": 9 } } }, { "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": 4646, "end": 4651, "loc": { "start": { "line": 131, "column": 8 }, "end": { "line": 131, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 4652, "end": 4656, "loc": { "start": { "line": 131, "column": 14 }, "end": { "line": 131, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 4657, "end": 4658, "loc": { "start": { "line": 131, "column": 19 }, "end": { "line": 131, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4659, "end": 4663, "loc": { "start": { "line": 131, "column": 21 }, "end": { "line": 131, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4663, "end": 4664, "loc": { "start": { "line": 131, "column": 25 }, "end": { "line": 131, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "domToType", "start": 4664, "end": 4673, "loc": { "start": { "line": 131, "column": 26 }, "end": { "line": 131, "column": 35 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4673, "end": 4674, "loc": { "start": { "line": 131, "column": 35 }, "end": { "line": 131, "column": 36 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "get", "start": 4674, "end": 4677, "loc": { "start": { "line": 131, "column": 36 }, "end": { "line": 131, "column": 39 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4677, "end": 4678, "loc": { "start": { "line": 131, "column": 39 }, "end": { "line": 131, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 4678, "end": 4681, "loc": { "start": { "line": 131, "column": 40 }, "end": { "line": 131, "column": 43 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4681, "end": 4682, "loc": { "start": { "line": 131, "column": 43 }, "end": { "line": 131, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "applyChangesFromDom", "start": 4691, "end": 4710, "loc": { "start": { "line": 132, "column": 8 }, "end": { "line": 132, "column": 27 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4710, "end": 4711, "loc": { "start": { "line": 132, "column": 27 }, "end": { "line": 132, "column": 28 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 4711, "end": 4715, "loc": { "start": { "line": 132, "column": 28 }, "end": { "line": 132, "column": 32 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4715, "end": 4716, "loc": { "start": { "line": 132, "column": 32 }, "end": { "line": 132, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "dom", "start": 4717, "end": 4720, "loc": { "start": { "line": 132, "column": 34 }, "end": { "line": 132, "column": 37 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4720, "end": 4721, "loc": { "start": { "line": 132, "column": 37 }, "end": { "line": 132, "column": 38 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "yxml", "start": 4722, "end": 4726, "loc": { "start": { "line": 132, "column": 39 }, "end": { "line": 132, "column": 43 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4726, "end": 4727, "loc": { "start": { "line": 132, "column": 43 }, "end": { "line": 132, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_document", "start": 4728, "end": 4737, "loc": { "start": { "line": 132, "column": 45 }, "end": { "line": 132, "column": 54 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4737, "end": 4738, "loc": { "start": { "line": 132, "column": 54 }, "end": { "line": 132, "column": 55 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4745, "end": 4746, "loc": { "start": { "line": 133, "column": 6 }, "end": { "line": 133, "column": 7 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4751, "end": 4752, "loc": { "start": { "line": 134, "column": 4 }, "end": { "line": 134, "column": 5 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4752, "end": 4753, "loc": { "start": { "line": 134, "column": 5 }, "end": { "line": 134, "column": 6 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4756, "end": 4757, "loc": { "start": { "line": 135, "column": 2 }, "end": { "line": 135, "column": 3 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4757, "end": 4758, "loc": { "start": { "line": 135, "column": 3 }, "end": { "line": 135, "column": 4 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 4759, "end": 4760, "loc": { "start": { "line": 136, "column": 0 }, "end": { "line": 136, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 4761, "end": 4761, "loc": { "start": { "line": 137, "column": 0 }, "end": { "line": 137, "column": 0 } } } ] }