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

31520 lines
925 KiB
JSON

{
"type": "File",
"start": 0,
"end": 4349,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 131,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 4349,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 131,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 53,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 53
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 24
},
"identifierName": "deleteItemRange"
},
"name": "deleteItemRange"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 24
},
"identifierName": "deleteItemRange"
},
"name": "deleteItemRange"
}
}
],
"source": {
"type": "StringLiteral",
"start": 32,
"end": 53,
"loc": {
"start": {
"line": 1,
"column": 32
},
"end": {
"line": 1,
"column": 53
}
},
"extra": {
"rawValue": "../Struct/Delete.js",
"raw": "'../Struct/Delete.js'"
},
"value": "../Struct/Delete.js"
}
},
{
"type": "ImportDeclaration",
"start": 54,
"end": 87,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 33
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 61,
"end": 63,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 9
}
},
"local": {
"type": "Identifier",
"start": 61,
"end": 63,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 9
},
"identifierName": "ID"
},
"name": "ID"
}
}
],
"source": {
"type": "StringLiteral",
"start": 69,
"end": 87,
"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": "ExportNamedDeclaration",
"start": 89,
"end": 602,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 18,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "FunctionDeclaration",
"start": 96,
"end": 602,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 18,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 105,
"end": 123,
"loc": {
"start": {
"line": 4,
"column": 16
},
"end": {
"line": 4,
"column": 34
},
"identifierName": "stringifyDeleteSet"
},
"name": "stringifyDeleteSet"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 125,
"end": 126,
"loc": {
"start": {
"line": 4,
"column": 36
},
"end": {
"line": 4,
"column": 37
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 128,
"end": 135,
"loc": {
"start": {
"line": 4,
"column": 39
},
"end": {
"line": 4,
"column": 46
},
"identifierName": "decoder"
},
"name": "decoder"
},
{
"type": "Identifier",
"start": 137,
"end": 147,
"loc": {
"start": {
"line": 4,
"column": 48
},
"end": {
"line": 4,
"column": 58
},
"identifierName": "strBuilder"
},
"name": "strBuilder"
}
],
"body": {
"type": "BlockStatement",
"start": 149,
"end": 602,
"loc": {
"start": {
"line": 4,
"column": 60
},
"end": {
"line": 18,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 153,
"end": 188,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 5,
"column": 37
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 157,
"end": 188,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 5,
"column": 37
}
},
"id": {
"type": "Identifier",
"start": 157,
"end": 165,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 5,
"column": 14
},
"identifierName": "dsLength"
},
"name": "dsLength"
},
"init": {
"type": "CallExpression",
"start": 168,
"end": 188,
"loc": {
"start": {
"line": 5,
"column": 17
},
"end": {
"line": 5,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 168,
"end": 186,
"loc": {
"start": {
"line": 5,
"column": 17
},
"end": {
"line": 5,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 168,
"end": 175,
"loc": {
"start": {
"line": 5,
"column": 17
},
"end": {
"line": 5,
"column": 24
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 176,
"end": 186,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 5,
"column": 35
},
"identifierName": "readUint32"
},
"name": "readUint32"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "ForStatement",
"start": 191,
"end": 580,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 16,
"column": 3
}
},
"init": {
"type": "VariableDeclaration",
"start": 196,
"end": 205,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 16
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 200,
"end": 205,
"loc": {
"start": {
"line": 6,
"column": 11
},
"end": {
"line": 6,
"column": 16
}
},
"id": {
"type": "Identifier",
"start": 200,
"end": 201,
"loc": {
"start": {
"line": 6,
"column": 11
},
"end": {
"line": 6,
"column": 12
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 204,
"end": 205,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 16
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 207,
"end": 219,
"loc": {
"start": {
"line": 6,
"column": 18
},
"end": {
"line": 6,
"column": 30
}
},
"left": {
"type": "Identifier",
"start": 207,
"end": 208,
"loc": {
"start": {
"line": 6,
"column": 18
},
"end": {
"line": 6,
"column": 19
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "Identifier",
"start": 211,
"end": 219,
"loc": {
"start": {
"line": 6,
"column": 22
},
"end": {
"line": 6,
"column": 30
},
"identifierName": "dsLength"
},
"name": "dsLength"
}
},
"update": {
"type": "UpdateExpression",
"start": 221,
"end": 224,
"loc": {
"start": {
"line": 6,
"column": 32
},
"end": {
"line": 6,
"column": 35
}
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"start": 221,
"end": 222,
"loc": {
"start": {
"line": 6,
"column": 32
},
"end": {
"line": 6,
"column": 33
},
"identifierName": "i"
},
"name": "i"
}
},
"body": {
"type": "BlockStatement",
"start": 226,
"end": 580,
"loc": {
"start": {
"line": 6,
"column": 37
},
"end": {
"line": 16,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 232,
"end": 264,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 236,
"end": 264,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 36
}
},
"id": {
"type": "Identifier",
"start": 236,
"end": 240,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 12
},
"identifierName": "user"
},
"name": "user"
},
"init": {
"type": "CallExpression",
"start": 243,
"end": 264,
"loc": {
"start": {
"line": 7,
"column": 15
},
"end": {
"line": 7,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 243,
"end": 262,
"loc": {
"start": {
"line": 7,
"column": 15
},
"end": {
"line": 7,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 243,
"end": 250,
"loc": {
"start": {
"line": 7,
"column": 15
},
"end": {
"line": 7,
"column": 22
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 251,
"end": 262,
"loc": {
"start": {
"line": 7,
"column": 23
},
"end": {
"line": 7,
"column": 34
},
"identifierName": "readVarUint"
},
"name": "readVarUint"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "ExpressionStatement",
"start": 269,
"end": 303,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 38
}
},
"expression": {
"type": "CallExpression",
"start": 269,
"end": 303,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 269,
"end": 284,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 269,
"end": 279,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 14
},
"identifierName": "strBuilder"
},
"name": "strBuilder"
},
"property": {
"type": "Identifier",
"start": 280,
"end": 284,
"loc": {
"start": {
"line": 8,
"column": 15
},
"end": {
"line": 8,
"column": 19
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 285,
"end": 302,
"loc": {
"start": {
"line": 8,
"column": 20
},
"end": {
"line": 8,
"column": 37
}
},
"left": {
"type": "BinaryExpression",
"start": 285,
"end": 296,
"loc": {
"start": {
"line": 8,
"column": 20
},
"end": {
"line": 8,
"column": 31
}
},
"left": {
"type": "StringLiteral",
"start": 285,
"end": 289,
"loc": {
"start": {
"line": 8,
"column": 20
},
"end": {
"line": 8,
"column": 24
}
},
"extra": {
"rawValue": " -",
"raw": "' -'"
},
"value": " -"
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 292,
"end": 296,
"loc": {
"start": {
"line": 8,
"column": 27
},
"end": {
"line": 8,
"column": 31
},
"identifierName": "user"
},
"name": "user"
}
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 299,
"end": 302,
"loc": {
"start": {
"line": 8,
"column": 34
},
"end": {
"line": 8,
"column": 37
}
},
"extra": {
"rawValue": ":",
"raw": "':'"
},
"value": ":"
}
}
]
}
},
{
"type": "VariableDeclaration",
"start": 308,
"end": 344,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 312,
"end": 344,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 40
}
},
"id": {
"type": "Identifier",
"start": 312,
"end": 320,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 16
},
"identifierName": "dvLength"
},
"name": "dvLength"
},
"init": {
"type": "CallExpression",
"start": 323,
"end": 344,
"loc": {
"start": {
"line": 9,
"column": 19
},
"end": {
"line": 9,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 323,
"end": 342,
"loc": {
"start": {
"line": 9,
"column": 19
},
"end": {
"line": 9,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 323,
"end": 330,
"loc": {
"start": {
"line": 9,
"column": 19
},
"end": {
"line": 9,
"column": 26
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 331,
"end": 342,
"loc": {
"start": {
"line": 9,
"column": 27
},
"end": {
"line": 9,
"column": 38
},
"identifierName": "readVarUint"
},
"name": "readVarUint"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "ForStatement",
"start": 349,
"end": 576,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 15,
"column": 5
}
},
"init": {
"type": "VariableDeclaration",
"start": 354,
"end": 363,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 18
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 358,
"end": 363,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 18
}
},
"id": {
"type": "Identifier",
"start": 358,
"end": 359,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 14
},
"identifierName": "j"
},
"name": "j"
},
"init": {
"type": "NumericLiteral",
"start": 362,
"end": 363,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 18
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 365,
"end": 377,
"loc": {
"start": {
"line": 10,
"column": 20
},
"end": {
"line": 10,
"column": 32
}
},
"left": {
"type": "Identifier",
"start": 365,
"end": 366,
"loc": {
"start": {
"line": 10,
"column": 20
},
"end": {
"line": 10,
"column": 21
},
"identifierName": "j"
},
"name": "j"
},
"operator": "<",
"right": {
"type": "Identifier",
"start": 369,
"end": 377,
"loc": {
"start": {
"line": 10,
"column": 24
},
"end": {
"line": 10,
"column": 32
},
"identifierName": "dvLength"
},
"name": "dvLength"
}
},
"update": {
"type": "UpdateExpression",
"start": 379,
"end": 382,
"loc": {
"start": {
"line": 10,
"column": 34
},
"end": {
"line": 10,
"column": 37
}
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"start": 379,
"end": 380,
"loc": {
"start": {
"line": 10,
"column": 34
},
"end": {
"line": 10,
"column": 35
},
"identifierName": "j"
},
"name": "j"
}
},
"body": {
"type": "BlockStatement",
"start": 384,
"end": 576,
"loc": {
"start": {
"line": 10,
"column": 39
},
"end": {
"line": 15,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 392,
"end": 424,
"loc": {
"start": {
"line": 11,
"column": 6
},
"end": {
"line": 11,
"column": 38
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 396,
"end": 424,
"loc": {
"start": {
"line": 11,
"column": 10
},
"end": {
"line": 11,
"column": 38
}
},
"id": {
"type": "Identifier",
"start": 396,
"end": 400,
"loc": {
"start": {
"line": 11,
"column": 10
},
"end": {
"line": 11,
"column": 14
},
"identifierName": "from"
},
"name": "from"
},
"init": {
"type": "CallExpression",
"start": 403,
"end": 424,
"loc": {
"start": {
"line": 11,
"column": 17
},
"end": {
"line": 11,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 403,
"end": 422,
"loc": {
"start": {
"line": 11,
"column": 17
},
"end": {
"line": 11,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 403,
"end": 410,
"loc": {
"start": {
"line": 11,
"column": 17
},
"end": {
"line": 11,
"column": 24
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 411,
"end": 422,
"loc": {
"start": {
"line": 11,
"column": 25
},
"end": {
"line": 11,
"column": 36
},
"identifierName": "readVarUint"
},
"name": "readVarUint"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 431,
"end": 462,
"loc": {
"start": {
"line": 12,
"column": 6
},
"end": {
"line": 12,
"column": 37
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 435,
"end": 462,
"loc": {
"start": {
"line": 12,
"column": 10
},
"end": {
"line": 12,
"column": 37
}
},
"id": {
"type": "Identifier",
"start": 435,
"end": 438,
"loc": {
"start": {
"line": 12,
"column": 10
},
"end": {
"line": 12,
"column": 13
},
"identifierName": "len"
},
"name": "len"
},
"init": {
"type": "CallExpression",
"start": 441,
"end": 462,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 441,
"end": 460,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 441,
"end": 448,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 23
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 449,
"end": 460,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 12,
"column": 35
},
"identifierName": "readVarUint"
},
"name": "readVarUint"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 469,
"end": 503,
"loc": {
"start": {
"line": 13,
"column": 6
},
"end": {
"line": 13,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 473,
"end": 503,
"loc": {
"start": {
"line": 13,
"column": 10
},
"end": {
"line": 13,
"column": 40
}
},
"id": {
"type": "Identifier",
"start": 473,
"end": 475,
"loc": {
"start": {
"line": 13,
"column": 10
},
"end": {
"line": 13,
"column": 12
},
"identifierName": "gc"
},
"name": "gc"
},
"init": {
"type": "BinaryExpression",
"start": 478,
"end": 503,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 40
}
},
"left": {
"type": "CallExpression",
"start": 478,
"end": 497,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 478,
"end": 495,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 478,
"end": 485,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 22
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 486,
"end": 495,
"loc": {
"start": {
"line": 13,
"column": 23
},
"end": {
"line": 13,
"column": 32
},
"identifierName": "readUint8"
},
"name": "readUint8"
},
"computed": false
},
"arguments": []
},
"operator": "===",
"right": {
"type": "NumericLiteral",
"start": 502,
"end": 503,
"loc": {
"start": {
"line": 13,
"column": 39
},
"end": {
"line": 13,
"column": 40
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
}
],
"kind": "let"
},
{
"type": "ExpressionStatement",
"start": 510,
"end": 570,
"loc": {
"start": {
"line": 14,
"column": 6
},
"end": {
"line": 14,
"column": 66
}
},
"expression": {
"type": "CallExpression",
"start": 510,
"end": 570,
"loc": {
"start": {
"line": 14,
"column": 6
},
"end": {
"line": 14,
"column": 66
}
},
"callee": {
"type": "MemberExpression",
"start": 510,
"end": 525,
"loc": {
"start": {
"line": 14,
"column": 6
},
"end": {
"line": 14,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 510,
"end": 520,
"loc": {
"start": {
"line": 14,
"column": 6
},
"end": {
"line": 14,
"column": 16
},
"identifierName": "strBuilder"
},
"name": "strBuilder"
},
"property": {
"type": "Identifier",
"start": 521,
"end": 525,
"loc": {
"start": {
"line": 14,
"column": 17
},
"end": {
"line": 14,
"column": 21
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "TemplateLiteral",
"start": 526,
"end": 569,
"loc": {
"start": {
"line": 14,
"column": 22
},
"end": {
"line": 14,
"column": 65
}
},
"expressions": [
{
"type": "Identifier",
"start": 536,
"end": 540,
"loc": {
"start": {
"line": 14,
"column": 32
},
"end": {
"line": 14,
"column": 36
},
"identifierName": "from"
},
"name": "from"
},
{
"type": "Identifier",
"start": 553,
"end": 556,
"loc": {
"start": {
"line": 14,
"column": 49
},
"end": {
"line": 14,
"column": 52
},
"identifierName": "len"
},
"name": "len"
},
{
"type": "Identifier",
"start": 565,
"end": 567,
"loc": {
"start": {
"line": 14,
"column": 61
},
"end": {
"line": 14,
"column": 63
},
"identifierName": "gc"
},
"name": "gc"
}
],
"quasis": [
{
"type": "TemplateElement",
"start": 527,
"end": 534,
"loc": {
"start": {
"line": 14,
"column": 23
},
"end": {
"line": 14,
"column": 30
}
},
"value": {
"raw": "clock: ",
"cooked": "clock: "
},
"tail": false
},
{
"type": "TemplateElement",
"start": 541,
"end": 551,
"loc": {
"start": {
"line": 14,
"column": 37
},
"end": {
"line": 14,
"column": 47
}
},
"value": {
"raw": ", length: ",
"cooked": ", length: "
},
"tail": false
},
{
"type": "TemplateElement",
"start": 557,
"end": 563,
"loc": {
"start": {
"line": 14,
"column": 53
},
"end": {
"line": 14,
"column": 59
}
},
"value": {
"raw": ", gc: ",
"cooked": ", gc: "
},
"tail": false
},
{
"type": "TemplateElement",
"start": 568,
"end": 568,
"loc": {
"start": {
"line": 14,
"column": 64
},
"end": {
"line": 14,
"column": 64
}
},
"value": {
"raw": "",
"cooked": ""
},
"tail": true
}
]
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
},
{
"type": "ReturnStatement",
"start": 583,
"end": 600,
"loc": {
"start": {
"line": 17,
"column": 2
},
"end": {
"line": 17,
"column": 19
}
},
"argument": {
"type": "Identifier",
"start": 590,
"end": 600,
"loc": {
"start": {
"line": 17,
"column": 9
},
"end": {
"line": 17,
"column": 19
},
"identifierName": "strBuilder"
},
"name": "strBuilder"
}
}
],
"directives": []
},
"leadingComments": [],
"trailingComments": []
}
},
{
"type": "ExportNamedDeclaration",
"start": 604,
"end": 1599,
"loc": {
"start": {
"line": 20,
"column": 0
},
"end": {
"line": 56,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "FunctionDeclaration",
"start": 611,
"end": 1599,
"loc": {
"start": {
"line": 20,
"column": 7
},
"end": {
"line": 56,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 620,
"end": 634,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 30
},
"identifierName": "writeDeleteSet"
},
"name": "writeDeleteSet"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 636,
"end": 637,
"loc": {
"start": {
"line": 20,
"column": 32
},
"end": {
"line": 20,
"column": 33
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 639,
"end": 646,
"loc": {
"start": {
"line": 20,
"column": 35
},
"end": {
"line": 20,
"column": 42
},
"identifierName": "encoder"
},
"name": "encoder"
}
],
"body": {
"type": "BlockStatement",
"start": 648,
"end": 1599,
"loc": {
"start": {
"line": 20,
"column": 44
},
"end": {
"line": 56,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 652,
"end": 674,
"loc": {
"start": {
"line": 21,
"column": 2
},
"end": {
"line": 21,
"column": 24
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 656,
"end": 674,
"loc": {
"start": {
"line": 21,
"column": 6
},
"end": {
"line": 21,
"column": 24
}
},
"id": {
"type": "Identifier",
"start": 656,
"end": 667,
"loc": {
"start": {
"line": 21,
"column": 6
},
"end": {
"line": 21,
"column": 17
},
"identifierName": "currentUser"
},
"name": "currentUser"
},
"init": {
"type": "NullLiteral",
"start": 670,
"end": 674,
"loc": {
"start": {
"line": 21,
"column": 20
},
"end": {
"line": 21,
"column": 24
}
}
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 677,
"end": 694,
"loc": {
"start": {
"line": 22,
"column": 2
},
"end": {
"line": 22,
"column": 19
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 681,
"end": 694,
"loc": {
"start": {
"line": 22,
"column": 6
},
"end": {
"line": 22,
"column": 19
}
},
"id": {
"type": "Identifier",
"start": 681,
"end": 694,
"loc": {
"start": {
"line": 22,
"column": 6
},
"end": {
"line": 22,
"column": 19
},
"identifierName": "currentLength"
},
"name": "currentLength"
},
"init": null
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 697,
"end": 711,
"loc": {
"start": {
"line": 23,
"column": 2
},
"end": {
"line": 23,
"column": 16
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 701,
"end": 711,
"loc": {
"start": {
"line": 23,
"column": 6
},
"end": {
"line": 23,
"column": 16
}
},
"id": {
"type": "Identifier",
"start": 701,
"end": 711,
"loc": {
"start": {
"line": 23,
"column": 6
},
"end": {
"line": 23,
"column": 16
},
"identifierName": "lastLenPos"
},
"name": "lastLenPos"
},
"init": null
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 715,
"end": 736,
"loc": {
"start": {
"line": 25,
"column": 2
},
"end": {
"line": 25,
"column": 23
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 719,
"end": 736,
"loc": {
"start": {
"line": 25,
"column": 6
},
"end": {
"line": 25,
"column": 23
}
},
"id": {
"type": "Identifier",
"start": 719,
"end": 732,
"loc": {
"start": {
"line": 25,
"column": 6
},
"end": {
"line": 25,
"column": 19
},
"identifierName": "numberOfUsers"
},
"name": "numberOfUsers"
},
"init": {
"type": "NumericLiteral",
"start": 735,
"end": 736,
"loc": {
"start": {
"line": 25,
"column": 22
},
"end": {
"line": 25,
"column": 23
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 739,
"end": 770,
"loc": {
"start": {
"line": 26,
"column": 2
},
"end": {
"line": 26,
"column": 33
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 743,
"end": 770,
"loc": {
"start": {
"line": 26,
"column": 6
},
"end": {
"line": 26,
"column": 33
}
},
"id": {
"type": "Identifier",
"start": 743,
"end": 756,
"loc": {
"start": {
"line": 26,
"column": 6
},
"end": {
"line": 26,
"column": 19
},
"identifierName": "laterDSLenPus"
},
"name": "laterDSLenPus"
},
"init": {
"type": "MemberExpression",
"start": 759,
"end": 770,
"loc": {
"start": {
"line": 26,
"column": 22
},
"end": {
"line": 26,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 759,
"end": 766,
"loc": {
"start": {
"line": 26,
"column": 22
},
"end": {
"line": 26,
"column": 29
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 767,
"end": 770,
"loc": {
"start": {
"line": 26,
"column": 30
},
"end": {
"line": 26,
"column": 33
},
"identifierName": "pos"
},
"name": "pos"
},
"computed": false
}
}
],
"kind": "let"
},
{
"type": "ExpressionStatement",
"start": 773,
"end": 795,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 27,
"column": 24
}
},
"expression": {
"type": "CallExpression",
"start": 773,
"end": 795,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 27,
"column": 24
}
},
"callee": {
"type": "MemberExpression",
"start": 773,
"end": 792,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 27,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 773,
"end": 780,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 27,
"column": 9
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 781,
"end": 792,
"loc": {
"start": {
"line": 27,
"column": 10
},
"end": {
"line": 27,
"column": 21
},
"identifierName": "writeUint32"
},
"name": "writeUint32"
},
"computed": false
},
"arguments": [
{
"type": "NumericLiteral",
"start": 793,
"end": 794,
"loc": {
"start": {
"line": 27,
"column": 22
},
"end": {
"line": 27,
"column": 23
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
]
}
},
{
"type": "ExpressionStatement",
"start": 799,
"end": 1434,
"loc": {
"start": {
"line": 29,
"column": 2
},
"end": {
"line": 51,
"column": 4
}
},
"expression": {
"type": "CallExpression",
"start": 799,
"end": 1434,
"loc": {
"start": {
"line": 29,
"column": 2
},
"end": {
"line": 51,
"column": 4
}
},
"callee": {
"type": "MemberExpression",
"start": 799,
"end": 811,
"loc": {
"start": {
"line": 29,
"column": 2
},
"end": {
"line": 29,
"column": 14
}
},
"object": {
"type": "MemberExpression",
"start": 799,
"end": 803,
"loc": {
"start": {
"line": 29,
"column": 2
},
"end": {
"line": 29,
"column": 6
}
},
"object": {
"type": "Identifier",
"start": 799,
"end": 800,
"loc": {
"start": {
"line": 29,
"column": 2
},
"end": {
"line": 29,
"column": 3
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 801,
"end": 803,
"loc": {
"start": {
"line": 29,
"column": 4
},
"end": {
"line": 29,
"column": 6
},
"identifierName": "ds"
},
"name": "ds"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 804,
"end": 811,
"loc": {
"start": {
"line": 29,
"column": 7
},
"end": {
"line": 29,
"column": 14
},
"identifierName": "iterate"
},
"name": "iterate"
},
"computed": false
},
"arguments": [
{
"type": "NullLiteral",
"start": 812,
"end": 816,
"loc": {
"start": {
"line": 29,
"column": 15
},
"end": {
"line": 29,
"column": 19
}
}
},
{
"type": "NullLiteral",
"start": 818,
"end": 822,
"loc": {
"start": {
"line": 29,
"column": 21
},
"end": {
"line": 29,
"column": 25
}
}
},
{
"type": "FunctionExpression",
"start": 824,
"end": 1433,
"loc": {
"start": {
"line": 29,
"column": 27
},
"end": {
"line": 51,
"column": 3
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 834,
"end": 835,
"loc": {
"start": {
"line": 29,
"column": 37
},
"end": {
"line": 29,
"column": 38
},
"identifierName": "n"
},
"name": "n"
}
],
"body": {
"type": "BlockStatement",
"start": 837,
"end": 1433,
"loc": {
"start": {
"line": 29,
"column": 40
},
"end": {
"line": 51,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 843,
"end": 864,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"column": 25
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 847,
"end": 864,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 25
}
},
"id": {
"type": "Identifier",
"start": 847,
"end": 851,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 12
},
"identifierName": "user"
},
"name": "user"
},
"init": {
"type": "MemberExpression",
"start": 854,
"end": 864,
"loc": {
"start": {
"line": 30,
"column": 15
},
"end": {
"line": 30,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 854,
"end": 859,
"loc": {
"start": {
"line": 30,
"column": 15
},
"end": {
"line": 30,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 854,
"end": 855,
"loc": {
"start": {
"line": 30,
"column": 15
},
"end": {
"line": 30,
"column": 16
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 856,
"end": 859,
"loc": {
"start": {
"line": 30,
"column": 17
},
"end": {
"line": 30,
"column": 20
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 860,
"end": 864,
"loc": {
"start": {
"line": 30,
"column": 21
},
"end": {
"line": 30,
"column": 25
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
}
}
],
"kind": "var"
},
{
"type": "VariableDeclaration",
"start": 869,
"end": 892,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 27
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 873,
"end": 892,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 27
}
},
"id": {
"type": "Identifier",
"start": 873,
"end": 878,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 13
},
"identifierName": "clock"
},
"name": "clock"
},
"init": {
"type": "MemberExpression",
"start": 881,
"end": 892,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 27
}
},
"object": {
"type": "MemberExpression",
"start": 881,
"end": 886,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 881,
"end": 882,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 17
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 883,
"end": 886,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 21
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 887,
"end": 892,
"loc": {
"start": {
"line": 31,
"column": 22
},
"end": {
"line": 31,
"column": 27
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
}
}
],
"kind": "var"
},
{
"type": "VariableDeclaration",
"start": 897,
"end": 912,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 19
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 901,
"end": 912,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 19
}
},
"id": {
"type": "Identifier",
"start": 901,
"end": 904,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 11
},
"identifierName": "len"
},
"name": "len"
},
"init": {
"type": "MemberExpression",
"start": 907,
"end": 912,
"loc": {
"start": {
"line": 32,
"column": 14
},
"end": {
"line": 32,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 907,
"end": 908,
"loc": {
"start": {
"line": 32,
"column": 14
},
"end": {
"line": 32,
"column": 15
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 909,
"end": 912,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 19
},
"identifierName": "len"
},
"name": "len"
},
"computed": false
}
}
],
"kind": "var"
},
{
"type": "VariableDeclaration",
"start": 917,
"end": 930,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 17
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 921,
"end": 930,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 17
}
},
"id": {
"type": "Identifier",
"start": 921,
"end": 923,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 10
},
"identifierName": "gc"
},
"name": "gc"
},
"init": {
"type": "MemberExpression",
"start": 926,
"end": 930,
"loc": {
"start": {
"line": 33,
"column": 13
},
"end": {
"line": 33,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 926,
"end": 927,
"loc": {
"start": {
"line": 33,
"column": 13
},
"end": {
"line": 33,
"column": 14
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 928,
"end": 930,
"loc": {
"start": {
"line": 33,
"column": 15
},
"end": {
"line": 33,
"column": 17
},
"identifierName": "gc"
},
"name": "gc"
},
"computed": false
}
}
],
"kind": "var"
},
{
"type": "IfStatement",
"start": 935,
"end": 1312,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 46,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 939,
"end": 959,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 28
}
},
"left": {
"type": "Identifier",
"start": 939,
"end": 950,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 19
},
"identifierName": "currentUser"
},
"name": "currentUser"
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 955,
"end": 959,
"loc": {
"start": {
"line": 34,
"column": 24
},
"end": {
"line": 34,
"column": 28
},
"identifierName": "user"
},
"name": "user"
}
},
"consequent": {
"type": "BlockStatement",
"start": 961,
"end": 1312,
"loc": {
"start": {
"line": 34,
"column": 30
},
"end": {
"line": 46,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 969,
"end": 984,
"loc": {
"start": {
"line": 35,
"column": 6
},
"end": {
"line": 35,
"column": 21
}
},
"expression": {
"type": "UpdateExpression",
"start": 969,
"end": 984,
"loc": {
"start": {
"line": 35,
"column": 6
},
"end": {
"line": 35,
"column": 21
}
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"start": 969,
"end": 982,
"loc": {
"start": {
"line": 35,
"column": 6
},
"end": {
"line": 35,
"column": 19
},
"identifierName": "numberOfUsers"
},
"name": "numberOfUsers"
},
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " a new user was found",
"start": 991,
"end": 1014,
"loc": {
"start": {
"line": 36,
"column": 6
},
"end": {
"line": 36,
"column": 29
}
}
}
]
},
{
"type": "IfStatement",
"start": 1021,
"end": 1139,
"loc": {
"start": {
"line": 37,
"column": 6
},
"end": {
"line": 39,
"column": 7
}
},
"test": {
"type": "BinaryExpression",
"start": 1025,
"end": 1045,
"loc": {
"start": {
"line": 37,
"column": 10
},
"end": {
"line": 37,
"column": 30
}
},
"left": {
"type": "Identifier",
"start": 1025,
"end": 1036,
"loc": {
"start": {
"line": 37,
"column": 10
},
"end": {
"line": 37,
"column": 21
},
"identifierName": "currentUser"
},
"name": "currentUser",
"leadingComments": null
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 1041,
"end": 1045,
"loc": {
"start": {
"line": 37,
"column": 26
},
"end": {
"line": 37,
"column": 30
}
}
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 1047,
"end": 1139,
"loc": {
"start": {
"line": 37,
"column": 32
},
"end": {
"line": 39,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1087,
"end": 1131,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 52
}
},
"expression": {
"type": "CallExpression",
"start": 1087,
"end": 1131,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
"start": 1087,
"end": 1104,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 1087,
"end": 1094,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 15
},
"identifierName": "encoder"
},
"name": "encoder",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1095,
"end": 1104,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 25
},
"identifierName": "setUint32"
},
"name": "setUint32"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 1105,
"end": 1115,
"loc": {
"start": {
"line": 38,
"column": 26
},
"end": {
"line": 38,
"column": 36
},
"identifierName": "lastLenPos"
},
"name": "lastLenPos"
},
{
"type": "Identifier",
"start": 1117,
"end": 1130,
"loc": {
"start": {
"line": 38,
"column": 38
},
"end": {
"line": 38,
"column": 51
},
"identifierName": "currentLength"
},
"name": "currentLength"
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " happens on first iteration",
"start": 1049,
"end": 1078,
"loc": {
"start": {
"line": 37,
"column": 34
},
"end": {
"line": 37,
"column": 63
}
}
}
]
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " a new user was found",
"start": 991,
"end": 1014,
"loc": {
"start": {
"line": 36,
"column": 6
},
"end": {
"line": 36,
"column": 29
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1146,
"end": 1164,
"loc": {
"start": {
"line": 40,
"column": 6
},
"end": {
"line": 40,
"column": 24
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1146,
"end": 1164,
"loc": {
"start": {
"line": 40,
"column": 6
},
"end": {
"line": 40,
"column": 24
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1146,
"end": 1157,
"loc": {
"start": {
"line": 40,
"column": 6
},
"end": {
"line": 40,
"column": 17
},
"identifierName": "currentUser"
},
"name": "currentUser"
},
"right": {
"type": "Identifier",
"start": 1160,
"end": 1164,
"loc": {
"start": {
"line": 40,
"column": 20
},
"end": {
"line": 40,
"column": 24
},
"identifierName": "user"
},
"name": "user"
}
}
},
{
"type": "ExpressionStatement",
"start": 1171,
"end": 1197,
"loc": {
"start": {
"line": 41,
"column": 6
},
"end": {
"line": 41,
"column": 32
}
},
"expression": {
"type": "CallExpression",
"start": 1171,
"end": 1197,
"loc": {
"start": {
"line": 41,
"column": 6
},
"end": {
"line": 41,
"column": 32
}
},
"callee": {
"type": "MemberExpression",
"start": 1171,
"end": 1191,
"loc": {
"start": {
"line": 41,
"column": 6
},
"end": {
"line": 41,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 1171,
"end": 1178,
"loc": {
"start": {
"line": 41,
"column": 6
},
"end": {
"line": 41,
"column": 13
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 1179,
"end": 1191,
"loc": {
"start": {
"line": 41,
"column": 14
},
"end": {
"line": 41,
"column": 26
},
"identifierName": "writeVarUint"
},
"name": "writeVarUint"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1192,
"end": 1196,
"loc": {
"start": {
"line": 41,
"column": 27
},
"end": {
"line": 41,
"column": 31
},
"identifierName": "user"
},
"name": "user"
}
],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " pseudo-fill pos",
"start": 1204,
"end": 1222,
"loc": {
"start": {
"line": 42,
"column": 6
},
"end": {
"line": 42,
"column": 24
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1229,
"end": 1253,
"loc": {
"start": {
"line": 43,
"column": 6
},
"end": {
"line": 43,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1229,
"end": 1253,
"loc": {
"start": {
"line": 43,
"column": 6
},
"end": {
"line": 43,
"column": 30
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1229,
"end": 1239,
"loc": {
"start": {
"line": 43,
"column": 6
},
"end": {
"line": 43,
"column": 16
},
"identifierName": "lastLenPos"
},
"name": "lastLenPos",
"leadingComments": null
},
"right": {
"type": "MemberExpression",
"start": 1242,
"end": 1253,
"loc": {
"start": {
"line": 43,
"column": 19
},
"end": {
"line": 43,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1242,
"end": 1249,
"loc": {
"start": {
"line": 43,
"column": 19
},
"end": {
"line": 43,
"column": 26
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 1250,
"end": 1253,
"loc": {
"start": {
"line": 43,
"column": 27
},
"end": {
"line": 43,
"column": 30
},
"identifierName": "pos"
},
"name": "pos"
},
"computed": false
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " pseudo-fill pos",
"start": 1204,
"end": 1222,
"loc": {
"start": {
"line": 42,
"column": 6
},
"end": {
"line": 42,
"column": 24
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1260,
"end": 1282,
"loc": {
"start": {
"line": 44,
"column": 6
},
"end": {
"line": 44,
"column": 28
}
},
"expression": {
"type": "CallExpression",
"start": 1260,
"end": 1282,
"loc": {
"start": {
"line": 44,
"column": 6
},
"end": {
"line": 44,
"column": 28
}
},
"callee": {
"type": "MemberExpression",
"start": 1260,
"end": 1279,
"loc": {
"start": {
"line": 44,
"column": 6
},
"end": {
"line": 44,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 1260,
"end": 1267,
"loc": {
"start": {
"line": 44,
"column": 6
},
"end": {
"line": 44,
"column": 13
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 1268,
"end": 1279,
"loc": {
"start": {
"line": 44,
"column": 14
},
"end": {
"line": 44,
"column": 25
},
"identifierName": "writeUint32"
},
"name": "writeUint32"
},
"computed": false
},
"arguments": [
{
"type": "NumericLiteral",
"start": 1280,
"end": 1281,
"loc": {
"start": {
"line": 44,
"column": 26
},
"end": {
"line": 44,
"column": 27
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1289,
"end": 1306,
"loc": {
"start": {
"line": 45,
"column": 6
},
"end": {
"line": 45,
"column": 23
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1289,
"end": 1306,
"loc": {
"start": {
"line": 45,
"column": 6
},
"end": {
"line": 45,
"column": 23
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1289,
"end": 1302,
"loc": {
"start": {
"line": 45,
"column": 6
},
"end": {
"line": 45,
"column": 19
},
"identifierName": "currentLength"
},
"name": "currentLength"
},
"right": {
"type": "NumericLiteral",
"start": 1305,
"end": 1306,
"loc": {
"start": {
"line": 45,
"column": 22
},
"end": {
"line": 45,
"column": 23
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1317,
"end": 1344,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 31
}
},
"expression": {
"type": "CallExpression",
"start": 1317,
"end": 1344,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 31
}
},
"callee": {
"type": "MemberExpression",
"start": 1317,
"end": 1337,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 1317,
"end": 1324,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 11
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 1325,
"end": 1337,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 24
},
"identifierName": "writeVarUint"
},
"name": "writeVarUint"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1338,
"end": 1343,
"loc": {
"start": {
"line": 47,
"column": 25
},
"end": {
"line": 47,
"column": 30
},
"identifierName": "clock"
},
"name": "clock"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1349,
"end": 1374,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 48,
"column": 29
}
},
"expression": {
"type": "CallExpression",
"start": 1349,
"end": 1374,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 48,
"column": 29
}
},
"callee": {
"type": "MemberExpression",
"start": 1349,
"end": 1369,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 48,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 1349,
"end": 1356,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 48,
"column": 11
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 1357,
"end": 1369,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 24
},
"identifierName": "writeVarUint"
},
"name": "writeVarUint"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1370,
"end": 1373,
"loc": {
"start": {
"line": 48,
"column": 25
},
"end": {
"line": 48,
"column": 28
},
"identifierName": "len"
},
"name": "len"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1379,
"end": 1409,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 49,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 1379,
"end": 1409,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 49,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1379,
"end": 1397,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 49,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 1379,
"end": 1386,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 49,
"column": 11
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 1387,
"end": 1397,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 49,
"column": 22
},
"identifierName": "writeUint8"
},
"name": "writeUint8"
},
"computed": false
},
"arguments": [
{
"type": "ConditionalExpression",
"start": 1398,
"end": 1408,
"loc": {
"start": {
"line": 49,
"column": 23
},
"end": {
"line": 49,
"column": 33
}
},
"test": {
"type": "Identifier",
"start": 1398,
"end": 1400,
"loc": {
"start": {
"line": 49,
"column": 23
},
"end": {
"line": 49,
"column": 25
},
"identifierName": "gc"
},
"name": "gc"
},
"consequent": {
"type": "NumericLiteral",
"start": 1403,
"end": 1404,
"loc": {
"start": {
"line": 49,
"column": 28
},
"end": {
"line": 49,
"column": 29
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"alternate": {
"type": "NumericLiteral",
"start": 1407,
"end": 1408,
"loc": {
"start": {
"line": 49,
"column": 32
},
"end": {
"line": 49,
"column": 33
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1414,
"end": 1429,
"loc": {
"start": {
"line": 50,
"column": 4
},
"end": {
"line": 50,
"column": 19
}
},
"expression": {
"type": "UpdateExpression",
"start": 1414,
"end": 1429,
"loc": {
"start": {
"line": 50,
"column": 4
},
"end": {
"line": 50,
"column": 19
}
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"start": 1414,
"end": 1427,
"loc": {
"start": {
"line": 50,
"column": 4
},
"end": {
"line": 50,
"column": 17
},
"identifierName": "currentLength"
},
"name": "currentLength"
}
}
}
],
"directives": []
}
}
]
}
},
{
"type": "IfStatement",
"start": 1437,
"end": 1547,
"loc": {
"start": {
"line": 52,
"column": 2
},
"end": {
"line": 54,
"column": 3
}
},
"test": {
"type": "BinaryExpression",
"start": 1441,
"end": 1461,
"loc": {
"start": {
"line": 52,
"column": 6
},
"end": {
"line": 52,
"column": 26
}
},
"left": {
"type": "Identifier",
"start": 1441,
"end": 1452,
"loc": {
"start": {
"line": 52,
"column": 6
},
"end": {
"line": 52,
"column": 17
},
"identifierName": "currentUser"
},
"name": "currentUser"
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 1457,
"end": 1461,
"loc": {
"start": {
"line": 52,
"column": 22
},
"end": {
"line": 52,
"column": 26
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 1463,
"end": 1547,
"loc": {
"start": {
"line": 52,
"column": 28
},
"end": {
"line": 54,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1499,
"end": 1543,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 48
}
},
"expression": {
"type": "CallExpression",
"start": 1499,
"end": 1543,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 1499,
"end": 1516,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 1499,
"end": 1506,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 11
},
"identifierName": "encoder"
},
"name": "encoder",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1507,
"end": 1516,
"loc": {
"start": {
"line": 53,
"column": 12
},
"end": {
"line": 53,
"column": 21
},
"identifierName": "setUint32"
},
"name": "setUint32"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 1517,
"end": 1527,
"loc": {
"start": {
"line": 53,
"column": 22
},
"end": {
"line": 53,
"column": 32
},
"identifierName": "lastLenPos"
},
"name": "lastLenPos"
},
{
"type": "Identifier",
"start": 1529,
"end": 1542,
"loc": {
"start": {
"line": 53,
"column": 34
},
"end": {
"line": 53,
"column": 47
},
"identifierName": "currentLength"
},
"name": "currentLength"
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " happens on first iteration",
"start": 1465,
"end": 1494,
"loc": {
"start": {
"line": 52,
"column": 30
},
"end": {
"line": 52,
"column": 59
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1550,
"end": 1597,
"loc": {
"start": {
"line": 55,
"column": 2
},
"end": {
"line": 55,
"column": 49
}
},
"expression": {
"type": "CallExpression",
"start": 1550,
"end": 1597,
"loc": {
"start": {
"line": 55,
"column": 2
},
"end": {
"line": 55,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
"start": 1550,
"end": 1567,
"loc": {
"start": {
"line": 55,
"column": 2
},
"end": {
"line": 55,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 1550,
"end": 1557,
"loc": {
"start": {
"line": 55,
"column": 2
},
"end": {
"line": 55,
"column": 9
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 1558,
"end": 1567,
"loc": {
"start": {
"line": 55,
"column": 10
},
"end": {
"line": 55,
"column": 19
},
"identifierName": "setUint32"
},
"name": "setUint32"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1568,
"end": 1581,
"loc": {
"start": {
"line": 55,
"column": 20
},
"end": {
"line": 55,
"column": 33
},
"identifierName": "laterDSLenPus"
},
"name": "laterDSLenPus"
},
{
"type": "Identifier",
"start": 1583,
"end": 1596,
"loc": {
"start": {
"line": 55,
"column": 35
},
"end": {
"line": 55,
"column": 48
},
"identifierName": "numberOfUsers"
},
"name": "numberOfUsers"
}
]
}
}
],
"directives": []
},
"leadingComments": [],
"trailingComments": []
}
},
{
"type": "ExportNamedDeclaration",
"start": 1601,
"end": 4348,
"loc": {
"start": {
"line": 58,
"column": 0
},
"end": {
"line": 130,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "FunctionDeclaration",
"start": 1608,
"end": 4348,
"loc": {
"start": {
"line": 58,
"column": 7
},
"end": {
"line": 130,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 1617,
"end": 1630,
"loc": {
"start": {
"line": 58,
"column": 16
},
"end": {
"line": 58,
"column": 29
},
"identifierName": "readDeleteSet"
},
"name": "readDeleteSet"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1632,
"end": 1633,
"loc": {
"start": {
"line": 58,
"column": 31
},
"end": {
"line": 58,
"column": 32
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 1635,
"end": 1642,
"loc": {
"start": {
"line": 58,
"column": 34
},
"end": {
"line": 58,
"column": 41
},
"identifierName": "decoder"
},
"name": "decoder"
}
],
"body": {
"type": "BlockStatement",
"start": 1644,
"end": 4348,
"loc": {
"start": {
"line": 58,
"column": 43
},
"end": {
"line": 130,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1648,
"end": 1683,
"loc": {
"start": {
"line": 59,
"column": 2
},
"end": {
"line": 59,
"column": 37
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1652,
"end": 1683,
"loc": {
"start": {
"line": 59,
"column": 6
},
"end": {
"line": 59,
"column": 37
}
},
"id": {
"type": "Identifier",
"start": 1652,
"end": 1660,
"loc": {
"start": {
"line": 59,
"column": 6
},
"end": {
"line": 59,
"column": 14
},
"identifierName": "dsLength"
},
"name": "dsLength"
},
"init": {
"type": "CallExpression",
"start": 1663,
"end": 1683,
"loc": {
"start": {
"line": 59,
"column": 17
},
"end": {
"line": 59,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 1663,
"end": 1681,
"loc": {
"start": {
"line": 59,
"column": 17
},
"end": {
"line": 59,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 1663,
"end": 1670,
"loc": {
"start": {
"line": 59,
"column": 17
},
"end": {
"line": 59,
"column": 24
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 1671,
"end": 1681,
"loc": {
"start": {
"line": 59,
"column": 25
},
"end": {
"line": 59,
"column": 35
},
"identifierName": "readUint32"
},
"name": "readUint32"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "ForStatement",
"start": 1686,
"end": 4346,
"loc": {
"start": {
"line": 60,
"column": 2
},
"end": {
"line": 129,
"column": 3
}
},
"init": {
"type": "VariableDeclaration",
"start": 1691,
"end": 1700,
"loc": {
"start": {
"line": 60,
"column": 7
},
"end": {
"line": 60,
"column": 16
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1695,
"end": 1700,
"loc": {
"start": {
"line": 60,
"column": 11
},
"end": {
"line": 60,
"column": 16
}
},
"id": {
"type": "Identifier",
"start": 1695,
"end": 1696,
"loc": {
"start": {
"line": 60,
"column": 11
},
"end": {
"line": 60,
"column": 12
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 1699,
"end": 1700,
"loc": {
"start": {
"line": 60,
"column": 15
},
"end": {
"line": 60,
"column": 16
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 1702,
"end": 1714,
"loc": {
"start": {
"line": 60,
"column": 18
},
"end": {
"line": 60,
"column": 30
}
},
"left": {
"type": "Identifier",
"start": 1702,
"end": 1703,
"loc": {
"start": {
"line": 60,
"column": 18
},
"end": {
"line": 60,
"column": 19
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "Identifier",
"start": 1706,
"end": 1714,
"loc": {
"start": {
"line": 60,
"column": 22
},
"end": {
"line": 60,
"column": 30
},
"identifierName": "dsLength"
},
"name": "dsLength"
}
},
"update": {
"type": "UpdateExpression",
"start": 1716,
"end": 1719,
"loc": {
"start": {
"line": 60,
"column": 32
},
"end": {
"line": 60,
"column": 35
}
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"start": 1716,
"end": 1717,
"loc": {
"start": {
"line": 60,
"column": 32
},
"end": {
"line": 60,
"column": 33
},
"identifierName": "i"
},
"name": "i"
}
},
"body": {
"type": "BlockStatement",
"start": 1721,
"end": 4346,
"loc": {
"start": {
"line": 60,
"column": 37
},
"end": {
"line": 129,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1727,
"end": 1759,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1731,
"end": 1759,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 36
}
},
"id": {
"type": "Identifier",
"start": 1731,
"end": 1735,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 12
},
"identifierName": "user"
},
"name": "user"
},
"init": {
"type": "CallExpression",
"start": 1738,
"end": 1759,
"loc": {
"start": {
"line": 61,
"column": 15
},
"end": {
"line": 61,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 1738,
"end": 1757,
"loc": {
"start": {
"line": 61,
"column": 15
},
"end": {
"line": 61,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 1738,
"end": 1745,
"loc": {
"start": {
"line": 61,
"column": 15
},
"end": {
"line": 61,
"column": 22
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 1746,
"end": 1757,
"loc": {
"start": {
"line": 61,
"column": 23
},
"end": {
"line": 61,
"column": 34
},
"identifierName": "readVarUint"
},
"name": "readVarUint"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 1764,
"end": 1775,
"loc": {
"start": {
"line": 62,
"column": 4
},
"end": {
"line": 62,
"column": 15
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1768,
"end": 1775,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 62,
"column": 15
}
},
"id": {
"type": "Identifier",
"start": 1768,
"end": 1770,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 62,
"column": 10
},
"identifierName": "dv"
},
"name": "dv"
},
"init": {
"type": "ArrayExpression",
"start": 1773,
"end": 1775,
"loc": {
"start": {
"line": 62,
"column": 13
},
"end": {
"line": 62,
"column": 15
}
},
"elements": []
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 1780,
"end": 1815,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 63,
"column": 39
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1784,
"end": 1815,
"loc": {
"start": {
"line": 63,
"column": 8
},
"end": {
"line": 63,
"column": 39
}
},
"id": {
"type": "Identifier",
"start": 1784,
"end": 1792,
"loc": {
"start": {
"line": 63,
"column": 8
},
"end": {
"line": 63,
"column": 16
},
"identifierName": "dvLength"
},
"name": "dvLength"
},
"init": {
"type": "CallExpression",
"start": 1795,
"end": 1815,
"loc": {
"start": {
"line": 63,
"column": 19
},
"end": {
"line": 63,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 1795,
"end": 1813,
"loc": {
"start": {
"line": 63,
"column": 19
},
"end": {
"line": 63,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 1795,
"end": 1802,
"loc": {
"start": {
"line": 63,
"column": 19
},
"end": {
"line": 63,
"column": 26
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 1803,
"end": 1813,
"loc": {
"start": {
"line": 63,
"column": 27
},
"end": {
"line": 63,
"column": 37
},
"identifierName": "readUint32"
},
"name": "readUint32"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "ForStatement",
"start": 1820,
"end": 2011,
"loc": {
"start": {
"line": 64,
"column": 4
},
"end": {
"line": 69,
"column": 5
}
},
"init": {
"type": "VariableDeclaration",
"start": 1825,
"end": 1834,
"loc": {
"start": {
"line": 64,
"column": 9
},
"end": {
"line": 64,
"column": 18
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1829,
"end": 1834,
"loc": {
"start": {
"line": 64,
"column": 13
},
"end": {
"line": 64,
"column": 18
}
},
"id": {
"type": "Identifier",
"start": 1829,
"end": 1830,
"loc": {
"start": {
"line": 64,
"column": 13
},
"end": {
"line": 64,
"column": 14
},
"identifierName": "j"
},
"name": "j"
},
"init": {
"type": "NumericLiteral",
"start": 1833,
"end": 1834,
"loc": {
"start": {
"line": 64,
"column": 17
},
"end": {
"line": 64,
"column": 18
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 1836,
"end": 1848,
"loc": {
"start": {
"line": 64,
"column": 20
},
"end": {
"line": 64,
"column": 32
}
},
"left": {
"type": "Identifier",
"start": 1836,
"end": 1837,
"loc": {
"start": {
"line": 64,
"column": 20
},
"end": {
"line": 64,
"column": 21
},
"identifierName": "j"
},
"name": "j"
},
"operator": "<",
"right": {
"type": "Identifier",
"start": 1840,
"end": 1848,
"loc": {
"start": {
"line": 64,
"column": 24
},
"end": {
"line": 64,
"column": 32
},
"identifierName": "dvLength"
},
"name": "dvLength"
}
},
"update": {
"type": "UpdateExpression",
"start": 1850,
"end": 1853,
"loc": {
"start": {
"line": 64,
"column": 34
},
"end": {
"line": 64,
"column": 37
}
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"start": 1850,
"end": 1851,
"loc": {
"start": {
"line": 64,
"column": 34
},
"end": {
"line": 64,
"column": 35
},
"identifierName": "j"
},
"name": "j"
}
},
"body": {
"type": "BlockStatement",
"start": 1855,
"end": 2011,
"loc": {
"start": {
"line": 64,
"column": 39
},
"end": {
"line": 69,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1863,
"end": 1895,
"loc": {
"start": {
"line": 65,
"column": 6
},
"end": {
"line": 65,
"column": 38
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1867,
"end": 1895,
"loc": {
"start": {
"line": 65,
"column": 10
},
"end": {
"line": 65,
"column": 38
}
},
"id": {
"type": "Identifier",
"start": 1867,
"end": 1871,
"loc": {
"start": {
"line": 65,
"column": 10
},
"end": {
"line": 65,
"column": 14
},
"identifierName": "from"
},
"name": "from"
},
"init": {
"type": "CallExpression",
"start": 1874,
"end": 1895,
"loc": {
"start": {
"line": 65,
"column": 17
},
"end": {
"line": 65,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 1874,
"end": 1893,
"loc": {
"start": {
"line": 65,
"column": 17
},
"end": {
"line": 65,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 1874,
"end": 1881,
"loc": {
"start": {
"line": 65,
"column": 17
},
"end": {
"line": 65,
"column": 24
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 1882,
"end": 1893,
"loc": {
"start": {
"line": 65,
"column": 25
},
"end": {
"line": 65,
"column": 36
},
"identifierName": "readVarUint"
},
"name": "readVarUint"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 1902,
"end": 1933,
"loc": {
"start": {
"line": 66,
"column": 6
},
"end": {
"line": 66,
"column": 37
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1906,
"end": 1933,
"loc": {
"start": {
"line": 66,
"column": 10
},
"end": {
"line": 66,
"column": 37
}
},
"id": {
"type": "Identifier",
"start": 1906,
"end": 1909,
"loc": {
"start": {
"line": 66,
"column": 10
},
"end": {
"line": 66,
"column": 13
},
"identifierName": "len"
},
"name": "len"
},
"init": {
"type": "CallExpression",
"start": 1912,
"end": 1933,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 1912,
"end": 1931,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 1912,
"end": 1919,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 23
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 1920,
"end": 1931,
"loc": {
"start": {
"line": 66,
"column": 24
},
"end": {
"line": 66,
"column": 35
},
"identifierName": "readVarUint"
},
"name": "readVarUint"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 1940,
"end": 1974,
"loc": {
"start": {
"line": 67,
"column": 6
},
"end": {
"line": 67,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1944,
"end": 1974,
"loc": {
"start": {
"line": 67,
"column": 10
},
"end": {
"line": 67,
"column": 40
}
},
"id": {
"type": "Identifier",
"start": 1944,
"end": 1946,
"loc": {
"start": {
"line": 67,
"column": 10
},
"end": {
"line": 67,
"column": 12
},
"identifierName": "gc"
},
"name": "gc"
},
"init": {
"type": "BinaryExpression",
"start": 1949,
"end": 1974,
"loc": {
"start": {
"line": 67,
"column": 15
},
"end": {
"line": 67,
"column": 40
}
},
"left": {
"type": "CallExpression",
"start": 1949,
"end": 1968,
"loc": {
"start": {
"line": 67,
"column": 15
},
"end": {
"line": 67,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1949,
"end": 1966,
"loc": {
"start": {
"line": 67,
"column": 15
},
"end": {
"line": 67,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1949,
"end": 1956,
"loc": {
"start": {
"line": 67,
"column": 15
},
"end": {
"line": 67,
"column": 22
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 1957,
"end": 1966,
"loc": {
"start": {
"line": 67,
"column": 23
},
"end": {
"line": 67,
"column": 32
},
"identifierName": "readUint8"
},
"name": "readUint8"
},
"computed": false
},
"arguments": []
},
"operator": "===",
"right": {
"type": "NumericLiteral",
"start": 1973,
"end": 1974,
"loc": {
"start": {
"line": 67,
"column": 39
},
"end": {
"line": 67,
"column": 40
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
}
],
"kind": "let"
},
{
"type": "ExpressionStatement",
"start": 1981,
"end": 2005,
"loc": {
"start": {
"line": 68,
"column": 6
},
"end": {
"line": 68,
"column": 30
}
},
"expression": {
"type": "CallExpression",
"start": 1981,
"end": 2005,
"loc": {
"start": {
"line": 68,
"column": 6
},
"end": {
"line": 68,
"column": 30
}
},
"callee": {
"type": "MemberExpression",
"start": 1981,
"end": 1988,
"loc": {
"start": {
"line": 68,
"column": 6
},
"end": {
"line": 68,
"column": 13
}
},
"object": {
"type": "Identifier",
"start": 1981,
"end": 1983,
"loc": {
"start": {
"line": 68,
"column": 6
},
"end": {
"line": 68,
"column": 8
},
"identifierName": "dv"
},
"name": "dv"
},
"property": {
"type": "Identifier",
"start": 1984,
"end": 1988,
"loc": {
"start": {
"line": 68,
"column": 9
},
"end": {
"line": 68,
"column": 13
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "ArrayExpression",
"start": 1989,
"end": 2004,
"loc": {
"start": {
"line": 68,
"column": 14
},
"end": {
"line": 68,
"column": 29
}
},
"elements": [
{
"type": "Identifier",
"start": 1990,
"end": 1994,
"loc": {
"start": {
"line": 68,
"column": 15
},
"end": {
"line": 68,
"column": 19
},
"identifierName": "from"
},
"name": "from"
},
{
"type": "Identifier",
"start": 1996,
"end": 1999,
"loc": {
"start": {
"line": 68,
"column": 21
},
"end": {
"line": 68,
"column": 24
},
"identifierName": "len"
},
"name": "len"
},
{
"type": "Identifier",
"start": 2001,
"end": 2003,
"loc": {
"start": {
"line": 68,
"column": 26
},
"end": {
"line": 68,
"column": 28
},
"identifierName": "gc"
},
"name": "gc"
}
]
}
]
}
}
],
"directives": []
}
},
{
"type": "IfStatement",
"start": 2016,
"end": 4342,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 128,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 2020,
"end": 2032,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 20
}
},
"left": {
"type": "Identifier",
"start": 2020,
"end": 2028,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 16
},
"identifierName": "dvLength"
},
"name": "dvLength"
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 2031,
"end": 2032,
"loc": {
"start": {
"line": 70,
"column": 19
},
"end": {
"line": 70,
"column": 20
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
},
"consequent": {
"type": "BlockStatement",
"start": 2034,
"end": 4342,
"loc": {
"start": {
"line": 70,
"column": 22
},
"end": {
"line": 128,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2042,
"end": 2053,
"loc": {
"start": {
"line": 71,
"column": 6
},
"end": {
"line": 71,
"column": 17
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2046,
"end": 2053,
"loc": {
"start": {
"line": 71,
"column": 10
},
"end": {
"line": 71,
"column": 17
}
},
"id": {
"type": "Identifier",
"start": 2046,
"end": 2049,
"loc": {
"start": {
"line": 71,
"column": 10
},
"end": {
"line": 71,
"column": 13
},
"identifierName": "pos"
},
"name": "pos"
},
"init": {
"type": "NumericLiteral",
"start": 2052,
"end": 2053,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 17
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 2060,
"end": 2075,
"loc": {
"start": {
"line": 72,
"column": 6
},
"end": {
"line": 72,
"column": 21
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2064,
"end": 2075,
"loc": {
"start": {
"line": 72,
"column": 10
},
"end": {
"line": 72,
"column": 21
}
},
"id": {
"type": "Identifier",
"start": 2064,
"end": 2065,
"loc": {
"start": {
"line": 72,
"column": 10
},
"end": {
"line": 72,
"column": 11
},
"identifierName": "d"
},
"name": "d"
},
"init": {
"type": "MemberExpression",
"start": 2068,
"end": 2075,
"loc": {
"start": {
"line": 72,
"column": 14
},
"end": {
"line": 72,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 2068,
"end": 2070,
"loc": {
"start": {
"line": 72,
"column": 14
},
"end": {
"line": 72,
"column": 16
},
"identifierName": "dv"
},
"name": "dv"
},
"property": {
"type": "Identifier",
"start": 2071,
"end": 2074,
"loc": {
"start": {
"line": 72,
"column": 17
},
"end": {
"line": 72,
"column": 20
},
"identifierName": "pos"
},
"name": "pos"
},
"computed": true
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 2082,
"end": 2100,
"loc": {
"start": {
"line": 73,
"column": 6
},
"end": {
"line": 73,
"column": 24
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2086,
"end": 2100,
"loc": {
"start": {
"line": 73,
"column": 10
},
"end": {
"line": 73,
"column": 24
}
},
"id": {
"type": "Identifier",
"start": 2086,
"end": 2095,
"loc": {
"start": {
"line": 73,
"column": 10
},
"end": {
"line": 73,
"column": 19
},
"identifierName": "deletions"
},
"name": "deletions"
},
"init": {
"type": "ArrayExpression",
"start": 2098,
"end": 2100,
"loc": {
"start": {
"line": 73,
"column": 22
},
"end": {
"line": 73,
"column": 24
}
},
"elements": []
}
}
],
"kind": "let"
},
{
"type": "ExpressionStatement",
"start": 2107,
"end": 3819,
"loc": {
"start": {
"line": 74,
"column": 6
},
"end": {
"line": 115,
"column": 8
}
},
"expression": {
"type": "CallExpression",
"start": 2107,
"end": 3819,
"loc": {
"start": {
"line": 74,
"column": 6
},
"end": {
"line": 115,
"column": 8
}
},
"callee": {
"type": "MemberExpression",
"start": 2107,
"end": 2119,
"loc": {
"start": {
"line": 74,
"column": 6
},
"end": {
"line": 74,
"column": 18
}
},
"object": {
"type": "MemberExpression",
"start": 2107,
"end": 2111,
"loc": {
"start": {
"line": 74,
"column": 6
},
"end": {
"line": 74,
"column": 10
}
},
"object": {
"type": "Identifier",
"start": 2107,
"end": 2108,
"loc": {
"start": {
"line": 74,
"column": 6
},
"end": {
"line": 74,
"column": 7
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 2109,
"end": 2111,
"loc": {
"start": {
"line": 74,
"column": 8
},
"end": {
"line": 74,
"column": 10
},
"identifierName": "ds"
},
"name": "ds"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2112,
"end": 2119,
"loc": {
"start": {
"line": 74,
"column": 11
},
"end": {
"line": 74,
"column": 18
},
"identifierName": "iterate"
},
"name": "iterate"
},
"computed": false
},
"arguments": [
{
"type": "NewExpression",
"start": 2120,
"end": 2135,
"loc": {
"start": {
"line": 74,
"column": 19
},
"end": {
"line": 74,
"column": 34
}
},
"callee": {
"type": "Identifier",
"start": 2124,
"end": 2126,
"loc": {
"start": {
"line": 74,
"column": 23
},
"end": {
"line": 74,
"column": 25
},
"identifierName": "ID"
},
"name": "ID"
},
"arguments": [
{
"type": "Identifier",
"start": 2127,
"end": 2131,
"loc": {
"start": {
"line": 74,
"column": 26
},
"end": {
"line": 74,
"column": 30
},
"identifierName": "user"
},
"name": "user"
},
{
"type": "NumericLiteral",
"start": 2133,
"end": 2134,
"loc": {
"start": {
"line": 74,
"column": 32
},
"end": {
"line": 74,
"column": 33
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
]
},
{
"type": "NewExpression",
"start": 2137,
"end": 2167,
"loc": {
"start": {
"line": 74,
"column": 36
},
"end": {
"line": 74,
"column": 66
}
},
"callee": {
"type": "Identifier",
"start": 2141,
"end": 2143,
"loc": {
"start": {
"line": 74,
"column": 40
},
"end": {
"line": 74,
"column": 42
},
"identifierName": "ID"
},
"name": "ID"
},
"arguments": [
{
"type": "Identifier",
"start": 2144,
"end": 2148,
"loc": {
"start": {
"line": 74,
"column": 43
},
"end": {
"line": 74,
"column": 47
},
"identifierName": "user"
},
"name": "user"
},
{
"type": "MemberExpression",
"start": 2150,
"end": 2166,
"loc": {
"start": {
"line": 74,
"column": 49
},
"end": {
"line": 74,
"column": 65
}
},
"object": {
"type": "Identifier",
"start": 2150,
"end": 2156,
"loc": {
"start": {
"line": 74,
"column": 49
},
"end": {
"line": 74,
"column": 55
},
"identifierName": "Number"
},
"name": "Number"
},
"property": {
"type": "Identifier",
"start": 2157,
"end": 2166,
"loc": {
"start": {
"line": 74,
"column": 56
},
"end": {
"line": 74,
"column": 65
},
"identifierName": "MAX_VALUE"
},
"name": "MAX_VALUE"
},
"computed": false
}
]
},
{
"type": "FunctionExpression",
"start": 2169,
"end": 3818,
"loc": {
"start": {
"line": 74,
"column": 68
},
"end": {
"line": 115,
"column": 7
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2179,
"end": 2180,
"loc": {
"start": {
"line": 74,
"column": 78
},
"end": {
"line": 74,
"column": 79
},
"identifierName": "n"
},
"name": "n"
}
],
"body": {
"type": "BlockStatement",
"start": 2182,
"end": 3818,
"loc": {
"start": {
"line": 74,
"column": 81
},
"end": {
"line": 115,
"column": 7
}
},
"body": [
{
"type": "WhileStatement",
"start": 2703,
"end": 3810,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 114,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 2710,
"end": 2719,
"loc": {
"start": {
"line": 85,
"column": 15
},
"end": {
"line": 85,
"column": 24
}
},
"left": {
"type": "Identifier",
"start": 2710,
"end": 2711,
"loc": {
"start": {
"line": 85,
"column": 15
},
"end": {
"line": 85,
"column": 16
},
"identifierName": "d"
},
"name": "d",
"leadingComments": null
},
"operator": "!=",
"right": {
"type": "NullLiteral",
"start": 2715,
"end": 2719,
"loc": {
"start": {
"line": 85,
"column": 20
},
"end": {
"line": 85,
"column": 24
}
}
},
"leadingComments": null
},
"body": {
"type": "BlockStatement",
"start": 2721,
"end": 3810,
"loc": {
"start": {
"line": 85,
"column": 26
},
"end": {
"line": 114,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2733,
"end": 2745,
"loc": {
"start": {
"line": 86,
"column": 10
},
"end": {
"line": 86,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2737,
"end": 2745,
"loc": {
"start": {
"line": 86,
"column": 14
},
"end": {
"line": 86,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 2737,
"end": 2741,
"loc": {
"start": {
"line": 86,
"column": 14
},
"end": {
"line": 86,
"column": 18
},
"identifierName": "diff"
},
"name": "diff"
},
"init": {
"type": "NumericLiteral",
"start": 2744,
"end": 2745,
"loc": {
"start": {
"line": 86,
"column": 21
},
"end": {
"line": 86,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0,
"leadingComments": null,
"trailingComments": null
},
"trailingComments": null
}
],
"kind": "var",
"trailingComments": [
{
"type": "CommentLine",
"value": " describe the diff of length in 1) and 2)",
"start": 2746,
"end": 2789,
"loc": {
"start": {
"line": 86,
"column": 23
},
"end": {
"line": 86,
"column": 66
}
}
}
]
},
{
"type": "IfStatement",
"start": 2800,
"end": 3573,
"loc": {
"start": {
"line": 87,
"column": 10
},
"end": {
"line": 106,
"column": 11
}
},
"test": {
"type": "BinaryExpression",
"start": 2804,
"end": 2831,
"loc": {
"start": {
"line": 87,
"column": 14
},
"end": {
"line": 87,
"column": 41
}
},
"left": {
"type": "BinaryExpression",
"start": 2804,
"end": 2823,
"loc": {
"start": {
"line": 87,
"column": 14
},
"end": {
"line": 87,
"column": 33
}
},
"left": {
"type": "MemberExpression",
"start": 2804,
"end": 2815,
"loc": {
"start": {
"line": 87,
"column": 14
},
"end": {
"line": 87,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 2804,
"end": 2809,
"loc": {
"start": {
"line": 87,
"column": 14
},
"end": {
"line": 87,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 2804,
"end": 2805,
"loc": {
"start": {
"line": 87,
"column": 14
},
"end": {
"line": 87,
"column": 15
},
"identifierName": "n"
},
"name": "n",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2806,
"end": 2809,
"loc": {
"start": {
"line": 87,
"column": 16
},
"end": {
"line": 87,
"column": 19
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2810,
"end": 2815,
"loc": {
"start": {
"line": 87,
"column": 20
},
"end": {
"line": 87,
"column": 25
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false,
"leadingComments": null
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 2818,
"end": 2823,
"loc": {
"start": {
"line": 87,
"column": 28
},
"end": {
"line": 87,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 2818,
"end": 2819,
"loc": {
"start": {
"line": 87,
"column": 28
},
"end": {
"line": 87,
"column": 29
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 2820,
"end": 2823,
"loc": {
"start": {
"line": 87,
"column": 30
},
"end": {
"line": 87,
"column": 33
},
"identifierName": "len"
},
"name": "len"
},
"computed": false
},
"leadingComments": null
},
"operator": "<=",
"right": {
"type": "MemberExpression",
"start": 2827,
"end": 2831,
"loc": {
"start": {
"line": 87,
"column": 37
},
"end": {
"line": 87,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 2827,
"end": 2828,
"loc": {
"start": {
"line": 87,
"column": 37
},
"end": {
"line": 87,
"column": 38
},
"identifierName": "d"
},
"name": "d"
},
"property": {
"type": "NumericLiteral",
"start": 2829,
"end": 2830,
"loc": {
"start": {
"line": 87,
"column": 39
},
"end": {
"line": 87,
"column": 40
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 2833,
"end": 2882,
"loc": {
"start": {
"line": 87,
"column": 43
},
"end": {
"line": 90,
"column": 11
}
},
"body": [
{
"type": "BreakStatement",
"start": 2865,
"end": 2870,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 17
}
},
"label": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " 1)",
"start": 2847,
"end": 2852,
"loc": {
"start": {
"line": 88,
"column": 12
},
"end": {
"line": 88,
"column": 17
}
}
}
]
}
],
"directives": []
},
"alternate": {
"type": "IfStatement",
"start": 2888,
"end": 3573,
"loc": {
"start": {
"line": 90,
"column": 17
},
"end": {
"line": 106,
"column": 11
}
},
"test": {
"type": "BinaryExpression",
"start": 2892,
"end": 2910,
"loc": {
"start": {
"line": 90,
"column": 21
},
"end": {
"line": 90,
"column": 39
}
},
"left": {
"type": "MemberExpression",
"start": 2892,
"end": 2896,
"loc": {
"start": {
"line": 90,
"column": 21
},
"end": {
"line": 90,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 2892,
"end": 2893,
"loc": {
"start": {
"line": 90,
"column": 21
},
"end": {
"line": 90,
"column": 22
},
"identifierName": "d"
},
"name": "d"
},
"property": {
"type": "NumericLiteral",
"start": 2894,
"end": 2895,
"loc": {
"start": {
"line": 90,
"column": 23
},
"end": {
"line": 90,
"column": 24
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 2899,
"end": 2910,
"loc": {
"start": {
"line": 90,
"column": 28
},
"end": {
"line": 90,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 2899,
"end": 2904,
"loc": {
"start": {
"line": 90,
"column": 28
},
"end": {
"line": 90,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 2899,
"end": 2900,
"loc": {
"start": {
"line": 90,
"column": 28
},
"end": {
"line": 90,
"column": 29
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 2901,
"end": 2904,
"loc": {
"start": {
"line": 90,
"column": 30
},
"end": {
"line": 90,
"column": 33
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2905,
"end": 2910,
"loc": {
"start": {
"line": 90,
"column": 34
},
"end": {
"line": 90,
"column": 39
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2912,
"end": 3192,
"loc": {
"start": {
"line": 90,
"column": 41
},
"end": {
"line": 97,
"column": 11
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3034,
"end": 3075,
"loc": {
"start": {
"line": 94,
"column": 12
},
"end": {
"line": 94,
"column": 53
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3034,
"end": 3075,
"loc": {
"start": {
"line": 94,
"column": 12
},
"end": {
"line": 94,
"column": 53
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 3034,
"end": 3038,
"loc": {
"start": {
"line": 94,
"column": 12
},
"end": {
"line": 94,
"column": 16
},
"identifierName": "diff"
},
"name": "diff",
"leadingComments": null
},
"right": {
"type": "CallExpression",
"start": 3041,
"end": 3075,
"loc": {
"start": {
"line": 94,
"column": 19
},
"end": {
"line": 94,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 3041,
"end": 3049,
"loc": {
"start": {
"line": 94,
"column": 19
},
"end": {
"line": 94,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 3041,
"end": 3045,
"loc": {
"start": {
"line": 94,
"column": 19
},
"end": {
"line": 94,
"column": 23
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 3046,
"end": 3049,
"loc": {
"start": {
"line": 94,
"column": 24
},
"end": {
"line": 94,
"column": 27
},
"identifierName": "min"
},
"name": "min"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 3050,
"end": 3068,
"loc": {
"start": {
"line": 94,
"column": 28
},
"end": {
"line": 94,
"column": 46
}
},
"left": {
"type": "MemberExpression",
"start": 3050,
"end": 3061,
"loc": {
"start": {
"line": 94,
"column": 28
},
"end": {
"line": 94,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 3050,
"end": 3055,
"loc": {
"start": {
"line": 94,
"column": 28
},
"end": {
"line": 94,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 3050,
"end": 3051,
"loc": {
"start": {
"line": 94,
"column": 28
},
"end": {
"line": 94,
"column": 29
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 3052,
"end": 3055,
"loc": {
"start": {
"line": 94,
"column": 30
},
"end": {
"line": 94,
"column": 33
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3056,
"end": 3061,
"loc": {
"start": {
"line": 94,
"column": 34
},
"end": {
"line": 94,
"column": 39
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
},
"operator": "-",
"right": {
"type": "MemberExpression",
"start": 3064,
"end": 3068,
"loc": {
"start": {
"line": 94,
"column": 42
},
"end": {
"line": 94,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 3064,
"end": 3065,
"loc": {
"start": {
"line": 94,
"column": 42
},
"end": {
"line": 94,
"column": 43
},
"identifierName": "d"
},
"name": "d"
},
"property": {
"type": "NumericLiteral",
"start": 3066,
"end": 3067,
"loc": {
"start": {
"line": 94,
"column": 44
},
"end": {
"line": 94,
"column": 45
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
},
{
"type": "MemberExpression",
"start": 3070,
"end": 3074,
"loc": {
"start": {
"line": 94,
"column": 48
},
"end": {
"line": 94,
"column": 52
}
},
"object": {
"type": "Identifier",
"start": 3070,
"end": 3071,
"loc": {
"start": {
"line": 94,
"column": 48
},
"end": {
"line": 94,
"column": 49
},
"identifierName": "d"
},
"name": "d"
},
"property": {
"type": "NumericLiteral",
"start": 3072,
"end": 3073,
"loc": {
"start": {
"line": 94,
"column": 50
},
"end": {
"line": 94,
"column": 51
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
}
],
"trailingComments": null
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " 2)",
"start": 2926,
"end": 2931,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " delete maximum the len of d",
"start": 2944,
"end": 2974,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 92,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " else delete as much as possible",
"start": 2987,
"end": 3021,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 46
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " deleteItemRange(y, user, d[0], diff, true)",
"start": 3088,
"end": 3133,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 57
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 3146,
"end": 3180,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 96,
"column": 46
}
},
"expression": {
"type": "CallExpression",
"start": 3146,
"end": 3180,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 96,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 3146,
"end": 3160,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 96,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 3146,
"end": 3155,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 96,
"column": 21
},
"identifierName": "deletions"
},
"name": "deletions",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3156,
"end": 3160,
"loc": {
"start": {
"line": 96,
"column": 22
},
"end": {
"line": 96,
"column": 26
},
"identifierName": "push"
},
"name": "push"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "ArrayExpression",
"start": 3161,
"end": 3179,
"loc": {
"start": {
"line": 96,
"column": 27
},
"end": {
"line": 96,
"column": 45
}
},
"elements": [
{
"type": "Identifier",
"start": 3162,
"end": 3166,
"loc": {
"start": {
"line": 96,
"column": 28
},
"end": {
"line": 96,
"column": 32
},
"identifierName": "user"
},
"name": "user"
},
{
"type": "MemberExpression",
"start": 3168,
"end": 3172,
"loc": {
"start": {
"line": 96,
"column": 34
},
"end": {
"line": 96,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 3168,
"end": 3169,
"loc": {
"start": {
"line": 96,
"column": 34
},
"end": {
"line": 96,
"column": 35
},
"identifierName": "d"
},
"name": "d"
},
"property": {
"type": "NumericLiteral",
"start": 3170,
"end": 3171,
"loc": {
"start": {
"line": 96,
"column": 36
},
"end": {
"line": 96,
"column": 37
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
{
"type": "Identifier",
"start": 3174,
"end": 3178,
"loc": {
"start": {
"line": 96,
"column": 40
},
"end": {
"line": 96,
"column": 44
},
"identifierName": "diff"
},
"name": "diff"
}
]
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " deleteItemRange(y, user, d[0], diff, true)",
"start": 3088,
"end": 3133,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 57
}
}
}
]
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 3198,
"end": 3573,
"loc": {
"start": {
"line": 97,
"column": 17
},
"end": {
"line": 106,
"column": 11
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3230,
"end": 3263,
"loc": {
"start": {
"line": 99,
"column": 12
},
"end": {
"line": 99,
"column": 45
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3230,
"end": 3263,
"loc": {
"start": {
"line": 99,
"column": 12
},
"end": {
"line": 99,
"column": 45
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 3230,
"end": 3234,
"loc": {
"start": {
"line": 99,
"column": 12
},
"end": {
"line": 99,
"column": 16
},
"identifierName": "diff"
},
"name": "diff",
"leadingComments": null
},
"right": {
"type": "BinaryExpression",
"start": 3237,
"end": 3263,
"loc": {
"start": {
"line": 99,
"column": 19
},
"end": {
"line": 99,
"column": 45
}
},
"left": {
"type": "BinaryExpression",
"start": 3237,
"end": 3256,
"loc": {
"start": {
"line": 99,
"column": 19
},
"end": {
"line": 99,
"column": 38
}
},
"left": {
"type": "MemberExpression",
"start": 3237,
"end": 3248,
"loc": {
"start": {
"line": 99,
"column": 19
},
"end": {
"line": 99,
"column": 30
}
},
"object": {
"type": "MemberExpression",
"start": 3237,
"end": 3242,
"loc": {
"start": {
"line": 99,
"column": 19
},
"end": {
"line": 99,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 3237,
"end": 3238,
"loc": {
"start": {
"line": 99,
"column": 19
},
"end": {
"line": 99,
"column": 20
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 3239,
"end": 3242,
"loc": {
"start": {
"line": 99,
"column": 21
},
"end": {
"line": 99,
"column": 24
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3243,
"end": 3248,
"loc": {
"start": {
"line": 99,
"column": 25
},
"end": {
"line": 99,
"column": 30
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 3251,
"end": 3256,
"loc": {
"start": {
"line": 99,
"column": 33
},
"end": {
"line": 99,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 3251,
"end": 3252,
"loc": {
"start": {
"line": 99,
"column": 33
},
"end": {
"line": 99,
"column": 34
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 3253,
"end": 3256,
"loc": {
"start": {
"line": 99,
"column": 35
},
"end": {
"line": 99,
"column": 38
},
"identifierName": "len"
},
"name": "len"
},
"computed": false
}
},
"operator": "-",
"right": {
"type": "MemberExpression",
"start": 3259,
"end": 3263,
"loc": {
"start": {
"line": 99,
"column": 41
},
"end": {
"line": 99,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 3259,
"end": 3260,
"loc": {
"start": {
"line": 99,
"column": 41
},
"end": {
"line": 99,
"column": 42
},
"identifierName": "d"
},
"name": "d"
},
"property": {
"type": "NumericLiteral",
"start": 3261,
"end": 3262,
"loc": {
"start": {
"line": 99,
"column": 43
},
"end": {
"line": 99,
"column": 44
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true,
"trailingComments": null
},
"trailingComments": null
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " 3)",
"start": 3212,
"end": 3217,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 17
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " never null (see 1)",
"start": 3264,
"end": 3285,
"loc": {
"start": {
"line": 99,
"column": 46
},
"end": {
"line": 99,
"column": 67
}
}
}
]
},
{
"type": "IfStatement",
"start": 3298,
"end": 3561,
"loc": {
"start": {
"line": 100,
"column": 12
},
"end": {
"line": 105,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 3302,
"end": 3315,
"loc": {
"start": {
"line": 100,
"column": 16
},
"end": {
"line": 100,
"column": 29
}
},
"left": {
"type": "MemberExpression",
"start": 3302,
"end": 3306,
"loc": {
"start": {
"line": 100,
"column": 16
},
"end": {
"line": 100,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 3302,
"end": 3303,
"loc": {
"start": {
"line": 100,
"column": 16
},
"end": {
"line": 100,
"column": 17
},
"identifierName": "d"
},
"name": "d",
"leadingComments": null
},
"property": {
"type": "NumericLiteral",
"start": 3304,
"end": 3305,
"loc": {
"start": {
"line": 100,
"column": 18
},
"end": {
"line": 100,
"column": 19
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
"computed": true,
"leadingComments": null
},
"operator": "&&",
"right": {
"type": "UnaryExpression",
"start": 3310,
"end": 3315,
"loc": {
"start": {
"line": 100,
"column": 24
},
"end": {
"line": 100,
"column": 29
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 3311,
"end": 3315,
"loc": {
"start": {
"line": 100,
"column": 25
},
"end": {
"line": 100,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 3311,
"end": 3312,
"loc": {
"start": {
"line": 100,
"column": 25
},
"end": {
"line": 100,
"column": 26
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 3313,
"end": 3315,
"loc": {
"start": {
"line": 100,
"column": 27
},
"end": {
"line": 100,
"column": 29
},
"identifierName": "gc"
},
"name": "gc"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 3317,
"end": 3561,
"loc": {
"start": {
"line": 100,
"column": 31
},
"end": {
"line": 105,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3497,
"end": 3547,
"loc": {
"start": {
"line": 104,
"column": 14
},
"end": {
"line": 104,
"column": 64
}
},
"expression": {
"type": "CallExpression",
"start": 3497,
"end": 3547,
"loc": {
"start": {
"line": 104,
"column": 14
},
"end": {
"line": 104,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 3497,
"end": 3511,
"loc": {
"start": {
"line": 104,
"column": 14
},
"end": {
"line": 104,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 3497,
"end": 3506,
"loc": {
"start": {
"line": 104,
"column": 14
},
"end": {
"line": 104,
"column": 23
},
"identifierName": "deletions"
},
"name": "deletions",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3507,
"end": 3511,
"loc": {
"start": {
"line": 104,
"column": 24
},
"end": {
"line": 104,
"column": 28
},
"identifierName": "push"
},
"name": "push"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "ArrayExpression",
"start": 3512,
"end": 3546,
"loc": {
"start": {
"line": 104,
"column": 29
},
"end": {
"line": 104,
"column": 63
}
},
"elements": [
{
"type": "Identifier",
"start": 3513,
"end": 3517,
"loc": {
"start": {
"line": 104,
"column": 30
},
"end": {
"line": 104,
"column": 34
},
"identifierName": "user"
},
"name": "user"
},
{
"type": "MemberExpression",
"start": 3519,
"end": 3523,
"loc": {
"start": {
"line": 104,
"column": 36
},
"end": {
"line": 104,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 3519,
"end": 3520,
"loc": {
"start": {
"line": 104,
"column": 36
},
"end": {
"line": 104,
"column": 37
},
"identifierName": "d"
},
"name": "d"
},
"property": {
"type": "NumericLiteral",
"start": 3521,
"end": 3522,
"loc": {
"start": {
"line": 104,
"column": 38
},
"end": {
"line": 104,
"column": 39
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
{
"type": "CallExpression",
"start": 3525,
"end": 3545,
"loc": {
"start": {
"line": 104,
"column": 42
},
"end": {
"line": 104,
"column": 62
}
},
"callee": {
"type": "MemberExpression",
"start": 3525,
"end": 3533,
"loc": {
"start": {
"line": 104,
"column": 42
},
"end": {
"line": 104,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 3525,
"end": 3529,
"loc": {
"start": {
"line": 104,
"column": 42
},
"end": {
"line": 104,
"column": 46
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 3530,
"end": 3533,
"loc": {
"start": {
"line": 104,
"column": 47
},
"end": {
"line": 104,
"column": 50
},
"identifierName": "min"
},
"name": "min"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3534,
"end": 3538,
"loc": {
"start": {
"line": 104,
"column": 51
},
"end": {
"line": 104,
"column": 55
},
"identifierName": "diff"
},
"name": "diff"
},
{
"type": "MemberExpression",
"start": 3540,
"end": 3544,
"loc": {
"start": {
"line": 104,
"column": 57
},
"end": {
"line": 104,
"column": 61
}
},
"object": {
"type": "Identifier",
"start": 3540,
"end": 3541,
"loc": {
"start": {
"line": 104,
"column": 57
},
"end": {
"line": 104,
"column": 58
},
"identifierName": "d"
},
"name": "d"
},
"property": {
"type": "NumericLiteral",
"start": 3542,
"end": 3543,
"loc": {
"start": {
"line": 104,
"column": 59
},
"end": {
"line": 104,
"column": 60
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
}
]
}
]
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " d marks as gc'd but n does not",
"start": 3333,
"end": 3366,
"loc": {
"start": {
"line": 101,
"column": 14
},
"end": {
"line": 101,
"column": 47
}
}
},
{
"type": "CommentLine",
"value": " then delete either way",
"start": 3381,
"end": 3406,
"loc": {
"start": {
"line": 102,
"column": 14
},
"end": {
"line": 102,
"column": 39
}
}
},
{
"type": "CommentLine",
"value": " deleteItemRange(y, user, d[0], Math.min(diff, d[1]), true)",
"start": 3421,
"end": 3482,
"loc": {
"start": {
"line": 103,
"column": 14
},
"end": {
"line": 103,
"column": 75
}
}
}
]
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " never null (see 1)",
"start": 3264,
"end": 3285,
"loc": {
"start": {
"line": 99,
"column": 46
},
"end": {
"line": 99,
"column": 67
}
}
}
]
}
],
"directives": []
}
},
"leadingComments": [
{
"type": "CommentLine",
"value": " describe the diff of length in 1) and 2)",
"start": 2746,
"end": 2789,
"loc": {
"start": {
"line": 86,
"column": 23
},
"end": {
"line": 86,
"column": 66
}
}
}
]
},
{
"type": "IfStatement",
"start": 3584,
"end": 3800,
"loc": {
"start": {
"line": 107,
"column": 10
},
"end": {
"line": 113,
"column": 11
}
},
"test": {
"type": "BinaryExpression",
"start": 3588,
"end": 3600,
"loc": {
"start": {
"line": 107,
"column": 14
},
"end": {
"line": 107,
"column": 26
}
},
"left": {
"type": "MemberExpression",
"start": 3588,
"end": 3592,
"loc": {
"start": {
"line": 107,
"column": 14
},
"end": {
"line": 107,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 3588,
"end": 3589,
"loc": {
"start": {
"line": 107,
"column": 14
},
"end": {
"line": 107,
"column": 15
},
"identifierName": "d"
},
"name": "d"
},
"property": {
"type": "NumericLiteral",
"start": 3590,
"end": 3591,
"loc": {
"start": {
"line": 107,
"column": 16
},
"end": {
"line": 107,
"column": 17
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
"operator": "<=",
"right": {
"type": "Identifier",
"start": 3596,
"end": 3600,
"loc": {
"start": {
"line": 107,
"column": 22
},
"end": {
"line": 107,
"column": 26
},
"identifierName": "diff"
},
"name": "diff"
}
},
"consequent": {
"type": "BlockStatement",
"start": 3602,
"end": 3690,
"loc": {
"start": {
"line": 107,
"column": 28
},
"end": {
"line": 110,
"column": 11
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3665,
"end": 3678,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3665,
"end": 3678,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 25
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 3665,
"end": 3666,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 13
},
"identifierName": "d"
},
"name": "d",
"leadingComments": null
},
"right": {
"type": "MemberExpression",
"start": 3669,
"end": 3678,
"loc": {
"start": {
"line": 109,
"column": 16
},
"end": {
"line": 109,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 3669,
"end": 3671,
"loc": {
"start": {
"line": 109,
"column": 16
},
"end": {
"line": 109,
"column": 18
},
"identifierName": "dv"
},
"name": "dv"
},
"property": {
"type": "UpdateExpression",
"start": 3672,
"end": 3677,
"loc": {
"start": {
"line": 109,
"column": 19
},
"end": {
"line": 109,
"column": 24
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 3674,
"end": 3677,
"loc": {
"start": {
"line": 109,
"column": 21
},
"end": {
"line": 109,
"column": 24
},
"identifierName": "pos"
},
"name": "pos"
},
"extra": {
"parenthesizedArgument": false
}
},
"computed": true
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " d doesn't delete anything anymore",
"start": 3616,
"end": 3652,
"loc": {
"start": {
"line": 108,
"column": 12
},
"end": {
"line": 108,
"column": 48
}
}
}
]
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 3696,
"end": 3800,
"loc": {
"start": {
"line": 110,
"column": 17
},
"end": {
"line": 113,
"column": 11
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3710,
"end": 3728,
"loc": {
"start": {
"line": 111,
"column": 12
},
"end": {
"line": 111,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3710,
"end": 3728,
"loc": {
"start": {
"line": 111,
"column": 12
},
"end": {
"line": 111,
"column": 30
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3710,
"end": 3714,
"loc": {
"start": {
"line": 111,
"column": 12
},
"end": {
"line": 111,
"column": 16
}
},
"object": {
"type": "Identifier",
"start": 3710,
"end": 3711,
"loc": {
"start": {
"line": 111,
"column": 12
},
"end": {
"line": 111,
"column": 13
},
"identifierName": "d"
},
"name": "d"
},
"property": {
"type": "NumericLiteral",
"start": 3712,
"end": 3713,
"loc": {
"start": {
"line": 111,
"column": 14
},
"end": {
"line": 111,
"column": 15
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"right": {
"type": "BinaryExpression",
"start": 3717,
"end": 3728,
"loc": {
"start": {
"line": 111,
"column": 19
},
"end": {
"line": 111,
"column": 30
}
},
"left": {
"type": "MemberExpression",
"start": 3717,
"end": 3721,
"loc": {
"start": {
"line": 111,
"column": 19
},
"end": {
"line": 111,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 3717,
"end": 3718,
"loc": {
"start": {
"line": 111,
"column": 19
},
"end": {
"line": 111,
"column": 20
},
"identifierName": "d"
},
"name": "d"
},
"property": {
"type": "NumericLiteral",
"start": 3719,
"end": 3720,
"loc": {
"start": {
"line": 111,
"column": 21
},
"end": {
"line": 111,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 3724,
"end": 3728,
"loc": {
"start": {
"line": 111,
"column": 26
},
"end": {
"line": 111,
"column": 30
},
"identifierName": "diff"
},
"name": "diff",
"leadingComments": null,
"trailingComments": null
},
"trailingComments": null
},
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " reset pos",
"start": 3729,
"end": 3741,
"loc": {
"start": {
"line": 111,
"column": 31
},
"end": {
"line": 111,
"column": 43
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 3754,
"end": 3772,
"loc": {
"start": {
"line": 112,
"column": 12
},
"end": {
"line": 112,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3754,
"end": 3772,
"loc": {
"start": {
"line": 112,
"column": 12
},
"end": {
"line": 112,
"column": 30
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3754,
"end": 3758,
"loc": {
"start": {
"line": 112,
"column": 12
},
"end": {
"line": 112,
"column": 16
}
},
"object": {
"type": "Identifier",
"start": 3754,
"end": 3755,
"loc": {
"start": {
"line": 112,
"column": 12
},
"end": {
"line": 112,
"column": 13
},
"identifierName": "d"
},
"name": "d",
"leadingComments": null
},
"property": {
"type": "NumericLiteral",
"start": 3756,
"end": 3757,
"loc": {
"start": {
"line": 112,
"column": 14
},
"end": {
"line": 112,
"column": 15
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true,
"leadingComments": null
},
"right": {
"type": "BinaryExpression",
"start": 3761,
"end": 3772,
"loc": {
"start": {
"line": 112,
"column": 19
},
"end": {
"line": 112,
"column": 30
}
},
"left": {
"type": "MemberExpression",
"start": 3761,
"end": 3765,
"loc": {
"start": {
"line": 112,
"column": 19
},
"end": {
"line": 112,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 3761,
"end": 3762,
"loc": {
"start": {
"line": 112,
"column": 19
},
"end": {
"line": 112,
"column": 20
},
"identifierName": "d"
},
"name": "d"
},
"property": {
"type": "NumericLiteral",
"start": 3763,
"end": 3764,
"loc": {
"start": {
"line": 112,
"column": 21
},
"end": {
"line": 112,
"column": 22
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 3768,
"end": 3772,
"loc": {
"start": {
"line": 112,
"column": 26
},
"end": {
"line": 112,
"column": 30
},
"identifierName": "diff"
},
"name": "diff",
"leadingComments": null,
"trailingComments": null
},
"trailingComments": null
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " reset pos",
"start": 3729,
"end": 3741,
"loc": {
"start": {
"line": 111,
"column": 31
},
"end": {
"line": 111,
"column": 43
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " reset length",
"start": 3773,
"end": 3788,
"loc": {
"start": {
"line": 112,
"column": 31
},
"end": {
"line": 112,
"column": 46
}
}
}
]
}
],
"directives": []
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " cases:",
"start": 2192,
"end": 2201,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " 1. d deletes something to the right of n",
"start": 2210,
"end": 2253,
"loc": {
"start": {
"line": 76,
"column": 8
},
"end": {
"line": 76,
"column": 51
}
}
},
{
"type": "CommentLine",
"value": " => go to next n (break)",
"start": 2262,
"end": 2289,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 35
}
}
},
{
"type": "CommentLine",
"value": " 2. d deletes something to the left of n",
"start": 2298,
"end": 2340,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 50
}
}
},
{
"type": "CommentLine",
"value": " => create deletions",
"start": 2349,
"end": 2372,
"loc": {
"start": {
"line": 79,
"column": 8
},
"end": {
"line": 79,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " => reset d accordingly",
"start": 2381,
"end": 2407,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 34
}
}
},
{
"type": "CommentLine",
"value": " *)=> if d doesn't delete anything anymore, go to next d (continue)",
"start": 2416,
"end": 2486,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 81,
"column": 78
}
}
},
{
"type": "CommentLine",
"value": " 3. not 2) and d deletes something that also n deletes",
"start": 2495,
"end": 2551,
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 82,
"column": 64
}
}
},
{
"type": "CommentLine",
"value": " => reset d so that it doesn't contain n's deletion",
"start": 2560,
"end": 2614,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 62
}
}
},
{
"type": "CommentLine",
"value": " *)=> if d does not delete anything anymore, go to next d (continue)",
"start": 2623,
"end": 2694,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 79
}
}
}
]
}
],
"directives": []
}
}
],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " TODO: It would be more performant to apply the deletes in the above loop",
"start": 3826,
"end": 3901,
"loc": {
"start": {
"line": 116,
"column": 6
},
"end": {
"line": 116,
"column": 81
}
}
},
{
"type": "CommentLine",
"value": " Adapt the Tree implementation to support delete while iterating",
"start": 3908,
"end": 3974,
"loc": {
"start": {
"line": 117,
"column": 6
},
"end": {
"line": 117,
"column": 72
}
}
}
]
},
{
"type": "ForStatement",
"start": 3981,
"end": 4128,
"loc": {
"start": {
"line": 118,
"column": 6
},
"end": {
"line": 121,
"column": 7
}
},
"init": {
"type": "VariableDeclaration",
"start": 3986,
"end": 4014,
"loc": {
"start": {
"line": 118,
"column": 11
},
"end": {
"line": 118,
"column": 39
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3990,
"end": 4014,
"loc": {
"start": {
"line": 118,
"column": 15
},
"end": {
"line": 118,
"column": 39
}
},
"id": {
"type": "Identifier",
"start": 3990,
"end": 3991,
"loc": {
"start": {
"line": 118,
"column": 15
},
"end": {
"line": 118,
"column": 16
},
"identifierName": "i"
},
"name": "i",
"leadingComments": null
},
"init": {
"type": "BinaryExpression",
"start": 3994,
"end": 4014,
"loc": {
"start": {
"line": 118,
"column": 19
},
"end": {
"line": 118,
"column": 39
}
},
"left": {
"type": "MemberExpression",
"start": 3994,
"end": 4010,
"loc": {
"start": {
"line": 118,
"column": 19
},
"end": {
"line": 118,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 3994,
"end": 4003,
"loc": {
"start": {
"line": 118,
"column": 19
},
"end": {
"line": 118,
"column": 28
},
"identifierName": "deletions"
},
"name": "deletions"
},
"property": {
"type": "Identifier",
"start": 4004,
"end": 4010,
"loc": {
"start": {
"line": 118,
"column": 29
},
"end": {
"line": 118,
"column": 35
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"operator": "-",
"right": {
"type": "NumericLiteral",
"start": 4013,
"end": 4014,
"loc": {
"start": {
"line": 118,
"column": 38
},
"end": {
"line": 118,
"column": 39
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": null
},
"test": {
"type": "BinaryExpression",
"start": 4016,
"end": 4022,
"loc": {
"start": {
"line": 118,
"column": 41
},
"end": {
"line": 118,
"column": 47
}
},
"left": {
"type": "Identifier",
"start": 4016,
"end": 4017,
"loc": {
"start": {
"line": 118,
"column": 41
},
"end": {
"line": 118,
"column": 42
},
"identifierName": "i"
},
"name": "i"
},
"operator": ">=",
"right": {
"type": "NumericLiteral",
"start": 4021,
"end": 4022,
"loc": {
"start": {
"line": 118,
"column": 46
},
"end": {
"line": 118,
"column": 47
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
},
"update": {
"type": "UpdateExpression",
"start": 4024,
"end": 4027,
"loc": {
"start": {
"line": 118,
"column": 49
},
"end": {
"line": 118,
"column": 52
}
},
"operator": "--",
"prefix": false,
"argument": {
"type": "Identifier",
"start": 4024,
"end": 4025,
"loc": {
"start": {
"line": 118,
"column": 49
},
"end": {
"line": 118,
"column": 50
},
"identifierName": "i"
},
"name": "i"
}
},
"body": {
"type": "BlockStatement",
"start": 4029,
"end": 4128,
"loc": {
"start": {
"line": 118,
"column": 54
},
"end": {
"line": 121,
"column": 7
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 4039,
"end": 4063,
"loc": {
"start": {
"line": 119,
"column": 8
},
"end": {
"line": 119,
"column": 32
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4045,
"end": 4063,
"loc": {
"start": {
"line": 119,
"column": 14
},
"end": {
"line": 119,
"column": 32
}
},
"id": {
"type": "Identifier",
"start": 4045,
"end": 4048,
"loc": {
"start": {
"line": 119,
"column": 14
},
"end": {
"line": 119,
"column": 17
},
"identifierName": "del"
},
"name": "del"
},
"init": {
"type": "MemberExpression",
"start": 4051,
"end": 4063,
"loc": {
"start": {
"line": 119,
"column": 20
},
"end": {
"line": 119,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 4051,
"end": 4060,
"loc": {
"start": {
"line": 119,
"column": 20
},
"end": {
"line": 119,
"column": 29
},
"identifierName": "deletions"
},
"name": "deletions"
},
"property": {
"type": "Identifier",
"start": 4061,
"end": 4062,
"loc": {
"start": {
"line": 119,
"column": 30
},
"end": {
"line": 119,
"column": 31
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 4072,
"end": 4120,
"loc": {
"start": {
"line": 120,
"column": 8
},
"end": {
"line": 120,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 4072,
"end": 4120,
"loc": {
"start": {
"line": 120,
"column": 8
},
"end": {
"line": 120,
"column": 56
}
},
"callee": {
"type": "Identifier",
"start": 4072,
"end": 4087,
"loc": {
"start": {
"line": 120,
"column": 8
},
"end": {
"line": 120,
"column": 23
},
"identifierName": "deleteItemRange"
},
"name": "deleteItemRange"
},
"arguments": [
{
"type": "Identifier",
"start": 4088,
"end": 4089,
"loc": {
"start": {
"line": 120,
"column": 24
},
"end": {
"line": 120,
"column": 25
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "MemberExpression",
"start": 4091,
"end": 4097,
"loc": {
"start": {
"line": 120,
"column": 27
},
"end": {
"line": 120,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 4091,
"end": 4094,
"loc": {
"start": {
"line": 120,
"column": 27
},
"end": {
"line": 120,
"column": 30
},
"identifierName": "del"
},
"name": "del"
},
"property": {
"type": "NumericLiteral",
"start": 4095,
"end": 4096,
"loc": {
"start": {
"line": 120,
"column": 31
},
"end": {
"line": 120,
"column": 32
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
{
"type": "MemberExpression",
"start": 4099,
"end": 4105,
"loc": {
"start": {
"line": 120,
"column": 35
},
"end": {
"line": 120,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 4099,
"end": 4102,
"loc": {
"start": {
"line": 120,
"column": 35
},
"end": {
"line": 120,
"column": 38
},
"identifierName": "del"
},
"name": "del"
},
"property": {
"type": "NumericLiteral",
"start": 4103,
"end": 4104,
"loc": {
"start": {
"line": 120,
"column": 39
},
"end": {
"line": 120,
"column": 40
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
{
"type": "MemberExpression",
"start": 4107,
"end": 4113,
"loc": {
"start": {
"line": 120,
"column": 43
},
"end": {
"line": 120,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 4107,
"end": 4110,
"loc": {
"start": {
"line": 120,
"column": 43
},
"end": {
"line": 120,
"column": 46
},
"identifierName": "del"
},
"name": "del"
},
"property": {
"type": "NumericLiteral",
"start": 4111,
"end": 4112,
"loc": {
"start": {
"line": 120,
"column": 47
},
"end": {
"line": 120,
"column": 48
}
},
"extra": {
"rawValue": 2,
"raw": "2"
},
"value": 2
},
"computed": true
},
{
"type": "BooleanLiteral",
"start": 4115,
"end": 4119,
"loc": {
"start": {
"line": 120,
"column": 51
},
"end": {
"line": 120,
"column": 55
}
},
"value": true
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " TODO: It would be more performant to apply the deletes in the above loop",
"start": 3826,
"end": 3901,
"loc": {
"start": {
"line": 116,
"column": 6
},
"end": {
"line": 116,
"column": 81
}
}
},
{
"type": "CommentLine",
"value": " Adapt the Tree implementation to support delete while iterating",
"start": 3908,
"end": 3974,
"loc": {
"start": {
"line": 117,
"column": 6
},
"end": {
"line": 117,
"column": 72
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " for the rest.. just apply it",
"start": 4135,
"end": 4166,
"loc": {
"start": {
"line": 122,
"column": 6
},
"end": {
"line": 122,
"column": 37
}
}
}
]
},
{
"type": "ForStatement",
"start": 4173,
"end": 4336,
"loc": {
"start": {
"line": 123,
"column": 6
},
"end": {
"line": 127,
"column": 7
}
},
"init": null,
"test": {
"type": "BinaryExpression",
"start": 4180,
"end": 4195,
"loc": {
"start": {
"line": 123,
"column": 13
},
"end": {
"line": 123,
"column": 28
}
},
"left": {
"type": "Identifier",
"start": 4180,
"end": 4183,
"loc": {
"start": {
"line": 123,
"column": 13
},
"end": {
"line": 123,
"column": 16
},
"identifierName": "pos"
},
"name": "pos",
"leadingComments": null
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 4186,
"end": 4195,
"loc": {
"start": {
"line": 123,
"column": 19
},
"end": {
"line": 123,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 4186,
"end": 4188,
"loc": {
"start": {
"line": 123,
"column": 19
},
"end": {
"line": 123,
"column": 21
},
"identifierName": "dv"
},
"name": "dv"
},
"property": {
"type": "Identifier",
"start": 4189,
"end": 4195,
"loc": {
"start": {
"line": 123,
"column": 22
},
"end": {
"line": 123,
"column": 28
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
},
"leadingComments": null
},
"update": {
"type": "UpdateExpression",
"start": 4197,
"end": 4202,
"loc": {
"start": {
"line": 123,
"column": 30
},
"end": {
"line": 123,
"column": 35
}
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"start": 4197,
"end": 4200,
"loc": {
"start": {
"line": 123,
"column": 30
},
"end": {
"line": 123,
"column": 33
},
"identifierName": "pos"
},
"name": "pos"
}
},
"body": {
"type": "BlockStatement",
"start": 4204,
"end": 4336,
"loc": {
"start": {
"line": 123,
"column": 37
},
"end": {
"line": 127,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 4214,
"end": 4225,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 19
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4214,
"end": 4225,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 19
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 4214,
"end": 4215,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 9
},
"identifierName": "d"
},
"name": "d"
},
"right": {
"type": "MemberExpression",
"start": 4218,
"end": 4225,
"loc": {
"start": {
"line": 124,
"column": 12
},
"end": {
"line": 124,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 4218,
"end": 4220,
"loc": {
"start": {
"line": 124,
"column": 12
},
"end": {
"line": 124,
"column": 14
},
"identifierName": "dv"
},
"name": "dv"
},
"property": {
"type": "Identifier",
"start": 4221,
"end": 4224,
"loc": {
"start": {
"line": 124,
"column": 15
},
"end": {
"line": 124,
"column": 18
},
"identifierName": "pos"
},
"name": "pos"
},
"computed": true
}
}
},
{
"type": "ExpressionStatement",
"start": 4234,
"end": 4276,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 50
}
},
"expression": {
"type": "CallExpression",
"start": 4234,
"end": 4276,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 50
}
},
"callee": {
"type": "Identifier",
"start": 4234,
"end": 4249,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 23
},
"identifierName": "deleteItemRange"
},
"name": "deleteItemRange"
},
"arguments": [
{
"type": "Identifier",
"start": 4250,
"end": 4251,
"loc": {
"start": {
"line": 125,
"column": 24
},
"end": {
"line": 125,
"column": 25
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 4253,
"end": 4257,
"loc": {
"start": {
"line": 125,
"column": 27
},
"end": {
"line": 125,
"column": 31
},
"identifierName": "user"
},
"name": "user"
},
{
"type": "MemberExpression",
"start": 4259,
"end": 4263,
"loc": {
"start": {
"line": 125,
"column": 33
},
"end": {
"line": 125,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 4259,
"end": 4260,
"loc": {
"start": {
"line": 125,
"column": 33
},
"end": {
"line": 125,
"column": 34
},
"identifierName": "d"
},
"name": "d"
},
"property": {
"type": "NumericLiteral",
"start": 4261,
"end": 4262,
"loc": {
"start": {
"line": 125,
"column": 35
},
"end": {
"line": 125,
"column": 36
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
{
"type": "MemberExpression",
"start": 4265,
"end": 4269,
"loc": {
"start": {
"line": 125,
"column": 39
},
"end": {
"line": 125,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 4265,
"end": 4266,
"loc": {
"start": {
"line": 125,
"column": 39
},
"end": {
"line": 125,
"column": 40
},
"identifierName": "d"
},
"name": "d"
},
"property": {
"type": "NumericLiteral",
"start": 4267,
"end": 4268,
"loc": {
"start": {
"line": 125,
"column": 41
},
"end": {
"line": 125,
"column": 42
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
{
"type": "BooleanLiteral",
"start": 4271,
"end": 4275,
"loc": {
"start": {
"line": 125,
"column": 45
},
"end": {
"line": 125,
"column": 49
}
},
"value": true
}
],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " deletions.push([user, d[0], d[1], d[2]])",
"start": 4285,
"end": 4328,
"loc": {
"start": {
"line": 126,
"column": 8
},
"end": {
"line": 126,
"column": 51
}
}
}
]
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " for the rest.. just apply it",
"start": 4135,
"end": 4166,
"loc": {
"start": {
"line": 122,
"column": 6
},
"end": {
"line": 122,
"column": 37
}
}
}
]
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
],
"directives": []
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentLine",
"value": " a new user was found",
"start": 991,
"end": 1014,
"loc": {
"start": {
"line": 36,
"column": 6
},
"end": {
"line": 36,
"column": 29
}
}
},
{
"type": "CommentLine",
"value": " happens on first iteration",
"start": 1049,
"end": 1078,
"loc": {
"start": {
"line": 37,
"column": 34
},
"end": {
"line": 37,
"column": 63
}
}
},
{
"type": "CommentLine",
"value": " pseudo-fill pos",
"start": 1204,
"end": 1222,
"loc": {
"start": {
"line": 42,
"column": 6
},
"end": {
"line": 42,
"column": 24
}
}
},
{
"type": "CommentLine",
"value": " happens on first iteration",
"start": 1465,
"end": 1494,
"loc": {
"start": {
"line": 52,
"column": 30
},
"end": {
"line": 52,
"column": 59
}
}
},
{
"type": "CommentLine",
"value": " cases:",
"start": 2192,
"end": 2201,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " 1. d deletes something to the right of n",
"start": 2210,
"end": 2253,
"loc": {
"start": {
"line": 76,
"column": 8
},
"end": {
"line": 76,
"column": 51
}
}
},
{
"type": "CommentLine",
"value": " => go to next n (break)",
"start": 2262,
"end": 2289,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 35
}
}
},
{
"type": "CommentLine",
"value": " 2. d deletes something to the left of n",
"start": 2298,
"end": 2340,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 50
}
}
},
{
"type": "CommentLine",
"value": " => create deletions",
"start": 2349,
"end": 2372,
"loc": {
"start": {
"line": 79,
"column": 8
},
"end": {
"line": 79,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " => reset d accordingly",
"start": 2381,
"end": 2407,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 34
}
}
},
{
"type": "CommentLine",
"value": " *)=> if d doesn't delete anything anymore, go to next d (continue)",
"start": 2416,
"end": 2486,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 81,
"column": 78
}
}
},
{
"type": "CommentLine",
"value": " 3. not 2) and d deletes something that also n deletes",
"start": 2495,
"end": 2551,
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 82,
"column": 64
}
}
},
{
"type": "CommentLine",
"value": " => reset d so that it doesn't contain n's deletion",
"start": 2560,
"end": 2614,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 62
}
}
},
{
"type": "CommentLine",
"value": " *)=> if d does not delete anything anymore, go to next d (continue)",
"start": 2623,
"end": 2694,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 79
}
}
},
{
"type": "CommentLine",
"value": " describe the diff of length in 1) and 2)",
"start": 2746,
"end": 2789,
"loc": {
"start": {
"line": 86,
"column": 23
},
"end": {
"line": 86,
"column": 66
}
}
},
{
"type": "CommentLine",
"value": " 1)",
"start": 2847,
"end": 2852,
"loc": {
"start": {
"line": 88,
"column": 12
},
"end": {
"line": 88,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " 2)",
"start": 2926,
"end": 2931,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " delete maximum the len of d",
"start": 2944,
"end": 2974,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 92,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " else delete as much as possible",
"start": 2987,
"end": 3021,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 46
}
}
},
{
"type": "CommentLine",
"value": " deleteItemRange(y, user, d[0], diff, true)",
"start": 3088,
"end": 3133,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 57
}
}
},
{
"type": "CommentLine",
"value": " 3)",
"start": 3212,
"end": 3217,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " never null (see 1)",
"start": 3264,
"end": 3285,
"loc": {
"start": {
"line": 99,
"column": 46
},
"end": {
"line": 99,
"column": 67
}
}
},
{
"type": "CommentLine",
"value": " d marks as gc'd but n does not",
"start": 3333,
"end": 3366,
"loc": {
"start": {
"line": 101,
"column": 14
},
"end": {
"line": 101,
"column": 47
}
}
},
{
"type": "CommentLine",
"value": " then delete either way",
"start": 3381,
"end": 3406,
"loc": {
"start": {
"line": 102,
"column": 14
},
"end": {
"line": 102,
"column": 39
}
}
},
{
"type": "CommentLine",
"value": " deleteItemRange(y, user, d[0], Math.min(diff, d[1]), true)",
"start": 3421,
"end": 3482,
"loc": {
"start": {
"line": 103,
"column": 14
},
"end": {
"line": 103,
"column": 75
}
}
},
{
"type": "CommentLine",
"value": " d doesn't delete anything anymore",
"start": 3616,
"end": 3652,
"loc": {
"start": {
"line": 108,
"column": 12
},
"end": {
"line": 108,
"column": 48
}
}
},
{
"type": "CommentLine",
"value": " reset pos",
"start": 3729,
"end": 3741,
"loc": {
"start": {
"line": 111,
"column": 31
},
"end": {
"line": 111,
"column": 43
}
}
},
{
"type": "CommentLine",
"value": " reset length",
"start": 3773,
"end": 3788,
"loc": {
"start": {
"line": 112,
"column": 31
},
"end": {
"line": 112,
"column": 46
}
}
},
{
"type": "CommentLine",
"value": " TODO: It would be more performant to apply the deletes in the above loop",
"start": 3826,
"end": 3901,
"loc": {
"start": {
"line": 116,
"column": 6
},
"end": {
"line": 116,
"column": 81
}
}
},
{
"type": "CommentLine",
"value": " Adapt the Tree implementation to support delete while iterating",
"start": 3908,
"end": 3974,
"loc": {
"start": {
"line": 117,
"column": 6
},
"end": {
"line": 117,
"column": 72
}
}
},
{
"type": "CommentLine",
"value": " for the rest.. just apply it",
"start": 4135,
"end": 4166,
"loc": {
"start": {
"line": 122,
"column": 6
},
"end": {
"line": 122,
"column": 37
}
}
},
{
"type": "CommentLine",
"value": " deletions.push([user, d[0], d[1], d[2]])",
"start": 4285,
"end": 4328,
"loc": {
"start": {
"line": 126,
"column": 8
},
"end": {
"line": 126,
"column": 51
}
}
}
],
"tokens": [
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deleteItemRange",
"start": 9,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 25,
"end": 26,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 27,
"end": 31,
"loc": {
"start": {
"line": 1,
"column": 27
},
"end": {
"line": 1,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../Struct/Delete.js",
"start": 32,
"end": 53,
"loc": {
"start": {
"line": 1,
"column": 32
},
"end": {
"line": 1,
"column": 53
}
}
},
{
"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": 54,
"end": 60,
"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": 61,
"end": 63,
"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": 64,
"end": 68,
"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": 69,
"end": 87,
"loc": {
"start": {
"line": 2,
"column": 15
},
"end": {
"line": 2,
"column": 33
}
}
},
{
"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": 89,
"end": 95,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"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": 96,
"end": 104,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stringifyDeleteSet",
"start": 105,
"end": 123,
"loc": {
"start": {
"line": 4,
"column": 16
},
"end": {
"line": 4,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 124,
"end": 125,
"loc": {
"start": {
"line": 4,
"column": 35
},
"end": {
"line": 4,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 125,
"end": 126,
"loc": {
"start": {
"line": 4,
"column": 36
},
"end": {
"line": 4,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 126,
"end": 127,
"loc": {
"start": {
"line": 4,
"column": 37
},
"end": {
"line": 4,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 128,
"end": 135,
"loc": {
"start": {
"line": 4,
"column": 39
},
"end": {
"line": 4,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 135,
"end": 136,
"loc": {
"start": {
"line": 4,
"column": 46
},
"end": {
"line": 4,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "strBuilder",
"start": 137,
"end": 147,
"loc": {
"start": {
"line": 4,
"column": 48
},
"end": {
"line": 4,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 147,
"end": 148,
"loc": {
"start": {
"line": 4,
"column": 58
},
"end": {
"line": 4,
"column": 59
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 149,
"end": 150,
"loc": {
"start": {
"line": 4,
"column": 60
},
"end": {
"line": 4,
"column": 61
}
}
},
{
"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": 153,
"end": 156,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 5,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dsLength",
"start": 157,
"end": 165,
"loc": {
"start": {
"line": 5,
"column": 6
},
"end": {
"line": 5,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 166,
"end": 167,
"loc": {
"start": {
"line": 5,
"column": 15
},
"end": {
"line": 5,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 168,
"end": 175,
"loc": {
"start": {
"line": 5,
"column": 17
},
"end": {
"line": 5,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 175,
"end": 176,
"loc": {
"start": {
"line": 5,
"column": 24
},
"end": {
"line": 5,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readUint32",
"start": 176,
"end": 186,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 5,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 186,
"end": 187,
"loc": {
"start": {
"line": 5,
"column": 35
},
"end": {
"line": 5,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 187,
"end": 188,
"loc": {
"start": {
"line": 5,
"column": 36
},
"end": {
"line": 5,
"column": 37
}
}
},
{
"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": 191,
"end": 194,
"loc": {
"start": {
"line": 6,
"column": 2
},
"end": {
"line": 6,
"column": 5
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 195,
"end": 196,
"loc": {
"start": {
"line": 6,
"column": 6
},
"end": {
"line": 6,
"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": 196,
"end": 199,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 200,
"end": 201,
"loc": {
"start": {
"line": 6,
"column": 11
},
"end": {
"line": 6,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 202,
"end": 203,
"loc": {
"start": {
"line": 6,
"column": 13
},
"end": {
"line": 6,
"column": 14
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 204,
"end": 205,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 16
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 205,
"end": 206,
"loc": {
"start": {
"line": 6,
"column": 16
},
"end": {
"line": 6,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 207,
"end": 208,
"loc": {
"start": {
"line": 6,
"column": 18
},
"end": {
"line": 6,
"column": 19
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 209,
"end": 210,
"loc": {
"start": {
"line": 6,
"column": 20
},
"end": {
"line": 6,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dsLength",
"start": 211,
"end": 219,
"loc": {
"start": {
"line": 6,
"column": 22
},
"end": {
"line": 6,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 219,
"end": 220,
"loc": {
"start": {
"line": 6,
"column": 30
},
"end": {
"line": 6,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 221,
"end": 222,
"loc": {
"start": {
"line": 6,
"column": 32
},
"end": {
"line": 6,
"column": 33
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 222,
"end": 224,
"loc": {
"start": {
"line": 6,
"column": 33
},
"end": {
"line": 6,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 224,
"end": 225,
"loc": {
"start": {
"line": 6,
"column": 35
},
"end": {
"line": 6,
"column": 36
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 226,
"end": 227,
"loc": {
"start": {
"line": 6,
"column": 37
},
"end": {
"line": 6,
"column": 38
}
}
},
{
"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": 232,
"end": 235,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 236,
"end": 240,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 241,
"end": 242,
"loc": {
"start": {
"line": 7,
"column": 13
},
"end": {
"line": 7,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 243,
"end": 250,
"loc": {
"start": {
"line": 7,
"column": 15
},
"end": {
"line": 7,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 250,
"end": 251,
"loc": {
"start": {
"line": 7,
"column": 22
},
"end": {
"line": 7,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readVarUint",
"start": 251,
"end": 262,
"loc": {
"start": {
"line": 7,
"column": 23
},
"end": {
"line": 7,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 262,
"end": 263,
"loc": {
"start": {
"line": 7,
"column": 34
},
"end": {
"line": 7,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 263,
"end": 264,
"loc": {
"start": {
"line": 7,
"column": 35
},
"end": {
"line": 7,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "strBuilder",
"start": 269,
"end": 279,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 279,
"end": 280,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 8,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 280,
"end": 284,
"loc": {
"start": {
"line": 8,
"column": 15
},
"end": {
"line": 8,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 284,
"end": 285,
"loc": {
"start": {
"line": 8,
"column": 19
},
"end": {
"line": 8,
"column": 20
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": " -",
"start": 285,
"end": 289,
"loc": {
"start": {
"line": 8,
"column": 20
},
"end": {
"line": 8,
"column": 24
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 290,
"end": 291,
"loc": {
"start": {
"line": 8,
"column": 25
},
"end": {
"line": 8,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 292,
"end": 296,
"loc": {
"start": {
"line": 8,
"column": 27
},
"end": {
"line": 8,
"column": 31
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 297,
"end": 298,
"loc": {
"start": {
"line": 8,
"column": 32
},
"end": {
"line": 8,
"column": 33
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ":",
"start": 299,
"end": 302,
"loc": {
"start": {
"line": 8,
"column": 34
},
"end": {
"line": 8,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 302,
"end": 303,
"loc": {
"start": {
"line": 8,
"column": 37
},
"end": {
"line": 8,
"column": 38
}
}
},
{
"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": 308,
"end": 311,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dvLength",
"start": 312,
"end": 320,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 321,
"end": 322,
"loc": {
"start": {
"line": 9,
"column": 17
},
"end": {
"line": 9,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 323,
"end": 330,
"loc": {
"start": {
"line": 9,
"column": 19
},
"end": {
"line": 9,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 330,
"end": 331,
"loc": {
"start": {
"line": 9,
"column": 26
},
"end": {
"line": 9,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readVarUint",
"start": 331,
"end": 342,
"loc": {
"start": {
"line": 9,
"column": 27
},
"end": {
"line": 9,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 342,
"end": 343,
"loc": {
"start": {
"line": 9,
"column": 38
},
"end": {
"line": 9,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 343,
"end": 344,
"loc": {
"start": {
"line": 9,
"column": 39
},
"end": {
"line": 9,
"column": 40
}
}
},
{
"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": 349,
"end": 352,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 7
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 353,
"end": 354,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 9
}
}
},
{
"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": 354,
"end": 357,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "j",
"start": 358,
"end": 359,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 360,
"end": 361,
"loc": {
"start": {
"line": 10,
"column": 15
},
"end": {
"line": 10,
"column": 16
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 362,
"end": 363,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 363,
"end": 364,
"loc": {
"start": {
"line": 10,
"column": 18
},
"end": {
"line": 10,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "j",
"start": 365,
"end": 366,
"loc": {
"start": {
"line": 10,
"column": 20
},
"end": {
"line": 10,
"column": 21
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 367,
"end": 368,
"loc": {
"start": {
"line": 10,
"column": 22
},
"end": {
"line": 10,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dvLength",
"start": 369,
"end": 377,
"loc": {
"start": {
"line": 10,
"column": 24
},
"end": {
"line": 10,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 377,
"end": 378,
"loc": {
"start": {
"line": 10,
"column": 32
},
"end": {
"line": 10,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "j",
"start": 379,
"end": 380,
"loc": {
"start": {
"line": 10,
"column": 34
},
"end": {
"line": 10,
"column": 35
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 380,
"end": 382,
"loc": {
"start": {
"line": 10,
"column": 35
},
"end": {
"line": 10,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 382,
"end": 383,
"loc": {
"start": {
"line": 10,
"column": 37
},
"end": {
"line": 10,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 384,
"end": 385,
"loc": {
"start": {
"line": 10,
"column": 39
},
"end": {
"line": 10,
"column": 40
}
}
},
{
"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": 392,
"end": 395,
"loc": {
"start": {
"line": 11,
"column": 6
},
"end": {
"line": 11,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 396,
"end": 400,
"loc": {
"start": {
"line": 11,
"column": 10
},
"end": {
"line": 11,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 401,
"end": 402,
"loc": {
"start": {
"line": 11,
"column": 15
},
"end": {
"line": 11,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 403,
"end": 410,
"loc": {
"start": {
"line": 11,
"column": 17
},
"end": {
"line": 11,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 410,
"end": 411,
"loc": {
"start": {
"line": 11,
"column": 24
},
"end": {
"line": 11,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readVarUint",
"start": 411,
"end": 422,
"loc": {
"start": {
"line": 11,
"column": 25
},
"end": {
"line": 11,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 422,
"end": 423,
"loc": {
"start": {
"line": 11,
"column": 36
},
"end": {
"line": 11,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 423,
"end": 424,
"loc": {
"start": {
"line": 11,
"column": 37
},
"end": {
"line": 11,
"column": 38
}
}
},
{
"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": 431,
"end": 434,
"loc": {
"start": {
"line": 12,
"column": 6
},
"end": {
"line": 12,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 435,
"end": 438,
"loc": {
"start": {
"line": 12,
"column": 10
},
"end": {
"line": 12,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 439,
"end": 440,
"loc": {
"start": {
"line": 12,
"column": 14
},
"end": {
"line": 12,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 441,
"end": 448,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 448,
"end": 449,
"loc": {
"start": {
"line": 12,
"column": 23
},
"end": {
"line": 12,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readVarUint",
"start": 449,
"end": 460,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 12,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 460,
"end": 461,
"loc": {
"start": {
"line": 12,
"column": 35
},
"end": {
"line": 12,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 461,
"end": 462,
"loc": {
"start": {
"line": 12,
"column": 36
},
"end": {
"line": 12,
"column": 37
}
}
},
{
"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": 469,
"end": 472,
"loc": {
"start": {
"line": 13,
"column": 6
},
"end": {
"line": 13,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gc",
"start": 473,
"end": 475,
"loc": {
"start": {
"line": 13,
"column": 10
},
"end": {
"line": 13,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 476,
"end": 477,
"loc": {
"start": {
"line": 13,
"column": 13
},
"end": {
"line": 13,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 478,
"end": 485,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 485,
"end": 486,
"loc": {
"start": {
"line": 13,
"column": 22
},
"end": {
"line": 13,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readUint8",
"start": 486,
"end": 495,
"loc": {
"start": {
"line": 13,
"column": 23
},
"end": {
"line": 13,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 495,
"end": 496,
"loc": {
"start": {
"line": 13,
"column": 32
},
"end": {
"line": 13,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 496,
"end": 497,
"loc": {
"start": {
"line": 13,
"column": 33
},
"end": {
"line": 13,
"column": 34
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 498,
"end": 501,
"loc": {
"start": {
"line": 13,
"column": 35
},
"end": {
"line": 13,
"column": 38
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 502,
"end": 503,
"loc": {
"start": {
"line": 13,
"column": 39
},
"end": {
"line": 13,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "strBuilder",
"start": 510,
"end": 520,
"loc": {
"start": {
"line": 14,
"column": 6
},
"end": {
"line": 14,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 520,
"end": 521,
"loc": {
"start": {
"line": 14,
"column": 16
},
"end": {
"line": 14,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 521,
"end": 525,
"loc": {
"start": {
"line": 14,
"column": 17
},
"end": {
"line": 14,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 525,
"end": 526,
"loc": {
"start": {
"line": 14,
"column": 21
},
"end": {
"line": 14,
"column": 22
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 526,
"end": 527,
"loc": {
"start": {
"line": 14,
"column": 22
},
"end": {
"line": 14,
"column": 23
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "clock: ",
"start": 527,
"end": 534,
"loc": {
"start": {
"line": 14,
"column": 23
},
"end": {
"line": 14,
"column": 30
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 534,
"end": 536,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 536,
"end": 540,
"loc": {
"start": {
"line": 14,
"column": 32
},
"end": {
"line": 14,
"column": 36
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 540,
"end": 541,
"loc": {
"start": {
"line": 14,
"column": 36
},
"end": {
"line": 14,
"column": 37
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ", length: ",
"start": 541,
"end": 551,
"loc": {
"start": {
"line": 14,
"column": 37
},
"end": {
"line": 14,
"column": 47
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 551,
"end": 553,
"loc": {
"start": {
"line": 14,
"column": 47
},
"end": {
"line": 14,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 553,
"end": 556,
"loc": {
"start": {
"line": 14,
"column": 49
},
"end": {
"line": 14,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 556,
"end": 557,
"loc": {
"start": {
"line": 14,
"column": 52
},
"end": {
"line": 14,
"column": 53
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ", gc: ",
"start": 557,
"end": 563,
"loc": {
"start": {
"line": 14,
"column": 53
},
"end": {
"line": 14,
"column": 59
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 563,
"end": 565,
"loc": {
"start": {
"line": 14,
"column": 59
},
"end": {
"line": 14,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gc",
"start": 565,
"end": 567,
"loc": {
"start": {
"line": 14,
"column": 61
},
"end": {
"line": 14,
"column": 63
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 567,
"end": 568,
"loc": {
"start": {
"line": 14,
"column": 63
},
"end": {
"line": 14,
"column": 64
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "",
"start": 568,
"end": 568,
"loc": {
"start": {
"line": 14,
"column": 64
},
"end": {
"line": 14,
"column": 64
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 568,
"end": 569,
"loc": {
"start": {
"line": 14,
"column": 64
},
"end": {
"line": 14,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 569,
"end": 570,
"loc": {
"start": {
"line": 14,
"column": 65
},
"end": {
"line": 14,
"column": 66
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 575,
"end": 576,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 579,
"end": 580,
"loc": {
"start": {
"line": 16,
"column": 2
},
"end": {
"line": 16,
"column": 3
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 583,
"end": 589,
"loc": {
"start": {
"line": 17,
"column": 2
},
"end": {
"line": 17,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "strBuilder",
"start": 590,
"end": 600,
"loc": {
"start": {
"line": 17,
"column": 9
},
"end": {
"line": 17,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 601,
"end": 602,
"loc": {
"start": {
"line": 18,
"column": 0
},
"end": {
"line": 18,
"column": 1
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 604,
"end": 610,
"loc": {
"start": {
"line": 20,
"column": 0
},
"end": {
"line": 20,
"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": 611,
"end": 619,
"loc": {
"start": {
"line": 20,
"column": 7
},
"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": "writeDeleteSet",
"start": 620,
"end": 634,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 635,
"end": 636,
"loc": {
"start": {
"line": 20,
"column": 31
},
"end": {
"line": 20,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 636,
"end": 637,
"loc": {
"start": {
"line": 20,
"column": 32
},
"end": {
"line": 20,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 637,
"end": 638,
"loc": {
"start": {
"line": 20,
"column": 33
},
"end": {
"line": 20,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 639,
"end": 646,
"loc": {
"start": {
"line": 20,
"column": 35
},
"end": {
"line": 20,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 646,
"end": 647,
"loc": {
"start": {
"line": 20,
"column": 42
},
"end": {
"line": 20,
"column": 43
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 648,
"end": 649,
"loc": {
"start": {
"line": 20,
"column": 44
},
"end": {
"line": 20,
"column": 45
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 652,
"end": 655,
"loc": {
"start": {
"line": 21,
"column": 2
},
"end": {
"line": 21,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentUser",
"start": 656,
"end": 667,
"loc": {
"start": {
"line": 21,
"column": 6
},
"end": {
"line": 21,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 668,
"end": 669,
"loc": {
"start": {
"line": 21,
"column": 18
},
"end": {
"line": 21,
"column": 19
}
}
},
{
"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": 670,
"end": 674,
"loc": {
"start": {
"line": 21,
"column": 20
},
"end": {
"line": 21,
"column": 24
}
}
},
{
"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": 677,
"end": 680,
"loc": {
"start": {
"line": 22,
"column": 2
},
"end": {
"line": 22,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentLength",
"start": 681,
"end": 694,
"loc": {
"start": {
"line": 22,
"column": 6
},
"end": {
"line": 22,
"column": 19
}
}
},
{
"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": 697,
"end": 700,
"loc": {
"start": {
"line": 23,
"column": 2
},
"end": {
"line": 23,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastLenPos",
"start": 701,
"end": 711,
"loc": {
"start": {
"line": 23,
"column": 6
},
"end": {
"line": 23,
"column": 16
}
}
},
{
"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": 715,
"end": 718,
"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": "numberOfUsers",
"start": 719,
"end": 732,
"loc": {
"start": {
"line": 25,
"column": 6
},
"end": {
"line": 25,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 733,
"end": 734,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 21
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 735,
"end": 736,
"loc": {
"start": {
"line": 25,
"column": 22
},
"end": {
"line": 25,
"column": 23
}
}
},
{
"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": 739,
"end": 742,
"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": "laterDSLenPus",
"start": 743,
"end": 756,
"loc": {
"start": {
"line": 26,
"column": 6
},
"end": {
"line": 26,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 757,
"end": 758,
"loc": {
"start": {
"line": 26,
"column": 20
},
"end": {
"line": 26,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 759,
"end": 766,
"loc": {
"start": {
"line": 26,
"column": 22
},
"end": {
"line": 26,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 766,
"end": 767,
"loc": {
"start": {
"line": 26,
"column": 29
},
"end": {
"line": 26,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 767,
"end": 770,
"loc": {
"start": {
"line": 26,
"column": 30
},
"end": {
"line": 26,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 773,
"end": 780,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 27,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 780,
"end": 781,
"loc": {
"start": {
"line": 27,
"column": 9
},
"end": {
"line": 27,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeUint32",
"start": 781,
"end": 792,
"loc": {
"start": {
"line": 27,
"column": 10
},
"end": {
"line": 27,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 792,
"end": 793,
"loc": {
"start": {
"line": 27,
"column": 21
},
"end": {
"line": 27,
"column": 22
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 793,
"end": 794,
"loc": {
"start": {
"line": 27,
"column": 22
},
"end": {
"line": 27,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 794,
"end": 795,
"loc": {
"start": {
"line": 27,
"column": 23
},
"end": {
"line": 27,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 799,
"end": 800,
"loc": {
"start": {
"line": 29,
"column": 2
},
"end": {
"line": 29,
"column": 3
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 800,
"end": 801,
"loc": {
"start": {
"line": 29,
"column": 3
},
"end": {
"line": 29,
"column": 4
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ds",
"start": 801,
"end": 803,
"loc": {
"start": {
"line": 29,
"column": 4
},
"end": {
"line": 29,
"column": 6
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 803,
"end": 804,
"loc": {
"start": {
"line": 29,
"column": 6
},
"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": "iterate",
"start": 804,
"end": 811,
"loc": {
"start": {
"line": 29,
"column": 7
},
"end": {
"line": 29,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 811,
"end": 812,
"loc": {
"start": {
"line": 29,
"column": 14
},
"end": {
"line": 29,
"column": 15
}
}
},
{
"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": 812,
"end": 816,
"loc": {
"start": {
"line": 29,
"column": 15
},
"end": {
"line": 29,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 816,
"end": 817,
"loc": {
"start": {
"line": 29,
"column": 19
},
"end": {
"line": 29,
"column": 20
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 818,
"end": 822,
"loc": {
"start": {
"line": 29,
"column": 21
},
"end": {
"line": 29,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 822,
"end": 823,
"loc": {
"start": {
"line": 29,
"column": 25
},
"end": {
"line": 29,
"column": 26
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 824,
"end": 832,
"loc": {
"start": {
"line": 29,
"column": 27
},
"end": {
"line": 29,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 833,
"end": 834,
"loc": {
"start": {
"line": 29,
"column": 36
},
"end": {
"line": 29,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 834,
"end": 835,
"loc": {
"start": {
"line": 29,
"column": 37
},
"end": {
"line": 29,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 835,
"end": 836,
"loc": {
"start": {
"line": 29,
"column": 38
},
"end": {
"line": 29,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 837,
"end": 838,
"loc": {
"start": {
"line": 29,
"column": 40
},
"end": {
"line": 29,
"column": 41
}
}
},
{
"type": {
"label": "var",
"keyword": "var",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "var",
"start": 843,
"end": 846,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 847,
"end": 851,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 852,
"end": 853,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 854,
"end": 855,
"loc": {
"start": {
"line": 30,
"column": 15
},
"end": {
"line": 30,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 855,
"end": 856,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 856,
"end": 859,
"loc": {
"start": {
"line": 30,
"column": 17
},
"end": {
"line": 30,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 859,
"end": 860,
"loc": {
"start": {
"line": 30,
"column": 20
},
"end": {
"line": 30,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 860,
"end": 864,
"loc": {
"start": {
"line": 30,
"column": 21
},
"end": {
"line": 30,
"column": 25
}
}
},
{
"type": {
"label": "var",
"keyword": "var",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "var",
"start": 869,
"end": 872,
"loc": {
"start": {
"line": 31,
"column": 4
},
"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": "clock",
"start": 873,
"end": 878,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 879,
"end": 880,
"loc": {
"start": {
"line": 31,
"column": 14
},
"end": {
"line": 31,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 881,
"end": 882,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 882,
"end": 883,
"loc": {
"start": {
"line": 31,
"column": 17
},
"end": {
"line": 31,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 883,
"end": 886,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 886,
"end": 887,
"loc": {
"start": {
"line": 31,
"column": 21
},
"end": {
"line": 31,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 887,
"end": 892,
"loc": {
"start": {
"line": 31,
"column": 22
},
"end": {
"line": 31,
"column": 27
}
}
},
{
"type": {
"label": "var",
"keyword": "var",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "var",
"start": 897,
"end": 900,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 901,
"end": 904,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 11
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 905,
"end": 906,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 907,
"end": 908,
"loc": {
"start": {
"line": 32,
"column": 14
},
"end": {
"line": 32,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 908,
"end": 909,
"loc": {
"start": {
"line": 32,
"column": 15
},
"end": {
"line": 32,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 909,
"end": 912,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 19
}
}
},
{
"type": {
"label": "var",
"keyword": "var",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "var",
"start": 917,
"end": 920,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gc",
"start": 921,
"end": 923,
"loc": {
"start": {
"line": 33,
"column": 8
},
"end": {
"line": 33,
"column": 10
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 924,
"end": 925,
"loc": {
"start": {
"line": 33,
"column": 11
},
"end": {
"line": 33,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 926,
"end": 927,
"loc": {
"start": {
"line": 33,
"column": 13
},
"end": {
"line": 33,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 927,
"end": 928,
"loc": {
"start": {
"line": 33,
"column": 14
},
"end": {
"line": 33,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gc",
"start": 928,
"end": 930,
"loc": {
"start": {
"line": 33,
"column": 15
},
"end": {
"line": 33,
"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": 935,
"end": 937,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 938,
"end": 939,
"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": "currentUser",
"start": 939,
"end": 950,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 19
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 951,
"end": 954,
"loc": {
"start": {
"line": 34,
"column": 20
},
"end": {
"line": 34,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 955,
"end": 959,
"loc": {
"start": {
"line": 34,
"column": 24
},
"end": {
"line": 34,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 959,
"end": 960,
"loc": {
"start": {
"line": 34,
"column": 28
},
"end": {
"line": 34,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 961,
"end": 962,
"loc": {
"start": {
"line": 34,
"column": 30
},
"end": {
"line": 34,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "numberOfUsers",
"start": 969,
"end": 982,
"loc": {
"start": {
"line": 35,
"column": 6
},
"end": {
"line": 35,
"column": 19
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 982,
"end": 984,
"loc": {
"start": {
"line": 35,
"column": 19
},
"end": {
"line": 35,
"column": 21
}
}
},
{
"type": "CommentLine",
"value": " a new user was found",
"start": 991,
"end": 1014,
"loc": {
"start": {
"line": 36,
"column": 6
},
"end": {
"line": 36,
"column": 29
}
}
},
{
"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": 1021,
"end": 1023,
"loc": {
"start": {
"line": 37,
"column": 6
},
"end": {
"line": 37,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1024,
"end": 1025,
"loc": {
"start": {
"line": 37,
"column": 9
},
"end": {
"line": 37,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentUser",
"start": 1025,
"end": 1036,
"loc": {
"start": {
"line": 37,
"column": 10
},
"end": {
"line": 37,
"column": 21
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 1037,
"end": 1040,
"loc": {
"start": {
"line": 37,
"column": 22
},
"end": {
"line": 37,
"column": 25
}
}
},
{
"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": 1041,
"end": 1045,
"loc": {
"start": {
"line": 37,
"column": 26
},
"end": {
"line": 37,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1045,
"end": 1046,
"loc": {
"start": {
"line": 37,
"column": 30
},
"end": {
"line": 37,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1047,
"end": 1048,
"loc": {
"start": {
"line": 37,
"column": 32
},
"end": {
"line": 37,
"column": 33
}
}
},
{
"type": "CommentLine",
"value": " happens on first iteration",
"start": 1049,
"end": 1078,
"loc": {
"start": {
"line": 37,
"column": 34
},
"end": {
"line": 37,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1087,
"end": 1094,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1094,
"end": 1095,
"loc": {
"start": {
"line": 38,
"column": 15
},
"end": {
"line": 38,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setUint32",
"start": 1095,
"end": 1104,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1104,
"end": 1105,
"loc": {
"start": {
"line": 38,
"column": 25
},
"end": {
"line": 38,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastLenPos",
"start": 1105,
"end": 1115,
"loc": {
"start": {
"line": 38,
"column": 26
},
"end": {
"line": 38,
"column": 36
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1115,
"end": 1116,
"loc": {
"start": {
"line": 38,
"column": 36
},
"end": {
"line": 38,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentLength",
"start": 1117,
"end": 1130,
"loc": {
"start": {
"line": 38,
"column": 38
},
"end": {
"line": 38,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1130,
"end": 1131,
"loc": {
"start": {
"line": 38,
"column": 51
},
"end": {
"line": 38,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1138,
"end": 1139,
"loc": {
"start": {
"line": 39,
"column": 6
},
"end": {
"line": 39,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentUser",
"start": 1146,
"end": 1157,
"loc": {
"start": {
"line": 40,
"column": 6
},
"end": {
"line": 40,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1158,
"end": 1159,
"loc": {
"start": {
"line": 40,
"column": 18
},
"end": {
"line": 40,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 1160,
"end": 1164,
"loc": {
"start": {
"line": 40,
"column": 20
},
"end": {
"line": 40,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1171,
"end": 1178,
"loc": {
"start": {
"line": 41,
"column": 6
},
"end": {
"line": 41,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1178,
"end": 1179,
"loc": {
"start": {
"line": 41,
"column": 13
},
"end": {
"line": 41,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeVarUint",
"start": 1179,
"end": 1191,
"loc": {
"start": {
"line": 41,
"column": 14
},
"end": {
"line": 41,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1191,
"end": 1192,
"loc": {
"start": {
"line": 41,
"column": 26
},
"end": {
"line": 41,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 1192,
"end": 1196,
"loc": {
"start": {
"line": 41,
"column": 27
},
"end": {
"line": 41,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1196,
"end": 1197,
"loc": {
"start": {
"line": 41,
"column": 31
},
"end": {
"line": 41,
"column": 32
}
}
},
{
"type": "CommentLine",
"value": " pseudo-fill pos",
"start": 1204,
"end": 1222,
"loc": {
"start": {
"line": 42,
"column": 6
},
"end": {
"line": 42,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastLenPos",
"start": 1229,
"end": 1239,
"loc": {
"start": {
"line": 43,
"column": 6
},
"end": {
"line": 43,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1240,
"end": 1241,
"loc": {
"start": {
"line": 43,
"column": 17
},
"end": {
"line": 43,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1242,
"end": 1249,
"loc": {
"start": {
"line": 43,
"column": 19
},
"end": {
"line": 43,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1249,
"end": 1250,
"loc": {
"start": {
"line": 43,
"column": 26
},
"end": {
"line": 43,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 1250,
"end": 1253,
"loc": {
"start": {
"line": 43,
"column": 27
},
"end": {
"line": 43,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1260,
"end": 1267,
"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": 1267,
"end": 1268,
"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": "writeUint32",
"start": 1268,
"end": 1279,
"loc": {
"start": {
"line": 44,
"column": 14
},
"end": {
"line": 44,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1279,
"end": 1280,
"loc": {
"start": {
"line": 44,
"column": 25
},
"end": {
"line": 44,
"column": 26
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1280,
"end": 1281,
"loc": {
"start": {
"line": 44,
"column": 26
},
"end": {
"line": 44,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1281,
"end": 1282,
"loc": {
"start": {
"line": 44,
"column": 27
},
"end": {
"line": 44,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentLength",
"start": 1289,
"end": 1302,
"loc": {
"start": {
"line": 45,
"column": 6
},
"end": {
"line": 45,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1303,
"end": 1304,
"loc": {
"start": {
"line": 45,
"column": 20
},
"end": {
"line": 45,
"column": 21
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1305,
"end": 1306,
"loc": {
"start": {
"line": 45,
"column": 22
},
"end": {
"line": 45,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1311,
"end": 1312,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1317,
"end": 1324,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1324,
"end": 1325,
"loc": {
"start": {
"line": 47,
"column": 11
},
"end": {
"line": 47,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeVarUint",
"start": 1325,
"end": 1337,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1337,
"end": 1338,
"loc": {
"start": {
"line": 47,
"column": 24
},
"end": {
"line": 47,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 1338,
"end": 1343,
"loc": {
"start": {
"line": 47,
"column": 25
},
"end": {
"line": 47,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1343,
"end": 1344,
"loc": {
"start": {
"line": 47,
"column": 30
},
"end": {
"line": 47,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1349,
"end": 1356,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 48,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1356,
"end": 1357,
"loc": {
"start": {
"line": 48,
"column": 11
},
"end": {
"line": 48,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeVarUint",
"start": 1357,
"end": 1369,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1369,
"end": 1370,
"loc": {
"start": {
"line": 48,
"column": 24
},
"end": {
"line": 48,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 1370,
"end": 1373,
"loc": {
"start": {
"line": 48,
"column": 25
},
"end": {
"line": 48,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1373,
"end": 1374,
"loc": {
"start": {
"line": 48,
"column": 28
},
"end": {
"line": 48,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1379,
"end": 1386,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 49,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1386,
"end": 1387,
"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": "writeUint8",
"start": 1387,
"end": 1397,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 49,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1397,
"end": 1398,
"loc": {
"start": {
"line": 49,
"column": 22
},
"end": {
"line": 49,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gc",
"start": 1398,
"end": 1400,
"loc": {
"start": {
"line": 49,
"column": 23
},
"end": {
"line": 49,
"column": 25
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1401,
"end": 1402,
"loc": {
"start": {
"line": 49,
"column": 26
},
"end": {
"line": 49,
"column": 27
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 1403,
"end": 1404,
"loc": {
"start": {
"line": 49,
"column": 28
},
"end": {
"line": 49,
"column": 29
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1405,
"end": 1406,
"loc": {
"start": {
"line": 49,
"column": 30
},
"end": {
"line": 49,
"column": 31
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1407,
"end": 1408,
"loc": {
"start": {
"line": 49,
"column": 32
},
"end": {
"line": 49,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1408,
"end": 1409,
"loc": {
"start": {
"line": 49,
"column": 33
},
"end": {
"line": 49,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentLength",
"start": 1414,
"end": 1427,
"loc": {
"start": {
"line": 50,
"column": 4
},
"end": {
"line": 50,
"column": 17
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 1427,
"end": 1429,
"loc": {
"start": {
"line": 50,
"column": 17
},
"end": {
"line": 50,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1432,
"end": 1433,
"loc": {
"start": {
"line": 51,
"column": 2
},
"end": {
"line": 51,
"column": 3
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1433,
"end": 1434,
"loc": {
"start": {
"line": 51,
"column": 3
},
"end": {
"line": 51,
"column": 4
}
}
},
{
"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": 1437,
"end": 1439,
"loc": {
"start": {
"line": 52,
"column": 2
},
"end": {
"line": 52,
"column": 4
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1440,
"end": 1441,
"loc": {
"start": {
"line": 52,
"column": 5
},
"end": {
"line": 52,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentUser",
"start": 1441,
"end": 1452,
"loc": {
"start": {
"line": 52,
"column": 6
},
"end": {
"line": 52,
"column": 17
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 1453,
"end": 1456,
"loc": {
"start": {
"line": 52,
"column": 18
},
"end": {
"line": 52,
"column": 21
}
}
},
{
"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": 1457,
"end": 1461,
"loc": {
"start": {
"line": 52,
"column": 22
},
"end": {
"line": 52,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1461,
"end": 1462,
"loc": {
"start": {
"line": 52,
"column": 26
},
"end": {
"line": 52,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1463,
"end": 1464,
"loc": {
"start": {
"line": 52,
"column": 28
},
"end": {
"line": 52,
"column": 29
}
}
},
{
"type": "CommentLine",
"value": " happens on first iteration",
"start": 1465,
"end": 1494,
"loc": {
"start": {
"line": 52,
"column": 30
},
"end": {
"line": 52,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1499,
"end": 1506,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1506,
"end": 1507,
"loc": {
"start": {
"line": 53,
"column": 11
},
"end": {
"line": 53,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setUint32",
"start": 1507,
"end": 1516,
"loc": {
"start": {
"line": 53,
"column": 12
},
"end": {
"line": 53,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1516,
"end": 1517,
"loc": {
"start": {
"line": 53,
"column": 21
},
"end": {
"line": 53,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastLenPos",
"start": 1517,
"end": 1527,
"loc": {
"start": {
"line": 53,
"column": 22
},
"end": {
"line": 53,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1527,
"end": 1528,
"loc": {
"start": {
"line": 53,
"column": 32
},
"end": {
"line": 53,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentLength",
"start": 1529,
"end": 1542,
"loc": {
"start": {
"line": 53,
"column": 34
},
"end": {
"line": 53,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1542,
"end": 1543,
"loc": {
"start": {
"line": 53,
"column": 47
},
"end": {
"line": 53,
"column": 48
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1546,
"end": 1547,
"loc": {
"start": {
"line": 54,
"column": 2
},
"end": {
"line": 54,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1550,
"end": 1557,
"loc": {
"start": {
"line": 55,
"column": 2
},
"end": {
"line": 55,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1557,
"end": 1558,
"loc": {
"start": {
"line": 55,
"column": 9
},
"end": {
"line": 55,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setUint32",
"start": 1558,
"end": 1567,
"loc": {
"start": {
"line": 55,
"column": 10
},
"end": {
"line": 55,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1567,
"end": 1568,
"loc": {
"start": {
"line": 55,
"column": 19
},
"end": {
"line": 55,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "laterDSLenPus",
"start": 1568,
"end": 1581,
"loc": {
"start": {
"line": 55,
"column": 20
},
"end": {
"line": 55,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1581,
"end": 1582,
"loc": {
"start": {
"line": 55,
"column": 33
},
"end": {
"line": 55,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "numberOfUsers",
"start": 1583,
"end": 1596,
"loc": {
"start": {
"line": 55,
"column": 35
},
"end": {
"line": 55,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1596,
"end": 1597,
"loc": {
"start": {
"line": 55,
"column": 48
},
"end": {
"line": 55,
"column": 49
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1598,
"end": 1599,
"loc": {
"start": {
"line": 56,
"column": 0
},
"end": {
"line": 56,
"column": 1
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 1601,
"end": 1607,
"loc": {
"start": {
"line": 58,
"column": 0
},
"end": {
"line": 58,
"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": 1608,
"end": 1616,
"loc": {
"start": {
"line": 58,
"column": 7
},
"end": {
"line": 58,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readDeleteSet",
"start": 1617,
"end": 1630,
"loc": {
"start": {
"line": 58,
"column": 16
},
"end": {
"line": 58,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1631,
"end": 1632,
"loc": {
"start": {
"line": 58,
"column": 30
},
"end": {
"line": 58,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1632,
"end": 1633,
"loc": {
"start": {
"line": 58,
"column": 31
},
"end": {
"line": 58,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1633,
"end": 1634,
"loc": {
"start": {
"line": 58,
"column": 32
},
"end": {
"line": 58,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 1635,
"end": 1642,
"loc": {
"start": {
"line": 58,
"column": 34
},
"end": {
"line": 58,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1642,
"end": 1643,
"loc": {
"start": {
"line": 58,
"column": 41
},
"end": {
"line": 58,
"column": 42
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1644,
"end": 1645,
"loc": {
"start": {
"line": 58,
"column": 43
},
"end": {
"line": 58,
"column": 44
}
}
},
{
"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": 1648,
"end": 1651,
"loc": {
"start": {
"line": 59,
"column": 2
},
"end": {
"line": 59,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dsLength",
"start": 1652,
"end": 1660,
"loc": {
"start": {
"line": 59,
"column": 6
},
"end": {
"line": 59,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1661,
"end": 1662,
"loc": {
"start": {
"line": 59,
"column": 15
},
"end": {
"line": 59,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 1663,
"end": 1670,
"loc": {
"start": {
"line": 59,
"column": 17
},
"end": {
"line": 59,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1670,
"end": 1671,
"loc": {
"start": {
"line": 59,
"column": 24
},
"end": {
"line": 59,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readUint32",
"start": 1671,
"end": 1681,
"loc": {
"start": {
"line": 59,
"column": 25
},
"end": {
"line": 59,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1681,
"end": 1682,
"loc": {
"start": {
"line": 59,
"column": 35
},
"end": {
"line": 59,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1682,
"end": 1683,
"loc": {
"start": {
"line": 59,
"column": 36
},
"end": {
"line": 59,
"column": 37
}
}
},
{
"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": 1686,
"end": 1689,
"loc": {
"start": {
"line": 60,
"column": 2
},
"end": {
"line": 60,
"column": 5
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1690,
"end": 1691,
"loc": {
"start": {
"line": 60,
"column": 6
},
"end": {
"line": 60,
"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": 1691,
"end": 1694,
"loc": {
"start": {
"line": 60,
"column": 7
},
"end": {
"line": 60,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1695,
"end": 1696,
"loc": {
"start": {
"line": 60,
"column": 11
},
"end": {
"line": 60,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1697,
"end": 1698,
"loc": {
"start": {
"line": 60,
"column": 13
},
"end": {
"line": 60,
"column": 14
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1699,
"end": 1700,
"loc": {
"start": {
"line": 60,
"column": 15
},
"end": {
"line": 60,
"column": 16
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1700,
"end": 1701,
"loc": {
"start": {
"line": 60,
"column": 16
},
"end": {
"line": 60,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1702,
"end": 1703,
"loc": {
"start": {
"line": 60,
"column": 18
},
"end": {
"line": 60,
"column": 19
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 1704,
"end": 1705,
"loc": {
"start": {
"line": 60,
"column": 20
},
"end": {
"line": 60,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dsLength",
"start": 1706,
"end": 1714,
"loc": {
"start": {
"line": 60,
"column": 22
},
"end": {
"line": 60,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1714,
"end": 1715,
"loc": {
"start": {
"line": 60,
"column": 30
},
"end": {
"line": 60,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1716,
"end": 1717,
"loc": {
"start": {
"line": 60,
"column": 32
},
"end": {
"line": 60,
"column": 33
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 1717,
"end": 1719,
"loc": {
"start": {
"line": 60,
"column": 33
},
"end": {
"line": 60,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1719,
"end": 1720,
"loc": {
"start": {
"line": 60,
"column": 35
},
"end": {
"line": 60,
"column": 36
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1721,
"end": 1722,
"loc": {
"start": {
"line": 60,
"column": 37
},
"end": {
"line": 60,
"column": 38
}
}
},
{
"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": 1727,
"end": 1730,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 1731,
"end": 1735,
"loc": {
"start": {
"line": 61,
"column": 8
},
"end": {
"line": 61,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1736,
"end": 1737,
"loc": {
"start": {
"line": 61,
"column": 13
},
"end": {
"line": 61,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 1738,
"end": 1745,
"loc": {
"start": {
"line": 61,
"column": 15
},
"end": {
"line": 61,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1745,
"end": 1746,
"loc": {
"start": {
"line": 61,
"column": 22
},
"end": {
"line": 61,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readVarUint",
"start": 1746,
"end": 1757,
"loc": {
"start": {
"line": 61,
"column": 23
},
"end": {
"line": 61,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1757,
"end": 1758,
"loc": {
"start": {
"line": 61,
"column": 34
},
"end": {
"line": 61,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1758,
"end": 1759,
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"column": 36
}
}
},
{
"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": 1764,
"end": 1767,
"loc": {
"start": {
"line": 62,
"column": 4
},
"end": {
"line": 62,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dv",
"start": 1768,
"end": 1770,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 62,
"column": 10
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1771,
"end": 1772,
"loc": {
"start": {
"line": 62,
"column": 11
},
"end": {
"line": 62,
"column": 12
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1773,
"end": 1774,
"loc": {
"start": {
"line": 62,
"column": 13
},
"end": {
"line": 62,
"column": 14
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1774,
"end": 1775,
"loc": {
"start": {
"line": 62,
"column": 14
},
"end": {
"line": 62,
"column": 15
}
}
},
{
"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": 1780,
"end": 1783,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 63,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dvLength",
"start": 1784,
"end": 1792,
"loc": {
"start": {
"line": 63,
"column": 8
},
"end": {
"line": 63,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1793,
"end": 1794,
"loc": {
"start": {
"line": 63,
"column": 17
},
"end": {
"line": 63,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 1795,
"end": 1802,
"loc": {
"start": {
"line": 63,
"column": 19
},
"end": {
"line": 63,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1802,
"end": 1803,
"loc": {
"start": {
"line": 63,
"column": 26
},
"end": {
"line": 63,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readUint32",
"start": 1803,
"end": 1813,
"loc": {
"start": {
"line": 63,
"column": 27
},
"end": {
"line": 63,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1813,
"end": 1814,
"loc": {
"start": {
"line": 63,
"column": 37
},
"end": {
"line": 63,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1814,
"end": 1815,
"loc": {
"start": {
"line": 63,
"column": 38
},
"end": {
"line": 63,
"column": 39
}
}
},
{
"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": 1820,
"end": 1823,
"loc": {
"start": {
"line": 64,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1824,
"end": 1825,
"loc": {
"start": {
"line": 64,
"column": 8
},
"end": {
"line": 64,
"column": 9
}
}
},
{
"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": 1825,
"end": 1828,
"loc": {
"start": {
"line": 64,
"column": 9
},
"end": {
"line": 64,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "j",
"start": 1829,
"end": 1830,
"loc": {
"start": {
"line": 64,
"column": 13
},
"end": {
"line": 64,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1831,
"end": 1832,
"loc": {
"start": {
"line": 64,
"column": 15
},
"end": {
"line": 64,
"column": 16
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1833,
"end": 1834,
"loc": {
"start": {
"line": 64,
"column": 17
},
"end": {
"line": 64,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1834,
"end": 1835,
"loc": {
"start": {
"line": 64,
"column": 18
},
"end": {
"line": 64,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "j",
"start": 1836,
"end": 1837,
"loc": {
"start": {
"line": 64,
"column": 20
},
"end": {
"line": 64,
"column": 21
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 1838,
"end": 1839,
"loc": {
"start": {
"line": 64,
"column": 22
},
"end": {
"line": 64,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dvLength",
"start": 1840,
"end": 1848,
"loc": {
"start": {
"line": 64,
"column": 24
},
"end": {
"line": 64,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1848,
"end": 1849,
"loc": {
"start": {
"line": 64,
"column": 32
},
"end": {
"line": 64,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "j",
"start": 1850,
"end": 1851,
"loc": {
"start": {
"line": 64,
"column": 34
},
"end": {
"line": 64,
"column": 35
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 1851,
"end": 1853,
"loc": {
"start": {
"line": 64,
"column": 35
},
"end": {
"line": 64,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1853,
"end": 1854,
"loc": {
"start": {
"line": 64,
"column": 37
},
"end": {
"line": 64,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1855,
"end": 1856,
"loc": {
"start": {
"line": 64,
"column": 39
},
"end": {
"line": 64,
"column": 40
}
}
},
{
"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": 1863,
"end": 1866,
"loc": {
"start": {
"line": 65,
"column": 6
},
"end": {
"line": 65,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 1867,
"end": 1871,
"loc": {
"start": {
"line": 65,
"column": 10
},
"end": {
"line": 65,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1872,
"end": 1873,
"loc": {
"start": {
"line": 65,
"column": 15
},
"end": {
"line": 65,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 1874,
"end": 1881,
"loc": {
"start": {
"line": 65,
"column": 17
},
"end": {
"line": 65,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1881,
"end": 1882,
"loc": {
"start": {
"line": 65,
"column": 24
},
"end": {
"line": 65,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readVarUint",
"start": 1882,
"end": 1893,
"loc": {
"start": {
"line": 65,
"column": 25
},
"end": {
"line": 65,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1893,
"end": 1894,
"loc": {
"start": {
"line": 65,
"column": 36
},
"end": {
"line": 65,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1894,
"end": 1895,
"loc": {
"start": {
"line": 65,
"column": 37
},
"end": {
"line": 65,
"column": 38
}
}
},
{
"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": 1902,
"end": 1905,
"loc": {
"start": {
"line": 66,
"column": 6
},
"end": {
"line": 66,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 1906,
"end": 1909,
"loc": {
"start": {
"line": 66,
"column": 10
},
"end": {
"line": 66,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1910,
"end": 1911,
"loc": {
"start": {
"line": 66,
"column": 14
},
"end": {
"line": 66,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 1912,
"end": 1919,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1919,
"end": 1920,
"loc": {
"start": {
"line": 66,
"column": 23
},
"end": {
"line": 66,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readVarUint",
"start": 1920,
"end": 1931,
"loc": {
"start": {
"line": 66,
"column": 24
},
"end": {
"line": 66,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1931,
"end": 1932,
"loc": {
"start": {
"line": 66,
"column": 35
},
"end": {
"line": 66,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1932,
"end": 1933,
"loc": {
"start": {
"line": 66,
"column": 36
},
"end": {
"line": 66,
"column": 37
}
}
},
{
"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": 1940,
"end": 1943,
"loc": {
"start": {
"line": 67,
"column": 6
},
"end": {
"line": 67,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gc",
"start": 1944,
"end": 1946,
"loc": {
"start": {
"line": 67,
"column": 10
},
"end": {
"line": 67,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1947,
"end": 1948,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 1949,
"end": 1956,
"loc": {
"start": {
"line": 67,
"column": 15
},
"end": {
"line": 67,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1956,
"end": 1957,
"loc": {
"start": {
"line": 67,
"column": 22
},
"end": {
"line": 67,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readUint8",
"start": 1957,
"end": 1966,
"loc": {
"start": {
"line": 67,
"column": 23
},
"end": {
"line": 67,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1966,
"end": 1967,
"loc": {
"start": {
"line": 67,
"column": 32
},
"end": {
"line": 67,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1967,
"end": 1968,
"loc": {
"start": {
"line": 67,
"column": 33
},
"end": {
"line": 67,
"column": 34
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 1969,
"end": 1972,
"loc": {
"start": {
"line": 67,
"column": 35
},
"end": {
"line": 67,
"column": 38
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 1973,
"end": 1974,
"loc": {
"start": {
"line": 67,
"column": 39
},
"end": {
"line": 67,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dv",
"start": 1981,
"end": 1983,
"loc": {
"start": {
"line": 68,
"column": 6
},
"end": {
"line": 68,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1983,
"end": 1984,
"loc": {
"start": {
"line": 68,
"column": 8
},
"end": {
"line": 68,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 1984,
"end": 1988,
"loc": {
"start": {
"line": 68,
"column": 9
},
"end": {
"line": 68,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1988,
"end": 1989,
"loc": {
"start": {
"line": 68,
"column": 13
},
"end": {
"line": 68,
"column": 14
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1989,
"end": 1990,
"loc": {
"start": {
"line": 68,
"column": 14
},
"end": {
"line": 68,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 1990,
"end": 1994,
"loc": {
"start": {
"line": 68,
"column": 15
},
"end": {
"line": 68,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1994,
"end": 1995,
"loc": {
"start": {
"line": 68,
"column": 19
},
"end": {
"line": 68,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 1996,
"end": 1999,
"loc": {
"start": {
"line": 68,
"column": 21
},
"end": {
"line": 68,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1999,
"end": 2000,
"loc": {
"start": {
"line": 68,
"column": 24
},
"end": {
"line": 68,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gc",
"start": 2001,
"end": 2003,
"loc": {
"start": {
"line": 68,
"column": 26
},
"end": {
"line": 68,
"column": 28
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2003,
"end": 2004,
"loc": {
"start": {
"line": 68,
"column": 28
},
"end": {
"line": 68,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2004,
"end": 2005,
"loc": {
"start": {
"line": 68,
"column": 29
},
"end": {
"line": 68,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2010,
"end": 2011,
"loc": {
"start": {
"line": 69,
"column": 4
},
"end": {
"line": 69,
"column": 5
}
}
},
{
"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": 2016,
"end": 2018,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 70,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2019,
"end": 2020,
"loc": {
"start": {
"line": 70,
"column": 7
},
"end": {
"line": 70,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dvLength",
"start": 2020,
"end": 2028,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 16
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 2029,
"end": 2030,
"loc": {
"start": {
"line": 70,
"column": 17
},
"end": {
"line": 70,
"column": 18
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2031,
"end": 2032,
"loc": {
"start": {
"line": 70,
"column": 19
},
"end": {
"line": 70,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2032,
"end": 2033,
"loc": {
"start": {
"line": 70,
"column": 20
},
"end": {
"line": 70,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2034,
"end": 2035,
"loc": {
"start": {
"line": 70,
"column": 22
},
"end": {
"line": 70,
"column": 23
}
}
},
{
"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": 2042,
"end": 2045,
"loc": {
"start": {
"line": 71,
"column": 6
},
"end": {
"line": 71,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 2046,
"end": 2049,
"loc": {
"start": {
"line": 71,
"column": 10
},
"end": {
"line": 71,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2050,
"end": 2051,
"loc": {
"start": {
"line": 71,
"column": 14
},
"end": {
"line": 71,
"column": 15
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2052,
"end": 2053,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 17
}
}
},
{
"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": 2060,
"end": 2063,
"loc": {
"start": {
"line": 72,
"column": 6
},
"end": {
"line": 72,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "d",
"start": 2064,
"end": 2065,
"loc": {
"start": {
"line": 72,
"column": 10
},
"end": {
"line": 72,
"column": 11
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2066,
"end": 2067,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dv",
"start": 2068,
"end": 2070,
"loc": {
"start": {
"line": 72,
"column": 14
},
"end": {
"line": 72,
"column": 16
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2070,
"end": 2071,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 2071,
"end": 2074,
"loc": {
"start": {
"line": 72,
"column": 17
},
"end": {
"line": 72,
"column": 20
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2074,
"end": 2075,
"loc": {
"start": {
"line": 72,
"column": 20
},
"end": {
"line": 72,
"column": 21
}
}
},
{
"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": 2082,
"end": 2085,
"loc": {
"start": {
"line": 73,
"column": 6
},
"end": {
"line": 73,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deletions",
"start": 2086,
"end": 2095,
"loc": {
"start": {
"line": 73,
"column": 10
},
"end": {
"line": 73,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2096,
"end": 2097,
"loc": {
"start": {
"line": 73,
"column": 20
},
"end": {
"line": 73,
"column": 21
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2098,
"end": 2099,
"loc": {
"start": {
"line": 73,
"column": 22
},
"end": {
"line": 73,
"column": 23
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2099,
"end": 2100,
"loc": {
"start": {
"line": 73,
"column": 23
},
"end": {
"line": 73,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2107,
"end": 2108,
"loc": {
"start": {
"line": 74,
"column": 6
},
"end": {
"line": 74,
"column": 7
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2108,
"end": 2109,
"loc": {
"start": {
"line": 74,
"column": 7
},
"end": {
"line": 74,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ds",
"start": 2109,
"end": 2111,
"loc": {
"start": {
"line": 74,
"column": 8
},
"end": {
"line": 74,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2111,
"end": 2112,
"loc": {
"start": {
"line": 74,
"column": 10
},
"end": {
"line": 74,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "iterate",
"start": 2112,
"end": 2119,
"loc": {
"start": {
"line": 74,
"column": 11
},
"end": {
"line": 74,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2119,
"end": 2120,
"loc": {
"start": {
"line": 74,
"column": 18
},
"end": {
"line": 74,
"column": 19
}
}
},
{
"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": 2120,
"end": 2123,
"loc": {
"start": {
"line": 74,
"column": 19
},
"end": {
"line": 74,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ID",
"start": 2124,
"end": 2126,
"loc": {
"start": {
"line": 74,
"column": 23
},
"end": {
"line": 74,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2126,
"end": 2127,
"loc": {
"start": {
"line": 74,
"column": 25
},
"end": {
"line": 74,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 2127,
"end": 2131,
"loc": {
"start": {
"line": 74,
"column": 26
},
"end": {
"line": 74,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2131,
"end": 2132,
"loc": {
"start": {
"line": 74,
"column": 30
},
"end": {
"line": 74,
"column": 31
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2133,
"end": 2134,
"loc": {
"start": {
"line": 74,
"column": 32
},
"end": {
"line": 74,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2134,
"end": 2135,
"loc": {
"start": {
"line": 74,
"column": 33
},
"end": {
"line": 74,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2135,
"end": 2136,
"loc": {
"start": {
"line": 74,
"column": 34
},
"end": {
"line": 74,
"column": 35
}
}
},
{
"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": 2137,
"end": 2140,
"loc": {
"start": {
"line": 74,
"column": 36
},
"end": {
"line": 74,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ID",
"start": 2141,
"end": 2143,
"loc": {
"start": {
"line": 74,
"column": 40
},
"end": {
"line": 74,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2143,
"end": 2144,
"loc": {
"start": {
"line": 74,
"column": 42
},
"end": {
"line": 74,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 2144,
"end": 2148,
"loc": {
"start": {
"line": 74,
"column": 43
},
"end": {
"line": 74,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2148,
"end": 2149,
"loc": {
"start": {
"line": 74,
"column": 47
},
"end": {
"line": 74,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Number",
"start": 2150,
"end": 2156,
"loc": {
"start": {
"line": 74,
"column": 49
},
"end": {
"line": 74,
"column": 55
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2156,
"end": 2157,
"loc": {
"start": {
"line": 74,
"column": 55
},
"end": {
"line": 74,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MAX_VALUE",
"start": 2157,
"end": 2166,
"loc": {
"start": {
"line": 74,
"column": 56
},
"end": {
"line": 74,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2166,
"end": 2167,
"loc": {
"start": {
"line": 74,
"column": 65
},
"end": {
"line": 74,
"column": 66
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2167,
"end": 2168,
"loc": {
"start": {
"line": 74,
"column": 66
},
"end": {
"line": 74,
"column": 67
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 2169,
"end": 2177,
"loc": {
"start": {
"line": 74,
"column": 68
},
"end": {
"line": 74,
"column": 76
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2178,
"end": 2179,
"loc": {
"start": {
"line": 74,
"column": 77
},
"end": {
"line": 74,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 2179,
"end": 2180,
"loc": {
"start": {
"line": 74,
"column": 78
},
"end": {
"line": 74,
"column": 79
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2180,
"end": 2181,
"loc": {
"start": {
"line": 74,
"column": 79
},
"end": {
"line": 74,
"column": 80
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2182,
"end": 2183,
"loc": {
"start": {
"line": 74,
"column": 81
},
"end": {
"line": 74,
"column": 82
}
}
},
{
"type": "CommentLine",
"value": " cases:",
"start": 2192,
"end": 2201,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " 1. d deletes something to the right of n",
"start": 2210,
"end": 2253,
"loc": {
"start": {
"line": 76,
"column": 8
},
"end": {
"line": 76,
"column": 51
}
}
},
{
"type": "CommentLine",
"value": " => go to next n (break)",
"start": 2262,
"end": 2289,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 35
}
}
},
{
"type": "CommentLine",
"value": " 2. d deletes something to the left of n",
"start": 2298,
"end": 2340,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 50
}
}
},
{
"type": "CommentLine",
"value": " => create deletions",
"start": 2349,
"end": 2372,
"loc": {
"start": {
"line": 79,
"column": 8
},
"end": {
"line": 79,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " => reset d accordingly",
"start": 2381,
"end": 2407,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 34
}
}
},
{
"type": "CommentLine",
"value": " *)=> if d doesn't delete anything anymore, go to next d (continue)",
"start": 2416,
"end": 2486,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 81,
"column": 78
}
}
},
{
"type": "CommentLine",
"value": " 3. not 2) and d deletes something that also n deletes",
"start": 2495,
"end": 2551,
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 82,
"column": 64
}
}
},
{
"type": "CommentLine",
"value": " => reset d so that it doesn't contain n's deletion",
"start": 2560,
"end": 2614,
"loc": {
"start": {
"line": 83,
"column": 8
},
"end": {
"line": 83,
"column": 62
}
}
},
{
"type": "CommentLine",
"value": " *)=> if d does not delete anything anymore, go to next d (continue)",
"start": 2623,
"end": 2694,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 79
}
}
},
{
"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": 2703,
"end": 2708,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2709,
"end": 2710,
"loc": {
"start": {
"line": 85,
"column": 14
},
"end": {
"line": 85,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "d",
"start": 2710,
"end": 2711,
"loc": {
"start": {
"line": 85,
"column": 15
},
"end": {
"line": 85,
"column": 16
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!=",
"start": 2712,
"end": 2714,
"loc": {
"start": {
"line": 85,
"column": 17
},
"end": {
"line": 85,
"column": 19
}
}
},
{
"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": 2715,
"end": 2719,
"loc": {
"start": {
"line": 85,
"column": 20
},
"end": {
"line": 85,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2719,
"end": 2720,
"loc": {
"start": {
"line": 85,
"column": 24
},
"end": {
"line": 85,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2721,
"end": 2722,
"loc": {
"start": {
"line": 85,
"column": 26
},
"end": {
"line": 85,
"column": 27
}
}
},
{
"type": {
"label": "var",
"keyword": "var",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "var",
"start": 2733,
"end": 2736,
"loc": {
"start": {
"line": 86,
"column": 10
},
"end": {
"line": 86,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "diff",
"start": 2737,
"end": 2741,
"loc": {
"start": {
"line": 86,
"column": 14
},
"end": {
"line": 86,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2742,
"end": 2743,
"loc": {
"start": {
"line": 86,
"column": 19
},
"end": {
"line": 86,
"column": 20
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2744,
"end": 2745,
"loc": {
"start": {
"line": 86,
"column": 21
},
"end": {
"line": 86,
"column": 22
}
}
},
{
"type": "CommentLine",
"value": " describe the diff of length in 1) and 2)",
"start": 2746,
"end": 2789,
"loc": {
"start": {
"line": 86,
"column": 23
},
"end": {
"line": 86,
"column": 66
}
}
},
{
"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": 2800,
"end": 2802,
"loc": {
"start": {
"line": 87,
"column": 10
},
"end": {
"line": 87,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2803,
"end": 2804,
"loc": {
"start": {
"line": 87,
"column": 13
},
"end": {
"line": 87,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 2804,
"end": 2805,
"loc": {
"start": {
"line": 87,
"column": 14
},
"end": {
"line": 87,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2805,
"end": 2806,
"loc": {
"start": {
"line": 87,
"column": 15
},
"end": {
"line": 87,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 2806,
"end": 2809,
"loc": {
"start": {
"line": 87,
"column": 16
},
"end": {
"line": 87,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2809,
"end": 2810,
"loc": {
"start": {
"line": 87,
"column": 19
},
"end": {
"line": 87,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 2810,
"end": 2815,
"loc": {
"start": {
"line": 87,
"column": 20
},
"end": {
"line": 87,
"column": 25
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2816,
"end": 2817,
"loc": {
"start": {
"line": 87,
"column": 26
},
"end": {
"line": 87,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 2818,
"end": 2819,
"loc": {
"start": {
"line": 87,
"column": 28
},
"end": {
"line": 87,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2819,
"end": 2820,
"loc": {
"start": {
"line": 87,
"column": 29
},
"end": {
"line": 87,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 2820,
"end": 2823,
"loc": {
"start": {
"line": 87,
"column": 30
},
"end": {
"line": 87,
"column": 33
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<=",
"start": 2824,
"end": 2826,
"loc": {
"start": {
"line": 87,
"column": 34
},
"end": {
"line": 87,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "d",
"start": 2827,
"end": 2828,
"loc": {
"start": {
"line": 87,
"column": 37
},
"end": {
"line": 87,
"column": 38
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2828,
"end": 2829,
"loc": {
"start": {
"line": 87,
"column": 38
},
"end": {
"line": 87,
"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": 2829,
"end": 2830,
"loc": {
"start": {
"line": 87,
"column": 39
},
"end": {
"line": 87,
"column": 40
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2830,
"end": 2831,
"loc": {
"start": {
"line": 87,
"column": 40
},
"end": {
"line": 87,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2831,
"end": 2832,
"loc": {
"start": {
"line": 87,
"column": 41
},
"end": {
"line": 87,
"column": 42
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2833,
"end": 2834,
"loc": {
"start": {
"line": 87,
"column": 43
},
"end": {
"line": 87,
"column": 44
}
}
},
{
"type": "CommentLine",
"value": " 1)",
"start": 2847,
"end": 2852,
"loc": {
"start": {
"line": 88,
"column": 12
},
"end": {
"line": 88,
"column": 17
}
}
},
{
"type": {
"label": "break",
"keyword": "break",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "break",
"start": 2865,
"end": 2870,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2881,
"end": 2882,
"loc": {
"start": {
"line": 90,
"column": 10
},
"end": {
"line": 90,
"column": 11
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 2883,
"end": 2887,
"loc": {
"start": {
"line": 90,
"column": 12
},
"end": {
"line": 90,
"column": 16
}
}
},
{
"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": 2888,
"end": 2890,
"loc": {
"start": {
"line": 90,
"column": 17
},
"end": {
"line": 90,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2891,
"end": 2892,
"loc": {
"start": {
"line": 90,
"column": 20
},
"end": {
"line": 90,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "d",
"start": 2892,
"end": 2893,
"loc": {
"start": {
"line": 90,
"column": 21
},
"end": {
"line": 90,
"column": 22
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2893,
"end": 2894,
"loc": {
"start": {
"line": 90,
"column": 22
},
"end": {
"line": 90,
"column": 23
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2894,
"end": 2895,
"loc": {
"start": {
"line": 90,
"column": 23
},
"end": {
"line": 90,
"column": 24
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2895,
"end": 2896,
"loc": {
"start": {
"line": 90,
"column": 24
},
"end": {
"line": 90,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 2897,
"end": 2898,
"loc": {
"start": {
"line": 90,
"column": 26
},
"end": {
"line": 90,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 2899,
"end": 2900,
"loc": {
"start": {
"line": 90,
"column": 28
},
"end": {
"line": 90,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2900,
"end": 2901,
"loc": {
"start": {
"line": 90,
"column": 29
},
"end": {
"line": 90,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 2901,
"end": 2904,
"loc": {
"start": {
"line": 90,
"column": 30
},
"end": {
"line": 90,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2904,
"end": 2905,
"loc": {
"start": {
"line": 90,
"column": 33
},
"end": {
"line": 90,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 2905,
"end": 2910,
"loc": {
"start": {
"line": 90,
"column": 34
},
"end": {
"line": 90,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2910,
"end": 2911,
"loc": {
"start": {
"line": 90,
"column": 39
},
"end": {
"line": 90,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2912,
"end": 2913,
"loc": {
"start": {
"line": 90,
"column": 41
},
"end": {
"line": 90,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " 2)",
"start": 2926,
"end": 2931,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " delete maximum the len of d",
"start": 2944,
"end": 2974,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 92,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " else delete as much as possible",
"start": 2987,
"end": 3021,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "diff",
"start": 3034,
"end": 3038,
"loc": {
"start": {
"line": 94,
"column": 12
},
"end": {
"line": 94,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3039,
"end": 3040,
"loc": {
"start": {
"line": 94,
"column": 17
},
"end": {
"line": 94,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 3041,
"end": 3045,
"loc": {
"start": {
"line": 94,
"column": 19
},
"end": {
"line": 94,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3045,
"end": 3046,
"loc": {
"start": {
"line": 94,
"column": 23
},
"end": {
"line": 94,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "min",
"start": 3046,
"end": 3049,
"loc": {
"start": {
"line": 94,
"column": 24
},
"end": {
"line": 94,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3049,
"end": 3050,
"loc": {
"start": {
"line": 94,
"column": 27
},
"end": {
"line": 94,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 3050,
"end": 3051,
"loc": {
"start": {
"line": 94,
"column": 28
},
"end": {
"line": 94,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3051,
"end": 3052,
"loc": {
"start": {
"line": 94,
"column": 29
},
"end": {
"line": 94,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 3052,
"end": 3055,
"loc": {
"start": {
"line": 94,
"column": 30
},
"end": {
"line": 94,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3055,
"end": 3056,
"loc": {
"start": {
"line": 94,
"column": 33
},
"end": {
"line": 94,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 3056,
"end": 3061,
"loc": {
"start": {
"line": 94,
"column": 34
},
"end": {
"line": 94,
"column": 39
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3062,
"end": 3063,
"loc": {
"start": {
"line": 94,
"column": 40
},
"end": {
"line": 94,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "d",
"start": 3064,
"end": 3065,
"loc": {
"start": {
"line": 94,
"column": 42
},
"end": {
"line": 94,
"column": 43
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3065,
"end": 3066,
"loc": {
"start": {
"line": 94,
"column": 43
},
"end": {
"line": 94,
"column": 44
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 3066,
"end": 3067,
"loc": {
"start": {
"line": 94,
"column": 44
},
"end": {
"line": 94,
"column": 45
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3067,
"end": 3068,
"loc": {
"start": {
"line": 94,
"column": 45
},
"end": {
"line": 94,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3068,
"end": 3069,
"loc": {
"start": {
"line": 94,
"column": 46
},
"end": {
"line": 94,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "d",
"start": 3070,
"end": 3071,
"loc": {
"start": {
"line": 94,
"column": 48
},
"end": {
"line": 94,
"column": 49
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3071,
"end": 3072,
"loc": {
"start": {
"line": 94,
"column": 49
},
"end": {
"line": 94,
"column": 50
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3072,
"end": 3073,
"loc": {
"start": {
"line": 94,
"column": 50
},
"end": {
"line": 94,
"column": 51
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3073,
"end": 3074,
"loc": {
"start": {
"line": 94,
"column": 51
},
"end": {
"line": 94,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3074,
"end": 3075,
"loc": {
"start": {
"line": 94,
"column": 52
},
"end": {
"line": 94,
"column": 53
}
}
},
{
"type": "CommentLine",
"value": " deleteItemRange(y, user, d[0], diff, true)",
"start": 3088,
"end": 3133,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deletions",
"start": 3146,
"end": 3155,
"loc": {
"start": {
"line": 96,
"column": 12
},
"end": {
"line": 96,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3155,
"end": 3156,
"loc": {
"start": {
"line": 96,
"column": 21
},
"end": {
"line": 96,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 3156,
"end": 3160,
"loc": {
"start": {
"line": 96,
"column": 22
},
"end": {
"line": 96,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3160,
"end": 3161,
"loc": {
"start": {
"line": 96,
"column": 26
},
"end": {
"line": 96,
"column": 27
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3161,
"end": 3162,
"loc": {
"start": {
"line": 96,
"column": 27
},
"end": {
"line": 96,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 3162,
"end": 3166,
"loc": {
"start": {
"line": 96,
"column": 28
},
"end": {
"line": 96,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3166,
"end": 3167,
"loc": {
"start": {
"line": 96,
"column": 32
},
"end": {
"line": 96,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "d",
"start": 3168,
"end": 3169,
"loc": {
"start": {
"line": 96,
"column": 34
},
"end": {
"line": 96,
"column": 35
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3169,
"end": 3170,
"loc": {
"start": {
"line": 96,
"column": 35
},
"end": {
"line": 96,
"column": 36
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 3170,
"end": 3171,
"loc": {
"start": {
"line": 96,
"column": 36
},
"end": {
"line": 96,
"column": 37
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3171,
"end": 3172,
"loc": {
"start": {
"line": 96,
"column": 37
},
"end": {
"line": 96,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3172,
"end": 3173,
"loc": {
"start": {
"line": 96,
"column": 38
},
"end": {
"line": 96,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "diff",
"start": 3174,
"end": 3178,
"loc": {
"start": {
"line": 96,
"column": 40
},
"end": {
"line": 96,
"column": 44
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3178,
"end": 3179,
"loc": {
"start": {
"line": 96,
"column": 44
},
"end": {
"line": 96,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3179,
"end": 3180,
"loc": {
"start": {
"line": 96,
"column": 45
},
"end": {
"line": 96,
"column": 46
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3191,
"end": 3192,
"loc": {
"start": {
"line": 97,
"column": 10
},
"end": {
"line": 97,
"column": 11
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 3193,
"end": 3197,
"loc": {
"start": {
"line": 97,
"column": 12
},
"end": {
"line": 97,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3198,
"end": 3199,
"loc": {
"start": {
"line": 97,
"column": 17
},
"end": {
"line": 97,
"column": 18
}
}
},
{
"type": "CommentLine",
"value": " 3)",
"start": 3212,
"end": 3217,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "diff",
"start": 3230,
"end": 3234,
"loc": {
"start": {
"line": 99,
"column": 12
},
"end": {
"line": 99,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3235,
"end": 3236,
"loc": {
"start": {
"line": 99,
"column": 17
},
"end": {
"line": 99,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 3237,
"end": 3238,
"loc": {
"start": {
"line": 99,
"column": 19
},
"end": {
"line": 99,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3238,
"end": 3239,
"loc": {
"start": {
"line": 99,
"column": 20
},
"end": {
"line": 99,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 3239,
"end": 3242,
"loc": {
"start": {
"line": 99,
"column": 21
},
"end": {
"line": 99,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3242,
"end": 3243,
"loc": {
"start": {
"line": 99,
"column": 24
},
"end": {
"line": 99,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 3243,
"end": 3248,
"loc": {
"start": {
"line": 99,
"column": 25
},
"end": {
"line": 99,
"column": 30
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3249,
"end": 3250,
"loc": {
"start": {
"line": 99,
"column": 31
},
"end": {
"line": 99,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 3251,
"end": 3252,
"loc": {
"start": {
"line": 99,
"column": 33
},
"end": {
"line": 99,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3252,
"end": 3253,
"loc": {
"start": {
"line": 99,
"column": 34
},
"end": {
"line": 99,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 3253,
"end": 3256,
"loc": {
"start": {
"line": 99,
"column": 35
},
"end": {
"line": 99,
"column": 38
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3257,
"end": 3258,
"loc": {
"start": {
"line": 99,
"column": 39
},
"end": {
"line": 99,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "d",
"start": 3259,
"end": 3260,
"loc": {
"start": {
"line": 99,
"column": 41
},
"end": {
"line": 99,
"column": 42
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3260,
"end": 3261,
"loc": {
"start": {
"line": 99,
"column": 42
},
"end": {
"line": 99,
"column": 43
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 3261,
"end": 3262,
"loc": {
"start": {
"line": 99,
"column": 43
},
"end": {
"line": 99,
"column": 44
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3262,
"end": 3263,
"loc": {
"start": {
"line": 99,
"column": 44
},
"end": {
"line": 99,
"column": 45
}
}
},
{
"type": "CommentLine",
"value": " never null (see 1)",
"start": 3264,
"end": 3285,
"loc": {
"start": {
"line": 99,
"column": 46
},
"end": {
"line": 99,
"column": 67
}
}
},
{
"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": 3298,
"end": 3300,
"loc": {
"start": {
"line": 100,
"column": 12
},
"end": {
"line": 100,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3301,
"end": 3302,
"loc": {
"start": {
"line": 100,
"column": 15
},
"end": {
"line": 100,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "d",
"start": 3302,
"end": 3303,
"loc": {
"start": {
"line": 100,
"column": 16
},
"end": {
"line": 100,
"column": 17
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3303,
"end": 3304,
"loc": {
"start": {
"line": 100,
"column": 17
},
"end": {
"line": 100,
"column": 18
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 3304,
"end": 3305,
"loc": {
"start": {
"line": 100,
"column": 18
},
"end": {
"line": 100,
"column": 19
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3305,
"end": 3306,
"loc": {
"start": {
"line": 100,
"column": 19
},
"end": {
"line": 100,
"column": 20
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 3307,
"end": 3309,
"loc": {
"start": {
"line": 100,
"column": 21
},
"end": {
"line": 100,
"column": 23
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 3310,
"end": 3311,
"loc": {
"start": {
"line": 100,
"column": 24
},
"end": {
"line": 100,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 3311,
"end": 3312,
"loc": {
"start": {
"line": 100,
"column": 25
},
"end": {
"line": 100,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3312,
"end": 3313,
"loc": {
"start": {
"line": 100,
"column": 26
},
"end": {
"line": 100,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gc",
"start": 3313,
"end": 3315,
"loc": {
"start": {
"line": 100,
"column": 27
},
"end": {
"line": 100,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3315,
"end": 3316,
"loc": {
"start": {
"line": 100,
"column": 29
},
"end": {
"line": 100,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3317,
"end": 3318,
"loc": {
"start": {
"line": 100,
"column": 31
},
"end": {
"line": 100,
"column": 32
}
}
},
{
"type": "CommentLine",
"value": " d marks as gc'd but n does not",
"start": 3333,
"end": 3366,
"loc": {
"start": {
"line": 101,
"column": 14
},
"end": {
"line": 101,
"column": 47
}
}
},
{
"type": "CommentLine",
"value": " then delete either way",
"start": 3381,
"end": 3406,
"loc": {
"start": {
"line": 102,
"column": 14
},
"end": {
"line": 102,
"column": 39
}
}
},
{
"type": "CommentLine",
"value": " deleteItemRange(y, user, d[0], Math.min(diff, d[1]), true)",
"start": 3421,
"end": 3482,
"loc": {
"start": {
"line": 103,
"column": 14
},
"end": {
"line": 103,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deletions",
"start": 3497,
"end": 3506,
"loc": {
"start": {
"line": 104,
"column": 14
},
"end": {
"line": 104,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3506,
"end": 3507,
"loc": {
"start": {
"line": 104,
"column": 23
},
"end": {
"line": 104,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 3507,
"end": 3511,
"loc": {
"start": {
"line": 104,
"column": 24
},
"end": {
"line": 104,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3511,
"end": 3512,
"loc": {
"start": {
"line": 104,
"column": 28
},
"end": {
"line": 104,
"column": 29
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3512,
"end": 3513,
"loc": {
"start": {
"line": 104,
"column": 29
},
"end": {
"line": 104,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 3513,
"end": 3517,
"loc": {
"start": {
"line": 104,
"column": 30
},
"end": {
"line": 104,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3517,
"end": 3518,
"loc": {
"start": {
"line": 104,
"column": 34
},
"end": {
"line": 104,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "d",
"start": 3519,
"end": 3520,
"loc": {
"start": {
"line": 104,
"column": 36
},
"end": {
"line": 104,
"column": 37
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3520,
"end": 3521,
"loc": {
"start": {
"line": 104,
"column": 37
},
"end": {
"line": 104,
"column": 38
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 3521,
"end": 3522,
"loc": {
"start": {
"line": 104,
"column": 38
},
"end": {
"line": 104,
"column": 39
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3522,
"end": 3523,
"loc": {
"start": {
"line": 104,
"column": 39
},
"end": {
"line": 104,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3523,
"end": 3524,
"loc": {
"start": {
"line": 104,
"column": 40
},
"end": {
"line": 104,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 3525,
"end": 3529,
"loc": {
"start": {
"line": 104,
"column": 42
},
"end": {
"line": 104,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3529,
"end": 3530,
"loc": {
"start": {
"line": 104,
"column": 46
},
"end": {
"line": 104,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "min",
"start": 3530,
"end": 3533,
"loc": {
"start": {
"line": 104,
"column": 47
},
"end": {
"line": 104,
"column": 50
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3533,
"end": 3534,
"loc": {
"start": {
"line": 104,
"column": 50
},
"end": {
"line": 104,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "diff",
"start": 3534,
"end": 3538,
"loc": {
"start": {
"line": 104,
"column": 51
},
"end": {
"line": 104,
"column": 55
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3538,
"end": 3539,
"loc": {
"start": {
"line": 104,
"column": 55
},
"end": {
"line": 104,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "d",
"start": 3540,
"end": 3541,
"loc": {
"start": {
"line": 104,
"column": 57
},
"end": {
"line": 104,
"column": 58
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3541,
"end": 3542,
"loc": {
"start": {
"line": 104,
"column": 58
},
"end": {
"line": 104,
"column": 59
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3542,
"end": 3543,
"loc": {
"start": {
"line": 104,
"column": 59
},
"end": {
"line": 104,
"column": 60
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3543,
"end": 3544,
"loc": {
"start": {
"line": 104,
"column": 60
},
"end": {
"line": 104,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3544,
"end": 3545,
"loc": {
"start": {
"line": 104,
"column": 61
},
"end": {
"line": 104,
"column": 62
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3545,
"end": 3546,
"loc": {
"start": {
"line": 104,
"column": 62
},
"end": {
"line": 104,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3546,
"end": 3547,
"loc": {
"start": {
"line": 104,
"column": 63
},
"end": {
"line": 104,
"column": 64
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3560,
"end": 3561,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 105,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3572,
"end": 3573,
"loc": {
"start": {
"line": 106,
"column": 10
},
"end": {
"line": 106,
"column": 11
}
}
},
{
"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": 3584,
"end": 3586,
"loc": {
"start": {
"line": 107,
"column": 10
},
"end": {
"line": 107,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3587,
"end": 3588,
"loc": {
"start": {
"line": 107,
"column": 13
},
"end": {
"line": 107,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "d",
"start": 3588,
"end": 3589,
"loc": {
"start": {
"line": 107,
"column": 14
},
"end": {
"line": 107,
"column": 15
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3589,
"end": 3590,
"loc": {
"start": {
"line": 107,
"column": 15
},
"end": {
"line": 107,
"column": 16
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3590,
"end": 3591,
"loc": {
"start": {
"line": 107,
"column": 16
},
"end": {
"line": 107,
"column": 17
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3591,
"end": 3592,
"loc": {
"start": {
"line": 107,
"column": 17
},
"end": {
"line": 107,
"column": 18
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<=",
"start": 3593,
"end": 3595,
"loc": {
"start": {
"line": 107,
"column": 19
},
"end": {
"line": 107,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "diff",
"start": 3596,
"end": 3600,
"loc": {
"start": {
"line": 107,
"column": 22
},
"end": {
"line": 107,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3600,
"end": 3601,
"loc": {
"start": {
"line": 107,
"column": 26
},
"end": {
"line": 107,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3602,
"end": 3603,
"loc": {
"start": {
"line": 107,
"column": 28
},
"end": {
"line": 107,
"column": 29
}
}
},
{
"type": "CommentLine",
"value": " d doesn't delete anything anymore",
"start": 3616,
"end": 3652,
"loc": {
"start": {
"line": 108,
"column": 12
},
"end": {
"line": 108,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "d",
"start": 3665,
"end": 3666,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3667,
"end": 3668,
"loc": {
"start": {
"line": 109,
"column": 14
},
"end": {
"line": 109,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dv",
"start": 3669,
"end": 3671,
"loc": {
"start": {
"line": 109,
"column": 16
},
"end": {
"line": 109,
"column": 18
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3671,
"end": 3672,
"loc": {
"start": {
"line": 109,
"column": 18
},
"end": {
"line": 109,
"column": 19
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 3672,
"end": 3674,
"loc": {
"start": {
"line": 109,
"column": 19
},
"end": {
"line": 109,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 3674,
"end": 3677,
"loc": {
"start": {
"line": 109,
"column": 21
},
"end": {
"line": 109,
"column": 24
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3677,
"end": 3678,
"loc": {
"start": {
"line": 109,
"column": 24
},
"end": {
"line": 109,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3689,
"end": 3690,
"loc": {
"start": {
"line": 110,
"column": 10
},
"end": {
"line": 110,
"column": 11
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 3691,
"end": 3695,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3696,
"end": 3697,
"loc": {
"start": {
"line": 110,
"column": 17
},
"end": {
"line": 110,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "d",
"start": 3710,
"end": 3711,
"loc": {
"start": {
"line": 111,
"column": 12
},
"end": {
"line": 111,
"column": 13
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3711,
"end": 3712,
"loc": {
"start": {
"line": 111,
"column": 13
},
"end": {
"line": 111,
"column": 14
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 3712,
"end": 3713,
"loc": {
"start": {
"line": 111,
"column": 14
},
"end": {
"line": 111,
"column": 15
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3713,
"end": 3714,
"loc": {
"start": {
"line": 111,
"column": 15
},
"end": {
"line": 111,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3715,
"end": 3716,
"loc": {
"start": {
"line": 111,
"column": 17
},
"end": {
"line": 111,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "d",
"start": 3717,
"end": 3718,
"loc": {
"start": {
"line": 111,
"column": 19
},
"end": {
"line": 111,
"column": 20
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3718,
"end": 3719,
"loc": {
"start": {
"line": 111,
"column": 20
},
"end": {
"line": 111,
"column": 21
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 3719,
"end": 3720,
"loc": {
"start": {
"line": 111,
"column": 21
},
"end": {
"line": 111,
"column": 22
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3720,
"end": 3721,
"loc": {
"start": {
"line": 111,
"column": 22
},
"end": {
"line": 111,
"column": 23
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 3722,
"end": 3723,
"loc": {
"start": {
"line": 111,
"column": 24
},
"end": {
"line": 111,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "diff",
"start": 3724,
"end": 3728,
"loc": {
"start": {
"line": 111,
"column": 26
},
"end": {
"line": 111,
"column": 30
}
}
},
{
"type": "CommentLine",
"value": " reset pos",
"start": 3729,
"end": 3741,
"loc": {
"start": {
"line": 111,
"column": 31
},
"end": {
"line": 111,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "d",
"start": 3754,
"end": 3755,
"loc": {
"start": {
"line": 112,
"column": 12
},
"end": {
"line": 112,
"column": 13
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3755,
"end": 3756,
"loc": {
"start": {
"line": 112,
"column": 13
},
"end": {
"line": 112,
"column": 14
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3756,
"end": 3757,
"loc": {
"start": {
"line": 112,
"column": 14
},
"end": {
"line": 112,
"column": 15
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3757,
"end": 3758,
"loc": {
"start": {
"line": 112,
"column": 15
},
"end": {
"line": 112,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3759,
"end": 3760,
"loc": {
"start": {
"line": 112,
"column": 17
},
"end": {
"line": 112,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "d",
"start": 3761,
"end": 3762,
"loc": {
"start": {
"line": 112,
"column": 19
},
"end": {
"line": 112,
"column": 20
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3762,
"end": 3763,
"loc": {
"start": {
"line": 112,
"column": 20
},
"end": {
"line": 112,
"column": 21
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 3763,
"end": 3764,
"loc": {
"start": {
"line": 112,
"column": 21
},
"end": {
"line": 112,
"column": 22
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3764,
"end": 3765,
"loc": {
"start": {
"line": 112,
"column": 22
},
"end": {
"line": 112,
"column": 23
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 3766,
"end": 3767,
"loc": {
"start": {
"line": 112,
"column": 24
},
"end": {
"line": 112,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "diff",
"start": 3768,
"end": 3772,
"loc": {
"start": {
"line": 112,
"column": 26
},
"end": {
"line": 112,
"column": 30
}
}
},
{
"type": "CommentLine",
"value": " reset length",
"start": 3773,
"end": 3788,
"loc": {
"start": {
"line": 112,
"column": 31
},
"end": {
"line": 112,
"column": 46
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3799,
"end": 3800,
"loc": {
"start": {
"line": 113,
"column": 10
},
"end": {
"line": 113,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3809,
"end": 3810,
"loc": {
"start": {
"line": 114,
"column": 8
},
"end": {
"line": 114,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3817,
"end": 3818,
"loc": {
"start": {
"line": 115,
"column": 6
},
"end": {
"line": 115,
"column": 7
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3818,
"end": 3819,
"loc": {
"start": {
"line": 115,
"column": 7
},
"end": {
"line": 115,
"column": 8
}
}
},
{
"type": "CommentLine",
"value": " TODO: It would be more performant to apply the deletes in the above loop",
"start": 3826,
"end": 3901,
"loc": {
"start": {
"line": 116,
"column": 6
},
"end": {
"line": 116,
"column": 81
}
}
},
{
"type": "CommentLine",
"value": " Adapt the Tree implementation to support delete while iterating",
"start": 3908,
"end": 3974,
"loc": {
"start": {
"line": 117,
"column": 6
},
"end": {
"line": 117,
"column": 72
}
}
},
{
"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": 3981,
"end": 3984,
"loc": {
"start": {
"line": 118,
"column": 6
},
"end": {
"line": 118,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3985,
"end": 3986,
"loc": {
"start": {
"line": 118,
"column": 10
},
"end": {
"line": 118,
"column": 11
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 3986,
"end": 3989,
"loc": {
"start": {
"line": 118,
"column": 11
},
"end": {
"line": 118,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 3990,
"end": 3991,
"loc": {
"start": {
"line": 118,
"column": 15
},
"end": {
"line": 118,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3992,
"end": 3993,
"loc": {
"start": {
"line": 118,
"column": 17
},
"end": {
"line": 118,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deletions",
"start": 3994,
"end": 4003,
"loc": {
"start": {
"line": 118,
"column": 19
},
"end": {
"line": 118,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4003,
"end": 4004,
"loc": {
"start": {
"line": 118,
"column": 28
},
"end": {
"line": 118,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 4004,
"end": 4010,
"loc": {
"start": {
"line": 118,
"column": 29
},
"end": {
"line": 118,
"column": 35
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 4011,
"end": 4012,
"loc": {
"start": {
"line": 118,
"column": 36
},
"end": {
"line": 118,
"column": 37
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 4013,
"end": 4014,
"loc": {
"start": {
"line": 118,
"column": 38
},
"end": {
"line": 118,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4014,
"end": 4015,
"loc": {
"start": {
"line": 118,
"column": 39
},
"end": {
"line": 118,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 4016,
"end": 4017,
"loc": {
"start": {
"line": 118,
"column": 41
},
"end": {
"line": 118,
"column": 42
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">=",
"start": 4018,
"end": 4020,
"loc": {
"start": {
"line": 118,
"column": 43
},
"end": {
"line": 118,
"column": 45
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4021,
"end": 4022,
"loc": {
"start": {
"line": 118,
"column": 46
},
"end": {
"line": 118,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4022,
"end": 4023,
"loc": {
"start": {
"line": 118,
"column": 47
},
"end": {
"line": 118,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 4024,
"end": 4025,
"loc": {
"start": {
"line": 118,
"column": 49
},
"end": {
"line": 118,
"column": 50
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "--",
"start": 4025,
"end": 4027,
"loc": {
"start": {
"line": 118,
"column": 50
},
"end": {
"line": 118,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4027,
"end": 4028,
"loc": {
"start": {
"line": 118,
"column": 52
},
"end": {
"line": 118,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4029,
"end": 4030,
"loc": {
"start": {
"line": 118,
"column": 54
},
"end": {
"line": 118,
"column": 55
}
}
},
{
"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": 4039,
"end": 4044,
"loc": {
"start": {
"line": 119,
"column": 8
},
"end": {
"line": 119,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "del",
"start": 4045,
"end": 4048,
"loc": {
"start": {
"line": 119,
"column": 14
},
"end": {
"line": 119,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4049,
"end": 4050,
"loc": {
"start": {
"line": 119,
"column": 18
},
"end": {
"line": 119,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deletions",
"start": 4051,
"end": 4060,
"loc": {
"start": {
"line": 119,
"column": 20
},
"end": {
"line": 119,
"column": 29
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4060,
"end": 4061,
"loc": {
"start": {
"line": 119,
"column": 29
},
"end": {
"line": 119,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 4061,
"end": 4062,
"loc": {
"start": {
"line": 119,
"column": 30
},
"end": {
"line": 119,
"column": 31
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4062,
"end": 4063,
"loc": {
"start": {
"line": 119,
"column": 31
},
"end": {
"line": 119,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deleteItemRange",
"start": 4072,
"end": 4087,
"loc": {
"start": {
"line": 120,
"column": 8
},
"end": {
"line": 120,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4087,
"end": 4088,
"loc": {
"start": {
"line": 120,
"column": 23
},
"end": {
"line": 120,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 4088,
"end": 4089,
"loc": {
"start": {
"line": 120,
"column": 24
},
"end": {
"line": 120,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4089,
"end": 4090,
"loc": {
"start": {
"line": 120,
"column": 25
},
"end": {
"line": 120,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "del",
"start": 4091,
"end": 4094,
"loc": {
"start": {
"line": 120,
"column": 27
},
"end": {
"line": 120,
"column": 30
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4094,
"end": 4095,
"loc": {
"start": {
"line": 120,
"column": 30
},
"end": {
"line": 120,
"column": 31
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4095,
"end": 4096,
"loc": {
"start": {
"line": 120,
"column": 31
},
"end": {
"line": 120,
"column": 32
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4096,
"end": 4097,
"loc": {
"start": {
"line": 120,
"column": 32
},
"end": {
"line": 120,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4097,
"end": 4098,
"loc": {
"start": {
"line": 120,
"column": 33
},
"end": {
"line": 120,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "del",
"start": 4099,
"end": 4102,
"loc": {
"start": {
"line": 120,
"column": 35
},
"end": {
"line": 120,
"column": 38
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4102,
"end": 4103,
"loc": {
"start": {
"line": 120,
"column": 38
},
"end": {
"line": 120,
"column": 39
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 4103,
"end": 4104,
"loc": {
"start": {
"line": 120,
"column": 39
},
"end": {
"line": 120,
"column": 40
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4104,
"end": 4105,
"loc": {
"start": {
"line": 120,
"column": 40
},
"end": {
"line": 120,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4105,
"end": 4106,
"loc": {
"start": {
"line": 120,
"column": 41
},
"end": {
"line": 120,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "del",
"start": 4107,
"end": 4110,
"loc": {
"start": {
"line": 120,
"column": 43
},
"end": {
"line": 120,
"column": 46
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4110,
"end": 4111,
"loc": {
"start": {
"line": 120,
"column": 46
},
"end": {
"line": 120,
"column": 47
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 2,
"start": 4111,
"end": 4112,
"loc": {
"start": {
"line": 120,
"column": 47
},
"end": {
"line": 120,
"column": 48
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4112,
"end": 4113,
"loc": {
"start": {
"line": 120,
"column": 48
},
"end": {
"line": 120,
"column": 49
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4113,
"end": 4114,
"loc": {
"start": {
"line": 120,
"column": 49
},
"end": {
"line": 120,
"column": 50
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 4115,
"end": 4119,
"loc": {
"start": {
"line": 120,
"column": 51
},
"end": {
"line": 120,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4119,
"end": 4120,
"loc": {
"start": {
"line": 120,
"column": 55
},
"end": {
"line": 120,
"column": 56
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4127,
"end": 4128,
"loc": {
"start": {
"line": 121,
"column": 6
},
"end": {
"line": 121,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " for the rest.. just apply it",
"start": 4135,
"end": 4166,
"loc": {
"start": {
"line": 122,
"column": 6
},
"end": {
"line": 122,
"column": 37
}
}
},
{
"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": 4173,
"end": 4176,
"loc": {
"start": {
"line": 123,
"column": 6
},
"end": {
"line": 123,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4177,
"end": 4178,
"loc": {
"start": {
"line": 123,
"column": 10
},
"end": {
"line": 123,
"column": 11
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4178,
"end": 4179,
"loc": {
"start": {
"line": 123,
"column": 11
},
"end": {
"line": 123,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 4180,
"end": 4183,
"loc": {
"start": {
"line": 123,
"column": 13
},
"end": {
"line": 123,
"column": 16
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 4184,
"end": 4185,
"loc": {
"start": {
"line": 123,
"column": 17
},
"end": {
"line": 123,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dv",
"start": 4186,
"end": 4188,
"loc": {
"start": {
"line": 123,
"column": 19
},
"end": {
"line": 123,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4188,
"end": 4189,
"loc": {
"start": {
"line": 123,
"column": 21
},
"end": {
"line": 123,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 4189,
"end": 4195,
"loc": {
"start": {
"line": 123,
"column": 22
},
"end": {
"line": 123,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4195,
"end": 4196,
"loc": {
"start": {
"line": 123,
"column": 28
},
"end": {
"line": 123,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 4197,
"end": 4200,
"loc": {
"start": {
"line": 123,
"column": 30
},
"end": {
"line": 123,
"column": 33
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 4200,
"end": 4202,
"loc": {
"start": {
"line": 123,
"column": 33
},
"end": {
"line": 123,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4202,
"end": 4203,
"loc": {
"start": {
"line": 123,
"column": 35
},
"end": {
"line": 123,
"column": 36
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4204,
"end": 4205,
"loc": {
"start": {
"line": 123,
"column": 37
},
"end": {
"line": 123,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "d",
"start": 4214,
"end": 4215,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 9
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4216,
"end": 4217,
"loc": {
"start": {
"line": 124,
"column": 10
},
"end": {
"line": 124,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "dv",
"start": 4218,
"end": 4220,
"loc": {
"start": {
"line": 124,
"column": 12
},
"end": {
"line": 124,
"column": 14
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4220,
"end": 4221,
"loc": {
"start": {
"line": 124,
"column": 14
},
"end": {
"line": 124,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 4221,
"end": 4224,
"loc": {
"start": {
"line": 124,
"column": 15
},
"end": {
"line": 124,
"column": 18
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4224,
"end": 4225,
"loc": {
"start": {
"line": 124,
"column": 18
},
"end": {
"line": 124,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deleteItemRange",
"start": 4234,
"end": 4249,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4249,
"end": 4250,
"loc": {
"start": {
"line": 125,
"column": 23
},
"end": {
"line": 125,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 4250,
"end": 4251,
"loc": {
"start": {
"line": 125,
"column": 24
},
"end": {
"line": 125,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4251,
"end": 4252,
"loc": {
"start": {
"line": 125,
"column": 25
},
"end": {
"line": 125,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 4253,
"end": 4257,
"loc": {
"start": {
"line": 125,
"column": 27
},
"end": {
"line": 125,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4257,
"end": 4258,
"loc": {
"start": {
"line": 125,
"column": 31
},
"end": {
"line": 125,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "d",
"start": 4259,
"end": 4260,
"loc": {
"start": {
"line": 125,
"column": 33
},
"end": {
"line": 125,
"column": 34
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4260,
"end": 4261,
"loc": {
"start": {
"line": 125,
"column": 34
},
"end": {
"line": 125,
"column": 35
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 4261,
"end": 4262,
"loc": {
"start": {
"line": 125,
"column": 35
},
"end": {
"line": 125,
"column": 36
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4262,
"end": 4263,
"loc": {
"start": {
"line": 125,
"column": 36
},
"end": {
"line": 125,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4263,
"end": 4264,
"loc": {
"start": {
"line": 125,
"column": 37
},
"end": {
"line": 125,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "d",
"start": 4265,
"end": 4266,
"loc": {
"start": {
"line": 125,
"column": 39
},
"end": {
"line": 125,
"column": 40
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4266,
"end": 4267,
"loc": {
"start": {
"line": 125,
"column": 40
},
"end": {
"line": 125,
"column": 41
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 4267,
"end": 4268,
"loc": {
"start": {
"line": 125,
"column": 41
},
"end": {
"line": 125,
"column": 42
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4268,
"end": 4269,
"loc": {
"start": {
"line": 125,
"column": 42
},
"end": {
"line": 125,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4269,
"end": 4270,
"loc": {
"start": {
"line": 125,
"column": 43
},
"end": {
"line": 125,
"column": 44
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 4271,
"end": 4275,
"loc": {
"start": {
"line": 125,
"column": 45
},
"end": {
"line": 125,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4275,
"end": 4276,
"loc": {
"start": {
"line": 125,
"column": 49
},
"end": {
"line": 125,
"column": 50
}
}
},
{
"type": "CommentLine",
"value": " deletions.push([user, d[0], d[1], d[2]])",
"start": 4285,
"end": 4328,
"loc": {
"start": {
"line": 126,
"column": 8
},
"end": {
"line": 126,
"column": 51
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4335,
"end": 4336,
"loc": {
"start": {
"line": 127,
"column": 6
},
"end": {
"line": 127,
"column": 7
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4341,
"end": 4342,
"loc": {
"start": {
"line": 128,
"column": 4
},
"end": {
"line": 128,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4345,
"end": 4346,
"loc": {
"start": {
"line": 129,
"column": 2
},
"end": {
"line": 129,
"column": 3
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4347,
"end": 4348,
"loc": {
"start": {
"line": 130,
"column": 0
},
"end": {
"line": 130,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4349,
"end": 4349,
"loc": {
"start": {
"line": 131,
"column": 0
},
"end": {
"line": 131,
"column": 0
}
}
}
]
}