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

21312 lines
573 KiB
JSON

{
"type": "File",
"start": 0,
"end": 2634,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 95,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 2634,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 95,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 64,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 64
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 27
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 27
},
"identifierName": "getStructReference"
},
"name": "getStructReference"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 27
},
"identifierName": "getStructReference"
},
"name": "getStructReference"
}
}
],
"source": {
"type": "StringLiteral",
"start": 35,
"end": 64,
"loc": {
"start": {
"line": 1,
"column": 35
},
"end": {
"line": 1,
"column": 64
}
},
"extra": {
"rawValue": "../Util/structReferences.js",
"raw": "'../Util/structReferences.js'"
},
"value": "../Util/structReferences.js"
}
},
{
"type": "ImportDeclaration",
"start": 65,
"end": 118,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 53
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 74,
"end": 88,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 23
}
},
"imported": {
"type": "Identifier",
"start": 74,
"end": 88,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 23
},
"identifierName": "RootFakeUserID"
},
"name": "RootFakeUserID"
},
"local": {
"type": "Identifier",
"start": 74,
"end": 88,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 23
},
"identifierName": "RootFakeUserID"
},
"name": "RootFakeUserID"
}
}
],
"source": {
"type": "StringLiteral",
"start": 96,
"end": 118,
"loc": {
"start": {
"line": 2,
"column": 31
},
"end": {
"line": 2,
"column": 53
}
},
"extra": {
"rawValue": "../Util/ID/RootID.js",
"raw": "'../Util/ID/RootID.js'"
},
"value": "../Util/ID/RootID.js"
}
},
{
"type": "ImportDeclaration",
"start": 119,
"end": 152,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 33
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 126,
"end": 128,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 9
}
},
"local": {
"type": "Identifier",
"start": 126,
"end": 128,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 9
},
"identifierName": "ID"
},
"name": "ID"
}
}
],
"source": {
"type": "StringLiteral",
"start": 134,
"end": 152,
"loc": {
"start": {
"line": 3,
"column": 15
},
"end": {
"line": 3,
"column": 33
}
},
"extra": {
"rawValue": "../Util/ID/ID.js",
"raw": "'../Util/ID/ID.js'"
},
"value": "../Util/ID/ID.js",
"leadingComments": null,
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " TODO should have the same base class as Item",
"start": 154,
"end": 201,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 47
}
}
}
]
},
{
"type": "ExportDefaultDeclaration",
"start": 202,
"end": 2633,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 94,
"column": 1
}
},
"declaration": {
"type": "ClassDeclaration",
"start": 217,
"end": 2633,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 94,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 223,
"end": 225,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 23
},
"identifierName": "GC"
},
"name": "GC",
"leadingComments": null
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 226,
"end": 2633,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 94,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 230,
"end": 291,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 10,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 230,
"end": 241,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 7,
"column": 13
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 245,
"end": 291,
"loc": {
"start": {
"line": 7,
"column": 17
},
"end": {
"line": 10,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 251,
"end": 266,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 19
}
},
"expression": {
"type": "AssignmentExpression",
"start": 251,
"end": 266,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 19
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 251,
"end": 259,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 12
}
},
"object": {
"type": "ThisExpression",
"start": 251,
"end": 255,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 256,
"end": 259,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 12
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 262,
"end": 266,
"loc": {
"start": {
"line": 8,
"column": 15
},
"end": {
"line": 8,
"column": 19
}
}
}
}
},
{
"type": "ExpressionStatement",
"start": 271,
"end": 287,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 20
}
},
"expression": {
"type": "AssignmentExpression",
"start": 271,
"end": 287,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 20
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 271,
"end": 283,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 16
}
},
"object": {
"type": "ThisExpression",
"start": 271,
"end": 275,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 276,
"end": 283,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 16
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
},
"right": {
"type": "NumericLiteral",
"start": 286,
"end": 287,
"loc": {
"start": {
"line": 9,
"column": 19
},
"end": {
"line": 9,
"column": 20
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 295,
"end": 332,
"loc": {
"start": {
"line": 12,
"column": 2
},
"end": {
"line": 14,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 299,
"end": 307,
"loc": {
"start": {
"line": 12,
"column": 6
},
"end": {
"line": 12,
"column": 14
},
"identifierName": "_deleted"
},
"name": "_deleted"
},
"kind": "get",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 311,
"end": 332,
"loc": {
"start": {
"line": 12,
"column": 18
},
"end": {
"line": 14,
"column": 3
}
},
"body": [
{
"type": "ReturnStatement",
"start": 317,
"end": 328,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 15
}
},
"argument": {
"type": "BooleanLiteral",
"start": 324,
"end": 328,
"loc": {
"start": {
"line": 13,
"column": 11
},
"end": {
"line": 13,
"column": 15
}
},
"value": true
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 336,
"end": 1439,
"loc": {
"start": {
"line": 16,
"column": 2
},
"end": {
"line": 47,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 336,
"end": 346,
"loc": {
"start": {
"line": 16,
"column": 2
},
"end": {
"line": 16,
"column": 12
},
"identifierName": "_integrate"
},
"name": "_integrate"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 348,
"end": 349,
"loc": {
"start": {
"line": 16,
"column": 14
},
"end": {
"line": 16,
"column": 15
},
"identifierName": "y"
},
"name": "y"
}
],
"body": {
"type": "BlockStatement",
"start": 351,
"end": 1439,
"loc": {
"start": {
"line": 16,
"column": 17
},
"end": {
"line": 47,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 357,
"end": 376,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 23
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 363,
"end": 376,
"loc": {
"start": {
"line": 17,
"column": 10
},
"end": {
"line": 17,
"column": 23
}
},
"id": {
"type": "Identifier",
"start": 363,
"end": 365,
"loc": {
"start": {
"line": 17,
"column": 10
},
"end": {
"line": 17,
"column": 12
},
"identifierName": "id"
},
"name": "id"
},
"init": {
"type": "MemberExpression",
"start": 368,
"end": 376,
"loc": {
"start": {
"line": 17,
"column": 15
},
"end": {
"line": 17,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 368,
"end": 372,
"loc": {
"start": {
"line": 17,
"column": 15
},
"end": {
"line": 17,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 373,
"end": 376,
"loc": {
"start": {
"line": 17,
"column": 20
},
"end": {
"line": 17,
"column": 23
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 381,
"end": 421,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 387,
"end": 421,
"loc": {
"start": {
"line": 18,
"column": 10
},
"end": {
"line": 18,
"column": 44
}
},
"id": {
"type": "Identifier",
"start": 387,
"end": 396,
"loc": {
"start": {
"line": 18,
"column": 10
},
"end": {
"line": 18,
"column": 19
},
"identifierName": "userState"
},
"name": "userState"
},
"init": {
"type": "CallExpression",
"start": 399,
"end": 421,
"loc": {
"start": {
"line": 18,
"column": 22
},
"end": {
"line": 18,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
"start": 399,
"end": 412,
"loc": {
"start": {
"line": 18,
"column": 22
},
"end": {
"line": 18,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 399,
"end": 403,
"loc": {
"start": {
"line": 18,
"column": 22
},
"end": {
"line": 18,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 399,
"end": 400,
"loc": {
"start": {
"line": 18,
"column": 22
},
"end": {
"line": 18,
"column": 23
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 401,
"end": 403,
"loc": {
"start": {
"line": 18,
"column": 24
},
"end": {
"line": 18,
"column": 26
},
"identifierName": "ss"
},
"name": "ss"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 404,
"end": 412,
"loc": {
"start": {
"line": 18,
"column": 27
},
"end": {
"line": 18,
"column": 35
},
"identifierName": "getState"
},
"name": "getState"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 413,
"end": 420,
"loc": {
"start": {
"line": 18,
"column": 36
},
"end": {
"line": 18,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 413,
"end": 415,
"loc": {
"start": {
"line": 18,
"column": 36
},
"end": {
"line": 18,
"column": 38
},
"identifierName": "id"
},
"name": "id"
},
"property": {
"type": "Identifier",
"start": 416,
"end": 420,
"loc": {
"start": {
"line": 18,
"column": 39
},
"end": {
"line": 18,
"column": 43
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 426,
"end": 515,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 21,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 430,
"end": 452,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 30
}
},
"left": {
"type": "MemberExpression",
"start": 430,
"end": 438,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 16
}
},
"object": {
"type": "Identifier",
"start": 430,
"end": 432,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 10
},
"identifierName": "id"
},
"name": "id"
},
"property": {
"type": "Identifier",
"start": 433,
"end": 438,
"loc": {
"start": {
"line": 19,
"column": 11
},
"end": {
"line": 19,
"column": 16
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 443,
"end": 452,
"loc": {
"start": {
"line": 19,
"column": 21
},
"end": {
"line": 19,
"column": 30
},
"identifierName": "userState"
},
"name": "userState"
}
},
"consequent": {
"type": "BlockStatement",
"start": 454,
"end": 515,
"loc": {
"start": {
"line": 19,
"column": 32
},
"end": {
"line": 21,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 462,
"end": 509,
"loc": {
"start": {
"line": 20,
"column": 6
},
"end": {
"line": 20,
"column": 53
}
},
"expression": {
"type": "CallExpression",
"start": 462,
"end": 509,
"loc": {
"start": {
"line": 20,
"column": 6
},
"end": {
"line": 20,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 462,
"end": 475,
"loc": {
"start": {
"line": 20,
"column": 6
},
"end": {
"line": 20,
"column": 19
}
},
"object": {
"type": "MemberExpression",
"start": 462,
"end": 466,
"loc": {
"start": {
"line": 20,
"column": 6
},
"end": {
"line": 20,
"column": 10
}
},
"object": {
"type": "Identifier",
"start": 462,
"end": 463,
"loc": {
"start": {
"line": 20,
"column": 6
},
"end": {
"line": 20,
"column": 7
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 464,
"end": 466,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 10
},
"identifierName": "ss"
},
"name": "ss"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 467,
"end": 475,
"loc": {
"start": {
"line": 20,
"column": 11
},
"end": {
"line": 20,
"column": 19
},
"identifierName": "setState"
},
"name": "setState"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 476,
"end": 483,
"loc": {
"start": {
"line": 20,
"column": 20
},
"end": {
"line": 20,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 476,
"end": 478,
"loc": {
"start": {
"line": 20,
"column": 20
},
"end": {
"line": 20,
"column": 22
},
"identifierName": "id"
},
"name": "id"
},
"property": {
"type": "Identifier",
"start": 479,
"end": 483,
"loc": {
"start": {
"line": 20,
"column": 23
},
"end": {
"line": 20,
"column": 27
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
},
{
"type": "BinaryExpression",
"start": 485,
"end": 508,
"loc": {
"start": {
"line": 20,
"column": 29
},
"end": {
"line": 20,
"column": 52
}
},
"left": {
"type": "MemberExpression",
"start": 485,
"end": 493,
"loc": {
"start": {
"line": 20,
"column": 29
},
"end": {
"line": 20,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 485,
"end": 487,
"loc": {
"start": {
"line": 20,
"column": 29
},
"end": {
"line": 20,
"column": 31
},
"identifierName": "id"
},
"name": "id"
},
"property": {
"type": "Identifier",
"start": 488,
"end": 493,
"loc": {
"start": {
"line": 20,
"column": 32
},
"end": {
"line": 20,
"column": 37
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 496,
"end": 508,
"loc": {
"start": {
"line": 20,
"column": 40
},
"end": {
"line": 20,
"column": 52
}
},
"object": {
"type": "ThisExpression",
"start": 496,
"end": 500,
"loc": {
"start": {
"line": 20,
"column": 40
},
"end": {
"line": 20,
"column": 44
}
}
},
"property": {
"type": "Identifier",
"start": 501,
"end": 508,
"loc": {
"start": {
"line": 20,
"column": 45
},
"end": {
"line": 20,
"column": 52
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
}
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 520,
"end": 559,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 43
}
},
"expression": {
"type": "CallExpression",
"start": 520,
"end": 559,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 520,
"end": 529,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 13
}
},
"object": {
"type": "MemberExpression",
"start": 520,
"end": 524,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 8
}
},
"object": {
"type": "Identifier",
"start": 520,
"end": 521,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 5
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 522,
"end": 524,
"loc": {
"start": {
"line": 22,
"column": 6
},
"end": {
"line": 22,
"column": 8
},
"identifierName": "ds"
},
"name": "ds"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 525,
"end": 529,
"loc": {
"start": {
"line": 22,
"column": 9
},
"end": {
"line": 22,
"column": 13
},
"identifierName": "mark"
},
"name": "mark"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 530,
"end": 538,
"loc": {
"start": {
"line": 22,
"column": 14
},
"end": {
"line": 22,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 530,
"end": 534,
"loc": {
"start": {
"line": 22,
"column": 14
},
"end": {
"line": 22,
"column": 18
}
}
},
"property": {
"type": "Identifier",
"start": 535,
"end": 538,
"loc": {
"start": {
"line": 22,
"column": 19
},
"end": {
"line": 22,
"column": 22
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 540,
"end": 552,
"loc": {
"start": {
"line": 22,
"column": 24
},
"end": {
"line": 22,
"column": 36
}
},
"object": {
"type": "ThisExpression",
"start": 540,
"end": 544,
"loc": {
"start": {
"line": 22,
"column": 24
},
"end": {
"line": 22,
"column": 28
}
}
},
"property": {
"type": "Identifier",
"start": 545,
"end": 552,
"loc": {
"start": {
"line": 22,
"column": 29
},
"end": {
"line": 22,
"column": 36
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 554,
"end": 558,
"loc": {
"start": {
"line": 22,
"column": 38
},
"end": {
"line": 22,
"column": 42
}
},
"value": true
}
]
}
},
{
"type": "VariableDeclaration",
"start": 564,
"end": 586,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 568,
"end": 586,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 568,
"end": 569,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 9
},
"identifierName": "n"
},
"name": "n"
},
"init": {
"type": "CallExpression",
"start": 572,
"end": 586,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 26
}
},
"callee": {
"type": "MemberExpression",
"start": 572,
"end": 580,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 20
}
},
"object": {
"type": "MemberExpression",
"start": 572,
"end": 576,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 16
}
},
"object": {
"type": "Identifier",
"start": 572,
"end": 573,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 13
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 574,
"end": 576,
"loc": {
"start": {
"line": 23,
"column": 14
},
"end": {
"line": 23,
"column": 16
},
"identifierName": "os"
},
"name": "os"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 577,
"end": 580,
"loc": {
"start": {
"line": 23,
"column": 17
},
"end": {
"line": 23,
"column": 20
},
"identifierName": "put"
},
"name": "put"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 581,
"end": 585,
"loc": {
"start": {
"line": 23,
"column": 21
},
"end": {
"line": 23,
"column": 25
}
}
}
]
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 591,
"end": 616,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 29
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 597,
"end": 616,
"loc": {
"start": {
"line": 24,
"column": 10
},
"end": {
"line": 24,
"column": 29
}
},
"id": {
"type": "Identifier",
"start": 597,
"end": 601,
"loc": {
"start": {
"line": 24,
"column": 10
},
"end": {
"line": 24,
"column": 14
},
"identifierName": "prev"
},
"name": "prev"
},
"init": {
"type": "MemberExpression",
"start": 604,
"end": 616,
"loc": {
"start": {
"line": 24,
"column": 17
},
"end": {
"line": 24,
"column": 29
}
},
"object": {
"type": "CallExpression",
"start": 604,
"end": 612,
"loc": {
"start": {
"line": 24,
"column": 17
},
"end": {
"line": 24,
"column": 25
}
},
"callee": {
"type": "MemberExpression",
"start": 604,
"end": 610,
"loc": {
"start": {
"line": 24,
"column": 17
},
"end": {
"line": 24,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 604,
"end": 605,
"loc": {
"start": {
"line": 24,
"column": 17
},
"end": {
"line": 24,
"column": 18
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 606,
"end": 610,
"loc": {
"start": {
"line": 24,
"column": 19
},
"end": {
"line": 24,
"column": 23
},
"identifierName": "prev"
},
"name": "prev"
},
"computed": false
},
"arguments": []
},
"property": {
"type": "Identifier",
"start": 613,
"end": 616,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 24,
"column": 29
},
"identifierName": "val"
},
"name": "val"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 621,
"end": 884,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 30,
"column": 5
}
},
"test": {
"type": "LogicalExpression",
"start": 625,
"end": 754,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 137
}
},
"left": {
"type": "LogicalExpression",
"start": 625,
"end": 701,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 84
}
},
"left": {
"type": "LogicalExpression",
"start": 625,
"end": 665,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 48
}
},
"left": {
"type": "BinaryExpression",
"start": 625,
"end": 638,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 21
}
},
"left": {
"type": "Identifier",
"start": 625,
"end": 629,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 12
},
"identifierName": "prev"
},
"name": "prev"
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 634,
"end": 638,
"loc": {
"start": {
"line": 25,
"column": 17
},
"end": {
"line": 25,
"column": 21
}
}
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 642,
"end": 665,
"loc": {
"start": {
"line": 25,
"column": 25
},
"end": {
"line": 25,
"column": 48
}
},
"left": {
"type": "MemberExpression",
"start": 642,
"end": 658,
"loc": {
"start": {
"line": 25,
"column": 25
},
"end": {
"line": 25,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 642,
"end": 646,
"loc": {
"start": {
"line": 25,
"column": 25
},
"end": {
"line": 25,
"column": 29
},
"identifierName": "prev"
},
"name": "prev"
},
"property": {
"type": "Identifier",
"start": 647,
"end": 658,
"loc": {
"start": {
"line": 25,
"column": 30
},
"end": {
"line": 25,
"column": 41
},
"identifierName": "constructor"
},
"name": "constructor"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 663,
"end": 665,
"loc": {
"start": {
"line": 25,
"column": 46
},
"end": {
"line": 25,
"column": 48
},
"identifierName": "GC"
},
"name": "GC"
}
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 669,
"end": 701,
"loc": {
"start": {
"line": 25,
"column": 52
},
"end": {
"line": 25,
"column": 84
}
},
"left": {
"type": "MemberExpression",
"start": 669,
"end": 682,
"loc": {
"start": {
"line": 25,
"column": 52
},
"end": {
"line": 25,
"column": 65
}
},
"object": {
"type": "MemberExpression",
"start": 669,
"end": 677,
"loc": {
"start": {
"line": 25,
"column": 52
},
"end": {
"line": 25,
"column": 60
}
},
"object": {
"type": "Identifier",
"start": 669,
"end": 673,
"loc": {
"start": {
"line": 25,
"column": 52
},
"end": {
"line": 25,
"column": 56
},
"identifierName": "prev"
},
"name": "prev"
},
"property": {
"type": "Identifier",
"start": 674,
"end": 677,
"loc": {
"start": {
"line": 25,
"column": 57
},
"end": {
"line": 25,
"column": 60
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 678,
"end": 682,
"loc": {
"start": {
"line": 25,
"column": 61
},
"end": {
"line": 25,
"column": 65
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 687,
"end": 701,
"loc": {
"start": {
"line": 25,
"column": 70
},
"end": {
"line": 25,
"column": 84
}
},
"object": {
"type": "MemberExpression",
"start": 687,
"end": 696,
"loc": {
"start": {
"line": 25,
"column": 70
},
"end": {
"line": 25,
"column": 79
}
},
"object": {
"type": "MemberExpression",
"start": 687,
"end": 692,
"loc": {
"start": {
"line": 25,
"column": 70
},
"end": {
"line": 25,
"column": 75
}
},
"object": {
"type": "Identifier",
"start": 687,
"end": 688,
"loc": {
"start": {
"line": 25,
"column": 70
},
"end": {
"line": 25,
"column": 71
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 689,
"end": 692,
"loc": {
"start": {
"line": 25,
"column": 72
},
"end": {
"line": 25,
"column": 75
},
"identifierName": "val"
},
"name": "val"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 693,
"end": 696,
"loc": {
"start": {
"line": 25,
"column": 76
},
"end": {
"line": 25,
"column": 79
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 697,
"end": 701,
"loc": {
"start": {
"line": 25,
"column": 80
},
"end": {
"line": 25,
"column": 84
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
}
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 705,
"end": 754,
"loc": {
"start": {
"line": 25,
"column": 88
},
"end": {
"line": 25,
"column": 137
}
},
"left": {
"type": "BinaryExpression",
"start": 705,
"end": 734,
"loc": {
"start": {
"line": 25,
"column": 88
},
"end": {
"line": 25,
"column": 117
}
},
"left": {
"type": "MemberExpression",
"start": 705,
"end": 719,
"loc": {
"start": {
"line": 25,
"column": 88
},
"end": {
"line": 25,
"column": 102
}
},
"object": {
"type": "MemberExpression",
"start": 705,
"end": 713,
"loc": {
"start": {
"line": 25,
"column": 88
},
"end": {
"line": 25,
"column": 96
}
},
"object": {
"type": "Identifier",
"start": 705,
"end": 709,
"loc": {
"start": {
"line": 25,
"column": 88
},
"end": {
"line": 25,
"column": 92
},
"identifierName": "prev"
},
"name": "prev"
},
"property": {
"type": "Identifier",
"start": 710,
"end": 713,
"loc": {
"start": {
"line": 25,
"column": 93
},
"end": {
"line": 25,
"column": 96
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 714,
"end": 719,
"loc": {
"start": {
"line": 25,
"column": 97
},
"end": {
"line": 25,
"column": 102
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 722,
"end": 734,
"loc": {
"start": {
"line": 25,
"column": 105
},
"end": {
"line": 25,
"column": 117
}
},
"object": {
"type": "Identifier",
"start": 722,
"end": 726,
"loc": {
"start": {
"line": 25,
"column": 105
},
"end": {
"line": 25,
"column": 109
},
"identifierName": "prev"
},
"name": "prev"
},
"property": {
"type": "Identifier",
"start": 727,
"end": 734,
"loc": {
"start": {
"line": 25,
"column": 110
},
"end": {
"line": 25,
"column": 117
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
}
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 739,
"end": 754,
"loc": {
"start": {
"line": 25,
"column": 122
},
"end": {
"line": 25,
"column": 137
}
},
"object": {
"type": "MemberExpression",
"start": 739,
"end": 748,
"loc": {
"start": {
"line": 25,
"column": 122
},
"end": {
"line": 25,
"column": 131
}
},
"object": {
"type": "MemberExpression",
"start": 739,
"end": 744,
"loc": {
"start": {
"line": 25,
"column": 122
},
"end": {
"line": 25,
"column": 127
}
},
"object": {
"type": "Identifier",
"start": 739,
"end": 740,
"loc": {
"start": {
"line": 25,
"column": 122
},
"end": {
"line": 25,
"column": 123
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 741,
"end": 744,
"loc": {
"start": {
"line": 25,
"column": 124
},
"end": {
"line": 25,
"column": 127
},
"identifierName": "val"
},
"name": "val"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 745,
"end": 748,
"loc": {
"start": {
"line": 25,
"column": 128
},
"end": {
"line": 25,
"column": 131
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 749,
"end": 754,
"loc": {
"start": {
"line": 25,
"column": 132
},
"end": {
"line": 25,
"column": 137
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 756,
"end": 884,
"loc": {
"start": {
"line": 25,
"column": 139
},
"end": {
"line": 30,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 805,
"end": 834,
"loc": {
"start": {
"line": 27,
"column": 6
},
"end": {
"line": 27,
"column": 35
}
},
"expression": {
"type": "AssignmentExpression",
"start": 805,
"end": 834,
"loc": {
"start": {
"line": 27,
"column": 6
},
"end": {
"line": 27,
"column": 35
}
},
"operator": "+=",
"left": {
"type": "MemberExpression",
"start": 805,
"end": 817,
"loc": {
"start": {
"line": 27,
"column": 6
},
"end": {
"line": 27,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 805,
"end": 809,
"loc": {
"start": {
"line": 27,
"column": 6
},
"end": {
"line": 27,
"column": 10
},
"identifierName": "prev"
},
"name": "prev",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 810,
"end": 817,
"loc": {
"start": {
"line": 27,
"column": 11
},
"end": {
"line": 27,
"column": 18
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "MemberExpression",
"start": 821,
"end": 834,
"loc": {
"start": {
"line": 27,
"column": 22
},
"end": {
"line": 27,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 821,
"end": 826,
"loc": {
"start": {
"line": 27,
"column": 22
},
"end": {
"line": 27,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 821,
"end": 822,
"loc": {
"start": {
"line": 27,
"column": 22
},
"end": {
"line": 27,
"column": 23
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 823,
"end": 826,
"loc": {
"start": {
"line": 27,
"column": 24
},
"end": {
"line": 27,
"column": 27
},
"identifierName": "val"
},
"name": "val"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 827,
"end": 834,
"loc": {
"start": {
"line": 27,
"column": 28
},
"end": {
"line": 27,
"column": 35
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " TODO: do merging for all items!",
"start": 764,
"end": 798,
"loc": {
"start": {
"line": 26,
"column": 6
},
"end": {
"line": 26,
"column": 40
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 841,
"end": 863,
"loc": {
"start": {
"line": 28,
"column": 6
},
"end": {
"line": 28,
"column": 28
}
},
"expression": {
"type": "CallExpression",
"start": 841,
"end": 863,
"loc": {
"start": {
"line": 28,
"column": 6
},
"end": {
"line": 28,
"column": 28
}
},
"callee": {
"type": "MemberExpression",
"start": 841,
"end": 852,
"loc": {
"start": {
"line": 28,
"column": 6
},
"end": {
"line": 28,
"column": 17
}
},
"object": {
"type": "MemberExpression",
"start": 841,
"end": 845,
"loc": {
"start": {
"line": 28,
"column": 6
},
"end": {
"line": 28,
"column": 10
}
},
"object": {
"type": "Identifier",
"start": 841,
"end": 842,
"loc": {
"start": {
"line": 28,
"column": 6
},
"end": {
"line": 28,
"column": 7
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 843,
"end": 845,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 10
},
"identifierName": "os"
},
"name": "os"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 846,
"end": 852,
"loc": {
"start": {
"line": 28,
"column": 11
},
"end": {
"line": 28,
"column": 17
},
"identifierName": "delete"
},
"name": "delete"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 853,
"end": 862,
"loc": {
"start": {
"line": 28,
"column": 18
},
"end": {
"line": 28,
"column": 27
}
},
"object": {
"type": "MemberExpression",
"start": 853,
"end": 858,
"loc": {
"start": {
"line": 28,
"column": 18
},
"end": {
"line": 28,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 853,
"end": 854,
"loc": {
"start": {
"line": 28,
"column": 18
},
"end": {
"line": 28,
"column": 19
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 855,
"end": 858,
"loc": {
"start": {
"line": 28,
"column": 20
},
"end": {
"line": 28,
"column": 23
},
"identifierName": "val"
},
"name": "val"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 859,
"end": 862,
"loc": {
"start": {
"line": 28,
"column": 24
},
"end": {
"line": 28,
"column": 27
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 870,
"end": 878,
"loc": {
"start": {
"line": 29,
"column": 6
},
"end": {
"line": 29,
"column": 14
}
},
"expression": {
"type": "AssignmentExpression",
"start": 870,
"end": 878,
"loc": {
"start": {
"line": 29,
"column": 6
},
"end": {
"line": 29,
"column": 14
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 870,
"end": 871,
"loc": {
"start": {
"line": 29,
"column": 6
},
"end": {
"line": 29,
"column": 7
},
"identifierName": "n"
},
"name": "n"
},
"right": {
"type": "Identifier",
"start": 874,
"end": 878,
"loc": {
"start": {
"line": 29,
"column": 10
},
"end": {
"line": 29,
"column": 14
},
"identifierName": "prev"
},
"name": "prev"
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 889,
"end": 923,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 33,
"column": 5
}
},
"test": {
"type": "MemberExpression",
"start": 893,
"end": 898,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 13
}
},
"object": {
"type": "Identifier",
"start": 893,
"end": 894,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 9
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 895,
"end": 898,
"loc": {
"start": {
"line": 31,
"column": 10
},
"end": {
"line": 31,
"column": 13
},
"identifierName": "val"
},
"name": "val"
},
"computed": false
},
"consequent": {
"type": "BlockStatement",
"start": 900,
"end": 923,
"loc": {
"start": {
"line": 31,
"column": 15
},
"end": {
"line": 33,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 908,
"end": 917,
"loc": {
"start": {
"line": 32,
"column": 6
},
"end": {
"line": 32,
"column": 15
}
},
"expression": {
"type": "AssignmentExpression",
"start": 908,
"end": 917,
"loc": {
"start": {
"line": 32,
"column": 6
},
"end": {
"line": 32,
"column": 15
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 908,
"end": 909,
"loc": {
"start": {
"line": 32,
"column": 6
},
"end": {
"line": 32,
"column": 7
},
"identifierName": "n"
},
"name": "n"
},
"right": {
"type": "MemberExpression",
"start": 912,
"end": 917,
"loc": {
"start": {
"line": 32,
"column": 10
},
"end": {
"line": 32,
"column": 15
}
},
"object": {
"type": "Identifier",
"start": 912,
"end": 913,
"loc": {
"start": {
"line": 32,
"column": 10
},
"end": {
"line": 32,
"column": 11
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 914,
"end": 917,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 15
},
"identifierName": "val"
},
"name": "val"
},
"computed": false
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 928,
"end": 961,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 37
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 934,
"end": 961,
"loc": {
"start": {
"line": 34,
"column": 10
},
"end": {
"line": 34,
"column": 37
}
},
"id": {
"type": "Identifier",
"start": 934,
"end": 938,
"loc": {
"start": {
"line": 34,
"column": 10
},
"end": {
"line": 34,
"column": 14
},
"identifierName": "next"
},
"name": "next"
},
"init": {
"type": "CallExpression",
"start": 941,
"end": 961,
"loc": {
"start": {
"line": 34,
"column": 17
},
"end": {
"line": 34,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 941,
"end": 954,
"loc": {
"start": {
"line": 34,
"column": 17
},
"end": {
"line": 34,
"column": 30
}
},
"object": {
"type": "MemberExpression",
"start": 941,
"end": 945,
"loc": {
"start": {
"line": 34,
"column": 17
},
"end": {
"line": 34,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 941,
"end": 942,
"loc": {
"start": {
"line": 34,
"column": 17
},
"end": {
"line": 34,
"column": 18
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 943,
"end": 945,
"loc": {
"start": {
"line": 34,
"column": 19
},
"end": {
"line": 34,
"column": 21
},
"identifierName": "os"
},
"name": "os"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 946,
"end": 954,
"loc": {
"start": {
"line": 34,
"column": 22
},
"end": {
"line": 34,
"column": 30
},
"identifierName": "findNext"
},
"name": "findNext"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 955,
"end": 960,
"loc": {
"start": {
"line": 34,
"column": 31
},
"end": {
"line": 34,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 955,
"end": 956,
"loc": {
"start": {
"line": 34,
"column": 31
},
"end": {
"line": 34,
"column": 32
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 957,
"end": 960,
"loc": {
"start": {
"line": 34,
"column": 33
},
"end": {
"line": 34,
"column": 36
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 966,
"end": 1157,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 38,
"column": 5
}
},
"test": {
"type": "LogicalExpression",
"start": 970,
"end": 1088,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 126
}
},
"left": {
"type": "LogicalExpression",
"start": 970,
"end": 1042,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 80
}
},
"left": {
"type": "LogicalExpression",
"start": 970,
"end": 1010,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 48
}
},
"left": {
"type": "BinaryExpression",
"start": 970,
"end": 983,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 21
}
},
"left": {
"type": "Identifier",
"start": 970,
"end": 974,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 12
},
"identifierName": "next"
},
"name": "next"
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 979,
"end": 983,
"loc": {
"start": {
"line": 35,
"column": 17
},
"end": {
"line": 35,
"column": 21
}
}
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 987,
"end": 1010,
"loc": {
"start": {
"line": 35,
"column": 25
},
"end": {
"line": 35,
"column": 48
}
},
"left": {
"type": "MemberExpression",
"start": 987,
"end": 1003,
"loc": {
"start": {
"line": 35,
"column": 25
},
"end": {
"line": 35,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 987,
"end": 991,
"loc": {
"start": {
"line": 35,
"column": 25
},
"end": {
"line": 35,
"column": 29
},
"identifierName": "next"
},
"name": "next"
},
"property": {
"type": "Identifier",
"start": 992,
"end": 1003,
"loc": {
"start": {
"line": 35,
"column": 30
},
"end": {
"line": 35,
"column": 41
},
"identifierName": "constructor"
},
"name": "constructor"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 1008,
"end": 1010,
"loc": {
"start": {
"line": 35,
"column": 46
},
"end": {
"line": 35,
"column": 48
},
"identifierName": "GC"
},
"name": "GC"
}
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 1014,
"end": 1042,
"loc": {
"start": {
"line": 35,
"column": 52
},
"end": {
"line": 35,
"column": 80
}
},
"left": {
"type": "MemberExpression",
"start": 1014,
"end": 1027,
"loc": {
"start": {
"line": 35,
"column": 52
},
"end": {
"line": 35,
"column": 65
}
},
"object": {
"type": "MemberExpression",
"start": 1014,
"end": 1022,
"loc": {
"start": {
"line": 35,
"column": 52
},
"end": {
"line": 35,
"column": 60
}
},
"object": {
"type": "Identifier",
"start": 1014,
"end": 1018,
"loc": {
"start": {
"line": 35,
"column": 52
},
"end": {
"line": 35,
"column": 56
},
"identifierName": "next"
},
"name": "next"
},
"property": {
"type": "Identifier",
"start": 1019,
"end": 1022,
"loc": {
"start": {
"line": 35,
"column": 57
},
"end": {
"line": 35,
"column": 60
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1023,
"end": 1027,
"loc": {
"start": {
"line": 35,
"column": 61
},
"end": {
"line": 35,
"column": 65
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 1032,
"end": 1042,
"loc": {
"start": {
"line": 35,
"column": 70
},
"end": {
"line": 35,
"column": 80
}
},
"object": {
"type": "MemberExpression",
"start": 1032,
"end": 1037,
"loc": {
"start": {
"line": 35,
"column": 70
},
"end": {
"line": 35,
"column": 75
}
},
"object": {
"type": "Identifier",
"start": 1032,
"end": 1033,
"loc": {
"start": {
"line": 35,
"column": 70
},
"end": {
"line": 35,
"column": 71
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 1034,
"end": 1037,
"loc": {
"start": {
"line": 35,
"column": 72
},
"end": {
"line": 35,
"column": 75
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1038,
"end": 1042,
"loc": {
"start": {
"line": 35,
"column": 76
},
"end": {
"line": 35,
"column": 80
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
}
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 1046,
"end": 1088,
"loc": {
"start": {
"line": 35,
"column": 84
},
"end": {
"line": 35,
"column": 126
}
},
"left": {
"type": "MemberExpression",
"start": 1046,
"end": 1060,
"loc": {
"start": {
"line": 35,
"column": 84
},
"end": {
"line": 35,
"column": 98
}
},
"object": {
"type": "MemberExpression",
"start": 1046,
"end": 1054,
"loc": {
"start": {
"line": 35,
"column": 84
},
"end": {
"line": 35,
"column": 92
}
},
"object": {
"type": "Identifier",
"start": 1046,
"end": 1050,
"loc": {
"start": {
"line": 35,
"column": 84
},
"end": {
"line": 35,
"column": 88
},
"identifierName": "next"
},
"name": "next"
},
"property": {
"type": "Identifier",
"start": 1051,
"end": 1054,
"loc": {
"start": {
"line": 35,
"column": 89
},
"end": {
"line": 35,
"column": 92
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1055,
"end": 1060,
"loc": {
"start": {
"line": 35,
"column": 93
},
"end": {
"line": 35,
"column": 98
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
},
"operator": "===",
"right": {
"type": "BinaryExpression",
"start": 1065,
"end": 1088,
"loc": {
"start": {
"line": 35,
"column": 103
},
"end": {
"line": 35,
"column": 126
}
},
"left": {
"type": "MemberExpression",
"start": 1065,
"end": 1076,
"loc": {
"start": {
"line": 35,
"column": 103
},
"end": {
"line": 35,
"column": 114
}
},
"object": {
"type": "MemberExpression",
"start": 1065,
"end": 1070,
"loc": {
"start": {
"line": 35,
"column": 103
},
"end": {
"line": 35,
"column": 108
}
},
"object": {
"type": "Identifier",
"start": 1065,
"end": 1066,
"loc": {
"start": {
"line": 35,
"column": 103
},
"end": {
"line": 35,
"column": 104
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 1067,
"end": 1070,
"loc": {
"start": {
"line": 35,
"column": 105
},
"end": {
"line": 35,
"column": 108
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1071,
"end": 1076,
"loc": {
"start": {
"line": 35,
"column": 109
},
"end": {
"line": 35,
"column": 114
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 1079,
"end": 1088,
"loc": {
"start": {
"line": 35,
"column": 117
},
"end": {
"line": 35,
"column": 126
}
},
"object": {
"type": "Identifier",
"start": 1079,
"end": 1080,
"loc": {
"start": {
"line": 35,
"column": 117
},
"end": {
"line": 35,
"column": 118
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 1081,
"end": 1088,
"loc": {
"start": {
"line": 35,
"column": 119
},
"end": {
"line": 35,
"column": 126
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 1090,
"end": 1157,
"loc": {
"start": {
"line": 35,
"column": 128
},
"end": {
"line": 38,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1098,
"end": 1123,
"loc": {
"start": {
"line": 36,
"column": 6
},
"end": {
"line": 36,
"column": 31
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1098,
"end": 1123,
"loc": {
"start": {
"line": 36,
"column": 6
},
"end": {
"line": 36,
"column": 31
}
},
"operator": "+=",
"left": {
"type": "MemberExpression",
"start": 1098,
"end": 1107,
"loc": {
"start": {
"line": 36,
"column": 6
},
"end": {
"line": 36,
"column": 15
}
},
"object": {
"type": "Identifier",
"start": 1098,
"end": 1099,
"loc": {
"start": {
"line": 36,
"column": 6
},
"end": {
"line": 36,
"column": 7
},
"identifierName": "n"
},
"name": "n"
},
"property": {
"type": "Identifier",
"start": 1100,
"end": 1107,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 15
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 1111,
"end": 1123,
"loc": {
"start": {
"line": 36,
"column": 19
},
"end": {
"line": 36,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 1111,
"end": 1115,
"loc": {
"start": {
"line": 36,
"column": 19
},
"end": {
"line": 36,
"column": 23
},
"identifierName": "next"
},
"name": "next"
},
"property": {
"type": "Identifier",
"start": 1116,
"end": 1123,
"loc": {
"start": {
"line": 36,
"column": 24
},
"end": {
"line": 36,
"column": 31
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 1130,
"end": 1151,
"loc": {
"start": {
"line": 37,
"column": 6
},
"end": {
"line": 37,
"column": 27
}
},
"expression": {
"type": "CallExpression",
"start": 1130,
"end": 1151,
"loc": {
"start": {
"line": 37,
"column": 6
},
"end": {
"line": 37,
"column": 27
}
},
"callee": {
"type": "MemberExpression",
"start": 1130,
"end": 1141,
"loc": {
"start": {
"line": 37,
"column": 6
},
"end": {
"line": 37,
"column": 17
}
},
"object": {
"type": "MemberExpression",
"start": 1130,
"end": 1134,
"loc": {
"start": {
"line": 37,
"column": 6
},
"end": {
"line": 37,
"column": 10
}
},
"object": {
"type": "Identifier",
"start": 1130,
"end": 1131,
"loc": {
"start": {
"line": 37,
"column": 6
},
"end": {
"line": 37,
"column": 7
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 1132,
"end": 1134,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 10
},
"identifierName": "os"
},
"name": "os"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1135,
"end": 1141,
"loc": {
"start": {
"line": 37,
"column": 11
},
"end": {
"line": 37,
"column": 17
},
"identifierName": "delete"
},
"name": "delete"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1142,
"end": 1150,
"loc": {
"start": {
"line": 37,
"column": 18
},
"end": {
"line": 37,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 1142,
"end": 1146,
"loc": {
"start": {
"line": 37,
"column": 18
},
"end": {
"line": 37,
"column": 22
},
"identifierName": "next"
},
"name": "next"
},
"property": {
"type": "Identifier",
"start": 1147,
"end": 1150,
"loc": {
"start": {
"line": 37,
"column": 23
},
"end": {
"line": 37,
"column": 26
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 1162,
"end": 1435,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 46,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 1166,
"end": 1192,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 34
}
},
"left": {
"type": "MemberExpression",
"start": 1166,
"end": 1173,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 15
}
},
"object": {
"type": "Identifier",
"start": 1166,
"end": 1168,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 10
},
"identifierName": "id"
},
"name": "id"
},
"property": {
"type": "Identifier",
"start": 1169,
"end": 1173,
"loc": {
"start": {
"line": 39,
"column": 11
},
"end": {
"line": 39,
"column": 15
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 1178,
"end": 1192,
"loc": {
"start": {
"line": 39,
"column": 20
},
"end": {
"line": 39,
"column": 34
},
"identifierName": "RootFakeUserID"
},
"name": "RootFakeUserID"
}
},
"consequent": {
"type": "BlockStatement",
"start": 1194,
"end": 1435,
"loc": {
"start": {
"line": 39,
"column": 36
},
"end": {
"line": 46,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 1202,
"end": 1343,
"loc": {
"start": {
"line": 40,
"column": 6
},
"end": {
"line": 42,
"column": 7
}
},
"test": {
"type": "LogicalExpression",
"start": 1206,
"end": 1290,
"loc": {
"start": {
"line": 40,
"column": 10
},
"end": {
"line": 40,
"column": 94
}
},
"left": {
"type": "BinaryExpression",
"start": 1206,
"end": 1226,
"loc": {
"start": {
"line": 40,
"column": 10
},
"end": {
"line": 40,
"column": 30
}
},
"left": {
"type": "MemberExpression",
"start": 1206,
"end": 1217,
"loc": {
"start": {
"line": 40,
"column": 10
},
"end": {
"line": 40,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 1206,
"end": 1207,
"loc": {
"start": {
"line": 40,
"column": 10
},
"end": {
"line": 40,
"column": 11
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 1208,
"end": 1217,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 21
},
"identifierName": "connector"
},
"name": "connector"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 1222,
"end": 1226,
"loc": {
"start": {
"line": 40,
"column": 26
},
"end": {
"line": 40,
"column": 30
}
}
}
},
"operator": "&&",
"right": {
"type": "LogicalExpression",
"start": 1231,
"end": 1289,
"loc": {
"start": {
"line": 40,
"column": 35
},
"end": {
"line": 40,
"column": 93
}
},
"left": {
"type": "MemberExpression",
"start": 1231,
"end": 1265,
"loc": {
"start": {
"line": 40,
"column": 35
},
"end": {
"line": 40,
"column": 69
}
},
"object": {
"type": "MemberExpression",
"start": 1231,
"end": 1242,
"loc": {
"start": {
"line": 40,
"column": 35
},
"end": {
"line": 40,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 1231,
"end": 1232,
"loc": {
"start": {
"line": 40,
"column": 35
},
"end": {
"line": 40,
"column": 36
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 1233,
"end": 1242,
"loc": {
"start": {
"line": 40,
"column": 37
},
"end": {
"line": 40,
"column": 46
},
"identifierName": "connector"
},
"name": "connector"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1243,
"end": 1265,
"loc": {
"start": {
"line": 40,
"column": 47
},
"end": {
"line": 40,
"column": 69
},
"identifierName": "_forwardAppliedStructs"
},
"name": "_forwardAppliedStructs"
},
"computed": false
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 1269,
"end": 1289,
"loc": {
"start": {
"line": 40,
"column": 73
},
"end": {
"line": 40,
"column": 93
}
},
"left": {
"type": "MemberExpression",
"start": 1269,
"end": 1276,
"loc": {
"start": {
"line": 40,
"column": 73
},
"end": {
"line": 40,
"column": 80
}
},
"object": {
"type": "Identifier",
"start": 1269,
"end": 1271,
"loc": {
"start": {
"line": 40,
"column": 73
},
"end": {
"line": 40,
"column": 75
},
"identifierName": "id"
},
"name": "id"
},
"property": {
"type": "Identifier",
"start": 1272,
"end": 1276,
"loc": {
"start": {
"line": 40,
"column": 76
},
"end": {
"line": 40,
"column": 80
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 1281,
"end": 1289,
"loc": {
"start": {
"line": 40,
"column": 85
},
"end": {
"line": 40,
"column": 93
}
},
"object": {
"type": "Identifier",
"start": 1281,
"end": 1282,
"loc": {
"start": {
"line": 40,
"column": 85
},
"end": {
"line": 40,
"column": 86
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 1283,
"end": 1289,
"loc": {
"start": {
"line": 40,
"column": 87
},
"end": {
"line": 40,
"column": 93
},
"identifierName": "userID"
},
"name": "userID"
},
"computed": false
}
},
"extra": {
"parenthesized": true,
"parenStart": 1230
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 1292,
"end": 1343,
"loc": {
"start": {
"line": 40,
"column": 96
},
"end": {
"line": 42,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1302,
"end": 1335,
"loc": {
"start": {
"line": 41,
"column": 8
},
"end": {
"line": 41,
"column": 41
}
},
"expression": {
"type": "CallExpression",
"start": 1302,
"end": 1335,
"loc": {
"start": {
"line": 41,
"column": 8
},
"end": {
"line": 41,
"column": 41
}
},
"callee": {
"type": "MemberExpression",
"start": 1302,
"end": 1329,
"loc": {
"start": {
"line": 41,
"column": 8
},
"end": {
"line": 41,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 1302,
"end": 1313,
"loc": {
"start": {
"line": 41,
"column": 8
},
"end": {
"line": 41,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 1302,
"end": 1303,
"loc": {
"start": {
"line": 41,
"column": 8
},
"end": {
"line": 41,
"column": 9
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 1304,
"end": 1313,
"loc": {
"start": {
"line": 41,
"column": 10
},
"end": {
"line": 41,
"column": 19
},
"identifierName": "connector"
},
"name": "connector"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1314,
"end": 1329,
"loc": {
"start": {
"line": 41,
"column": 20
},
"end": {
"line": 41,
"column": 35
},
"identifierName": "broadcastStruct"
},
"name": "broadcastStruct"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 1330,
"end": 1334,
"loc": {
"start": {
"line": 41,
"column": 36
},
"end": {
"line": 41,
"column": 40
}
}
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 1350,
"end": 1429,
"loc": {
"start": {
"line": 43,
"column": 6
},
"end": {
"line": 45,
"column": 7
}
},
"test": {
"type": "BinaryExpression",
"start": 1354,
"end": 1376,
"loc": {
"start": {
"line": 43,
"column": 10
},
"end": {
"line": 43,
"column": 32
}
},
"left": {
"type": "MemberExpression",
"start": 1354,
"end": 1367,
"loc": {
"start": {
"line": 43,
"column": 10
},
"end": {
"line": 43,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 1354,
"end": 1355,
"loc": {
"start": {
"line": 43,
"column": 10
},
"end": {
"line": 43,
"column": 11
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 1356,
"end": 1367,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 23
},
"identifierName": "persistence"
},
"name": "persistence"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 1372,
"end": 1376,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 32
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 1378,
"end": 1429,
"loc": {
"start": {
"line": 43,
"column": 34
},
"end": {
"line": 45,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1388,
"end": 1421,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 41
}
},
"expression": {
"type": "CallExpression",
"start": 1388,
"end": 1421,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 41
}
},
"callee": {
"type": "MemberExpression",
"start": 1388,
"end": 1412,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 32
}
},
"object": {
"type": "MemberExpression",
"start": 1388,
"end": 1401,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 1388,
"end": 1389,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 9
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 1390,
"end": 1401,
"loc": {
"start": {
"line": 44,
"column": 10
},
"end": {
"line": 44,
"column": 21
},
"identifierName": "persistence"
},
"name": "persistence"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1402,
"end": 1412,
"loc": {
"start": {
"line": 44,
"column": 22
},
"end": {
"line": 44,
"column": 32
},
"identifierName": "saveStruct"
},
"name": "saveStruct"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1413,
"end": 1414,
"loc": {
"start": {
"line": 44,
"column": 33
},
"end": {
"line": 44,
"column": 34
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "ThisExpression",
"start": 1416,
"end": 1420,
"loc": {
"start": {
"line": 44,
"column": 36
},
"end": {
"line": 44,
"column": 40
}
}
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Transform the properties of this type to binary and write it to an\n * BinaryEncoder.\n *\n * This is called when this Item is sent to a remote peer.\n *\n * @param {BinaryEncoder} encoder The encoder to write data to.\n * @private\n ",
"start": 1443,
"end": 1695,
"loc": {
"start": {
"line": 49,
"column": 2
},
"end": {
"line": 57,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1698,
"end": 1853,
"loc": {
"start": {
"line": 58,
"column": 2
},
"end": {
"line": 62,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1698,
"end": 1707,
"loc": {
"start": {
"line": 58,
"column": 2
},
"end": {
"line": 58,
"column": 11
},
"identifierName": "_toBinary"
},
"name": "_toBinary",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1709,
"end": 1716,
"loc": {
"start": {
"line": 58,
"column": 13
},
"end": {
"line": 58,
"column": 20
},
"identifierName": "encoder"
},
"name": "encoder"
}
],
"body": {
"type": "BlockStatement",
"start": 1718,
"end": 1853,
"loc": {
"start": {
"line": 58,
"column": 22
},
"end": {
"line": 62,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1724,
"end": 1780,
"loc": {
"start": {
"line": 59,
"column": 4
},
"end": {
"line": 59,
"column": 60
}
},
"expression": {
"type": "CallExpression",
"start": 1724,
"end": 1780,
"loc": {
"start": {
"line": 59,
"column": 4
},
"end": {
"line": 59,
"column": 60
}
},
"callee": {
"type": "MemberExpression",
"start": 1724,
"end": 1742,
"loc": {
"start": {
"line": 59,
"column": 4
},
"end": {
"line": 59,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 1724,
"end": 1731,
"loc": {
"start": {
"line": 59,
"column": 4
},
"end": {
"line": 59,
"column": 11
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 1732,
"end": 1742,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 22
},
"identifierName": "writeUint8"
},
"name": "writeUint8"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 1743,
"end": 1779,
"loc": {
"start": {
"line": 59,
"column": 23
},
"end": {
"line": 59,
"column": 59
}
},
"callee": {
"type": "Identifier",
"start": 1743,
"end": 1761,
"loc": {
"start": {
"line": 59,
"column": 23
},
"end": {
"line": 59,
"column": 41
},
"identifierName": "getStructReference"
},
"name": "getStructReference"
},
"arguments": [
{
"type": "MemberExpression",
"start": 1762,
"end": 1778,
"loc": {
"start": {
"line": 59,
"column": 42
},
"end": {
"line": 59,
"column": 58
}
},
"object": {
"type": "ThisExpression",
"start": 1762,
"end": 1766,
"loc": {
"start": {
"line": 59,
"column": 42
},
"end": {
"line": 59,
"column": 46
}
}
},
"property": {
"type": "Identifier",
"start": 1767,
"end": 1778,
"loc": {
"start": {
"line": 59,
"column": 47
},
"end": {
"line": 59,
"column": 58
},
"identifierName": "constructor"
},
"name": "constructor"
},
"computed": false
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1785,
"end": 1810,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 29
}
},
"expression": {
"type": "CallExpression",
"start": 1785,
"end": 1810,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 29
}
},
"callee": {
"type": "MemberExpression",
"start": 1785,
"end": 1800,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 1785,
"end": 1792,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 11
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 1793,
"end": 1800,
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 60,
"column": 19
},
"identifierName": "writeID"
},
"name": "writeID"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1801,
"end": 1809,
"loc": {
"start": {
"line": 60,
"column": 20
},
"end": {
"line": 60,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 1801,
"end": 1805,
"loc": {
"start": {
"line": 60,
"column": 20
},
"end": {
"line": 60,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 1806,
"end": 1809,
"loc": {
"start": {
"line": 60,
"column": 25
},
"end": {
"line": 60,
"column": 28
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1815,
"end": 1849,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 38
}
},
"expression": {
"type": "CallExpression",
"start": 1815,
"end": 1849,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 1815,
"end": 1835,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 1815,
"end": 1822,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 11
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 1823,
"end": 1835,
"loc": {
"start": {
"line": 61,
"column": 12
},
"end": {
"line": 61,
"column": 24
},
"identifierName": "writeVarUint"
},
"name": "writeVarUint"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1836,
"end": 1848,
"loc": {
"start": {
"line": 61,
"column": 25
},
"end": {
"line": 61,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 1836,
"end": 1840,
"loc": {
"start": {
"line": 61,
"column": 25
},
"end": {
"line": 61,
"column": 29
}
}
},
"property": {
"type": "Identifier",
"start": 1841,
"end": 1848,
"loc": {
"start": {
"line": 61,
"column": 30
},
"end": {
"line": 61,
"column": 37
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Transform the properties of this type to binary and write it to an\n * BinaryEncoder.\n *\n * This is called when this Item is sent to a remote peer.\n *\n * @param {BinaryEncoder} encoder The encoder to write data to.\n * @private\n ",
"start": 1443,
"end": 1695,
"loc": {
"start": {
"line": 49,
"column": 2
},
"end": {
"line": 57,
"column": 5
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Read the next Item in a Decoder and fill this Item with the read data.\n *\n * This is called when data is received from a remote peer.\n *\n * @param {Y} y The Yjs instance that this Item belongs to.\n * @param {BinaryDecoder} decoder The decoder object to read data from.\n * @private\n ",
"start": 1857,
"end": 2164,
"loc": {
"start": {
"line": 64,
"column": 2
},
"end": {
"line": 72,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2167,
"end": 2431,
"loc": {
"start": {
"line": 73,
"column": 2
},
"end": {
"line": 82,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2167,
"end": 2178,
"loc": {
"start": {
"line": 73,
"column": 2
},
"end": {
"line": 73,
"column": 13
},
"identifierName": "_fromBinary"
},
"name": "_fromBinary",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2180,
"end": 2181,
"loc": {
"start": {
"line": 73,
"column": 15
},
"end": {
"line": 73,
"column": 16
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 2183,
"end": 2190,
"loc": {
"start": {
"line": 73,
"column": 18
},
"end": {
"line": 73,
"column": 25
},
"identifierName": "decoder"
},
"name": "decoder"
}
],
"body": {
"type": "BlockStatement",
"start": 2192,
"end": 2431,
"loc": {
"start": {
"line": 73,
"column": 27
},
"end": {
"line": 82,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2198,
"end": 2225,
"loc": {
"start": {
"line": 74,
"column": 4
},
"end": {
"line": 74,
"column": 31
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2204,
"end": 2225,
"loc": {
"start": {
"line": 74,
"column": 10
},
"end": {
"line": 74,
"column": 31
}
},
"id": {
"type": "Identifier",
"start": 2204,
"end": 2206,
"loc": {
"start": {
"line": 74,
"column": 10
},
"end": {
"line": 74,
"column": 12
},
"identifierName": "id"
},
"name": "id"
},
"init": {
"type": "CallExpression",
"start": 2209,
"end": 2225,
"loc": {
"start": {
"line": 74,
"column": 15
},
"end": {
"line": 74,
"column": 31
}
},
"callee": {
"type": "MemberExpression",
"start": 2209,
"end": 2223,
"loc": {
"start": {
"line": 74,
"column": 15
},
"end": {
"line": 74,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 2209,
"end": 2216,
"loc": {
"start": {
"line": 74,
"column": 15
},
"end": {
"line": 74,
"column": 22
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 2217,
"end": 2223,
"loc": {
"start": {
"line": 74,
"column": 23
},
"end": {
"line": 74,
"column": 29
},
"identifierName": "readID"
},
"name": "readID"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2230,
"end": 2243,
"loc": {
"start": {
"line": 75,
"column": 4
},
"end": {
"line": 75,
"column": 17
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2230,
"end": 2243,
"loc": {
"start": {
"line": 75,
"column": 4
},
"end": {
"line": 75,
"column": 17
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2230,
"end": 2238,
"loc": {
"start": {
"line": 75,
"column": 4
},
"end": {
"line": 75,
"column": 12
}
},
"object": {
"type": "ThisExpression",
"start": 2230,
"end": 2234,
"loc": {
"start": {
"line": 75,
"column": 4
},
"end": {
"line": 75,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 2235,
"end": 2238,
"loc": {
"start": {
"line": 75,
"column": 9
},
"end": {
"line": 75,
"column": 12
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 2241,
"end": 2243,
"loc": {
"start": {
"line": 75,
"column": 15
},
"end": {
"line": 75,
"column": 17
},
"identifierName": "id"
},
"name": "id"
}
}
},
{
"type": "ExpressionStatement",
"start": 2248,
"end": 2284,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 40
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2248,
"end": 2284,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 40
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2248,
"end": 2260,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 16
}
},
"object": {
"type": "ThisExpression",
"start": 2248,
"end": 2252,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 2253,
"end": 2260,
"loc": {
"start": {
"line": 76,
"column": 9
},
"end": {
"line": 76,
"column": 16
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 2263,
"end": 2284,
"loc": {
"start": {
"line": 76,
"column": 19
},
"end": {
"line": 76,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 2263,
"end": 2282,
"loc": {
"start": {
"line": 76,
"column": 19
},
"end": {
"line": 76,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 2263,
"end": 2270,
"loc": {
"start": {
"line": 76,
"column": 19
},
"end": {
"line": 76,
"column": 26
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 2271,
"end": 2282,
"loc": {
"start": {
"line": 76,
"column": 27
},
"end": {
"line": 76,
"column": 38
},
"identifierName": "readVarUint"
},
"name": "readVarUint"
},
"computed": false
},
"arguments": []
}
}
},
{
"type": "VariableDeclaration",
"start": 2289,
"end": 2307,
"loc": {
"start": {
"line": 77,
"column": 4
},
"end": {
"line": 77,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2295,
"end": 2307,
"loc": {
"start": {
"line": 77,
"column": 10
},
"end": {
"line": 77,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 2295,
"end": 2302,
"loc": {
"start": {
"line": 77,
"column": 10
},
"end": {
"line": 77,
"column": 17
},
"identifierName": "missing"
},
"name": "missing"
},
"init": {
"type": "ArrayExpression",
"start": 2305,
"end": 2307,
"loc": {
"start": {
"line": 77,
"column": 20
},
"end": {
"line": 77,
"column": 22
}
},
"elements": []
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 2312,
"end": 2408,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 80,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 2316,
"end": 2349,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 41
}
},
"left": {
"type": "CallExpression",
"start": 2316,
"end": 2338,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 30
}
},
"callee": {
"type": "MemberExpression",
"start": 2316,
"end": 2329,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 21
}
},
"object": {
"type": "MemberExpression",
"start": 2316,
"end": 2320,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 12
}
},
"object": {
"type": "Identifier",
"start": 2316,
"end": 2317,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 9
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 2318,
"end": 2320,
"loc": {
"start": {
"line": 78,
"column": 10
},
"end": {
"line": 78,
"column": 12
},
"identifierName": "ss"
},
"name": "ss"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2321,
"end": 2329,
"loc": {
"start": {
"line": 78,
"column": 13
},
"end": {
"line": 78,
"column": 21
},
"identifierName": "getState"
},
"name": "getState"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2330,
"end": 2337,
"loc": {
"start": {
"line": 78,
"column": 22
},
"end": {
"line": 78,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 2330,
"end": 2332,
"loc": {
"start": {
"line": 78,
"column": 22
},
"end": {
"line": 78,
"column": 24
},
"identifierName": "id"
},
"name": "id"
},
"property": {
"type": "Identifier",
"start": 2333,
"end": 2337,
"loc": {
"start": {
"line": 78,
"column": 25
},
"end": {
"line": 78,
"column": 29
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
}
]
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 2341,
"end": 2349,
"loc": {
"start": {
"line": 78,
"column": 33
},
"end": {
"line": 78,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 2341,
"end": 2343,
"loc": {
"start": {
"line": 78,
"column": 33
},
"end": {
"line": 78,
"column": 35
},
"identifierName": "id"
},
"name": "id"
},
"property": {
"type": "Identifier",
"start": 2344,
"end": 2349,
"loc": {
"start": {
"line": 78,
"column": 36
},
"end": {
"line": 78,
"column": 41
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2351,
"end": 2408,
"loc": {
"start": {
"line": 78,
"column": 43
},
"end": {
"line": 80,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2359,
"end": 2402,
"loc": {
"start": {
"line": 79,
"column": 6
},
"end": {
"line": 79,
"column": 49
}
},
"expression": {
"type": "CallExpression",
"start": 2359,
"end": 2402,
"loc": {
"start": {
"line": 79,
"column": 6
},
"end": {
"line": 79,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
"start": 2359,
"end": 2371,
"loc": {
"start": {
"line": 79,
"column": 6
},
"end": {
"line": 79,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 2359,
"end": 2366,
"loc": {
"start": {
"line": 79,
"column": 6
},
"end": {
"line": 79,
"column": 13
},
"identifierName": "missing"
},
"name": "missing"
},
"property": {
"type": "Identifier",
"start": 2367,
"end": 2371,
"loc": {
"start": {
"line": 79,
"column": 14
},
"end": {
"line": 79,
"column": 18
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "NewExpression",
"start": 2372,
"end": 2401,
"loc": {
"start": {
"line": 79,
"column": 19
},
"end": {
"line": 79,
"column": 48
}
},
"callee": {
"type": "Identifier",
"start": 2376,
"end": 2378,
"loc": {
"start": {
"line": 79,
"column": 23
},
"end": {
"line": 79,
"column": 25
},
"identifierName": "ID"
},
"name": "ID"
},
"arguments": [
{
"type": "MemberExpression",
"start": 2379,
"end": 2386,
"loc": {
"start": {
"line": 79,
"column": 26
},
"end": {
"line": 79,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 2379,
"end": 2381,
"loc": {
"start": {
"line": 79,
"column": 26
},
"end": {
"line": 79,
"column": 28
},
"identifierName": "id"
},
"name": "id"
},
"property": {
"type": "Identifier",
"start": 2382,
"end": 2386,
"loc": {
"start": {
"line": 79,
"column": 29
},
"end": {
"line": 79,
"column": 33
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
},
{
"type": "BinaryExpression",
"start": 2388,
"end": 2400,
"loc": {
"start": {
"line": 79,
"column": 35
},
"end": {
"line": 79,
"column": 47
}
},
"left": {
"type": "MemberExpression",
"start": 2388,
"end": 2396,
"loc": {
"start": {
"line": 79,
"column": 35
},
"end": {
"line": 79,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 2388,
"end": 2390,
"loc": {
"start": {
"line": 79,
"column": 35
},
"end": {
"line": 79,
"column": 37
},
"identifierName": "id"
},
"name": "id"
},
"property": {
"type": "Identifier",
"start": 2391,
"end": 2396,
"loc": {
"start": {
"line": 79,
"column": 38
},
"end": {
"line": 79,
"column": 43
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
},
"operator": "-",
"right": {
"type": "NumericLiteral",
"start": 2399,
"end": 2400,
"loc": {
"start": {
"line": 79,
"column": 46
},
"end": {
"line": 79,
"column": 47
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
]
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ReturnStatement",
"start": 2413,
"end": 2427,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 81,
"column": 18
}
},
"argument": {
"type": "Identifier",
"start": 2420,
"end": 2427,
"loc": {
"start": {
"line": 81,
"column": 11
},
"end": {
"line": 81,
"column": 18
},
"identifierName": "missing"
},
"name": "missing"
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Read the next Item in a Decoder and fill this Item with the read data.\n *\n * This is called when data is received from a remote peer.\n *\n * @param {Y} y The Yjs instance that this Item belongs to.\n * @param {BinaryDecoder} decoder The decoder object to read data from.\n * @private\n ",
"start": 1857,
"end": 2164,
"loc": {
"start": {
"line": 64,
"column": 2
},
"end": {
"line": 72,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2435,
"end": 2468,
"loc": {
"start": {
"line": 84,
"column": 2
},
"end": {
"line": 86,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2435,
"end": 2443,
"loc": {
"start": {
"line": 84,
"column": 2
},
"end": {
"line": 84,
"column": 10
},
"identifierName": "_splitAt"
},
"name": "_splitAt"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2447,
"end": 2468,
"loc": {
"start": {
"line": 84,
"column": 14
},
"end": {
"line": 86,
"column": 3
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2453,
"end": 2464,
"loc": {
"start": {
"line": 85,
"column": 4
},
"end": {
"line": 85,
"column": 15
}
},
"argument": {
"type": "ThisExpression",
"start": 2460,
"end": 2464,
"loc": {
"start": {
"line": 85,
"column": 11
},
"end": {
"line": 85,
"column": 15
}
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 2472,
"end": 2631,
"loc": {
"start": {
"line": 88,
"column": 2
},
"end": {
"line": 93,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2472,
"end": 2485,
"loc": {
"start": {
"line": 88,
"column": 2
},
"end": {
"line": 88,
"column": 15
},
"identifierName": "_clonePartial"
},
"name": "_clonePartial"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2487,
"end": 2491,
"loc": {
"start": {
"line": 88,
"column": 17
},
"end": {
"line": 88,
"column": 21
},
"identifierName": "diff"
},
"name": "diff"
}
],
"body": {
"type": "BlockStatement",
"start": 2493,
"end": 2631,
"loc": {
"start": {
"line": 88,
"column": 23
},
"end": {
"line": 93,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2499,
"end": 2518,
"loc": {
"start": {
"line": 89,
"column": 4
},
"end": {
"line": 89,
"column": 23
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2505,
"end": 2518,
"loc": {
"start": {
"line": 89,
"column": 10
},
"end": {
"line": 89,
"column": 23
}
},
"id": {
"type": "Identifier",
"start": 2505,
"end": 2507,
"loc": {
"start": {
"line": 89,
"column": 10
},
"end": {
"line": 89,
"column": 12
},
"identifierName": "gc"
},
"name": "gc"
},
"init": {
"type": "NewExpression",
"start": 2510,
"end": 2518,
"loc": {
"start": {
"line": 89,
"column": 15
},
"end": {
"line": 89,
"column": 23
}
},
"callee": {
"type": "Identifier",
"start": 2514,
"end": 2516,
"loc": {
"start": {
"line": 89,
"column": 19
},
"end": {
"line": 89,
"column": 21
},
"identifierName": "GC"
},
"name": "GC"
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2523,
"end": 2576,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 90,
"column": 57
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2523,
"end": 2576,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 90,
"column": 57
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2523,
"end": 2529,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 90,
"column": 10
}
},
"object": {
"type": "Identifier",
"start": 2523,
"end": 2525,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 90,
"column": 6
},
"identifierName": "gc"
},
"name": "gc"
},
"property": {
"type": "Identifier",
"start": 2526,
"end": 2529,
"loc": {
"start": {
"line": 90,
"column": 7
},
"end": {
"line": 90,
"column": 10
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"right": {
"type": "NewExpression",
"start": 2532,
"end": 2576,
"loc": {
"start": {
"line": 90,
"column": 13
},
"end": {
"line": 90,
"column": 57
}
},
"callee": {
"type": "Identifier",
"start": 2536,
"end": 2538,
"loc": {
"start": {
"line": 90,
"column": 17
},
"end": {
"line": 90,
"column": 19
},
"identifierName": "ID"
},
"name": "ID"
},
"arguments": [
{
"type": "MemberExpression",
"start": 2539,
"end": 2552,
"loc": {
"start": {
"line": 90,
"column": 20
},
"end": {
"line": 90,
"column": 33
}
},
"object": {
"type": "MemberExpression",
"start": 2539,
"end": 2547,
"loc": {
"start": {
"line": 90,
"column": 20
},
"end": {
"line": 90,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 2539,
"end": 2543,
"loc": {
"start": {
"line": 90,
"column": 20
},
"end": {
"line": 90,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 2544,
"end": 2547,
"loc": {
"start": {
"line": 90,
"column": 25
},
"end": {
"line": 90,
"column": 28
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2548,
"end": 2552,
"loc": {
"start": {
"line": 90,
"column": 29
},
"end": {
"line": 90,
"column": 33
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
},
{
"type": "BinaryExpression",
"start": 2554,
"end": 2575,
"loc": {
"start": {
"line": 90,
"column": 35
},
"end": {
"line": 90,
"column": 56
}
},
"left": {
"type": "MemberExpression",
"start": 2554,
"end": 2568,
"loc": {
"start": {
"line": 90,
"column": 35
},
"end": {
"line": 90,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 2554,
"end": 2562,
"loc": {
"start": {
"line": 90,
"column": 35
},
"end": {
"line": 90,
"column": 43
}
},
"object": {
"type": "ThisExpression",
"start": 2554,
"end": 2558,
"loc": {
"start": {
"line": 90,
"column": 35
},
"end": {
"line": 90,
"column": 39
}
}
},
"property": {
"type": "Identifier",
"start": 2559,
"end": 2562,
"loc": {
"start": {
"line": 90,
"column": 40
},
"end": {
"line": 90,
"column": 43
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2563,
"end": 2568,
"loc": {
"start": {
"line": 90,
"column": 44
},
"end": {
"line": 90,
"column": 49
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 2571,
"end": 2575,
"loc": {
"start": {
"line": 90,
"column": 52
},
"end": {
"line": 90,
"column": 56
},
"identifierName": "diff"
},
"name": "diff"
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 2581,
"end": 2613,
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 91,
"column": 36
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2581,
"end": 2613,
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 91,
"column": 36
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2581,
"end": 2591,
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 91,
"column": 14
}
},
"object": {
"type": "Identifier",
"start": 2581,
"end": 2583,
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 91,
"column": 6
},
"identifierName": "gc"
},
"name": "gc"
},
"property": {
"type": "Identifier",
"start": 2584,
"end": 2591,
"loc": {
"start": {
"line": 91,
"column": 7
},
"end": {
"line": 91,
"column": 14
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
},
"right": {
"type": "BinaryExpression",
"start": 2594,
"end": 2613,
"loc": {
"start": {
"line": 91,
"column": 17
},
"end": {
"line": 91,
"column": 36
}
},
"left": {
"type": "MemberExpression",
"start": 2594,
"end": 2606,
"loc": {
"start": {
"line": 91,
"column": 17
},
"end": {
"line": 91,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 2594,
"end": 2598,
"loc": {
"start": {
"line": 91,
"column": 17
},
"end": {
"line": 91,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 2599,
"end": 2606,
"loc": {
"start": {
"line": 91,
"column": 22
},
"end": {
"line": 91,
"column": 29
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
},
"operator": "-",
"right": {
"type": "Identifier",
"start": 2609,
"end": 2613,
"loc": {
"start": {
"line": 91,
"column": 32
},
"end": {
"line": 91,
"column": 36
},
"identifierName": "diff"
},
"name": "diff"
}
}
}
},
{
"type": "ReturnStatement",
"start": 2618,
"end": 2627,
"loc": {
"start": {
"line": 92,
"column": 4
},
"end": {
"line": 92,
"column": 13
}
},
"argument": {
"type": "Identifier",
"start": 2625,
"end": 2627,
"loc": {
"start": {
"line": 92,
"column": 11
},
"end": {
"line": 92,
"column": 13
},
"identifierName": "gc"
},
"name": "gc"
}
}
],
"directives": []
}
}
]
},
"leadingComments": [
{
"type": "CommentLine",
"value": " TODO should have the same base class as Item",
"start": 154,
"end": 201,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 47
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " TODO should have the same base class as Item",
"start": 154,
"end": 201,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 47
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentLine",
"value": " TODO should have the same base class as Item",
"start": 154,
"end": 201,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 47
}
}
},
{
"type": "CommentLine",
"value": " TODO: do merging for all items!",
"start": 764,
"end": 798,
"loc": {
"start": {
"line": 26,
"column": 6
},
"end": {
"line": 26,
"column": 40
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Transform the properties of this type to binary and write it to an\n * BinaryEncoder.\n *\n * This is called when this Item is sent to a remote peer.\n *\n * @param {BinaryEncoder} encoder The encoder to write data to.\n * @private\n ",
"start": 1443,
"end": 1695,
"loc": {
"start": {
"line": 49,
"column": 2
},
"end": {
"line": 57,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Read the next Item in a Decoder and fill this Item with the read data.\n *\n * This is called when data is received from a remote peer.\n *\n * @param {Y} y The Yjs instance that this Item belongs to.\n * @param {BinaryDecoder} decoder The decoder object to read data from.\n * @private\n ",
"start": 1857,
"end": 2164,
"loc": {
"start": {
"line": 64,
"column": 2
},
"end": {
"line": 72,
"column": 5
}
}
}
],
"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": "getStructReference",
"start": 9,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 28,
"end": 29,
"loc": {
"start": {
"line": 1,
"column": 28
},
"end": {
"line": 1,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 30,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 30
},
"end": {
"line": 1,
"column": 34
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../Util/structReferences.js",
"start": 35,
"end": 64,
"loc": {
"start": {
"line": 1,
"column": 35
},
"end": {
"line": 1,
"column": 64
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 65,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 72,
"end": 73,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "RootFakeUserID",
"start": 74,
"end": 88,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 89,
"end": 90,
"loc": {
"start": {
"line": 2,
"column": 24
},
"end": {
"line": 2,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 91,
"end": 95,
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 30
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../Util/ID/RootID.js",
"start": 96,
"end": 118,
"loc": {
"start": {
"line": 2,
"column": 31
},
"end": {
"line": 2,
"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": 119,
"end": 125,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ID",
"start": 126,
"end": 128,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 129,
"end": 133,
"loc": {
"start": {
"line": 3,
"column": 10
},
"end": {
"line": 3,
"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": 134,
"end": 152,
"loc": {
"start": {
"line": 3,
"column": 15
},
"end": {
"line": 3,
"column": 33
}
}
},
{
"type": "CommentLine",
"value": " TODO should have the same base class as Item",
"start": 154,
"end": 201,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 47
}
}
},
{
"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": 202,
"end": 208,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 6
}
}
},
{
"type": {
"label": "default",
"keyword": "default",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "default",
"start": 209,
"end": 216,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 14
}
}
},
{
"type": {
"label": "class",
"keyword": "class",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "class",
"start": 217,
"end": 222,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GC",
"start": 223,
"end": 225,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 23
}
}
},
{
"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": 24
},
"end": {
"line": 6,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 230,
"end": 241,
"loc": {
"start": {
"line": 7,
"column": 2
},
"end": {
"line": 7,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 242,
"end": 243,
"loc": {
"start": {
"line": 7,
"column": 14
},
"end": {
"line": 7,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 243,
"end": 244,
"loc": {
"start": {
"line": 7,
"column": 15
},
"end": {
"line": 7,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 245,
"end": 246,
"loc": {
"start": {
"line": 7,
"column": 17
},
"end": {
"line": 7,
"column": 18
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 251,
"end": 255,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 255,
"end": 256,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 256,
"end": 259,
"loc": {
"start": {
"line": 8,
"column": 9
},
"end": {
"line": 8,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 260,
"end": 261,
"loc": {
"start": {
"line": 8,
"column": 13
},
"end": {
"line": 8,
"column": 14
}
}
},
{
"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": 262,
"end": 266,
"loc": {
"start": {
"line": 8,
"column": 15
},
"end": {
"line": 8,
"column": 19
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 271,
"end": 275,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 275,
"end": 276,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 276,
"end": 283,
"loc": {
"start": {
"line": 9,
"column": 9
},
"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": 284,
"end": 285,
"loc": {
"start": {
"line": 9,
"column": 17
},
"end": {
"line": 9,
"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": 286,
"end": 287,
"loc": {
"start": {
"line": 9,
"column": 19
},
"end": {
"line": 9,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 290,
"end": 291,
"loc": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 10,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 295,
"end": 298,
"loc": {
"start": {
"line": 12,
"column": 2
},
"end": {
"line": 12,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_deleted",
"start": 299,
"end": 307,
"loc": {
"start": {
"line": 12,
"column": 6
},
"end": {
"line": 12,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 308,
"end": 309,
"loc": {
"start": {
"line": 12,
"column": 15
},
"end": {
"line": 12,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 309,
"end": 310,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 311,
"end": 312,
"loc": {
"start": {
"line": 12,
"column": 18
},
"end": {
"line": 12,
"column": 19
}
}
},
{
"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": 317,
"end": 323,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 10
}
}
},
{
"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": 324,
"end": 328,
"loc": {
"start": {
"line": 13,
"column": 11
},
"end": {
"line": 13,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 331,
"end": 332,
"loc": {
"start": {
"line": 14,
"column": 2
},
"end": {
"line": 14,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_integrate",
"start": 336,
"end": 346,
"loc": {
"start": {
"line": 16,
"column": 2
},
"end": {
"line": 16,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 347,
"end": 348,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 348,
"end": 349,
"loc": {
"start": {
"line": 16,
"column": 14
},
"end": {
"line": 16,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 349,
"end": 350,
"loc": {
"start": {
"line": 16,
"column": 15
},
"end": {
"line": 16,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 351,
"end": 352,
"loc": {
"start": {
"line": 16,
"column": 17
},
"end": {
"line": 16,
"column": 18
}
}
},
{
"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": 357,
"end": 362,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 363,
"end": 365,
"loc": {
"start": {
"line": 17,
"column": 10
},
"end": {
"line": 17,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 366,
"end": 367,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 14
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 368,
"end": 372,
"loc": {
"start": {
"line": 17,
"column": 15
},
"end": {
"line": 17,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 372,
"end": 373,
"loc": {
"start": {
"line": 17,
"column": 19
},
"end": {
"line": 17,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 373,
"end": 376,
"loc": {
"start": {
"line": 17,
"column": 20
},
"end": {
"line": 17,
"column": 23
}
}
},
{
"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": 381,
"end": 386,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "userState",
"start": 387,
"end": 396,
"loc": {
"start": {
"line": 18,
"column": 10
},
"end": {
"line": 18,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 397,
"end": 398,
"loc": {
"start": {
"line": 18,
"column": 20
},
"end": {
"line": 18,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 399,
"end": 400,
"loc": {
"start": {
"line": 18,
"column": 22
},
"end": {
"line": 18,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 400,
"end": 401,
"loc": {
"start": {
"line": 18,
"column": 23
},
"end": {
"line": 18,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ss",
"start": 401,
"end": 403,
"loc": {
"start": {
"line": 18,
"column": 24
},
"end": {
"line": 18,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 403,
"end": 404,
"loc": {
"start": {
"line": 18,
"column": 26
},
"end": {
"line": 18,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getState",
"start": 404,
"end": 412,
"loc": {
"start": {
"line": 18,
"column": 27
},
"end": {
"line": 18,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 412,
"end": 413,
"loc": {
"start": {
"line": 18,
"column": 35
},
"end": {
"line": 18,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 413,
"end": 415,
"loc": {
"start": {
"line": 18,
"column": 36
},
"end": {
"line": 18,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 415,
"end": 416,
"loc": {
"start": {
"line": 18,
"column": 38
},
"end": {
"line": 18,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 416,
"end": 420,
"loc": {
"start": {
"line": 18,
"column": 39
},
"end": {
"line": 18,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 420,
"end": 421,
"loc": {
"start": {
"line": 18,
"column": 43
},
"end": {
"line": 18,
"column": 44
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 426,
"end": 428,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 429,
"end": 430,
"loc": {
"start": {
"line": 19,
"column": 7
},
"end": {
"line": 19,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 430,
"end": 432,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 432,
"end": 433,
"loc": {
"start": {
"line": 19,
"column": 10
},
"end": {
"line": 19,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 433,
"end": 438,
"loc": {
"start": {
"line": 19,
"column": 11
},
"end": {
"line": 19,
"column": 16
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 439,
"end": 442,
"loc": {
"start": {
"line": 19,
"column": 17
},
"end": {
"line": 19,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "userState",
"start": 443,
"end": 452,
"loc": {
"start": {
"line": 19,
"column": 21
},
"end": {
"line": 19,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 452,
"end": 453,
"loc": {
"start": {
"line": 19,
"column": 30
},
"end": {
"line": 19,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 454,
"end": 455,
"loc": {
"start": {
"line": 19,
"column": 32
},
"end": {
"line": 19,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 462,
"end": 463,
"loc": {
"start": {
"line": 20,
"column": 6
},
"end": {
"line": 20,
"column": 7
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 463,
"end": 464,
"loc": {
"start": {
"line": 20,
"column": 7
},
"end": {
"line": 20,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ss",
"start": 464,
"end": 466,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 466,
"end": 467,
"loc": {
"start": {
"line": 20,
"column": 10
},
"end": {
"line": 20,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setState",
"start": 467,
"end": 475,
"loc": {
"start": {
"line": 20,
"column": 11
},
"end": {
"line": 20,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 475,
"end": 476,
"loc": {
"start": {
"line": 20,
"column": 19
},
"end": {
"line": 20,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 476,
"end": 478,
"loc": {
"start": {
"line": 20,
"column": 20
},
"end": {
"line": 20,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 478,
"end": 479,
"loc": {
"start": {
"line": 20,
"column": 22
},
"end": {
"line": 20,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 479,
"end": 483,
"loc": {
"start": {
"line": 20,
"column": 23
},
"end": {
"line": 20,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 483,
"end": 484,
"loc": {
"start": {
"line": 20,
"column": 27
},
"end": {
"line": 20,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 485,
"end": 487,
"loc": {
"start": {
"line": 20,
"column": 29
},
"end": {
"line": 20,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 487,
"end": 488,
"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": "clock",
"start": 488,
"end": 493,
"loc": {
"start": {
"line": 20,
"column": 32
},
"end": {
"line": 20,
"column": 37
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 494,
"end": 495,
"loc": {
"start": {
"line": 20,
"column": 38
},
"end": {
"line": 20,
"column": 39
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 496,
"end": 500,
"loc": {
"start": {
"line": 20,
"column": 40
},
"end": {
"line": 20,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 500,
"end": 501,
"loc": {
"start": {
"line": 20,
"column": 44
},
"end": {
"line": 20,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 501,
"end": 508,
"loc": {
"start": {
"line": 20,
"column": 45
},
"end": {
"line": 20,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 508,
"end": 509,
"loc": {
"start": {
"line": 20,
"column": 52
},
"end": {
"line": 20,
"column": 53
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 514,
"end": 515,
"loc": {
"start": {
"line": 21,
"column": 4
},
"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": "y",
"start": 520,
"end": 521,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 5
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 521,
"end": 522,
"loc": {
"start": {
"line": 22,
"column": 5
},
"end": {
"line": 22,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ds",
"start": 522,
"end": 524,
"loc": {
"start": {
"line": 22,
"column": 6
},
"end": {
"line": 22,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 524,
"end": 525,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mark",
"start": 525,
"end": 529,
"loc": {
"start": {
"line": 22,
"column": 9
},
"end": {
"line": 22,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 529,
"end": 530,
"loc": {
"start": {
"line": 22,
"column": 13
},
"end": {
"line": 22,
"column": 14
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 530,
"end": 534,
"loc": {
"start": {
"line": 22,
"column": 14
},
"end": {
"line": 22,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 534,
"end": 535,
"loc": {
"start": {
"line": 22,
"column": 18
},
"end": {
"line": 22,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 535,
"end": 538,
"loc": {
"start": {
"line": 22,
"column": 19
},
"end": {
"line": 22,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 538,
"end": 539,
"loc": {
"start": {
"line": 22,
"column": 22
},
"end": {
"line": 22,
"column": 23
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 540,
"end": 544,
"loc": {
"start": {
"line": 22,
"column": 24
},
"end": {
"line": 22,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 544,
"end": 545,
"loc": {
"start": {
"line": 22,
"column": 28
},
"end": {
"line": 22,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 545,
"end": 552,
"loc": {
"start": {
"line": 22,
"column": 29
},
"end": {
"line": 22,
"column": 36
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 552,
"end": 553,
"loc": {
"start": {
"line": 22,
"column": 36
},
"end": {
"line": 22,
"column": 37
}
}
},
{
"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": 554,
"end": 558,
"loc": {
"start": {
"line": 22,
"column": 38
},
"end": {
"line": 22,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 558,
"end": 559,
"loc": {
"start": {
"line": 22,
"column": 42
},
"end": {
"line": 22,
"column": 43
}
}
},
{
"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": 564,
"end": 567,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 568,
"end": 569,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 9
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 570,
"end": 571,
"loc": {
"start": {
"line": 23,
"column": 10
},
"end": {
"line": 23,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 572,
"end": 573,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 573,
"end": 574,
"loc": {
"start": {
"line": 23,
"column": 13
},
"end": {
"line": 23,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "os",
"start": 574,
"end": 576,
"loc": {
"start": {
"line": 23,
"column": 14
},
"end": {
"line": 23,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 576,
"end": 577,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "put",
"start": 577,
"end": 580,
"loc": {
"start": {
"line": 23,
"column": 17
},
"end": {
"line": 23,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 580,
"end": 581,
"loc": {
"start": {
"line": 23,
"column": 20
},
"end": {
"line": 23,
"column": 21
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 581,
"end": 585,
"loc": {
"start": {
"line": 23,
"column": 21
},
"end": {
"line": 23,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 585,
"end": 586,
"loc": {
"start": {
"line": 23,
"column": 25
},
"end": {
"line": 23,
"column": 26
}
}
},
{
"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": 591,
"end": 596,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prev",
"start": 597,
"end": 601,
"loc": {
"start": {
"line": 24,
"column": 10
},
"end": {
"line": 24,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 602,
"end": 603,
"loc": {
"start": {
"line": 24,
"column": 15
},
"end": {
"line": 24,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 604,
"end": 605,
"loc": {
"start": {
"line": 24,
"column": 17
},
"end": {
"line": 24,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 605,
"end": 606,
"loc": {
"start": {
"line": 24,
"column": 18
},
"end": {
"line": 24,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prev",
"start": 606,
"end": 610,
"loc": {
"start": {
"line": 24,
"column": 19
},
"end": {
"line": 24,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 610,
"end": 611,
"loc": {
"start": {
"line": 24,
"column": 23
},
"end": {
"line": 24,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 611,
"end": 612,
"loc": {
"start": {
"line": 24,
"column": 24
},
"end": {
"line": 24,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 612,
"end": 613,
"loc": {
"start": {
"line": 24,
"column": 25
},
"end": {
"line": 24,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "val",
"start": 613,
"end": 616,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 24,
"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": 621,
"end": 623,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 624,
"end": 625,
"loc": {
"start": {
"line": 25,
"column": 7
},
"end": {
"line": 25,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prev",
"start": 625,
"end": 629,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 12
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 630,
"end": 633,
"loc": {
"start": {
"line": 25,
"column": 13
},
"end": {
"line": 25,
"column": 16
}
}
},
{
"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": 634,
"end": 638,
"loc": {
"start": {
"line": 25,
"column": 17
},
"end": {
"line": 25,
"column": 21
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 639,
"end": 641,
"loc": {
"start": {
"line": 25,
"column": 22
},
"end": {
"line": 25,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prev",
"start": 642,
"end": 646,
"loc": {
"start": {
"line": 25,
"column": 25
},
"end": {
"line": 25,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 646,
"end": 647,
"loc": {
"start": {
"line": 25,
"column": 29
},
"end": {
"line": 25,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 647,
"end": 658,
"loc": {
"start": {
"line": 25,
"column": 30
},
"end": {
"line": 25,
"column": 41
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 659,
"end": 662,
"loc": {
"start": {
"line": 25,
"column": 42
},
"end": {
"line": 25,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GC",
"start": 663,
"end": 665,
"loc": {
"start": {
"line": 25,
"column": 46
},
"end": {
"line": 25,
"column": 48
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 666,
"end": 668,
"loc": {
"start": {
"line": 25,
"column": 49
},
"end": {
"line": 25,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prev",
"start": 669,
"end": 673,
"loc": {
"start": {
"line": 25,
"column": 52
},
"end": {
"line": 25,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 673,
"end": 674,
"loc": {
"start": {
"line": 25,
"column": 56
},
"end": {
"line": 25,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 674,
"end": 677,
"loc": {
"start": {
"line": 25,
"column": 57
},
"end": {
"line": 25,
"column": 60
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 677,
"end": 678,
"loc": {
"start": {
"line": 25,
"column": 60
},
"end": {
"line": 25,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 678,
"end": 682,
"loc": {
"start": {
"line": 25,
"column": 61
},
"end": {
"line": 25,
"column": 65
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 683,
"end": 686,
"loc": {
"start": {
"line": 25,
"column": 66
},
"end": {
"line": 25,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 687,
"end": 688,
"loc": {
"start": {
"line": 25,
"column": 70
},
"end": {
"line": 25,
"column": 71
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 688,
"end": 689,
"loc": {
"start": {
"line": 25,
"column": 71
},
"end": {
"line": 25,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "val",
"start": 689,
"end": 692,
"loc": {
"start": {
"line": 25,
"column": 72
},
"end": {
"line": 25,
"column": 75
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 692,
"end": 693,
"loc": {
"start": {
"line": 25,
"column": 75
},
"end": {
"line": 25,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 693,
"end": 696,
"loc": {
"start": {
"line": 25,
"column": 76
},
"end": {
"line": 25,
"column": 79
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 696,
"end": 697,
"loc": {
"start": {
"line": 25,
"column": 79
},
"end": {
"line": 25,
"column": 80
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 697,
"end": 701,
"loc": {
"start": {
"line": 25,
"column": 80
},
"end": {
"line": 25,
"column": 84
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 702,
"end": 704,
"loc": {
"start": {
"line": 25,
"column": 85
},
"end": {
"line": 25,
"column": 87
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prev",
"start": 705,
"end": 709,
"loc": {
"start": {
"line": 25,
"column": 88
},
"end": {
"line": 25,
"column": 92
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 709,
"end": 710,
"loc": {
"start": {
"line": 25,
"column": 92
},
"end": {
"line": 25,
"column": 93
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 710,
"end": 713,
"loc": {
"start": {
"line": 25,
"column": 93
},
"end": {
"line": 25,
"column": 96
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 713,
"end": 714,
"loc": {
"start": {
"line": 25,
"column": 96
},
"end": {
"line": 25,
"column": 97
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 714,
"end": 719,
"loc": {
"start": {
"line": 25,
"column": 97
},
"end": {
"line": 25,
"column": 102
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 720,
"end": 721,
"loc": {
"start": {
"line": 25,
"column": 103
},
"end": {
"line": 25,
"column": 104
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prev",
"start": 722,
"end": 726,
"loc": {
"start": {
"line": 25,
"column": 105
},
"end": {
"line": 25,
"column": 109
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 726,
"end": 727,
"loc": {
"start": {
"line": 25,
"column": 109
},
"end": {
"line": 25,
"column": 110
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 727,
"end": 734,
"loc": {
"start": {
"line": 25,
"column": 110
},
"end": {
"line": 25,
"column": 117
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 735,
"end": 738,
"loc": {
"start": {
"line": 25,
"column": 118
},
"end": {
"line": 25,
"column": 121
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 739,
"end": 740,
"loc": {
"start": {
"line": 25,
"column": 122
},
"end": {
"line": 25,
"column": 123
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 740,
"end": 741,
"loc": {
"start": {
"line": 25,
"column": 123
},
"end": {
"line": 25,
"column": 124
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "val",
"start": 741,
"end": 744,
"loc": {
"start": {
"line": 25,
"column": 124
},
"end": {
"line": 25,
"column": 127
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 744,
"end": 745,
"loc": {
"start": {
"line": 25,
"column": 127
},
"end": {
"line": 25,
"column": 128
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 745,
"end": 748,
"loc": {
"start": {
"line": 25,
"column": 128
},
"end": {
"line": 25,
"column": 131
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 748,
"end": 749,
"loc": {
"start": {
"line": 25,
"column": 131
},
"end": {
"line": 25,
"column": 132
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 749,
"end": 754,
"loc": {
"start": {
"line": 25,
"column": 132
},
"end": {
"line": 25,
"column": 137
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 754,
"end": 755,
"loc": {
"start": {
"line": 25,
"column": 137
},
"end": {
"line": 25,
"column": 138
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 756,
"end": 757,
"loc": {
"start": {
"line": 25,
"column": 139
},
"end": {
"line": 25,
"column": 140
}
}
},
{
"type": "CommentLine",
"value": " TODO: do merging for all items!",
"start": 764,
"end": 798,
"loc": {
"start": {
"line": 26,
"column": 6
},
"end": {
"line": 26,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prev",
"start": 805,
"end": 809,
"loc": {
"start": {
"line": 27,
"column": 6
},
"end": {
"line": 27,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 809,
"end": 810,
"loc": {
"start": {
"line": 27,
"column": 10
},
"end": {
"line": 27,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 810,
"end": 817,
"loc": {
"start": {
"line": 27,
"column": 11
},
"end": {
"line": 27,
"column": 18
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "+=",
"start": 818,
"end": 820,
"loc": {
"start": {
"line": 27,
"column": 19
},
"end": {
"line": 27,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 821,
"end": 822,
"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,
"updateContext": null
},
"start": 822,
"end": 823,
"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": "val",
"start": 823,
"end": 826,
"loc": {
"start": {
"line": 27,
"column": 24
},
"end": {
"line": 27,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 826,
"end": 827,
"loc": {
"start": {
"line": 27,
"column": 27
},
"end": {
"line": 27,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 827,
"end": 834,
"loc": {
"start": {
"line": 27,
"column": 28
},
"end": {
"line": 27,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 841,
"end": 842,
"loc": {
"start": {
"line": 28,
"column": 6
},
"end": {
"line": 28,
"column": 7
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 842,
"end": 843,
"loc": {
"start": {
"line": 28,
"column": 7
},
"end": {
"line": 28,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "os",
"start": 843,
"end": 845,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 845,
"end": 846,
"loc": {
"start": {
"line": 28,
"column": 10
},
"end": {
"line": 28,
"column": 11
}
}
},
{
"type": {
"label": "delete",
"keyword": "delete",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "delete",
"start": 846,
"end": 852,
"loc": {
"start": {
"line": 28,
"column": 11
},
"end": {
"line": 28,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 852,
"end": 853,
"loc": {
"start": {
"line": 28,
"column": 17
},
"end": {
"line": 28,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 853,
"end": 854,
"loc": {
"start": {
"line": 28,
"column": 18
},
"end": {
"line": 28,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 854,
"end": 855,
"loc": {
"start": {
"line": 28,
"column": 19
},
"end": {
"line": 28,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "val",
"start": 855,
"end": 858,
"loc": {
"start": {
"line": 28,
"column": 20
},
"end": {
"line": 28,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 858,
"end": 859,
"loc": {
"start": {
"line": 28,
"column": 23
},
"end": {
"line": 28,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 859,
"end": 862,
"loc": {
"start": {
"line": 28,
"column": 24
},
"end": {
"line": 28,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 862,
"end": 863,
"loc": {
"start": {
"line": 28,
"column": 27
},
"end": {
"line": 28,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 870,
"end": 871,
"loc": {
"start": {
"line": 29,
"column": 6
},
"end": {
"line": 29,
"column": 7
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 872,
"end": 873,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "prev",
"start": 874,
"end": 878,
"loc": {
"start": {
"line": 29,
"column": 10
},
"end": {
"line": 29,
"column": 14
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 883,
"end": 884,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"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": 889,
"end": 891,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 892,
"end": 893,
"loc": {
"start": {
"line": 31,
"column": 7
},
"end": {
"line": 31,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 893,
"end": 894,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 894,
"end": 895,
"loc": {
"start": {
"line": 31,
"column": 9
},
"end": {
"line": 31,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "val",
"start": 895,
"end": 898,
"loc": {
"start": {
"line": 31,
"column": 10
},
"end": {
"line": 31,
"column": 13
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 898,
"end": 899,
"loc": {
"start": {
"line": 31,
"column": 13
},
"end": {
"line": 31,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 900,
"end": 901,
"loc": {
"start": {
"line": 31,
"column": 15
},
"end": {
"line": 31,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 908,
"end": 909,
"loc": {
"start": {
"line": 32,
"column": 6
},
"end": {
"line": 32,
"column": 7
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 910,
"end": 911,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 912,
"end": 913,
"loc": {
"start": {
"line": 32,
"column": 10
},
"end": {
"line": 32,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 913,
"end": 914,
"loc": {
"start": {
"line": 32,
"column": 11
},
"end": {
"line": 32,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "val",
"start": 914,
"end": 917,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 922,
"end": 923,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 5
}
}
},
{
"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": 928,
"end": 933,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "next",
"start": 934,
"end": 938,
"loc": {
"start": {
"line": 34,
"column": 10
},
"end": {
"line": 34,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 939,
"end": 940,
"loc": {
"start": {
"line": 34,
"column": 15
},
"end": {
"line": 34,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 941,
"end": 942,
"loc": {
"start": {
"line": 34,
"column": 17
},
"end": {
"line": 34,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 942,
"end": 943,
"loc": {
"start": {
"line": 34,
"column": 18
},
"end": {
"line": 34,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "os",
"start": 943,
"end": 945,
"loc": {
"start": {
"line": 34,
"column": 19
},
"end": {
"line": 34,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 945,
"end": 946,
"loc": {
"start": {
"line": 34,
"column": 21
},
"end": {
"line": 34,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "findNext",
"start": 946,
"end": 954,
"loc": {
"start": {
"line": 34,
"column": 22
},
"end": {
"line": 34,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 954,
"end": 955,
"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": "n",
"start": 955,
"end": 956,
"loc": {
"start": {
"line": 34,
"column": 31
},
"end": {
"line": 34,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 956,
"end": 957,
"loc": {
"start": {
"line": 34,
"column": 32
},
"end": {
"line": 34,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 957,
"end": 960,
"loc": {
"start": {
"line": 34,
"column": 33
},
"end": {
"line": 34,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 960,
"end": 961,
"loc": {
"start": {
"line": 34,
"column": 36
},
"end": {
"line": 34,
"column": 37
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 966,
"end": 968,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 969,
"end": 970,
"loc": {
"start": {
"line": 35,
"column": 7
},
"end": {
"line": 35,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "next",
"start": 970,
"end": 974,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 12
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 975,
"end": 978,
"loc": {
"start": {
"line": 35,
"column": 13
},
"end": {
"line": 35,
"column": 16
}
}
},
{
"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": 979,
"end": 983,
"loc": {
"start": {
"line": 35,
"column": 17
},
"end": {
"line": 35,
"column": 21
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 984,
"end": 986,
"loc": {
"start": {
"line": 35,
"column": 22
},
"end": {
"line": 35,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "next",
"start": 987,
"end": 991,
"loc": {
"start": {
"line": 35,
"column": 25
},
"end": {
"line": 35,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 991,
"end": 992,
"loc": {
"start": {
"line": 35,
"column": 29
},
"end": {
"line": 35,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 992,
"end": 1003,
"loc": {
"start": {
"line": 35,
"column": 30
},
"end": {
"line": 35,
"column": 41
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 1004,
"end": 1007,
"loc": {
"start": {
"line": 35,
"column": 42
},
"end": {
"line": 35,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GC",
"start": 1008,
"end": 1010,
"loc": {
"start": {
"line": 35,
"column": 46
},
"end": {
"line": 35,
"column": 48
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 1011,
"end": 1013,
"loc": {
"start": {
"line": 35,
"column": 49
},
"end": {
"line": 35,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "next",
"start": 1014,
"end": 1018,
"loc": {
"start": {
"line": 35,
"column": 52
},
"end": {
"line": 35,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1018,
"end": 1019,
"loc": {
"start": {
"line": 35,
"column": 56
},
"end": {
"line": 35,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 1019,
"end": 1022,
"loc": {
"start": {
"line": 35,
"column": 57
},
"end": {
"line": 35,
"column": 60
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1022,
"end": 1023,
"loc": {
"start": {
"line": 35,
"column": 60
},
"end": {
"line": 35,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 1023,
"end": 1027,
"loc": {
"start": {
"line": 35,
"column": 61
},
"end": {
"line": 35,
"column": 65
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 1028,
"end": 1031,
"loc": {
"start": {
"line": 35,
"column": 66
},
"end": {
"line": 35,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 1032,
"end": 1033,
"loc": {
"start": {
"line": 35,
"column": 70
},
"end": {
"line": 35,
"column": 71
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1033,
"end": 1034,
"loc": {
"start": {
"line": 35,
"column": 71
},
"end": {
"line": 35,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 1034,
"end": 1037,
"loc": {
"start": {
"line": 35,
"column": 72
},
"end": {
"line": 35,
"column": 75
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1037,
"end": 1038,
"loc": {
"start": {
"line": 35,
"column": 75
},
"end": {
"line": 35,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 1038,
"end": 1042,
"loc": {
"start": {
"line": 35,
"column": 76
},
"end": {
"line": 35,
"column": 80
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 1043,
"end": 1045,
"loc": {
"start": {
"line": 35,
"column": 81
},
"end": {
"line": 35,
"column": 83
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "next",
"start": 1046,
"end": 1050,
"loc": {
"start": {
"line": 35,
"column": 84
},
"end": {
"line": 35,
"column": 88
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1050,
"end": 1051,
"loc": {
"start": {
"line": 35,
"column": 88
},
"end": {
"line": 35,
"column": 89
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 1051,
"end": 1054,
"loc": {
"start": {
"line": 35,
"column": 89
},
"end": {
"line": 35,
"column": 92
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1054,
"end": 1055,
"loc": {
"start": {
"line": 35,
"column": 92
},
"end": {
"line": 35,
"column": 93
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 1055,
"end": 1060,
"loc": {
"start": {
"line": 35,
"column": 93
},
"end": {
"line": 35,
"column": 98
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 1061,
"end": 1064,
"loc": {
"start": {
"line": 35,
"column": 99
},
"end": {
"line": 35,
"column": 102
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 1065,
"end": 1066,
"loc": {
"start": {
"line": 35,
"column": 103
},
"end": {
"line": 35,
"column": 104
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1066,
"end": 1067,
"loc": {
"start": {
"line": 35,
"column": 104
},
"end": {
"line": 35,
"column": 105
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 1067,
"end": 1070,
"loc": {
"start": {
"line": 35,
"column": 105
},
"end": {
"line": 35,
"column": 108
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1070,
"end": 1071,
"loc": {
"start": {
"line": 35,
"column": 108
},
"end": {
"line": 35,
"column": 109
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 1071,
"end": 1076,
"loc": {
"start": {
"line": 35,
"column": 109
},
"end": {
"line": 35,
"column": 114
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 1077,
"end": 1078,
"loc": {
"start": {
"line": 35,
"column": 115
},
"end": {
"line": 35,
"column": 116
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 1079,
"end": 1080,
"loc": {
"start": {
"line": 35,
"column": 117
},
"end": {
"line": 35,
"column": 118
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1080,
"end": 1081,
"loc": {
"start": {
"line": 35,
"column": 118
},
"end": {
"line": 35,
"column": 119
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 1081,
"end": 1088,
"loc": {
"start": {
"line": 35,
"column": 119
},
"end": {
"line": 35,
"column": 126
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1088,
"end": 1089,
"loc": {
"start": {
"line": 35,
"column": 126
},
"end": {
"line": 35,
"column": 127
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1090,
"end": 1091,
"loc": {
"start": {
"line": 35,
"column": 128
},
"end": {
"line": 35,
"column": 129
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "n",
"start": 1098,
"end": 1099,
"loc": {
"start": {
"line": 36,
"column": 6
},
"end": {
"line": 36,
"column": 7
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1099,
"end": 1100,
"loc": {
"start": {
"line": 36,
"column": 7
},
"end": {
"line": 36,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 1100,
"end": 1107,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 15
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "+=",
"start": 1108,
"end": 1110,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "next",
"start": 1111,
"end": 1115,
"loc": {
"start": {
"line": 36,
"column": 19
},
"end": {
"line": 36,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1115,
"end": 1116,
"loc": {
"start": {
"line": 36,
"column": 23
},
"end": {
"line": 36,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 1116,
"end": 1123,
"loc": {
"start": {
"line": 36,
"column": 24
},
"end": {
"line": 36,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1130,
"end": 1131,
"loc": {
"start": {
"line": 37,
"column": 6
},
"end": {
"line": 37,
"column": 7
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1131,
"end": 1132,
"loc": {
"start": {
"line": 37,
"column": 7
},
"end": {
"line": 37,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "os",
"start": 1132,
"end": 1134,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1134,
"end": 1135,
"loc": {
"start": {
"line": 37,
"column": 10
},
"end": {
"line": 37,
"column": 11
}
}
},
{
"type": {
"label": "delete",
"keyword": "delete",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "delete",
"start": 1135,
"end": 1141,
"loc": {
"start": {
"line": 37,
"column": 11
},
"end": {
"line": 37,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1141,
"end": 1142,
"loc": {
"start": {
"line": 37,
"column": 17
},
"end": {
"line": 37,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "next",
"start": 1142,
"end": 1146,
"loc": {
"start": {
"line": 37,
"column": 18
},
"end": {
"line": 37,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1146,
"end": 1147,
"loc": {
"start": {
"line": 37,
"column": 22
},
"end": {
"line": 37,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 1147,
"end": 1150,
"loc": {
"start": {
"line": 37,
"column": 23
},
"end": {
"line": 37,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1150,
"end": 1151,
"loc": {
"start": {
"line": 37,
"column": 26
},
"end": {
"line": 37,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1156,
"end": 1157,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 38,
"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": 1162,
"end": 1164,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1165,
"end": 1166,
"loc": {
"start": {
"line": 39,
"column": 7
},
"end": {
"line": 39,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 1166,
"end": 1168,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1168,
"end": 1169,
"loc": {
"start": {
"line": 39,
"column": 10
},
"end": {
"line": 39,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 1169,
"end": 1173,
"loc": {
"start": {
"line": 39,
"column": 11
},
"end": {
"line": 39,
"column": 15
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 1174,
"end": 1177,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "RootFakeUserID",
"start": 1178,
"end": 1192,
"loc": {
"start": {
"line": 39,
"column": 20
},
"end": {
"line": 39,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1192,
"end": 1193,
"loc": {
"start": {
"line": 39,
"column": 34
},
"end": {
"line": 39,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1194,
"end": 1195,
"loc": {
"start": {
"line": 39,
"column": 36
},
"end": {
"line": 39,
"column": 37
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 1202,
"end": 1204,
"loc": {
"start": {
"line": 40,
"column": 6
},
"end": {
"line": 40,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1205,
"end": 1206,
"loc": {
"start": {
"line": 40,
"column": 9
},
"end": {
"line": 40,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1206,
"end": 1207,
"loc": {
"start": {
"line": 40,
"column": 10
},
"end": {
"line": 40,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1207,
"end": 1208,
"loc": {
"start": {
"line": 40,
"column": 11
},
"end": {
"line": 40,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connector",
"start": 1208,
"end": 1217,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 21
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 1218,
"end": 1221,
"loc": {
"start": {
"line": 40,
"column": 22
},
"end": {
"line": 40,
"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": 1222,
"end": 1226,
"loc": {
"start": {
"line": 40,
"column": 26
},
"end": {
"line": 40,
"column": 30
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 1227,
"end": 1229,
"loc": {
"start": {
"line": 40,
"column": 31
},
"end": {
"line": 40,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1230,
"end": 1231,
"loc": {
"start": {
"line": 40,
"column": 34
},
"end": {
"line": 40,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1231,
"end": 1232,
"loc": {
"start": {
"line": 40,
"column": 35
},
"end": {
"line": 40,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1232,
"end": 1233,
"loc": {
"start": {
"line": 40,
"column": 36
},
"end": {
"line": 40,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connector",
"start": 1233,
"end": 1242,
"loc": {
"start": {
"line": 40,
"column": 37
},
"end": {
"line": 40,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1242,
"end": 1243,
"loc": {
"start": {
"line": 40,
"column": 46
},
"end": {
"line": 40,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_forwardAppliedStructs",
"start": 1243,
"end": 1265,
"loc": {
"start": {
"line": 40,
"column": 47
},
"end": {
"line": 40,
"column": 69
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1266,
"end": 1268,
"loc": {
"start": {
"line": 40,
"column": 70
},
"end": {
"line": 40,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 1269,
"end": 1271,
"loc": {
"start": {
"line": 40,
"column": 73
},
"end": {
"line": 40,
"column": 75
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1271,
"end": 1272,
"loc": {
"start": {
"line": 40,
"column": 75
},
"end": {
"line": 40,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 1272,
"end": 1276,
"loc": {
"start": {
"line": 40,
"column": 76
},
"end": {
"line": 40,
"column": 80
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 1277,
"end": 1280,
"loc": {
"start": {
"line": 40,
"column": 81
},
"end": {
"line": 40,
"column": 84
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1281,
"end": 1282,
"loc": {
"start": {
"line": 40,
"column": 85
},
"end": {
"line": 40,
"column": 86
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1282,
"end": 1283,
"loc": {
"start": {
"line": 40,
"column": 86
},
"end": {
"line": 40,
"column": 87
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "userID",
"start": 1283,
"end": 1289,
"loc": {
"start": {
"line": 40,
"column": 87
},
"end": {
"line": 40,
"column": 93
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1289,
"end": 1290,
"loc": {
"start": {
"line": 40,
"column": 93
},
"end": {
"line": 40,
"column": 94
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1290,
"end": 1291,
"loc": {
"start": {
"line": 40,
"column": 94
},
"end": {
"line": 40,
"column": 95
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1292,
"end": 1293,
"loc": {
"start": {
"line": 40,
"column": 96
},
"end": {
"line": 40,
"column": 97
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1302,
"end": 1303,
"loc": {
"start": {
"line": 41,
"column": 8
},
"end": {
"line": 41,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1303,
"end": 1304,
"loc": {
"start": {
"line": 41,
"column": 9
},
"end": {
"line": 41,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connector",
"start": 1304,
"end": 1313,
"loc": {
"start": {
"line": 41,
"column": 10
},
"end": {
"line": 41,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1313,
"end": 1314,
"loc": {
"start": {
"line": 41,
"column": 19
},
"end": {
"line": 41,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "broadcastStruct",
"start": 1314,
"end": 1329,
"loc": {
"start": {
"line": 41,
"column": 20
},
"end": {
"line": 41,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1329,
"end": 1330,
"loc": {
"start": {
"line": 41,
"column": 35
},
"end": {
"line": 41,
"column": 36
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1330,
"end": 1334,
"loc": {
"start": {
"line": 41,
"column": 36
},
"end": {
"line": 41,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1334,
"end": 1335,
"loc": {
"start": {
"line": 41,
"column": 40
},
"end": {
"line": 41,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1342,
"end": 1343,
"loc": {
"start": {
"line": 42,
"column": 6
},
"end": {
"line": 42,
"column": 7
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 1350,
"end": 1352,
"loc": {
"start": {
"line": 43,
"column": 6
},
"end": {
"line": 43,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1353,
"end": 1354,
"loc": {
"start": {
"line": 43,
"column": 9
},
"end": {
"line": 43,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1354,
"end": 1355,
"loc": {
"start": {
"line": 43,
"column": 10
},
"end": {
"line": 43,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1355,
"end": 1356,
"loc": {
"start": {
"line": 43,
"column": 11
},
"end": {
"line": 43,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "persistence",
"start": 1356,
"end": 1367,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 23
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 1368,
"end": 1371,
"loc": {
"start": {
"line": 43,
"column": 24
},
"end": {
"line": 43,
"column": 27
}
}
},
{
"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": 1372,
"end": 1376,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1376,
"end": 1377,
"loc": {
"start": {
"line": 43,
"column": 32
},
"end": {
"line": 43,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1378,
"end": 1379,
"loc": {
"start": {
"line": 43,
"column": 34
},
"end": {
"line": 43,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1388,
"end": 1389,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1389,
"end": 1390,
"loc": {
"start": {
"line": 44,
"column": 9
},
"end": {
"line": 44,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "persistence",
"start": 1390,
"end": 1401,
"loc": {
"start": {
"line": 44,
"column": 10
},
"end": {
"line": 44,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1401,
"end": 1402,
"loc": {
"start": {
"line": 44,
"column": 21
},
"end": {
"line": 44,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "saveStruct",
"start": 1402,
"end": 1412,
"loc": {
"start": {
"line": 44,
"column": 22
},
"end": {
"line": 44,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1412,
"end": 1413,
"loc": {
"start": {
"line": 44,
"column": 32
},
"end": {
"line": 44,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1413,
"end": 1414,
"loc": {
"start": {
"line": 44,
"column": 33
},
"end": {
"line": 44,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1414,
"end": 1415,
"loc": {
"start": {
"line": 44,
"column": 34
},
"end": {
"line": 44,
"column": 35
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1416,
"end": 1420,
"loc": {
"start": {
"line": 44,
"column": 36
},
"end": {
"line": 44,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1420,
"end": 1421,
"loc": {
"start": {
"line": 44,
"column": 40
},
"end": {
"line": 44,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1428,
"end": 1429,
"loc": {
"start": {
"line": 45,
"column": 6
},
"end": {
"line": 45,
"column": 7
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1434,
"end": 1435,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1438,
"end": 1439,
"loc": {
"start": {
"line": 47,
"column": 2
},
"end": {
"line": 47,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Transform the properties of this type to binary and write it to an\n * BinaryEncoder.\n *\n * This is called when this Item is sent to a remote peer.\n *\n * @param {BinaryEncoder} encoder The encoder to write data to.\n * @private\n ",
"start": 1443,
"end": 1695,
"loc": {
"start": {
"line": 49,
"column": 2
},
"end": {
"line": 57,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_toBinary",
"start": 1698,
"end": 1707,
"loc": {
"start": {
"line": 58,
"column": 2
},
"end": {
"line": 58,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1708,
"end": 1709,
"loc": {
"start": {
"line": 58,
"column": 12
},
"end": {
"line": 58,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1709,
"end": 1716,
"loc": {
"start": {
"line": 58,
"column": 13
},
"end": {
"line": 58,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1716,
"end": 1717,
"loc": {
"start": {
"line": 58,
"column": 20
},
"end": {
"line": 58,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1718,
"end": 1719,
"loc": {
"start": {
"line": 58,
"column": 22
},
"end": {
"line": 58,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1724,
"end": 1731,
"loc": {
"start": {
"line": 59,
"column": 4
},
"end": {
"line": 59,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1731,
"end": 1732,
"loc": {
"start": {
"line": 59,
"column": 11
},
"end": {
"line": 59,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeUint8",
"start": 1732,
"end": 1742,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1742,
"end": 1743,
"loc": {
"start": {
"line": 59,
"column": 22
},
"end": {
"line": 59,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getStructReference",
"start": 1743,
"end": 1761,
"loc": {
"start": {
"line": 59,
"column": 23
},
"end": {
"line": 59,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1761,
"end": 1762,
"loc": {
"start": {
"line": 59,
"column": 41
},
"end": {
"line": 59,
"column": 42
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1762,
"end": 1766,
"loc": {
"start": {
"line": 59,
"column": 42
},
"end": {
"line": 59,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1766,
"end": 1767,
"loc": {
"start": {
"line": 59,
"column": 46
},
"end": {
"line": 59,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 1767,
"end": 1778,
"loc": {
"start": {
"line": 59,
"column": 47
},
"end": {
"line": 59,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1778,
"end": 1779,
"loc": {
"start": {
"line": 59,
"column": 58
},
"end": {
"line": 59,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1779,
"end": 1780,
"loc": {
"start": {
"line": 59,
"column": 59
},
"end": {
"line": 59,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1785,
"end": 1792,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1792,
"end": 1793,
"loc": {
"start": {
"line": 60,
"column": 11
},
"end": {
"line": 60,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeID",
"start": 1793,
"end": 1800,
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 60,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1800,
"end": 1801,
"loc": {
"start": {
"line": 60,
"column": 19
},
"end": {
"line": 60,
"column": 20
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1801,
"end": 1805,
"loc": {
"start": {
"line": 60,
"column": 20
},
"end": {
"line": 60,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1805,
"end": 1806,
"loc": {
"start": {
"line": 60,
"column": 24
},
"end": {
"line": 60,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 1806,
"end": 1809,
"loc": {
"start": {
"line": 60,
"column": 25
},
"end": {
"line": 60,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1809,
"end": 1810,
"loc": {
"start": {
"line": 60,
"column": 28
},
"end": {
"line": 60,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1815,
"end": 1822,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1822,
"end": 1823,
"loc": {
"start": {
"line": 61,
"column": 11
},
"end": {
"line": 61,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeVarUint",
"start": 1823,
"end": 1835,
"loc": {
"start": {
"line": 61,
"column": 12
},
"end": {
"line": 61,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1835,
"end": 1836,
"loc": {
"start": {
"line": 61,
"column": 24
},
"end": {
"line": 61,
"column": 25
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1836,
"end": 1840,
"loc": {
"start": {
"line": 61,
"column": 25
},
"end": {
"line": 61,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1840,
"end": 1841,
"loc": {
"start": {
"line": 61,
"column": 29
},
"end": {
"line": 61,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 1841,
"end": 1848,
"loc": {
"start": {
"line": 61,
"column": 30
},
"end": {
"line": 61,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1848,
"end": 1849,
"loc": {
"start": {
"line": 61,
"column": 37
},
"end": {
"line": 61,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1852,
"end": 1853,
"loc": {
"start": {
"line": 62,
"column": 2
},
"end": {
"line": 62,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Read the next Item in a Decoder and fill this Item with the read data.\n *\n * This is called when data is received from a remote peer.\n *\n * @param {Y} y The Yjs instance that this Item belongs to.\n * @param {BinaryDecoder} decoder The decoder object to read data from.\n * @private\n ",
"start": 1857,
"end": 2164,
"loc": {
"start": {
"line": 64,
"column": 2
},
"end": {
"line": 72,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_fromBinary",
"start": 2167,
"end": 2178,
"loc": {
"start": {
"line": 73,
"column": 2
},
"end": {
"line": 73,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2179,
"end": 2180,
"loc": {
"start": {
"line": 73,
"column": 14
},
"end": {
"line": 73,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2180,
"end": 2181,
"loc": {
"start": {
"line": 73,
"column": 15
},
"end": {
"line": 73,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2181,
"end": 2182,
"loc": {
"start": {
"line": 73,
"column": 16
},
"end": {
"line": 73,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 2183,
"end": 2190,
"loc": {
"start": {
"line": 73,
"column": 18
},
"end": {
"line": 73,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2190,
"end": 2191,
"loc": {
"start": {
"line": 73,
"column": 25
},
"end": {
"line": 73,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2192,
"end": 2193,
"loc": {
"start": {
"line": 73,
"column": 27
},
"end": {
"line": 73,
"column": 28
}
}
},
{
"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": 2198,
"end": 2203,
"loc": {
"start": {
"line": 74,
"column": 4
},
"end": {
"line": 74,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 2204,
"end": 2206,
"loc": {
"start": {
"line": 74,
"column": 10
},
"end": {
"line": 74,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2207,
"end": 2208,
"loc": {
"start": {
"line": 74,
"column": 13
},
"end": {
"line": 74,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 2209,
"end": 2216,
"loc": {
"start": {
"line": 74,
"column": 15
},
"end": {
"line": 74,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2216,
"end": 2217,
"loc": {
"start": {
"line": 74,
"column": 22
},
"end": {
"line": 74,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readID",
"start": 2217,
"end": 2223,
"loc": {
"start": {
"line": 74,
"column": 23
},
"end": {
"line": 74,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2223,
"end": 2224,
"loc": {
"start": {
"line": 74,
"column": 29
},
"end": {
"line": 74,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2224,
"end": 2225,
"loc": {
"start": {
"line": 74,
"column": 30
},
"end": {
"line": 74,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2230,
"end": 2234,
"loc": {
"start": {
"line": 75,
"column": 4
},
"end": {
"line": 75,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2234,
"end": 2235,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 2235,
"end": 2238,
"loc": {
"start": {
"line": 75,
"column": 9
},
"end": {
"line": 75,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2239,
"end": 2240,
"loc": {
"start": {
"line": 75,
"column": 13
},
"end": {
"line": 75,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 2241,
"end": 2243,
"loc": {
"start": {
"line": 75,
"column": 15
},
"end": {
"line": 75,
"column": 17
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2248,
"end": 2252,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2252,
"end": 2253,
"loc": {
"start": {
"line": 76,
"column": 8
},
"end": {
"line": 76,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 2253,
"end": 2260,
"loc": {
"start": {
"line": 76,
"column": 9
},
"end": {
"line": 76,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2261,
"end": 2262,
"loc": {
"start": {
"line": 76,
"column": 17
},
"end": {
"line": 76,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 2263,
"end": 2270,
"loc": {
"start": {
"line": 76,
"column": 19
},
"end": {
"line": 76,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2270,
"end": 2271,
"loc": {
"start": {
"line": 76,
"column": 26
},
"end": {
"line": 76,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readVarUint",
"start": 2271,
"end": 2282,
"loc": {
"start": {
"line": 76,
"column": 27
},
"end": {
"line": 76,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2282,
"end": 2283,
"loc": {
"start": {
"line": 76,
"column": 38
},
"end": {
"line": 76,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2283,
"end": 2284,
"loc": {
"start": {
"line": 76,
"column": 39
},
"end": {
"line": 76,
"column": 40
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 2289,
"end": 2294,
"loc": {
"start": {
"line": 77,
"column": 4
},
"end": {
"line": 77,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "missing",
"start": 2295,
"end": 2302,
"loc": {
"start": {
"line": 77,
"column": 10
},
"end": {
"line": 77,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2303,
"end": 2304,
"loc": {
"start": {
"line": 77,
"column": 18
},
"end": {
"line": 77,
"column": 19
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2305,
"end": 2306,
"loc": {
"start": {
"line": 77,
"column": 20
},
"end": {
"line": 77,
"column": 21
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2306,
"end": 2307,
"loc": {
"start": {
"line": 77,
"column": 21
},
"end": {
"line": 77,
"column": 22
}
}
},
{
"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": 2312,
"end": 2314,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 78,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2315,
"end": 2316,
"loc": {
"start": {
"line": 78,
"column": 7
},
"end": {
"line": 78,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2316,
"end": 2317,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2317,
"end": 2318,
"loc": {
"start": {
"line": 78,
"column": 9
},
"end": {
"line": 78,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ss",
"start": 2318,
"end": 2320,
"loc": {
"start": {
"line": 78,
"column": 10
},
"end": {
"line": 78,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2320,
"end": 2321,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 78,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getState",
"start": 2321,
"end": 2329,
"loc": {
"start": {
"line": 78,
"column": 13
},
"end": {
"line": 78,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2329,
"end": 2330,
"loc": {
"start": {
"line": 78,
"column": 21
},
"end": {
"line": 78,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 2330,
"end": 2332,
"loc": {
"start": {
"line": 78,
"column": 22
},
"end": {
"line": 78,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2332,
"end": 2333,
"loc": {
"start": {
"line": 78,
"column": 24
},
"end": {
"line": 78,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 2333,
"end": 2337,
"loc": {
"start": {
"line": 78,
"column": 25
},
"end": {
"line": 78,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2337,
"end": 2338,
"loc": {
"start": {
"line": 78,
"column": 29
},
"end": {
"line": 78,
"column": 30
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 2339,
"end": 2340,
"loc": {
"start": {
"line": 78,
"column": 31
},
"end": {
"line": 78,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 2341,
"end": 2343,
"loc": {
"start": {
"line": 78,
"column": 33
},
"end": {
"line": 78,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2343,
"end": 2344,
"loc": {
"start": {
"line": 78,
"column": 35
},
"end": {
"line": 78,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 2344,
"end": 2349,
"loc": {
"start": {
"line": 78,
"column": 36
},
"end": {
"line": 78,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2349,
"end": 2350,
"loc": {
"start": {
"line": 78,
"column": 41
},
"end": {
"line": 78,
"column": 42
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2351,
"end": 2352,
"loc": {
"start": {
"line": 78,
"column": 43
},
"end": {
"line": 78,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "missing",
"start": 2359,
"end": 2366,
"loc": {
"start": {
"line": 79,
"column": 6
},
"end": {
"line": 79,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2366,
"end": 2367,
"loc": {
"start": {
"line": 79,
"column": 13
},
"end": {
"line": 79,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 2367,
"end": 2371,
"loc": {
"start": {
"line": 79,
"column": 14
},
"end": {
"line": 79,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2371,
"end": 2372,
"loc": {
"start": {
"line": 79,
"column": 18
},
"end": {
"line": 79,
"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": 2372,
"end": 2375,
"loc": {
"start": {
"line": 79,
"column": 19
},
"end": {
"line": 79,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ID",
"start": 2376,
"end": 2378,
"loc": {
"start": {
"line": 79,
"column": 23
},
"end": {
"line": 79,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2378,
"end": 2379,
"loc": {
"start": {
"line": 79,
"column": 25
},
"end": {
"line": 79,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 2379,
"end": 2381,
"loc": {
"start": {
"line": 79,
"column": 26
},
"end": {
"line": 79,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2381,
"end": 2382,
"loc": {
"start": {
"line": 79,
"column": 28
},
"end": {
"line": 79,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 2382,
"end": 2386,
"loc": {
"start": {
"line": 79,
"column": 29
},
"end": {
"line": 79,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2386,
"end": 2387,
"loc": {
"start": {
"line": 79,
"column": 33
},
"end": {
"line": 79,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 2388,
"end": 2390,
"loc": {
"start": {
"line": 79,
"column": 35
},
"end": {
"line": 79,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2390,
"end": 2391,
"loc": {
"start": {
"line": 79,
"column": 37
},
"end": {
"line": 79,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 2391,
"end": 2396,
"loc": {
"start": {
"line": 79,
"column": 38
},
"end": {
"line": 79,
"column": 43
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 2397,
"end": 2398,
"loc": {
"start": {
"line": 79,
"column": 44
},
"end": {
"line": 79,
"column": 45
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 2399,
"end": 2400,
"loc": {
"start": {
"line": 79,
"column": 46
},
"end": {
"line": 79,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2400,
"end": 2401,
"loc": {
"start": {
"line": 79,
"column": 47
},
"end": {
"line": 79,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2401,
"end": 2402,
"loc": {
"start": {
"line": 79,
"column": 48
},
"end": {
"line": 79,
"column": 49
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2407,
"end": 2408,
"loc": {
"start": {
"line": 80,
"column": 4
},
"end": {
"line": 80,
"column": 5
}
}
},
{
"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": 2413,
"end": 2419,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 81,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "missing",
"start": 2420,
"end": 2427,
"loc": {
"start": {
"line": 81,
"column": 11
},
"end": {
"line": 81,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2430,
"end": 2431,
"loc": {
"start": {
"line": 82,
"column": 2
},
"end": {
"line": 82,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_splitAt",
"start": 2435,
"end": 2443,
"loc": {
"start": {
"line": 84,
"column": 2
},
"end": {
"line": 84,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2444,
"end": 2445,
"loc": {
"start": {
"line": 84,
"column": 11
},
"end": {
"line": 84,
"column": 12
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2445,
"end": 2446,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 13
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2447,
"end": 2448,
"loc": {
"start": {
"line": 84,
"column": 14
},
"end": {
"line": 84,
"column": 15
}
}
},
{
"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": 2453,
"end": 2459,
"loc": {
"start": {
"line": 85,
"column": 4
},
"end": {
"line": 85,
"column": 10
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2460,
"end": 2464,
"loc": {
"start": {
"line": 85,
"column": 11
},
"end": {
"line": 85,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2467,
"end": 2468,
"loc": {
"start": {
"line": 86,
"column": 2
},
"end": {
"line": 86,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_clonePartial",
"start": 2472,
"end": 2485,
"loc": {
"start": {
"line": 88,
"column": 2
},
"end": {
"line": 88,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2486,
"end": 2487,
"loc": {
"start": {
"line": 88,
"column": 16
},
"end": {
"line": 88,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "diff",
"start": 2487,
"end": 2491,
"loc": {
"start": {
"line": 88,
"column": 17
},
"end": {
"line": 88,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2491,
"end": 2492,
"loc": {
"start": {
"line": 88,
"column": 21
},
"end": {
"line": 88,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2493,
"end": 2494,
"loc": {
"start": {
"line": 88,
"column": 23
},
"end": {
"line": 88,
"column": 24
}
}
},
{
"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": 2499,
"end": 2504,
"loc": {
"start": {
"line": 89,
"column": 4
},
"end": {
"line": 89,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gc",
"start": 2505,
"end": 2507,
"loc": {
"start": {
"line": 89,
"column": 10
},
"end": {
"line": 89,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2508,
"end": 2509,
"loc": {
"start": {
"line": 89,
"column": 13
},
"end": {
"line": 89,
"column": 14
}
}
},
{
"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": 2510,
"end": 2513,
"loc": {
"start": {
"line": 89,
"column": 15
},
"end": {
"line": 89,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GC",
"start": 2514,
"end": 2516,
"loc": {
"start": {
"line": 89,
"column": 19
},
"end": {
"line": 89,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2516,
"end": 2517,
"loc": {
"start": {
"line": 89,
"column": 21
},
"end": {
"line": 89,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2517,
"end": 2518,
"loc": {
"start": {
"line": 89,
"column": 22
},
"end": {
"line": 89,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gc",
"start": 2523,
"end": 2525,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 90,
"column": 6
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2525,
"end": 2526,
"loc": {
"start": {
"line": 90,
"column": 6
},
"end": {
"line": 90,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 2526,
"end": 2529,
"loc": {
"start": {
"line": 90,
"column": 7
},
"end": {
"line": 90,
"column": 10
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2530,
"end": 2531,
"loc": {
"start": {
"line": 90,
"column": 11
},
"end": {
"line": 90,
"column": 12
}
}
},
{
"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": 2532,
"end": 2535,
"loc": {
"start": {
"line": 90,
"column": 13
},
"end": {
"line": 90,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ID",
"start": 2536,
"end": 2538,
"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": 2538,
"end": 2539,
"loc": {
"start": {
"line": 90,
"column": 19
},
"end": {
"line": 90,
"column": 20
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2539,
"end": 2543,
"loc": {
"start": {
"line": 90,
"column": 20
},
"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": 2543,
"end": 2544,
"loc": {
"start": {
"line": 90,
"column": 24
},
"end": {
"line": 90,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 2544,
"end": 2547,
"loc": {
"start": {
"line": 90,
"column": 25
},
"end": {
"line": 90,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2547,
"end": 2548,
"loc": {
"start": {
"line": 90,
"column": 28
},
"end": {
"line": 90,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 2548,
"end": 2552,
"loc": {
"start": {
"line": 90,
"column": 29
},
"end": {
"line": 90,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2552,
"end": 2553,
"loc": {
"start": {
"line": 90,
"column": 33
},
"end": {
"line": 90,
"column": 34
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2554,
"end": 2558,
"loc": {
"start": {
"line": 90,
"column": 35
},
"end": {
"line": 90,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2558,
"end": 2559,
"loc": {
"start": {
"line": 90,
"column": 39
},
"end": {
"line": 90,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 2559,
"end": 2562,
"loc": {
"start": {
"line": 90,
"column": 40
},
"end": {
"line": 90,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2562,
"end": 2563,
"loc": {
"start": {
"line": 90,
"column": 43
},
"end": {
"line": 90,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 2563,
"end": 2568,
"loc": {
"start": {
"line": 90,
"column": 44
},
"end": {
"line": 90,
"column": 49
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 2569,
"end": 2570,
"loc": {
"start": {
"line": 90,
"column": 50
},
"end": {
"line": 90,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "diff",
"start": 2571,
"end": 2575,
"loc": {
"start": {
"line": 90,
"column": 52
},
"end": {
"line": 90,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2575,
"end": 2576,
"loc": {
"start": {
"line": 90,
"column": 56
},
"end": {
"line": 90,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gc",
"start": 2581,
"end": 2583,
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 91,
"column": 6
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2583,
"end": 2584,
"loc": {
"start": {
"line": 91,
"column": 6
},
"end": {
"line": 91,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 2584,
"end": 2591,
"loc": {
"start": {
"line": 91,
"column": 7
},
"end": {
"line": 91,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2592,
"end": 2593,
"loc": {
"start": {
"line": 91,
"column": 15
},
"end": {
"line": 91,
"column": 16
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2594,
"end": 2598,
"loc": {
"start": {
"line": 91,
"column": 17
},
"end": {
"line": 91,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2598,
"end": 2599,
"loc": {
"start": {
"line": 91,
"column": 21
},
"end": {
"line": 91,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 2599,
"end": 2606,
"loc": {
"start": {
"line": 91,
"column": 22
},
"end": {
"line": 91,
"column": 29
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 2607,
"end": 2608,
"loc": {
"start": {
"line": 91,
"column": 30
},
"end": {
"line": 91,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "diff",
"start": 2609,
"end": 2613,
"loc": {
"start": {
"line": 91,
"column": 32
},
"end": {
"line": 91,
"column": 36
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 2618,
"end": 2624,
"loc": {
"start": {
"line": 92,
"column": 4
},
"end": {
"line": 92,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gc",
"start": 2625,
"end": 2627,
"loc": {
"start": {
"line": 92,
"column": 11
},
"end": {
"line": 92,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2630,
"end": 2631,
"loc": {
"start": {
"line": 93,
"column": 2
},
"end": {
"line": 93,
"column": 3
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2632,
"end": 2633,
"loc": {
"start": {
"line": 94,
"column": 0
},
"end": {
"line": 94,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2634,
"end": 2634,
"loc": {
"start": {
"line": 95,
"column": 0
},
"end": {
"line": 95,
"column": 0
}
}
}
]
}