{ "type": "File", "start": 0, "end": 1623, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 58, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 1623, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 58, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 1, "end": 34, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 33 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 8, "end": 10, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 9 } }, "local": { "type": "Identifier", "start": 8, "end": 10, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 9 }, "identifierName": "ID" }, "name": "ID" } } ], "source": { "type": "StringLiteral", "start": 16, "end": 34, "loc": { "start": { "line": 2, "column": 15 }, "end": { "line": 2, "column": 33 } }, "extra": { "rawValue": "../Util/ID/ID.js", "raw": "'../Util/ID/ID.js'" }, "value": "../Util/ID/ID.js" } }, { "type": "ImportDeclaration", "start": 35, "end": 79, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 44 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 42, "end": 50, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 15 } }, "local": { "type": "Identifier", "start": 42, "end": 50, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 15 }, "identifierName": "ItemJSON" }, "name": "ItemJSON" } } ], "source": { "type": "StringLiteral", "start": 56, "end": 79, "loc": { "start": { "line": 3, "column": 21 }, "end": { "line": 3, "column": 44 } }, "extra": { "rawValue": "../Struct/ItemJSON.js", "raw": "'../Struct/ItemJSON.js'" }, "value": "../Struct/ItemJSON.js" } }, { "type": "ImportDeclaration", "start": 80, "end": 128, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 48 } }, "specifiers": [ { "type": "ImportDefaultSpecifier", "start": 87, "end": 97, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 17 } }, "local": { "type": "Identifier", "start": 87, "end": 97, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 17 }, "identifierName": "ItemString" }, "name": "ItemString" } } ], "source": { "type": "StringLiteral", "start": 103, "end": 128, "loc": { "start": { "line": 4, "column": 23 }, "end": { "line": 4, "column": 48 } }, "extra": { "rawValue": "../Struct/ItemString.js", "raw": "'../Struct/ItemString.js'" }, "value": "../Struct/ItemString.js", "leadingComments": null, "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\n * Try to merge all items in os with their successors.\n *\n * Some transformations (like delete) fragment items.\n * Item(c: 'ab') + Delete(1,1) + Delete(0, 1) -> Item(c: 'a',deleted);Item(c: 'b',deleted)\n *\n * This functions merges the fragmented nodes together:\n * Item(c: 'a',deleted);Item(c: 'b',deleted) -> Item(c: 'ab', deleted)\n *\n * TODO: The Tree implementation does not support deletions in-spot.\n * This is why all deletions must be performed after the traversal.\n *\n ", "start": 130, "end": 619, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 18, "column": 3 } } } ] }, { "type": "ExportNamedDeclaration", "start": 620, "end": 1622, "loc": { "start": { "line": 19, "column": 0 }, "end": { "line": 57, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "FunctionDeclaration", "start": 627, "end": 1622, "loc": { "start": { "line": 19, "column": 7 }, "end": { "line": 57, "column": 1 } }, "id": { "type": "Identifier", "start": 636, "end": 657, "loc": { "start": { "line": 19, "column": 16 }, "end": { "line": 19, "column": 37 }, "identifierName": "defragmentItemContent" }, "name": "defragmentItemContent", "leadingComments": null }, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 659, "end": 660, "loc": { "start": { "line": 19, "column": 39 }, "end": { "line": 19, "column": 40 }, "identifierName": "y" }, "name": "y" } ], "body": { "type": "BlockStatement", "start": 662, "end": 1622, "loc": { "start": { "line": 19, "column": 42 }, "end": { "line": 57, "column": 1 } }, "body": [ { "type": "VariableDeclaration", "start": 666, "end": 681, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 20, "column": 17 } }, "declarations": [ { "type": "VariableDeclarator", "start": 672, "end": 681, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 17 } }, "id": { "type": "Identifier", "start": 672, "end": 674, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 10 }, "identifierName": "os" }, "name": "os" }, "init": { "type": "MemberExpression", "start": 677, "end": 681, "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 20, "column": 17 } }, "object": { "type": "Identifier", "start": 677, "end": 678, "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 20, "column": 14 }, "identifierName": "y" }, "name": "y" }, "property": { "type": "Identifier", "start": 679, "end": 681, "loc": { "start": { "line": 20, "column": 15 }, "end": { "line": 20, "column": 17 }, "identifierName": "os" }, "name": "os" }, "computed": false } } ], "kind": "const" }, { "type": "IfStatement", "start": 684, "end": 719, "loc": { "start": { "line": 21, "column": 2 }, "end": { "line": 23, "column": 3 } }, "test": { "type": "BinaryExpression", "start": 688, "end": 701, "loc": { "start": { "line": 21, "column": 6 }, "end": { "line": 21, "column": 19 } }, "left": { "type": "MemberExpression", "start": 688, "end": 697, "loc": { "start": { "line": 21, "column": 6 }, "end": { "line": 21, "column": 15 } }, "object": { "type": "Identifier", "start": 688, "end": 690, "loc": { "start": { "line": 21, "column": 6 }, "end": { "line": 21, "column": 8 }, "identifierName": "os" }, "name": "os" }, "property": { "type": "Identifier", "start": 691, "end": 697, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 15 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "<", "right": { "type": "NumericLiteral", "start": 700, "end": 701, "loc": { "start": { "line": 21, "column": 18 }, "end": { "line": 21, "column": 19 } }, "extra": { "rawValue": 2, "raw": "2" }, "value": 2 } }, "consequent": { "type": "BlockStatement", "start": 703, "end": 719, "loc": { "start": { "line": 21, "column": 21 }, "end": { "line": 23, "column": 3 } }, "body": [ { "type": "ReturnStatement", "start": 709, "end": 715, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 10 } }, "argument": null } ], "directives": [] }, "alternate": null }, { "type": "VariableDeclaration", "start": 722, "end": 738, "loc": { "start": { "line": 24, "column": 2 }, "end": { "line": 24, "column": 18 } }, "declarations": [ { "type": "VariableDeclarator", "start": 726, "end": 738, "loc": { "start": { "line": 24, "column": 6 }, "end": { "line": 24, "column": 18 } }, "id": { "type": "Identifier", "start": 726, "end": 733, "loc": { "start": { "line": 24, "column": 6 }, "end": { "line": 24, "column": 13 }, "identifierName": "deletes" }, "name": "deletes" }, "init": { "type": "ArrayExpression", "start": 736, "end": 738, "loc": { "start": { "line": 24, "column": 16 }, "end": { "line": 24, "column": 18 } }, "elements": [] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 741, "end": 773, "loc": { "start": { "line": 25, "column": 2 }, "end": { "line": 25, "column": 34 } }, "declarations": [ { "type": "VariableDeclarator", "start": 745, "end": 773, "loc": { "start": { "line": 25, "column": 6 }, "end": { "line": 25, "column": 34 } }, "id": { "type": "Identifier", "start": 745, "end": 749, "loc": { "start": { "line": 25, "column": 6 }, "end": { "line": 25, "column": 10 }, "identifierName": "node" }, "name": "node" }, "init": { "type": "CallExpression", "start": 752, "end": 773, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 34 } }, "callee": { "type": "MemberExpression", "start": 752, "end": 771, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 32 } }, "object": { "type": "Identifier", "start": 752, "end": 754, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 15 }, "identifierName": "os" }, "name": "os" }, "property": { "type": "Identifier", "start": 755, "end": 771, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 25, "column": 32 }, "identifierName": "findSmallestNode" }, "name": "findSmallestNode" }, "computed": false }, "arguments": [] } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 776, "end": 798, "loc": { "start": { "line": 26, "column": 2 }, "end": { "line": 26, "column": 24 } }, "declarations": [ { "type": "VariableDeclarator", "start": 780, "end": 798, "loc": { "start": { "line": 26, "column": 6 }, "end": { "line": 26, "column": 24 } }, "id": { "type": "Identifier", "start": 780, "end": 784, "loc": { "start": { "line": 26, "column": 6 }, "end": { "line": 26, "column": 10 }, "identifierName": "next" }, "name": "next" }, "init": { "type": "CallExpression", "start": 787, "end": 798, "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 24 } }, "callee": { "type": "MemberExpression", "start": 787, "end": 796, "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 22 } }, "object": { "type": "Identifier", "start": 787, "end": 791, "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 17 }, "identifierName": "node" }, "name": "node" }, "property": { "type": "Identifier", "start": 792, "end": 796, "loc": { "start": { "line": 26, "column": 18 }, "end": { "line": 26, "column": 22 }, "identifierName": "next" }, "name": "next" }, "computed": false }, "arguments": [] } } ], "kind": "let" }, { "type": "WhileStatement", "start": 801, "end": 1540, "loc": { "start": { "line": 27, "column": 2 }, "end": { "line": 53, "column": 3 } }, "test": { "type": "BinaryExpression", "start": 808, "end": 821, "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 22 } }, "left": { "type": "Identifier", "start": 808, "end": 812, "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 13 }, "identifierName": "next" }, "name": "next" }, "operator": "!==", "right": { "type": "NullLiteral", "start": 817, "end": 821, "loc": { "start": { "line": 27, "column": 18 }, "end": { "line": 27, "column": 22 } } } }, "body": { "type": "BlockStatement", "start": 823, "end": 1540, "loc": { "start": { "line": 27, "column": 24 }, "end": { "line": 53, "column": 3 } }, "body": [ { "type": "VariableDeclaration", "start": 829, "end": 845, "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 20 } }, "declarations": [ { "type": "VariableDeclarator", "start": 833, "end": 845, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 20 } }, "id": { "type": "Identifier", "start": 833, "end": 834, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 9 }, "identifierName": "a" }, "name": "a" }, "init": { "type": "MemberExpression", "start": 837, "end": 845, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 20 } }, "object": { "type": "Identifier", "start": 837, "end": 841, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 16 }, "identifierName": "node" }, "name": "node" }, "property": { "type": "Identifier", "start": 842, "end": 845, "loc": { "start": { "line": 28, "column": 17 }, "end": { "line": 28, "column": 20 }, "identifierName": "val" }, "name": "val" }, "computed": false } } ], "kind": "let" }, { "type": "VariableDeclaration", "start": 850, "end": 866, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 20 } }, "declarations": [ { "type": "VariableDeclarator", "start": 854, "end": 866, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 20 } }, "id": { "type": "Identifier", "start": 854, "end": 855, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 9 }, "identifierName": "b" }, "name": "b" }, "init": { "type": "MemberExpression", "start": 858, "end": 866, "loc": { "start": { "line": 29, "column": 12 }, "end": { "line": 29, "column": 20 } }, "object": { "type": "Identifier", "start": 858, "end": 862, "loc": { "start": { "line": 29, "column": 12 }, "end": { "line": 29, "column": 16 }, "identifierName": "next" }, "name": "next" }, "property": { "type": "Identifier", "start": 863, "end": 866, "loc": { "start": { "line": 29, "column": 17 }, "end": { "line": 29, "column": 20 }, "identifierName": "val" }, "name": "val" }, "computed": false } } ], "kind": "let" }, { "type": "IfStatement", "start": 871, "end": 1494, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 50, "column": 5 } }, "test": { "type": "LogicalExpression", "start": 882, "end": 1101, "loc": { "start": { "line": 31, "column": 6 }, "end": { "line": 35, "column": 65 } }, "left": { "type": "LogicalExpression", "start": 882, "end": 1032, "loc": { "start": { "line": 31, "column": 6 }, "end": { "line": 34, "column": 20 } }, "left": { "type": "LogicalExpression", "start": 882, "end": 1008, "loc": { "start": { "line": 31, "column": 6 }, "end": { "line": 33, "column": 31 } }, "left": { "type": "LogicalExpression", "start": 882, "end": 973, "loc": { "start": { "line": 31, "column": 6 }, "end": { "line": 32, "column": 37 } }, "left": { "type": "LogicalExpression", "start": 883, "end": 931, "loc": { "start": { "line": 31, "column": 7 }, "end": { "line": 31, "column": 55 } }, "left": { "type": "BinaryExpression", "start": 883, "end": 904, "loc": { "start": { "line": 31, "column": 7 }, "end": { "line": 31, "column": 28 } }, "left": { "type": "Identifier", "start": 883, "end": 884, "loc": { "start": { "line": 31, "column": 7 }, "end": { "line": 31, "column": 8 }, "identifierName": "a" }, "name": "a" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 896, "end": 904, "loc": { "start": { "line": 31, "column": 20 }, "end": { "line": 31, "column": 28 }, "identifierName": "ItemJSON" }, "name": "ItemJSON" } }, "operator": "||", "right": { "type": "BinaryExpression", "start": 908, "end": 931, "loc": { "start": { "line": 31, "column": 32 }, "end": { "line": 31, "column": 55 } }, "left": { "type": "Identifier", "start": 908, "end": 909, "loc": { "start": { "line": 31, "column": 32 }, "end": { "line": 31, "column": 33 }, "identifierName": "a" }, "name": "a" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 921, "end": 931, "loc": { "start": { "line": 31, "column": 45 }, "end": { "line": 31, "column": 55 }, "identifierName": "ItemString" }, "name": "ItemString" } }, "extra": { "parenthesized": true, "parenStart": 882 } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 942, "end": 973, "loc": { "start": { "line": 32, "column": 6 }, "end": { "line": 32, "column": 37 } }, "left": { "type": "MemberExpression", "start": 942, "end": 955, "loc": { "start": { "line": 32, "column": 6 }, "end": { "line": 32, "column": 19 } }, "object": { "type": "Identifier", "start": 942, "end": 943, "loc": { "start": { "line": 32, "column": 6 }, "end": { "line": 32, "column": 7 }, "identifierName": "a" }, "name": "a" }, "property": { "type": "Identifier", "start": 944, "end": 955, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 19 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false }, "operator": "===", "right": { "type": "MemberExpression", "start": 960, "end": 973, "loc": { "start": { "line": 32, "column": 24 }, "end": { "line": 32, "column": 37 } }, "object": { "type": "Identifier", "start": 960, "end": 961, "loc": { "start": { "line": 32, "column": 24 }, "end": { "line": 32, "column": 25 }, "identifierName": "b" }, "name": "b" }, "property": { "type": "Identifier", "start": 962, "end": 973, "loc": { "start": { "line": 32, "column": 26 }, "end": { "line": 32, "column": 37 }, "identifierName": "constructor" }, "name": "constructor" }, "computed": false } } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 983, "end": 1008, "loc": { "start": { "line": 33, "column": 6 }, "end": { "line": 33, "column": 31 } }, "left": { "type": "MemberExpression", "start": 983, "end": 993, "loc": { "start": { "line": 33, "column": 6 }, "end": { "line": 33, "column": 16 } }, "object": { "type": "Identifier", "start": 983, "end": 984, "loc": { "start": { "line": 33, "column": 6 }, "end": { "line": 33, "column": 7 }, "identifierName": "a" }, "name": "a" }, "property": { "type": "Identifier", "start": 985, "end": 993, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 16 }, "identifierName": "_deleted" }, "name": "_deleted" }, "computed": false }, "operator": "===", "right": { "type": "MemberExpression", "start": 998, "end": 1008, "loc": { "start": { "line": 33, "column": 21 }, "end": { "line": 33, "column": 31 } }, "object": { "type": "Identifier", "start": 998, "end": 999, "loc": { "start": { "line": 33, "column": 21 }, "end": { "line": 33, "column": 22 }, "identifierName": "b" }, "name": "b" }, "property": { "type": "Identifier", "start": 1000, "end": 1008, "loc": { "start": { "line": 33, "column": 23 }, "end": { "line": 33, "column": 31 }, "identifierName": "_deleted" }, "name": "_deleted" }, "computed": false } } }, "operator": "&&", "right": { "type": "BinaryExpression", "start": 1018, "end": 1032, "loc": { "start": { "line": 34, "column": 6 }, "end": { "line": 34, "column": 20 } }, "left": { "type": "MemberExpression", "start": 1018, "end": 1026, "loc": { "start": { "line": 34, "column": 6 }, "end": { "line": 34, "column": 14 } }, "object": { "type": "Identifier", "start": 1018, "end": 1019, "loc": { "start": { "line": 34, "column": 6 }, "end": { "line": 34, "column": 7 }, "identifierName": "a" }, "name": "a" }, "property": { "type": "Identifier", "start": 1020, "end": 1026, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 14 }, "identifierName": "_right" }, "name": "_right" }, "computed": false }, "operator": "===", "right": { "type": "Identifier", "start": 1031, "end": 1032, "loc": { "start": { "line": 34, "column": 19 }, "end": { "line": 34, "column": 20 }, "identifierName": "b" }, "name": "b" } } }, "operator": "&&", "right": { "type": "CallExpression", "start": 1042, "end": 1101, "loc": { "start": { "line": 35, "column": 6 }, "end": { "line": 35, "column": 65 } }, "callee": { "type": "MemberExpression", "start": 1042, "end": 1094, "loc": { "start": { "line": 35, "column": 6 }, "end": { "line": 35, "column": 58 } }, "object": { "type": "NewExpression", "start": 1043, "end": 1086, "loc": { "start": { "line": 35, "column": 7 }, "end": { "line": 35, "column": 50 } }, "callee": { "type": "Identifier", "start": 1047, "end": 1049, "loc": { "start": { "line": 35, "column": 11 }, "end": { "line": 35, "column": 13 }, "identifierName": "ID" }, "name": "ID" }, "arguments": [ { "type": "MemberExpression", "start": 1050, "end": 1060, "loc": { "start": { "line": 35, "column": 14 }, "end": { "line": 35, "column": 24 } }, "object": { "type": "MemberExpression", "start": 1050, "end": 1055, "loc": { "start": { "line": 35, "column": 14 }, "end": { "line": 35, "column": 19 } }, "object": { "type": "Identifier", "start": 1050, "end": 1051, "loc": { "start": { "line": 35, "column": 14 }, "end": { "line": 35, "column": 15 }, "identifierName": "a" }, "name": "a" }, "property": { "type": "Identifier", "start": 1052, "end": 1055, "loc": { "start": { "line": 35, "column": 16 }, "end": { "line": 35, "column": 19 }, "identifierName": "_id" }, "name": "_id" }, "computed": false }, "property": { "type": "Identifier", "start": 1056, "end": 1060, "loc": { "start": { "line": 35, "column": 20 }, "end": { "line": 35, "column": 24 }, "identifierName": "user" }, "name": "user" }, "computed": false }, { "type": "BinaryExpression", "start": 1062, "end": 1085, "loc": { "start": { "line": 35, "column": 26 }, "end": { "line": 35, "column": 49 } }, "left": { "type": "MemberExpression", "start": 1062, "end": 1073, "loc": { "start": { "line": 35, "column": 26 }, "end": { "line": 35, "column": 37 } }, "object": { "type": "MemberExpression", "start": 1062, "end": 1067, "loc": { "start": { "line": 35, "column": 26 }, "end": { "line": 35, "column": 31 } }, "object": { "type": "Identifier", "start": 1062, "end": 1063, "loc": { "start": { "line": 35, "column": 26 }, "end": { "line": 35, "column": 27 }, "identifierName": "a" }, "name": "a" }, "property": { "type": "Identifier", "start": 1064, "end": 1067, "loc": { "start": { "line": 35, "column": 28 }, "end": { "line": 35, "column": 31 }, "identifierName": "_id" }, "name": "_id" }, "computed": false }, "property": { "type": "Identifier", "start": 1068, "end": 1073, "loc": { "start": { "line": 35, "column": 32 }, "end": { "line": 35, "column": 37 }, "identifierName": "clock" }, "name": "clock" }, "computed": false }, "operator": "+", "right": { "type": "MemberExpression", "start": 1076, "end": 1085, "loc": { "start": { "line": 35, "column": 40 }, "end": { "line": 35, "column": 49 } }, "object": { "type": "Identifier", "start": 1076, "end": 1077, "loc": { "start": { "line": 35, "column": 40 }, "end": { "line": 35, "column": 41 }, "identifierName": "a" }, "name": "a" }, "property": { "type": "Identifier", "start": 1078, "end": 1085, "loc": { "start": { "line": 35, "column": 42 }, "end": { "line": 35, "column": 49 }, "identifierName": "_length" }, "name": "_length" }, "computed": false } } ], "extra": { "parenthesized": true, "parenStart": 1042 } }, "property": { "type": "Identifier", "start": 1088, "end": 1094, "loc": { "start": { "line": 35, "column": 52 }, "end": { "line": 35, "column": 58 }, "identifierName": "equals" }, "name": "equals" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1095, "end": 1100, "loc": { "start": { "line": 35, "column": 59 }, "end": { "line": 35, "column": 64 } }, "object": { "type": "Identifier", "start": 1095, "end": 1096, "loc": { "start": { "line": 35, "column": 59 }, "end": { "line": 35, "column": 60 }, "identifierName": "b" }, "name": "b" }, "property": { "type": "Identifier", "start": 1097, "end": 1100, "loc": { "start": { "line": 35, "column": 61 }, "end": { "line": 35, "column": 64 }, "identifierName": "_id" }, "name": "_id" }, "computed": false } ] } }, "consequent": { "type": "BlockStatement", "start": 1108, "end": 1416, "loc": { "start": { "line": 36, "column": 6 }, "end": { "line": 47, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1116, "end": 1135, "loc": { "start": { "line": 37, "column": 6 }, "end": { "line": 37, "column": 25 } }, "expression": { "type": "AssignmentExpression", "start": 1116, "end": 1135, "loc": { "start": { "line": 37, "column": 6 }, "end": { "line": 37, "column": 25 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1116, "end": 1124, "loc": { "start": { "line": 37, "column": 6 }, "end": { "line": 37, "column": 14 } }, "object": { "type": "Identifier", "start": 1116, "end": 1117, "loc": { "start": { "line": 37, "column": 6 }, "end": { "line": 37, "column": 7 }, "identifierName": "a" }, "name": "a" }, "property": { "type": "Identifier", "start": 1118, "end": 1124, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 14 }, "identifierName": "_right" }, "name": "_right" }, "computed": false }, "right": { "type": "MemberExpression", "start": 1127, "end": 1135, "loc": { "start": { "line": 37, "column": 17 }, "end": { "line": 37, "column": 25 } }, "object": { "type": "Identifier", "start": 1127, "end": 1128, "loc": { "start": { "line": 37, "column": 17 }, "end": { "line": 37, "column": 18 }, "identifierName": "b" }, "name": "b" }, "property": { "type": "Identifier", "start": 1129, "end": 1135, "loc": { "start": { "line": 37, "column": 19 }, "end": { "line": 37, "column": 25 }, "identifierName": "_right" }, "name": "_right" }, "computed": false } } }, { "type": "IfStatement", "start": 1142, "end": 1306, "loc": { "start": { "line": 38, "column": 6 }, "end": { "line": 42, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 1146, "end": 1167, "loc": { "start": { "line": 38, "column": 10 }, "end": { "line": 38, "column": 31 } }, "left": { "type": "Identifier", "start": 1146, "end": 1147, "loc": { "start": { "line": 38, "column": 10 }, "end": { "line": 38, "column": 11 }, "identifierName": "a" }, "name": "a" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 1159, "end": 1167, "loc": { "start": { "line": 38, "column": 23 }, "end": { "line": 38, "column": 31 }, "identifierName": "ItemJSON" }, "name": "ItemJSON" } }, "consequent": { "type": "BlockStatement", "start": 1169, "end": 1229, "loc": { "start": { "line": 38, "column": 33 }, "end": { "line": 40, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 1179, "end": 1221, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 50 } }, "expression": { "type": "AssignmentExpression", "start": 1179, "end": 1221, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 50 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 1179, "end": 1189, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 18 } }, "object": { "type": "Identifier", "start": 1179, "end": 1180, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 9 }, "identifierName": "a" }, "name": "a" }, "property": { "type": "Identifier", "start": 1181, "end": 1189, "loc": { "start": { "line": 39, "column": 10 }, "end": { "line": 39, "column": 18 }, "identifierName": "_content" }, "name": "_content" }, "computed": false }, "right": { "type": "CallExpression", "start": 1192, "end": 1221, "loc": { "start": { "line": 39, "column": 21 }, "end": { "line": 39, "column": 50 } }, "callee": { "type": "MemberExpression", "start": 1192, "end": 1209, "loc": { "start": { "line": 39, "column": 21 }, "end": { "line": 39, "column": 38 } }, "object": { "type": "MemberExpression", "start": 1192, "end": 1202, "loc": { "start": { "line": 39, "column": 21 }, "end": { "line": 39, "column": 31 } }, "object": { "type": "Identifier", "start": 1192, "end": 1193, "loc": { "start": { "line": 39, "column": 21 }, "end": { "line": 39, "column": 22 }, "identifierName": "a" }, "name": "a" }, "property": { "type": "Identifier", "start": 1194, "end": 1202, "loc": { "start": { "line": 39, "column": 23 }, "end": { "line": 39, "column": 31 }, "identifierName": "_content" }, "name": "_content" }, "computed": false }, "property": { "type": "Identifier", "start": 1203, "end": 1209, "loc": { "start": { "line": 39, "column": 32 }, "end": { "line": 39, "column": 38 }, "identifierName": "concat" }, "name": "concat" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1210, "end": 1220, "loc": { "start": { "line": 39, "column": 39 }, "end": { "line": 39, "column": 49 } }, "object": { "type": "Identifier", "start": 1210, "end": 1211, "loc": { "start": { "line": 39, "column": 39 }, "end": { "line": 39, "column": 40 }, "identifierName": "b" }, "name": "b" }, "property": { "type": "Identifier", "start": 1212, "end": 1220, "loc": { "start": { "line": 39, "column": 41 }, "end": { "line": 39, "column": 49 }, "identifierName": "_content" }, "name": "_content" }, "computed": false } ] } } } ], "directives": [] }, "alternate": { "type": "IfStatement", "start": 1235, "end": 1306, "loc": { "start": { "line": 40, "column": 13 }, "end": { "line": 42, "column": 7 } }, "test": { "type": "BinaryExpression", "start": 1239, "end": 1262, "loc": { "start": { "line": 40, "column": 17 }, "end": { "line": 40, "column": 40 } }, "left": { "type": "Identifier", "start": 1239, "end": 1240, "loc": { "start": { "line": 40, "column": 17 }, "end": { "line": 40, "column": 18 }, "identifierName": "a" }, "name": "a" }, "operator": "instanceof", "right": { "type": "Identifier", "start": 1252, "end": 1262, "loc": { "start": { "line": 40, "column": 30 }, "end": { "line": 40, "column": 40 }, "identifierName": "ItemString" }, "name": "ItemString" } }, "consequent": { "type": "BlockStatement", "start": 1264, "end": 1306, "loc": { "start": { "line": 40, "column": 42 }, "end": { "line": 42, "column": 7 } }, "body": [ { "type": "ExpressionStatement", "start": 1274, "end": 1298, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 32 } }, "expression": { "type": "AssignmentExpression", "start": 1274, "end": 1298, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 32 } }, "operator": "+=", "left": { "type": "MemberExpression", "start": 1274, "end": 1284, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 18 } }, "object": { "type": "Identifier", "start": 1274, "end": 1275, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 9 }, "identifierName": "a" }, "name": "a" }, "property": { "type": "Identifier", "start": 1276, "end": 1284, "loc": { "start": { "line": 41, "column": 10 }, "end": { "line": 41, "column": 18 }, "identifierName": "_content" }, "name": "_content" }, "computed": false }, "right": { "type": "MemberExpression", "start": 1288, "end": 1298, "loc": { "start": { "line": 41, "column": 22 }, "end": { "line": 41, "column": 32 } }, "object": { "type": "Identifier", "start": 1288, "end": 1289, "loc": { "start": { "line": 41, "column": 22 }, "end": { "line": 41, "column": 23 }, "identifierName": "b" }, "name": "b" }, "property": { "type": "Identifier", "start": 1290, "end": 1298, "loc": { "start": { "line": 41, "column": 24 }, "end": { "line": 41, "column": 32 }, "identifierName": "_content" }, "name": "_content" }, "computed": false } } } ], "directives": [], "trailingComments": null }, "alternate": null, "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " delete b later", "start": 1313, "end": 1330, "loc": { "start": { "line": 43, "column": 6 }, "end": { "line": 43, "column": 23 } } } ] }, { "type": "ExpressionStatement", "start": 1337, "end": 1356, "loc": { "start": { "line": 44, "column": 6 }, "end": { "line": 44, "column": 25 } }, "expression": { "type": "CallExpression", "start": 1337, "end": 1356, "loc": { "start": { "line": 44, "column": 6 }, "end": { "line": 44, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 1337, "end": 1349, "loc": { "start": { "line": 44, "column": 6 }, "end": { "line": 44, "column": 18 } }, "object": { "type": "Identifier", "start": 1337, "end": 1344, "loc": { "start": { "line": 44, "column": 6 }, "end": { "line": 44, "column": 13 }, "identifierName": "deletes" }, "name": "deletes", "leadingComments": null }, "property": { "type": "Identifier", "start": 1345, "end": 1349, "loc": { "start": { "line": 44, "column": 14 }, "end": { "line": 44, "column": 18 }, "identifierName": "push" }, "name": "push" }, "computed": false, "leadingComments": null }, "arguments": [ { "type": "MemberExpression", "start": 1350, "end": 1355, "loc": { "start": { "line": 44, "column": 19 }, "end": { "line": 44, "column": 24 } }, "object": { "type": "Identifier", "start": 1350, "end": 1351, "loc": { "start": { "line": 44, "column": 19 }, "end": { "line": 44, "column": 20 }, "identifierName": "b" }, "name": "b" }, "property": { "type": "Identifier", "start": 1352, "end": 1355, "loc": { "start": { "line": 44, "column": 21 }, "end": { "line": 44, "column": 24 }, "identifierName": "_id" }, "name": "_id" }, "computed": false } ], "leadingComments": null, "trailingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " delete b later", "start": 1313, "end": 1330, "loc": { "start": { "line": 43, "column": 6 }, "end": { "line": 43, "column": 23 } } } ], "trailingComments": [ { "type": "CommentLine", "value": " do not iterate node!", "start": 1363, "end": 1386, "loc": { "start": { "line": 45, "column": 6 }, "end": { "line": 45, "column": 29 } } }, { "type": "CommentLine", "value": " !(node = next)", "start": 1393, "end": 1410, "loc": { "start": { "line": 46, "column": 6 }, "end": { "line": 46, "column": 23 } } } ] } ], "directives": [] }, "alternate": { "type": "BlockStatement", "start": 1422, "end": 1494, "loc": { "start": { "line": 47, "column": 11 }, "end": { "line": 50, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1477, "end": 1488, "loc": { "start": { "line": 49, "column": 6 }, "end": { "line": 49, "column": 17 } }, "expression": { "type": "AssignmentExpression", "start": 1477, "end": 1488, "loc": { "start": { "line": 49, "column": 6 }, "end": { "line": 49, "column": 17 } }, "operator": "=", "left": { "type": "Identifier", "start": 1477, "end": 1481, "loc": { "start": { "line": 49, "column": 6 }, "end": { "line": 49, "column": 10 }, "identifierName": "node" }, "name": "node", "leadingComments": null }, "right": { "type": "Identifier", "start": 1484, "end": 1488, "loc": { "start": { "line": 49, "column": 13 }, "end": { "line": 49, "column": 17 }, "identifierName": "next" }, "name": "next" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " not able to merge node, get next node", "start": 1430, "end": 1470, "loc": { "start": { "line": 48, "column": 6 }, "end": { "line": 48, "column": 46 } } } ] } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentLine", "value": " update next", "start": 1499, "end": 1513, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 18 } } } ] }, { "type": "ExpressionStatement", "start": 1518, "end": 1536, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 22 } }, "expression": { "type": "AssignmentExpression", "start": 1518, "end": 1536, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 22 } }, "operator": "=", "left": { "type": "Identifier", "start": 1518, "end": 1522, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 8 }, "identifierName": "next" }, "name": "next", "leadingComments": null }, "right": { "type": "CallExpression", "start": 1525, "end": 1536, "loc": { "start": { "line": 52, "column": 11 }, "end": { "line": 52, "column": 22 } }, "callee": { "type": "MemberExpression", "start": 1525, "end": 1534, "loc": { "start": { "line": 52, "column": 11 }, "end": { "line": 52, "column": 20 } }, "object": { "type": "Identifier", "start": 1525, "end": 1529, "loc": { "start": { "line": 52, "column": 11 }, "end": { "line": 52, "column": 15 }, "identifierName": "next" }, "name": "next" }, "property": { "type": "Identifier", "start": 1530, "end": 1534, "loc": { "start": { "line": 52, "column": 16 }, "end": { "line": 52, "column": 20 }, "identifierName": "next" }, "name": "next" }, "computed": false }, "arguments": [] }, "leadingComments": null }, "leadingComments": [ { "type": "CommentLine", "value": " update next", "start": 1499, "end": 1513, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 18 } } } ] } ], "directives": [] } }, { "type": "ForStatement", "start": 1543, "end": 1620, "loc": { "start": { "line": 54, "column": 2 }, "end": { "line": 56, "column": 3 } }, "init": { "type": "VariableDeclaration", "start": 1548, "end": 1574, "loc": { "start": { "line": 54, "column": 7 }, "end": { "line": 54, "column": 33 } }, "declarations": [ { "type": "VariableDeclarator", "start": 1552, "end": 1574, "loc": { "start": { "line": 54, "column": 11 }, "end": { "line": 54, "column": 33 } }, "id": { "type": "Identifier", "start": 1552, "end": 1553, "loc": { "start": { "line": 54, "column": 11 }, "end": { "line": 54, "column": 12 }, "identifierName": "i" }, "name": "i" }, "init": { "type": "BinaryExpression", "start": 1556, "end": 1574, "loc": { "start": { "line": 54, "column": 15 }, "end": { "line": 54, "column": 33 } }, "left": { "type": "MemberExpression", "start": 1556, "end": 1570, "loc": { "start": { "line": 54, "column": 15 }, "end": { "line": 54, "column": 29 } }, "object": { "type": "Identifier", "start": 1556, "end": 1563, "loc": { "start": { "line": 54, "column": 15 }, "end": { "line": 54, "column": 22 }, "identifierName": "deletes" }, "name": "deletes" }, "property": { "type": "Identifier", "start": 1564, "end": 1570, "loc": { "start": { "line": 54, "column": 23 }, "end": { "line": 54, "column": 29 }, "identifierName": "length" }, "name": "length" }, "computed": false }, "operator": "-", "right": { "type": "NumericLiteral", "start": 1573, "end": 1574, "loc": { "start": { "line": 54, "column": 32 }, "end": { "line": 54, "column": 33 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } } ], "kind": "let" }, "test": { "type": "BinaryExpression", "start": 1576, "end": 1582, "loc": { "start": { "line": 54, "column": 35 }, "end": { "line": 54, "column": 41 } }, "left": { "type": "Identifier", "start": 1576, "end": 1577, "loc": { "start": { "line": 54, "column": 35 }, "end": { "line": 54, "column": 36 }, "identifierName": "i" }, "name": "i" }, "operator": ">=", "right": { "type": "NumericLiteral", "start": 1581, "end": 1582, "loc": { "start": { "line": 54, "column": 40 }, "end": { "line": 54, "column": 41 } }, "extra": { "rawValue": 0, "raw": "0" }, "value": 0 } }, "update": { "type": "UpdateExpression", "start": 1584, "end": 1587, "loc": { "start": { "line": 54, "column": 43 }, "end": { "line": 54, "column": 46 } }, "operator": "--", "prefix": false, "argument": { "type": "Identifier", "start": 1584, "end": 1585, "loc": { "start": { "line": 54, "column": 43 }, "end": { "line": 54, "column": 44 }, "identifierName": "i" }, "name": "i" } }, "body": { "type": "BlockStatement", "start": 1589, "end": 1620, "loc": { "start": { "line": 54, "column": 48 }, "end": { "line": 56, "column": 3 } }, "body": [ { "type": "ExpressionStatement", "start": 1595, "end": 1616, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 55, "column": 25 } }, "expression": { "type": "CallExpression", "start": 1595, "end": 1616, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 55, "column": 25 } }, "callee": { "type": "MemberExpression", "start": 1595, "end": 1604, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 55, "column": 13 } }, "object": { "type": "Identifier", "start": 1595, "end": 1597, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 55, "column": 6 }, "identifierName": "os" }, "name": "os" }, "property": { "type": "Identifier", "start": 1598, "end": 1604, "loc": { "start": { "line": 55, "column": 7 }, "end": { "line": 55, "column": 13 }, "identifierName": "delete" }, "name": "delete" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1605, "end": 1615, "loc": { "start": { "line": 55, "column": 14 }, "end": { "line": 55, "column": 24 } }, "object": { "type": "Identifier", "start": 1605, "end": 1612, "loc": { "start": { "line": 55, "column": 14 }, "end": { "line": 55, "column": 21 }, "identifierName": "deletes" }, "name": "deletes" }, "property": { "type": "Identifier", "start": 1613, "end": 1614, "loc": { "start": { "line": 55, "column": 22 }, "end": { "line": 55, "column": 23 }, "identifierName": "i" }, "name": "i" }, "computed": true } ] } } ], "directives": [] } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Try to merge all items in os with their successors.\n *\n * Some transformations (like delete) fragment items.\n * Item(c: 'ab') + Delete(1,1) + Delete(0, 1) -> Item(c: 'a',deleted);Item(c: 'b',deleted)\n *\n * This functions merges the fragmented nodes together:\n * Item(c: 'a',deleted);Item(c: 'b',deleted) -> Item(c: 'ab', deleted)\n *\n * TODO: The Tree implementation does not support deletions in-spot.\n * This is why all deletions must be performed after the traversal.\n *\n ", "start": 130, "end": 619, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 18, "column": 3 } } } ], "trailingComments": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\n * Try to merge all items in os with their successors.\n *\n * Some transformations (like delete) fragment items.\n * Item(c: 'ab') + Delete(1,1) + Delete(0, 1) -> Item(c: 'a',deleted);Item(c: 'b',deleted)\n *\n * This functions merges the fragmented nodes together:\n * Item(c: 'a',deleted);Item(c: 'b',deleted) -> Item(c: 'ab', deleted)\n *\n * TODO: The Tree implementation does not support deletions in-spot.\n * This is why all deletions must be performed after the traversal.\n *\n ", "start": 130, "end": 619, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 18, "column": 3 } } } ] } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": "*\n * Try to merge all items in os with their successors.\n *\n * Some transformations (like delete) fragment items.\n * Item(c: 'ab') + Delete(1,1) + Delete(0, 1) -> Item(c: 'a',deleted);Item(c: 'b',deleted)\n *\n * This functions merges the fragmented nodes together:\n * Item(c: 'a',deleted);Item(c: 'b',deleted) -> Item(c: 'ab', deleted)\n *\n * TODO: The Tree implementation does not support deletions in-spot.\n * This is why all deletions must be performed after the traversal.\n *\n ", "start": 130, "end": 619, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 18, "column": 3 } } }, { "type": "CommentLine", "value": " delete b later", "start": 1313, "end": 1330, "loc": { "start": { "line": 43, "column": 6 }, "end": { "line": 43, "column": 23 } } }, { "type": "CommentLine", "value": " do not iterate node!", "start": 1363, "end": 1386, "loc": { "start": { "line": 45, "column": 6 }, "end": { "line": 45, "column": 29 } } }, { "type": "CommentLine", "value": " !(node = next)", "start": 1393, "end": 1410, "loc": { "start": { "line": 46, "column": 6 }, "end": { "line": 46, "column": 23 } } }, { "type": "CommentLine", "value": " not able to merge node, get next node", "start": 1430, "end": 1470, "loc": { "start": { "line": 48, "column": 6 }, "end": { "line": 48, "column": 46 } } }, { "type": "CommentLine", "value": " update next", "start": 1499, "end": 1513, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 18 } } } ], "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": "ID", "start": 8, "end": 10, "loc": { "start": { "line": 2, "column": 7 }, "end": { "line": 2, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 11, "end": 15, "loc": { "start": { "line": 2, "column": 10 }, "end": { "line": 2, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../Util/ID/ID.js", "start": 16, "end": 34, "loc": { "start": { "line": 2, "column": 15 }, "end": { "line": 2, "column": 33 } } }, { "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": 35, "end": 41, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemJSON", "start": 42, "end": 50, "loc": { "start": { "line": 3, "column": 7 }, "end": { "line": 3, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 51, "end": 55, "loc": { "start": { "line": 3, "column": 16 }, "end": { "line": 3, "column": 20 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../Struct/ItemJSON.js", "start": 56, "end": 79, "loc": { "start": { "line": 3, "column": 21 }, "end": { "line": 3, "column": 44 } } }, { "type": { "label": "import", "keyword": "import", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "import", "start": 80, "end": 86, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 4, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemString", "start": 87, "end": 97, "loc": { "start": { "line": 4, "column": 7 }, "end": { "line": 4, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 98, "end": 102, "loc": { "start": { "line": 4, "column": 18 }, "end": { "line": 4, "column": 22 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../Struct/ItemString.js", "start": 103, "end": 128, "loc": { "start": { "line": 4, "column": 23 }, "end": { "line": 4, "column": 48 } } }, { "type": "CommentBlock", "value": "*\n * Try to merge all items in os with their successors.\n *\n * Some transformations (like delete) fragment items.\n * Item(c: 'ab') + Delete(1,1) + Delete(0, 1) -> Item(c: 'a',deleted);Item(c: 'b',deleted)\n *\n * This functions merges the fragmented nodes together:\n * Item(c: 'a',deleted);Item(c: 'b',deleted) -> Item(c: 'ab', deleted)\n *\n * TODO: The Tree implementation does not support deletions in-spot.\n * This is why all deletions must be performed after the traversal.\n *\n ", "start": 130, "end": 619, "loc": { "start": { "line": 6, "column": 0 }, "end": { "line": 18, "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": 620, "end": 626, "loc": { "start": { "line": 19, "column": 0 }, "end": { "line": 19, "column": 6 } } }, { "type": { "label": "function", "keyword": "function", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "function", "start": 627, "end": 635, "loc": { "start": { "line": 19, "column": 7 }, "end": { "line": 19, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "defragmentItemContent", "start": 636, "end": 657, "loc": { "start": { "line": 19, "column": 16 }, "end": { "line": 19, "column": 37 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 658, "end": 659, "loc": { "start": { "line": 19, "column": 38 }, "end": { "line": 19, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 659, "end": 660, "loc": { "start": { "line": 19, "column": 39 }, "end": { "line": 19, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 660, "end": 661, "loc": { "start": { "line": 19, "column": 40 }, "end": { "line": 19, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 662, "end": 663, "loc": { "start": { "line": 19, "column": 42 }, "end": { "line": 19, "column": 43 } } }, { "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": 666, "end": 671, "loc": { "start": { "line": 20, "column": 2 }, "end": { "line": 20, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "os", "start": 672, "end": 674, "loc": { "start": { "line": 20, "column": 8 }, "end": { "line": 20, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 675, "end": 676, "loc": { "start": { "line": 20, "column": 11 }, "end": { "line": 20, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "y", "start": 677, "end": 678, "loc": { "start": { "line": 20, "column": 13 }, "end": { "line": 20, "column": 14 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 678, "end": 679, "loc": { "start": { "line": 20, "column": 14 }, "end": { "line": 20, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "os", "start": 679, "end": 681, "loc": { "start": { "line": 20, "column": 15 }, "end": { "line": 20, "column": 17 } } }, { "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": 684, "end": 686, "loc": { "start": { "line": 21, "column": 2 }, "end": { "line": 21, "column": 4 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 687, "end": 688, "loc": { "start": { "line": 21, "column": 5 }, "end": { "line": 21, "column": 6 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "os", "start": 688, "end": 690, "loc": { "start": { "line": 21, "column": 6 }, "end": { "line": 21, "column": 8 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 690, "end": 691, "loc": { "start": { "line": 21, "column": 8 }, "end": { "line": 21, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 691, "end": 697, "loc": { "start": { "line": 21, "column": 9 }, "end": { "line": 21, "column": 15 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "<", "start": 698, "end": 699, "loc": { "start": { "line": 21, "column": 16 }, "end": { "line": 21, "column": 17 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 2, "start": 700, "end": 701, "loc": { "start": { "line": 21, "column": 18 }, "end": { "line": 21, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 701, "end": 702, "loc": { "start": { "line": 21, "column": 19 }, "end": { "line": 21, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 703, "end": 704, "loc": { "start": { "line": 21, "column": 21 }, "end": { "line": 21, "column": 22 } } }, { "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": 709, "end": 715, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 10 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 718, "end": 719, "loc": { "start": { "line": 23, "column": 2 }, "end": { "line": 23, "column": 3 } } }, { "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": 722, "end": 725, "loc": { "start": { "line": 24, "column": 2 }, "end": { "line": 24, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deletes", "start": 726, "end": 733, "loc": { "start": { "line": 24, "column": 6 }, "end": { "line": 24, "column": 13 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 734, "end": 735, "loc": { "start": { "line": 24, "column": 14 }, "end": { "line": 24, "column": 15 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 736, "end": 737, "loc": { "start": { "line": 24, "column": 16 }, "end": { "line": 24, "column": 17 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 737, "end": 738, "loc": { "start": { "line": 24, "column": 17 }, "end": { "line": 24, "column": 18 } } }, { "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": 741, "end": 744, "loc": { "start": { "line": 25, "column": 2 }, "end": { "line": 25, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "node", "start": 745, "end": 749, "loc": { "start": { "line": 25, "column": 6 }, "end": { "line": 25, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 750, "end": 751, "loc": { "start": { "line": 25, "column": 11 }, "end": { "line": 25, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "os", "start": 752, "end": 754, "loc": { "start": { "line": 25, "column": 13 }, "end": { "line": 25, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 754, "end": 755, "loc": { "start": { "line": 25, "column": 15 }, "end": { "line": 25, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "findSmallestNode", "start": 755, "end": 771, "loc": { "start": { "line": 25, "column": 16 }, "end": { "line": 25, "column": 32 } } }, { "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": 25, "column": 32 }, "end": { "line": 25, "column": 33 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 772, "end": 773, "loc": { "start": { "line": 25, "column": 33 }, "end": { "line": 25, "column": 34 } } }, { "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": 776, "end": 779, "loc": { "start": { "line": 26, "column": 2 }, "end": { "line": 26, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "next", "start": 780, "end": 784, "loc": { "start": { "line": 26, "column": 6 }, "end": { "line": 26, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 785, "end": 786, "loc": { "start": { "line": 26, "column": 11 }, "end": { "line": 26, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "node", "start": 787, "end": 791, "loc": { "start": { "line": 26, "column": 13 }, "end": { "line": 26, "column": 17 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 791, "end": 792, "loc": { "start": { "line": 26, "column": 17 }, "end": { "line": 26, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "next", "start": 792, "end": 796, "loc": { "start": { "line": 26, "column": 18 }, "end": { "line": 26, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 796, "end": 797, "loc": { "start": { "line": 26, "column": 22 }, "end": { "line": 26, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 797, "end": 798, "loc": { "start": { "line": 26, "column": 23 }, "end": { "line": 26, "column": 24 } } }, { "type": { "label": "while", "keyword": "while", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": true, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "while", "start": 801, "end": 806, "loc": { "start": { "line": 27, "column": 2 }, "end": { "line": 27, "column": 7 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 807, "end": 808, "loc": { "start": { "line": 27, "column": 8 }, "end": { "line": 27, "column": 9 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "next", "start": 808, "end": 812, "loc": { "start": { "line": 27, "column": 9 }, "end": { "line": 27, "column": 13 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "!==", "start": 813, "end": 816, "loc": { "start": { "line": 27, "column": 14 }, "end": { "line": 27, "column": 17 } } }, { "type": { "label": "null", "keyword": "null", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "null", "start": 817, "end": 821, "loc": { "start": { "line": 27, "column": 18 }, "end": { "line": 27, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 821, "end": 822, "loc": { "start": { "line": 27, "column": 22 }, "end": { "line": 27, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 823, "end": 824, "loc": { "start": { "line": 27, "column": 24 }, "end": { "line": 27, "column": 25 } } }, { "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": 829, "end": 832, "loc": { "start": { "line": 28, "column": 4 }, "end": { "line": 28, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 833, "end": 834, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 9 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 835, "end": 836, "loc": { "start": { "line": 28, "column": 10 }, "end": { "line": 28, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "node", "start": 837, "end": 841, "loc": { "start": { "line": 28, "column": 12 }, "end": { "line": 28, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 841, "end": 842, "loc": { "start": { "line": 28, "column": 16 }, "end": { "line": 28, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "val", "start": 842, "end": 845, "loc": { "start": { "line": 28, "column": 17 }, "end": { "line": 28, "column": 20 } } }, { "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": 850, "end": 853, "loc": { "start": { "line": 29, "column": 4 }, "end": { "line": 29, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "b", "start": 854, "end": 855, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 9 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 856, "end": 857, "loc": { "start": { "line": 29, "column": 10 }, "end": { "line": 29, "column": 11 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "next", "start": 858, "end": 862, "loc": { "start": { "line": 29, "column": 12 }, "end": { "line": 29, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 862, "end": 863, "loc": { "start": { "line": 29, "column": 16 }, "end": { "line": 29, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "val", "start": 863, "end": 866, "loc": { "start": { "line": 29, "column": 17 }, "end": { "line": 29, "column": 20 } } }, { "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": 871, "end": 873, "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": 874, "end": 875, "loc": { "start": { "line": 30, "column": 7 }, "end": { "line": 30, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 882, "end": 883, "loc": { "start": { "line": 31, "column": 6 }, "end": { "line": 31, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 883, "end": 884, "loc": { "start": { "line": 31, "column": 7 }, "end": { "line": 31, "column": 8 } } }, { "type": { "label": "instanceof", "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "instanceof", "start": 885, "end": 895, "loc": { "start": { "line": 31, "column": 9 }, "end": { "line": 31, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemJSON", "start": 896, "end": 904, "loc": { "start": { "line": 31, "column": 20 }, "end": { "line": 31, "column": 28 } } }, { "type": { "label": "||", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 1, "updateContext": null }, "value": "||", "start": 905, "end": 907, "loc": { "start": { "line": 31, "column": 29 }, "end": { "line": 31, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 908, "end": 909, "loc": { "start": { "line": 31, "column": 32 }, "end": { "line": 31, "column": 33 } } }, { "type": { "label": "instanceof", "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "instanceof", "start": 910, "end": 920, "loc": { "start": { "line": 31, "column": 34 }, "end": { "line": 31, "column": 44 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemString", "start": 921, "end": 931, "loc": { "start": { "line": 31, "column": 45 }, "end": { "line": 31, "column": 55 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 931, "end": 932, "loc": { "start": { "line": 31, "column": 55 }, "end": { "line": 31, "column": 56 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 933, "end": 935, "loc": { "start": { "line": 31, "column": 57 }, "end": { "line": 31, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 942, "end": 943, "loc": { "start": { "line": 32, "column": 6 }, "end": { "line": 32, "column": 7 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 943, "end": 944, "loc": { "start": { "line": 32, "column": 7 }, "end": { "line": 32, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 944, "end": 955, "loc": { "start": { "line": 32, "column": 8 }, "end": { "line": 32, "column": 19 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 956, "end": 959, "loc": { "start": { "line": 32, "column": 20 }, "end": { "line": 32, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "b", "start": 960, "end": 961, "loc": { "start": { "line": 32, "column": 24 }, "end": { "line": 32, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 961, "end": 962, "loc": { "start": { "line": 32, "column": 25 }, "end": { "line": 32, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 962, "end": 973, "loc": { "start": { "line": 32, "column": 26 }, "end": { "line": 32, "column": 37 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 974, "end": 976, "loc": { "start": { "line": 32, "column": 38 }, "end": { "line": 32, "column": 40 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 983, "end": 984, "loc": { "start": { "line": 33, "column": 6 }, "end": { "line": 33, "column": 7 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 984, "end": 985, "loc": { "start": { "line": 33, "column": 7 }, "end": { "line": 33, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_deleted", "start": 985, "end": 993, "loc": { "start": { "line": 33, "column": 8 }, "end": { "line": 33, "column": 16 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 994, "end": 997, "loc": { "start": { "line": 33, "column": 17 }, "end": { "line": 33, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "b", "start": 998, "end": 999, "loc": { "start": { "line": 33, "column": 21 }, "end": { "line": 33, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 999, "end": 1000, "loc": { "start": { "line": 33, "column": 22 }, "end": { "line": 33, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_deleted", "start": 1000, "end": 1008, "loc": { "start": { "line": 33, "column": 23 }, "end": { "line": 33, "column": 31 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 1009, "end": 1011, "loc": { "start": { "line": 33, "column": 32 }, "end": { "line": 33, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 1018, "end": 1019, "loc": { "start": { "line": 34, "column": 6 }, "end": { "line": 34, "column": 7 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1019, "end": 1020, "loc": { "start": { "line": 34, "column": 7 }, "end": { "line": 34, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_right", "start": 1020, "end": 1026, "loc": { "start": { "line": 34, "column": 8 }, "end": { "line": 34, "column": 14 } } }, { "type": { "label": "==/!=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 6, "updateContext": null }, "value": "===", "start": 1027, "end": 1030, "loc": { "start": { "line": 34, "column": 15 }, "end": { "line": 34, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "b", "start": 1031, "end": 1032, "loc": { "start": { "line": 34, "column": 19 }, "end": { "line": 34, "column": 20 } } }, { "type": { "label": "&&", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 2, "updateContext": null }, "value": "&&", "start": 1033, "end": 1035, "loc": { "start": { "line": 34, "column": 21 }, "end": { "line": 34, "column": 23 } } }, { "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": 35, "column": 6 }, "end": { "line": 35, "column": 7 } } }, { "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": 1043, "end": 1046, "loc": { "start": { "line": 35, "column": 7 }, "end": { "line": 35, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ID", "start": 1047, "end": 1049, "loc": { "start": { "line": 35, "column": 11 }, "end": { "line": 35, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1049, "end": 1050, "loc": { "start": { "line": 35, "column": 13 }, "end": { "line": 35, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 1050, "end": 1051, "loc": { "start": { "line": 35, "column": 14 }, "end": { "line": 35, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1051, "end": 1052, "loc": { "start": { "line": 35, "column": 15 }, "end": { "line": 35, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_id", "start": 1052, "end": 1055, "loc": { "start": { "line": 35, "column": 16 }, "end": { "line": 35, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1055, "end": 1056, "loc": { "start": { "line": 35, "column": 19 }, "end": { "line": 35, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "user", "start": 1056, "end": 1060, "loc": { "start": { "line": 35, "column": 20 }, "end": { "line": 35, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1060, "end": 1061, "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": "a", "start": 1062, "end": 1063, "loc": { "start": { "line": 35, "column": 26 }, "end": { "line": 35, "column": 27 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1063, "end": 1064, "loc": { "start": { "line": 35, "column": 27 }, "end": { "line": 35, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_id", "start": 1064, "end": 1067, "loc": { "start": { "line": 35, "column": 28 }, "end": { "line": 35, "column": 31 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1067, "end": 1068, "loc": { "start": { "line": 35, "column": 31 }, "end": { "line": 35, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "clock", "start": 1068, "end": 1073, "loc": { "start": { "line": 35, "column": 32 }, "end": { "line": 35, "column": 37 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 1074, "end": 1075, "loc": { "start": { "line": 35, "column": 38 }, "end": { "line": 35, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 1076, "end": 1077, "loc": { "start": { "line": 35, "column": 40 }, "end": { "line": 35, "column": 41 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1077, "end": 1078, "loc": { "start": { "line": 35, "column": 41 }, "end": { "line": 35, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_length", "start": 1078, "end": 1085, "loc": { "start": { "line": 35, "column": 42 }, "end": { "line": 35, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1085, "end": 1086, "loc": { "start": { "line": 35, "column": 49 }, "end": { "line": 35, "column": 50 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1086, "end": 1087, "loc": { "start": { "line": 35, "column": 50 }, "end": { "line": 35, "column": 51 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1087, "end": 1088, "loc": { "start": { "line": 35, "column": 51 }, "end": { "line": 35, "column": 52 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "equals", "start": 1088, "end": 1094, "loc": { "start": { "line": 35, "column": 52 }, "end": { "line": 35, "column": 58 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1094, "end": 1095, "loc": { "start": { "line": 35, "column": 58 }, "end": { "line": 35, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "b", "start": 1095, "end": 1096, "loc": { "start": { "line": 35, "column": 59 }, "end": { "line": 35, "column": 60 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1096, "end": 1097, "loc": { "start": { "line": 35, "column": 60 }, "end": { "line": 35, "column": 61 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_id", "start": 1097, "end": 1100, "loc": { "start": { "line": 35, "column": 61 }, "end": { "line": 35, "column": 64 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1100, "end": 1101, "loc": { "start": { "line": 35, "column": 64 }, "end": { "line": 35, "column": 65 } } }, { "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": 36, "column": 4 }, "end": { "line": 36, "column": 5 } } }, { "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": 36, "column": 6 }, "end": { "line": 36, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 1116, "end": 1117, "loc": { "start": { "line": 37, "column": 6 }, "end": { "line": 37, "column": 7 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1117, "end": 1118, "loc": { "start": { "line": 37, "column": 7 }, "end": { "line": 37, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_right", "start": 1118, "end": 1124, "loc": { "start": { "line": 37, "column": 8 }, "end": { "line": 37, "column": 14 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1125, "end": 1126, "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": "b", "start": 1127, "end": 1128, "loc": { "start": { "line": 37, "column": 17 }, "end": { "line": 37, "column": 18 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1128, "end": 1129, "loc": { "start": { "line": 37, "column": 18 }, "end": { "line": 37, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_right", "start": 1129, "end": 1135, "loc": { "start": { "line": 37, "column": 19 }, "end": { "line": 37, "column": 25 } } }, { "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": 1142, "end": 1144, "loc": { "start": { "line": 38, "column": 6 }, "end": { "line": 38, "column": 8 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1145, "end": 1146, "loc": { "start": { "line": 38, "column": 9 }, "end": { "line": 38, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 1146, "end": 1147, "loc": { "start": { "line": 38, "column": 10 }, "end": { "line": 38, "column": 11 } } }, { "type": { "label": "instanceof", "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "instanceof", "start": 1148, "end": 1158, "loc": { "start": { "line": 38, "column": 12 }, "end": { "line": 38, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemJSON", "start": 1159, "end": 1167, "loc": { "start": { "line": 38, "column": 23 }, "end": { "line": 38, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1167, "end": 1168, "loc": { "start": { "line": 38, "column": 31 }, "end": { "line": 38, "column": 32 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1169, "end": 1170, "loc": { "start": { "line": 38, "column": 33 }, "end": { "line": 38, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 1179, "end": 1180, "loc": { "start": { "line": 39, "column": 8 }, "end": { "line": 39, "column": 9 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1180, "end": 1181, "loc": { "start": { "line": 39, "column": 9 }, "end": { "line": 39, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_content", "start": 1181, "end": 1189, "loc": { "start": { "line": 39, "column": 10 }, "end": { "line": 39, "column": 18 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1190, "end": 1191, "loc": { "start": { "line": 39, "column": 19 }, "end": { "line": 39, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 1192, "end": 1193, "loc": { "start": { "line": 39, "column": 21 }, "end": { "line": 39, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1193, "end": 1194, "loc": { "start": { "line": 39, "column": 22 }, "end": { "line": 39, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_content", "start": 1194, "end": 1202, "loc": { "start": { "line": 39, "column": 23 }, "end": { "line": 39, "column": 31 } } }, { "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": 39, "column": 31 }, "end": { "line": 39, "column": 32 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "concat", "start": 1203, "end": 1209, "loc": { "start": { "line": 39, "column": 32 }, "end": { "line": 39, "column": 38 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1209, "end": 1210, "loc": { "start": { "line": 39, "column": 38 }, "end": { "line": 39, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "b", "start": 1210, "end": 1211, "loc": { "start": { "line": 39, "column": 39 }, "end": { "line": 39, "column": 40 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1211, "end": 1212, "loc": { "start": { "line": 39, "column": 40 }, "end": { "line": 39, "column": 41 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_content", "start": 1212, "end": 1220, "loc": { "start": { "line": 39, "column": 41 }, "end": { "line": 39, "column": 49 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1220, "end": 1221, "loc": { "start": { "line": 39, "column": 49 }, "end": { "line": 39, "column": 50 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1228, "end": 1229, "loc": { "start": { "line": 40, "column": 6 }, "end": { "line": 40, "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": 1230, "end": 1234, "loc": { "start": { "line": 40, "column": 8 }, "end": { "line": 40, "column": 12 } } }, { "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": 1235, "end": 1237, "loc": { "start": { "line": 40, "column": 13 }, "end": { "line": 40, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1238, "end": 1239, "loc": { "start": { "line": 40, "column": 16 }, "end": { "line": 40, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 1239, "end": 1240, "loc": { "start": { "line": 40, "column": 17 }, "end": { "line": 40, "column": 18 } } }, { "type": { "label": "instanceof", "keyword": "instanceof", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": "instanceof", "start": 1241, "end": 1251, "loc": { "start": { "line": 40, "column": 19 }, "end": { "line": 40, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "ItemString", "start": 1252, "end": 1262, "loc": { "start": { "line": 40, "column": 30 }, "end": { "line": 40, "column": 40 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1262, "end": 1263, "loc": { "start": { "line": 40, "column": 40 }, "end": { "line": 40, "column": 41 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1264, "end": 1265, "loc": { "start": { "line": 40, "column": 42 }, "end": { "line": 40, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "a", "start": 1274, "end": 1275, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 9 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1275, "end": 1276, "loc": { "start": { "line": 41, "column": 9 }, "end": { "line": 41, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_content", "start": 1276, "end": 1284, "loc": { "start": { "line": 41, "column": 10 }, "end": { "line": 41, "column": 18 } } }, { "type": { "label": "_=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "+=", "start": 1285, "end": 1287, "loc": { "start": { "line": 41, "column": 19 }, "end": { "line": 41, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "b", "start": 1288, "end": 1289, "loc": { "start": { "line": 41, "column": 22 }, "end": { "line": 41, "column": 23 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1289, "end": 1290, "loc": { "start": { "line": 41, "column": 23 }, "end": { "line": 41, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_content", "start": 1290, "end": 1298, "loc": { "start": { "line": 41, "column": 24 }, "end": { "line": 41, "column": 32 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1305, "end": 1306, "loc": { "start": { "line": 42, "column": 6 }, "end": { "line": 42, "column": 7 } } }, { "type": "CommentLine", "value": " delete b later", "start": 1313, "end": 1330, "loc": { "start": { "line": 43, "column": 6 }, "end": { "line": 43, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deletes", "start": 1337, "end": 1344, "loc": { "start": { "line": 44, "column": 6 }, "end": { "line": 44, "column": 13 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1344, "end": 1345, "loc": { "start": { "line": 44, "column": 13 }, "end": { "line": 44, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "push", "start": 1345, "end": 1349, "loc": { "start": { "line": 44, "column": 14 }, "end": { "line": 44, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1349, "end": 1350, "loc": { "start": { "line": 44, "column": 18 }, "end": { "line": 44, "column": 19 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "b", "start": 1350, "end": 1351, "loc": { "start": { "line": 44, "column": 19 }, "end": { "line": 44, "column": 20 } } }, { "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": 44, "column": 20 }, "end": { "line": 44, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "_id", "start": 1352, "end": 1355, "loc": { "start": { "line": 44, "column": 21 }, "end": { "line": 44, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1355, "end": 1356, "loc": { "start": { "line": 44, "column": 24 }, "end": { "line": 44, "column": 25 } } }, { "type": "CommentLine", "value": " do not iterate node!", "start": 1363, "end": 1386, "loc": { "start": { "line": 45, "column": 6 }, "end": { "line": 45, "column": 29 } } }, { "type": "CommentLine", "value": " !(node = next)", "start": 1393, "end": 1410, "loc": { "start": { "line": 46, "column": 6 }, "end": { "line": 46, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1415, "end": 1416, "loc": { "start": { "line": 47, "column": 4 }, "end": { "line": 47, "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": 1417, "end": 1421, "loc": { "start": { "line": 47, "column": 6 }, "end": { "line": 47, "column": 10 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1422, "end": 1423, "loc": { "start": { "line": 47, "column": 11 }, "end": { "line": 47, "column": 12 } } }, { "type": "CommentLine", "value": " not able to merge node, get next node", "start": 1430, "end": 1470, "loc": { "start": { "line": 48, "column": 6 }, "end": { "line": 48, "column": 46 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "node", "start": 1477, "end": 1481, "loc": { "start": { "line": 49, "column": 6 }, "end": { "line": 49, "column": 10 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1482, "end": 1483, "loc": { "start": { "line": 49, "column": 11 }, "end": { "line": 49, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "next", "start": 1484, "end": 1488, "loc": { "start": { "line": 49, "column": 13 }, "end": { "line": 49, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1493, "end": 1494, "loc": { "start": { "line": 50, "column": 4 }, "end": { "line": 50, "column": 5 } } }, { "type": "CommentLine", "value": " update next", "start": 1499, "end": 1513, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "next", "start": 1518, "end": 1522, "loc": { "start": { "line": 52, "column": 4 }, "end": { "line": 52, "column": 8 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1523, "end": 1524, "loc": { "start": { "line": 52, "column": 9 }, "end": { "line": 52, "column": 10 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "next", "start": 1525, "end": 1529, "loc": { "start": { "line": 52, "column": 11 }, "end": { "line": 52, "column": 15 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1529, "end": 1530, "loc": { "start": { "line": 52, "column": 15 }, "end": { "line": 52, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "next", "start": 1530, "end": 1534, "loc": { "start": { "line": 52, "column": 16 }, "end": { "line": 52, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1534, "end": 1535, "loc": { "start": { "line": 52, "column": 20 }, "end": { "line": 52, "column": 21 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1535, "end": 1536, "loc": { "start": { "line": 52, "column": 21 }, "end": { "line": 52, "column": 22 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1539, "end": 1540, "loc": { "start": { "line": 53, "column": 2 }, "end": { "line": 53, "column": 3 } } }, { "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": 1543, "end": 1546, "loc": { "start": { "line": 54, "column": 2 }, "end": { "line": 54, "column": 5 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1547, "end": 1548, "loc": { "start": { "line": 54, "column": 6 }, "end": { "line": 54, "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": 1548, "end": 1551, "loc": { "start": { "line": 54, "column": 7 }, "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": "i", "start": 1552, "end": 1553, "loc": { "start": { "line": 54, "column": 11 }, "end": { "line": 54, "column": 12 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1554, "end": 1555, "loc": { "start": { "line": 54, "column": 13 }, "end": { "line": 54, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deletes", "start": 1556, "end": 1563, "loc": { "start": { "line": 54, "column": 15 }, "end": { "line": 54, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1563, "end": 1564, "loc": { "start": { "line": 54, "column": 22 }, "end": { "line": 54, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "length", "start": 1564, "end": 1570, "loc": { "start": { "line": 54, "column": 23 }, "end": { "line": 54, "column": 29 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "-", "start": 1571, "end": 1572, "loc": { "start": { "line": 54, "column": 30 }, "end": { "line": 54, "column": 31 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 1573, "end": 1574, "loc": { "start": { "line": 54, "column": 32 }, "end": { "line": 54, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1574, "end": 1575, "loc": { "start": { "line": 54, "column": 33 }, "end": { "line": 54, "column": 34 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1576, "end": 1577, "loc": { "start": { "line": 54, "column": 35 }, "end": { "line": 54, "column": 36 } } }, { "type": { "label": "", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 7, "updateContext": null }, "value": ">=", "start": 1578, "end": 1580, "loc": { "start": { "line": 54, "column": 37 }, "end": { "line": 54, "column": 39 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 0, "start": 1581, "end": 1582, "loc": { "start": { "line": 54, "column": 40 }, "end": { "line": 54, "column": 41 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1582, "end": 1583, "loc": { "start": { "line": 54, "column": 41 }, "end": { "line": 54, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1584, "end": 1585, "loc": { "start": { "line": 54, "column": 43 }, "end": { "line": 54, "column": 44 } } }, { "type": { "label": "++/--", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": true, "binop": null }, "value": "--", "start": 1585, "end": 1587, "loc": { "start": { "line": 54, "column": 44 }, "end": { "line": 54, "column": 46 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1587, "end": 1588, "loc": { "start": { "line": 54, "column": 46 }, "end": { "line": 54, "column": 47 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1589, "end": 1590, "loc": { "start": { "line": 54, "column": 48 }, "end": { "line": 54, "column": 49 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "os", "start": 1595, "end": 1597, "loc": { "start": { "line": 55, "column": 4 }, "end": { "line": 55, "column": 6 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1597, "end": 1598, "loc": { "start": { "line": 55, "column": 6 }, "end": { "line": 55, "column": 7 } } }, { "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": 1598, "end": 1604, "loc": { "start": { "line": 55, "column": 7 }, "end": { "line": 55, "column": 13 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1604, "end": 1605, "loc": { "start": { "line": 55, "column": 13 }, "end": { "line": 55, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "deletes", "start": 1605, "end": 1612, "loc": { "start": { "line": 55, "column": 14 }, "end": { "line": 55, "column": 21 } } }, { "type": { "label": "[", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1612, "end": 1613, "loc": { "start": { "line": 55, "column": 21 }, "end": { "line": 55, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "i", "start": 1613, "end": 1614, "loc": { "start": { "line": 55, "column": 22 }, "end": { "line": 55, "column": 23 } } }, { "type": { "label": "]", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1614, "end": 1615, "loc": { "start": { "line": 55, "column": 23 }, "end": { "line": 55, "column": 24 } } }, { "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": 55, "column": 24 }, "end": { "line": 55, "column": 25 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1619, "end": 1620, "loc": { "start": { "line": 56, "column": 2 }, "end": { "line": 56, "column": 3 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1621, "end": 1622, "loc": { "start": { "line": 57, "column": 0 }, "end": { "line": 57, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1623, "end": 1623, "loc": { "start": { "line": 58, "column": 0 }, "end": { "line": 58, "column": 0 } } } ] }