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

22168 lines
556 KiB
JSON

{
"type": "File",
"start": 0,
"end": 2846,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 84,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 2846,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 84,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 53,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 53
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 7,
"end": 20,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 20
}
},
"local": {
"type": "Identifier",
"start": 7,
"end": 20,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 20
},
"identifierName": "BinaryEncoder"
},
"name": "BinaryEncoder"
}
}
],
"source": {
"type": "StringLiteral",
"start": 26,
"end": 53,
"loc": {
"start": {
"line": 1,
"column": 26
},
"end": {
"line": 1,
"column": 53
}
},
"extra": {
"rawValue": "../Util/Binary/Encoder.js",
"raw": "'../Util/Binary/Encoder.js'"
},
"value": "../Util/Binary/Encoder.js"
}
},
{
"type": "ImportDeclaration",
"start": 54,
"end": 113,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 59
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 63,
"end": 75,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 63,
"end": 75,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 21
},
"identifierName": "readStateSet"
},
"name": "readStateSet"
},
"local": {
"type": "Identifier",
"start": 63,
"end": 75,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 21
},
"identifierName": "readStateSet"
},
"name": "readStateSet"
}
},
{
"type": "ImportSpecifier",
"start": 77,
"end": 90,
"loc": {
"start": {
"line": 2,
"column": 23
},
"end": {
"line": 2,
"column": 36
}
},
"imported": {
"type": "Identifier",
"start": 77,
"end": 90,
"loc": {
"start": {
"line": 2,
"column": 23
},
"end": {
"line": 2,
"column": 36
},
"identifierName": "writeStateSet"
},
"name": "writeStateSet"
},
"local": {
"type": "Identifier",
"start": 77,
"end": 90,
"loc": {
"start": {
"line": 2,
"column": 23
},
"end": {
"line": 2,
"column": 36
},
"identifierName": "writeStateSet"
},
"name": "writeStateSet"
}
}
],
"source": {
"type": "StringLiteral",
"start": 98,
"end": 113,
"loc": {
"start": {
"line": 2,
"column": 44
},
"end": {
"line": 2,
"column": 59
}
},
"extra": {
"rawValue": "./stateSet.js",
"raw": "'./stateSet.js'"
},
"value": "./stateSet.js"
}
},
{
"type": "ImportDeclaration",
"start": 114,
"end": 161,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 47
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 123,
"end": 137,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 23
}
},
"imported": {
"type": "Identifier",
"start": 123,
"end": 137,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 23
},
"identifierName": "writeDeleteSet"
},
"name": "writeDeleteSet"
},
"local": {
"type": "Identifier",
"start": 123,
"end": 137,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 23
},
"identifierName": "writeDeleteSet"
},
"name": "writeDeleteSet"
}
}
],
"source": {
"type": "StringLiteral",
"start": 145,
"end": 161,
"loc": {
"start": {
"line": 3,
"column": 31
},
"end": {
"line": 3,
"column": 47
}
},
"extra": {
"rawValue": "./deleteSet.js",
"raw": "'./deleteSet.js'"
},
"value": "./deleteSet.js"
}
},
{
"type": "ImportDeclaration",
"start": 162,
"end": 195,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 33
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 169,
"end": 171,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 9
}
},
"local": {
"type": "Identifier",
"start": 169,
"end": 171,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 9
},
"identifierName": "ID"
},
"name": "ID"
}
}
],
"source": {
"type": "StringLiteral",
"start": 177,
"end": 195,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 4,
"column": 33
}
},
"extra": {
"rawValue": "../Util/ID/ID.js",
"raw": "'../Util/ID/ID.js'"
},
"value": "../Util/ID/ID.js"
}
},
{
"type": "ImportDeclaration",
"start": 196,
"end": 249,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 53
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 205,
"end": 219,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 23
}
},
"imported": {
"type": "Identifier",
"start": 205,
"end": 219,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 23
},
"identifierName": "RootFakeUserID"
},
"name": "RootFakeUserID"
},
"local": {
"type": "Identifier",
"start": 205,
"end": 219,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 23
},
"identifierName": "RootFakeUserID"
},
"name": "RootFakeUserID"
}
}
],
"source": {
"type": "StringLiteral",
"start": 227,
"end": 249,
"loc": {
"start": {
"line": 5,
"column": 31
},
"end": {
"line": 5,
"column": 53
}
},
"extra": {
"rawValue": "../Util/ID/RootID.js",
"raw": "'../Util/ID/RootID.js'"
},
"value": "../Util/ID/RootID.js"
}
},
{
"type": "ExportNamedDeclaration",
"start": 251,
"end": 774,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 21,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "FunctionDeclaration",
"start": 258,
"end": 774,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 21,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 267,
"end": 285,
"loc": {
"start": {
"line": 7,
"column": 16
},
"end": {
"line": 7,
"column": 34
},
"identifierName": "stringifySyncStep1"
},
"name": "stringifySyncStep1"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 287,
"end": 288,
"loc": {
"start": {
"line": 7,
"column": 36
},
"end": {
"line": 7,
"column": 37
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 290,
"end": 297,
"loc": {
"start": {
"line": 7,
"column": 39
},
"end": {
"line": 7,
"column": 46
},
"identifierName": "decoder"
},
"name": "decoder"
},
{
"type": "Identifier",
"start": 299,
"end": 309,
"loc": {
"start": {
"line": 7,
"column": 48
},
"end": {
"line": 7,
"column": 58
},
"identifierName": "strBuilder"
},
"name": "strBuilder"
}
],
"body": {
"type": "BlockStatement",
"start": 311,
"end": 774,
"loc": {
"start": {
"line": 7,
"column": 60
},
"end": {
"line": 21,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 315,
"end": 349,
"loc": {
"start": {
"line": 8,
"column": 2
},
"end": {
"line": 8,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 319,
"end": 349,
"loc": {
"start": {
"line": 8,
"column": 6
},
"end": {
"line": 8,
"column": 36
}
},
"id": {
"type": "Identifier",
"start": 319,
"end": 323,
"loc": {
"start": {
"line": 8,
"column": 6
},
"end": {
"line": 8,
"column": 10
},
"identifierName": "auth"
},
"name": "auth"
},
"init": {
"type": "CallExpression",
"start": 326,
"end": 349,
"loc": {
"start": {
"line": 8,
"column": 13
},
"end": {
"line": 8,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 326,
"end": 347,
"loc": {
"start": {
"line": 8,
"column": 13
},
"end": {
"line": 8,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 326,
"end": 333,
"loc": {
"start": {
"line": 8,
"column": 13
},
"end": {
"line": 8,
"column": 20
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 334,
"end": 347,
"loc": {
"start": {
"line": 8,
"column": 21
},
"end": {
"line": 8,
"column": 34
},
"identifierName": "readVarString"
},
"name": "readVarString"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 352,
"end": 395,
"loc": {
"start": {
"line": 9,
"column": 2
},
"end": {
"line": 9,
"column": 45
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 356,
"end": 395,
"loc": {
"start": {
"line": 9,
"column": 6
},
"end": {
"line": 9,
"column": 45
}
},
"id": {
"type": "Identifier",
"start": 356,
"end": 371,
"loc": {
"start": {
"line": 9,
"column": 6
},
"end": {
"line": 9,
"column": 21
},
"identifierName": "protocolVersion"
},
"name": "protocolVersion"
},
"init": {
"type": "CallExpression",
"start": 374,
"end": 395,
"loc": {
"start": {
"line": 9,
"column": 24
},
"end": {
"line": 9,
"column": 45
}
},
"callee": {
"type": "MemberExpression",
"start": 374,
"end": 393,
"loc": {
"start": {
"line": 9,
"column": 24
},
"end": {
"line": 9,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 374,
"end": 381,
"loc": {
"start": {
"line": 9,
"column": 24
},
"end": {
"line": 9,
"column": 31
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 382,
"end": 393,
"loc": {
"start": {
"line": 9,
"column": 32
},
"end": {
"line": 9,
"column": 43
},
"identifierName": "readVarUint"
},
"name": "readVarUint"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "ExpressionStatement",
"start": 398,
"end": 436,
"loc": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 10,
"column": 40
}
},
"expression": {
"type": "CallExpression",
"start": 398,
"end": 436,
"loc": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 10,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 398,
"end": 413,
"loc": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 10,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 398,
"end": 408,
"loc": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 10,
"column": 12
},
"identifierName": "strBuilder"
},
"name": "strBuilder"
},
"property": {
"type": "Identifier",
"start": 409,
"end": 413,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 17
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "TemplateLiteral",
"start": 414,
"end": 435,
"loc": {
"start": {
"line": 10,
"column": 18
},
"end": {
"line": 10,
"column": 39
}
},
"expressions": [
{
"type": "Identifier",
"start": 428,
"end": 432,
"loc": {
"start": {
"line": 10,
"column": 32
},
"end": {
"line": 10,
"column": 36
},
"identifierName": "auth"
},
"name": "auth"
}
],
"quasis": [
{
"type": "TemplateElement",
"start": 415,
"end": 426,
"loc": {
"start": {
"line": 10,
"column": 19
},
"end": {
"line": 10,
"column": 30
}
},
"value": {
"raw": " - auth: \"",
"cooked": " - auth: \""
},
"tail": false
},
{
"type": "TemplateElement",
"start": 433,
"end": 434,
"loc": {
"start": {
"line": 10,
"column": 37
},
"end": {
"line": 10,
"column": 38
}
},
"value": {
"raw": "\"",
"cooked": "\""
},
"tail": true
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"start": 439,
"end": 497,
"loc": {
"start": {
"line": 11,
"column": 2
},
"end": {
"line": 11,
"column": 60
}
},
"expression": {
"type": "CallExpression",
"start": 439,
"end": 497,
"loc": {
"start": {
"line": 11,
"column": 2
},
"end": {
"line": 11,
"column": 60
}
},
"callee": {
"type": "MemberExpression",
"start": 439,
"end": 454,
"loc": {
"start": {
"line": 11,
"column": 2
},
"end": {
"line": 11,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 439,
"end": 449,
"loc": {
"start": {
"line": 11,
"column": 2
},
"end": {
"line": 11,
"column": 12
},
"identifierName": "strBuilder"
},
"name": "strBuilder"
},
"property": {
"type": "Identifier",
"start": 450,
"end": 454,
"loc": {
"start": {
"line": 11,
"column": 13
},
"end": {
"line": 11,
"column": 17
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "TemplateLiteral",
"start": 455,
"end": 496,
"loc": {
"start": {
"line": 11,
"column": 18
},
"end": {
"line": 11,
"column": 59
}
},
"expressions": [
{
"type": "Identifier",
"start": 479,
"end": 494,
"loc": {
"start": {
"line": 11,
"column": 42
},
"end": {
"line": 11,
"column": 57
},
"identifierName": "protocolVersion"
},
"name": "protocolVersion"
}
],
"quasis": [
{
"type": "TemplateElement",
"start": 456,
"end": 477,
"loc": {
"start": {
"line": 11,
"column": 19
},
"end": {
"line": 11,
"column": 40
}
},
"value": {
"raw": " - protocolVersion: ",
"cooked": " - protocolVersion: "
},
"tail": false
},
{
"type": "TemplateElement",
"start": 495,
"end": 495,
"loc": {
"start": {
"line": 11,
"column": 58
},
"end": {
"line": 11,
"column": 58
}
},
"value": {
"raw": "",
"cooked": ""
},
"tail": true
}
]
}
],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " write SS",
"start": 500,
"end": 511,
"loc": {
"start": {
"line": 12,
"column": 2
},
"end": {
"line": 12,
"column": 13
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 514,
"end": 532,
"loc": {
"start": {
"line": 13,
"column": 2
},
"end": {
"line": 13,
"column": 20
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 518,
"end": 532,
"loc": {
"start": {
"line": 13,
"column": 6
},
"end": {
"line": 13,
"column": 20
}
},
"id": {
"type": "Identifier",
"start": 518,
"end": 527,
"loc": {
"start": {
"line": 13,
"column": 6
},
"end": {
"line": 13,
"column": 15
},
"identifierName": "ssBuilder"
},
"name": "ssBuilder",
"leadingComments": null
},
"init": {
"type": "ArrayExpression",
"start": 530,
"end": 532,
"loc": {
"start": {
"line": 13,
"column": 18
},
"end": {
"line": 13,
"column": 20
}
},
"elements": []
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": [
{
"type": "CommentLine",
"value": " write SS",
"start": 500,
"end": 511,
"loc": {
"start": {
"line": 12,
"column": 2
},
"end": {
"line": 12,
"column": 13
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 535,
"end": 565,
"loc": {
"start": {
"line": 14,
"column": 2
},
"end": {
"line": 14,
"column": 32
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 539,
"end": 565,
"loc": {
"start": {
"line": 14,
"column": 6
},
"end": {
"line": 14,
"column": 32
}
},
"id": {
"type": "Identifier",
"start": 539,
"end": 542,
"loc": {
"start": {
"line": 14,
"column": 6
},
"end": {
"line": 14,
"column": 9
},
"identifierName": "len"
},
"name": "len"
},
"init": {
"type": "CallExpression",
"start": 545,
"end": 565,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 32
}
},
"callee": {
"type": "MemberExpression",
"start": 545,
"end": 563,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 545,
"end": 552,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 19
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 553,
"end": 563,
"loc": {
"start": {
"line": 14,
"column": 20
},
"end": {
"line": 14,
"column": 30
},
"identifierName": "readUint32"
},
"name": "readUint32"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "ForStatement",
"start": 568,
"end": 719,
"loc": {
"start": {
"line": 15,
"column": 2
},
"end": {
"line": 19,
"column": 3
}
},
"init": {
"type": "VariableDeclaration",
"start": 573,
"end": 582,
"loc": {
"start": {
"line": 15,
"column": 7
},
"end": {
"line": 15,
"column": 16
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 577,
"end": 582,
"loc": {
"start": {
"line": 15,
"column": 11
},
"end": {
"line": 15,
"column": 16
}
},
"id": {
"type": "Identifier",
"start": 577,
"end": 578,
"loc": {
"start": {
"line": 15,
"column": 11
},
"end": {
"line": 15,
"column": 12
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 581,
"end": 582,
"loc": {
"start": {
"line": 15,
"column": 15
},
"end": {
"line": 15,
"column": 16
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 584,
"end": 591,
"loc": {
"start": {
"line": 15,
"column": 18
},
"end": {
"line": 15,
"column": 25
}
},
"left": {
"type": "Identifier",
"start": 584,
"end": 585,
"loc": {
"start": {
"line": 15,
"column": 18
},
"end": {
"line": 15,
"column": 19
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "Identifier",
"start": 588,
"end": 591,
"loc": {
"start": {
"line": 15,
"column": 22
},
"end": {
"line": 15,
"column": 25
},
"identifierName": "len"
},
"name": "len"
}
},
"update": {
"type": "UpdateExpression",
"start": 593,
"end": 596,
"loc": {
"start": {
"line": 15,
"column": 27
},
"end": {
"line": 15,
"column": 30
}
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"start": 593,
"end": 594,
"loc": {
"start": {
"line": 15,
"column": 27
},
"end": {
"line": 15,
"column": 28
},
"identifierName": "i"
},
"name": "i"
}
},
"body": {
"type": "BlockStatement",
"start": 598,
"end": 719,
"loc": {
"start": {
"line": 15,
"column": 32
},
"end": {
"line": 19,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 604,
"end": 636,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 608,
"end": 636,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 36
}
},
"id": {
"type": "Identifier",
"start": 608,
"end": 612,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 12
},
"identifierName": "user"
},
"name": "user"
},
"init": {
"type": "CallExpression",
"start": 615,
"end": 636,
"loc": {
"start": {
"line": 16,
"column": 15
},
"end": {
"line": 16,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 615,
"end": 634,
"loc": {
"start": {
"line": 16,
"column": 15
},
"end": {
"line": 16,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 615,
"end": 622,
"loc": {
"start": {
"line": 16,
"column": 15
},
"end": {
"line": 16,
"column": 22
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 623,
"end": 634,
"loc": {
"start": {
"line": 16,
"column": 23
},
"end": {
"line": 16,
"column": 34
},
"identifierName": "readVarUint"
},
"name": "readVarUint"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 641,
"end": 674,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 37
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 645,
"end": 674,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 37
}
},
"id": {
"type": "Identifier",
"start": 645,
"end": 650,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 13
},
"identifierName": "clock"
},
"name": "clock"
},
"init": {
"type": "CallExpression",
"start": 653,
"end": 674,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 653,
"end": 672,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 653,
"end": 660,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 23
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 661,
"end": 672,
"loc": {
"start": {
"line": 17,
"column": 24
},
"end": {
"line": 17,
"column": 35
},
"identifierName": "readVarUint"
},
"name": "readVarUint"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "ExpressionStatement",
"start": 679,
"end": 715,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 40
}
},
"expression": {
"type": "CallExpression",
"start": 679,
"end": 715,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 679,
"end": 693,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 679,
"end": 688,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 13
},
"identifierName": "ssBuilder"
},
"name": "ssBuilder"
},
"property": {
"type": "Identifier",
"start": 689,
"end": 693,
"loc": {
"start": {
"line": 18,
"column": 14
},
"end": {
"line": 18,
"column": 18
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "TemplateLiteral",
"start": 694,
"end": 714,
"loc": {
"start": {
"line": 18,
"column": 19
},
"end": {
"line": 18,
"column": 39
}
},
"expressions": [
{
"type": "Identifier",
"start": 698,
"end": 702,
"loc": {
"start": {
"line": 18,
"column": 23
},
"end": {
"line": 18,
"column": 27
},
"identifierName": "user"
},
"name": "user"
},
{
"type": "Identifier",
"start": 706,
"end": 711,
"loc": {
"start": {
"line": 18,
"column": 31
},
"end": {
"line": 18,
"column": 36
},
"identifierName": "clock"
},
"name": "clock"
}
],
"quasis": [
{
"type": "TemplateElement",
"start": 695,
"end": 696,
"loc": {
"start": {
"line": 18,
"column": 20
},
"end": {
"line": 18,
"column": 21
}
},
"value": {
"raw": "(",
"cooked": "("
},
"tail": false
},
{
"type": "TemplateElement",
"start": 703,
"end": 704,
"loc": {
"start": {
"line": 18,
"column": 28
},
"end": {
"line": 18,
"column": 29
}
},
"value": {
"raw": ":",
"cooked": ":"
},
"tail": false
},
{
"type": "TemplateElement",
"start": 712,
"end": 713,
"loc": {
"start": {
"line": 18,
"column": 37
},
"end": {
"line": 18,
"column": 38
}
},
"value": {
"raw": ")",
"cooked": ")"
},
"tail": true
}
]
}
]
}
}
],
"directives": []
}
},
{
"type": "ExpressionStatement",
"start": 722,
"end": 772,
"loc": {
"start": {
"line": 20,
"column": 2
},
"end": {
"line": 20,
"column": 52
}
},
"expression": {
"type": "CallExpression",
"start": 722,
"end": 772,
"loc": {
"start": {
"line": 20,
"column": 2
},
"end": {
"line": 20,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
"start": 722,
"end": 737,
"loc": {
"start": {
"line": 20,
"column": 2
},
"end": {
"line": 20,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 722,
"end": 732,
"loc": {
"start": {
"line": 20,
"column": 2
},
"end": {
"line": 20,
"column": 12
},
"identifierName": "strBuilder"
},
"name": "strBuilder"
},
"property": {
"type": "Identifier",
"start": 733,
"end": 737,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 17
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 738,
"end": 771,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 51
}
},
"left": {
"type": "StringLiteral",
"start": 738,
"end": 749,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 29
}
},
"extra": {
"rawValue": " == SS: ",
"raw": "' == SS: '"
},
"value": " == SS: "
},
"operator": "+",
"right": {
"type": "CallExpression",
"start": 752,
"end": 771,
"loc": {
"start": {
"line": 20,
"column": 32
},
"end": {
"line": 20,
"column": 51
}
},
"callee": {
"type": "MemberExpression",
"start": 752,
"end": 766,
"loc": {
"start": {
"line": 20,
"column": 32
},
"end": {
"line": 20,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 752,
"end": 761,
"loc": {
"start": {
"line": 20,
"column": 32
},
"end": {
"line": 20,
"column": 41
},
"identifierName": "ssBuilder"
},
"name": "ssBuilder"
},
"property": {
"type": "Identifier",
"start": 762,
"end": 766,
"loc": {
"start": {
"line": 20,
"column": 42
},
"end": {
"line": 20,
"column": 46
},
"identifierName": "join"
},
"name": "join"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 767,
"end": 770,
"loc": {
"start": {
"line": 20,
"column": 47
},
"end": {
"line": 20,
"column": 50
}
},
"extra": {
"rawValue": ",",
"raw": "','"
},
"value": ","
}
]
}
}
]
}
}
],
"directives": []
},
"leadingComments": [],
"trailingComments": []
}
},
{
"type": "ExportNamedDeclaration",
"start": 776,
"end": 1140,
"loc": {
"start": {
"line": 23,
"column": 0
},
"end": {
"line": 31,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "FunctionDeclaration",
"start": 783,
"end": 1140,
"loc": {
"start": {
"line": 23,
"column": 7
},
"end": {
"line": 31,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 792,
"end": 805,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 29
},
"identifierName": "sendSyncStep1"
},
"name": "sendSyncStep1"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 807,
"end": 816,
"loc": {
"start": {
"line": 23,
"column": 31
},
"end": {
"line": 23,
"column": 40
},
"identifierName": "connector"
},
"name": "connector"
},
{
"type": "Identifier",
"start": 818,
"end": 826,
"loc": {
"start": {
"line": 23,
"column": 42
},
"end": {
"line": 23,
"column": 50
},
"identifierName": "syncUser"
},
"name": "syncUser"
}
],
"body": {
"type": "BlockStatement",
"start": 828,
"end": 1140,
"loc": {
"start": {
"line": 23,
"column": 52
},
"end": {
"line": 31,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 832,
"end": 865,
"loc": {
"start": {
"line": 24,
"column": 2
},
"end": {
"line": 24,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 836,
"end": 865,
"loc": {
"start": {
"line": 24,
"column": 6
},
"end": {
"line": 24,
"column": 35
}
},
"id": {
"type": "Identifier",
"start": 836,
"end": 843,
"loc": {
"start": {
"line": 24,
"column": 6
},
"end": {
"line": 24,
"column": 13
},
"identifierName": "encoder"
},
"name": "encoder"
},
"init": {
"type": "NewExpression",
"start": 846,
"end": 865,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 35
}
},
"callee": {
"type": "Identifier",
"start": 850,
"end": 863,
"loc": {
"start": {
"line": 24,
"column": 20
},
"end": {
"line": 24,
"column": 33
},
"identifierName": "BinaryEncoder"
},
"name": "BinaryEncoder"
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "ExpressionStatement",
"start": 868,
"end": 908,
"loc": {
"start": {
"line": 25,
"column": 2
},
"end": {
"line": 25,
"column": 42
}
},
"expression": {
"type": "CallExpression",
"start": 868,
"end": 908,
"loc": {
"start": {
"line": 25,
"column": 2
},
"end": {
"line": 25,
"column": 42
}
},
"callee": {
"type": "MemberExpression",
"start": 868,
"end": 890,
"loc": {
"start": {
"line": 25,
"column": 2
},
"end": {
"line": 25,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 868,
"end": 875,
"loc": {
"start": {
"line": 25,
"column": 2
},
"end": {
"line": 25,
"column": 9
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 876,
"end": 890,
"loc": {
"start": {
"line": 25,
"column": 10
},
"end": {
"line": 25,
"column": 24
},
"identifierName": "writeVarString"
},
"name": "writeVarString"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 891,
"end": 907,
"loc": {
"start": {
"line": 25,
"column": 25
},
"end": {
"line": 25,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 891,
"end": 902,
"loc": {
"start": {
"line": 25,
"column": 25
},
"end": {
"line": 25,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 891,
"end": 900,
"loc": {
"start": {
"line": 25,
"column": 25
},
"end": {
"line": 25,
"column": 34
},
"identifierName": "connector"
},
"name": "connector"
},
"property": {
"type": "Identifier",
"start": 901,
"end": 902,
"loc": {
"start": {
"line": 25,
"column": 35
},
"end": {
"line": 25,
"column": 36
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 903,
"end": 907,
"loc": {
"start": {
"line": 25,
"column": 37
},
"end": {
"line": 25,
"column": 41
},
"identifierName": "room"
},
"name": "room"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 911,
"end": 948,
"loc": {
"start": {
"line": 26,
"column": 2
},
"end": {
"line": 26,
"column": 39
}
},
"expression": {
"type": "CallExpression",
"start": 911,
"end": 948,
"loc": {
"start": {
"line": 26,
"column": 2
},
"end": {
"line": 26,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 911,
"end": 933,
"loc": {
"start": {
"line": 26,
"column": 2
},
"end": {
"line": 26,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 911,
"end": 918,
"loc": {
"start": {
"line": 26,
"column": 2
},
"end": {
"line": 26,
"column": 9
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 919,
"end": 933,
"loc": {
"start": {
"line": 26,
"column": 10
},
"end": {
"line": 26,
"column": 24
},
"identifierName": "writeVarString"
},
"name": "writeVarString"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 934,
"end": 947,
"loc": {
"start": {
"line": 26,
"column": 25
},
"end": {
"line": 26,
"column": 38
}
},
"extra": {
"rawValue": "sync step 1",
"raw": "'sync step 1'"
},
"value": "sync step 1"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 951,
"end": 999,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 27,
"column": 50
}
},
"expression": {
"type": "CallExpression",
"start": 951,
"end": 999,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 27,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 951,
"end": 973,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 27,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 951,
"end": 958,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 27,
"column": 9
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 959,
"end": 973,
"loc": {
"start": {
"line": 27,
"column": 10
},
"end": {
"line": 27,
"column": 24
},
"identifierName": "writeVarString"
},
"name": "writeVarString"
},
"computed": false
},
"arguments": [
{
"type": "LogicalExpression",
"start": 974,
"end": 998,
"loc": {
"start": {
"line": 27,
"column": 25
},
"end": {
"line": 27,
"column": 49
}
},
"left": {
"type": "MemberExpression",
"start": 974,
"end": 992,
"loc": {
"start": {
"line": 27,
"column": 25
},
"end": {
"line": 27,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 974,
"end": 983,
"loc": {
"start": {
"line": 27,
"column": 25
},
"end": {
"line": 27,
"column": 34
},
"identifierName": "connector"
},
"name": "connector"
},
"property": {
"type": "Identifier",
"start": 984,
"end": 992,
"loc": {
"start": {
"line": 27,
"column": 35
},
"end": {
"line": 27,
"column": 43
},
"identifierName": "authInfo"
},
"name": "authInfo"
},
"computed": false
},
"operator": "||",
"right": {
"type": "StringLiteral",
"start": 996,
"end": 998,
"loc": {
"start": {
"line": 27,
"column": 47
},
"end": {
"line": 27,
"column": 49
}
},
"extra": {
"rawValue": "",
"raw": "''"
},
"value": ""
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1002,
"end": 1049,
"loc": {
"start": {
"line": 28,
"column": 2
},
"end": {
"line": 28,
"column": 49
}
},
"expression": {
"type": "CallExpression",
"start": 1002,
"end": 1049,
"loc": {
"start": {
"line": 28,
"column": 2
},
"end": {
"line": 28,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
"start": 1002,
"end": 1022,
"loc": {
"start": {
"line": 28,
"column": 2
},
"end": {
"line": 28,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 1002,
"end": 1009,
"loc": {
"start": {
"line": 28,
"column": 2
},
"end": {
"line": 28,
"column": 9
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 1010,
"end": 1022,
"loc": {
"start": {
"line": 28,
"column": 10
},
"end": {
"line": 28,
"column": 22
},
"identifierName": "writeVarUint"
},
"name": "writeVarUint"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1023,
"end": 1048,
"loc": {
"start": {
"line": 28,
"column": 23
},
"end": {
"line": 28,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 1023,
"end": 1032,
"loc": {
"start": {
"line": 28,
"column": 23
},
"end": {
"line": 28,
"column": 32
},
"identifierName": "connector"
},
"name": "connector"
},
"property": {
"type": "Identifier",
"start": 1033,
"end": 1048,
"loc": {
"start": {
"line": 28,
"column": 33
},
"end": {
"line": 28,
"column": 48
},
"identifierName": "protocolVersion"
},
"name": "protocolVersion"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1052,
"end": 1087,
"loc": {
"start": {
"line": 29,
"column": 2
},
"end": {
"line": 29,
"column": 37
}
},
"expression": {
"type": "CallExpression",
"start": 1052,
"end": 1087,
"loc": {
"start": {
"line": 29,
"column": 2
},
"end": {
"line": 29,
"column": 37
}
},
"callee": {
"type": "Identifier",
"start": 1052,
"end": 1065,
"loc": {
"start": {
"line": 29,
"column": 2
},
"end": {
"line": 29,
"column": 15
},
"identifierName": "writeStateSet"
},
"name": "writeStateSet"
},
"arguments": [
{
"type": "MemberExpression",
"start": 1066,
"end": 1077,
"loc": {
"start": {
"line": 29,
"column": 16
},
"end": {
"line": 29,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 1066,
"end": 1075,
"loc": {
"start": {
"line": 29,
"column": 16
},
"end": {
"line": 29,
"column": 25
},
"identifierName": "connector"
},
"name": "connector"
},
"property": {
"type": "Identifier",
"start": 1076,
"end": 1077,
"loc": {
"start": {
"line": 29,
"column": 26
},
"end": {
"line": 29,
"column": 27
},
"identifierName": "y"
},
"name": "y"
},
"computed": false
},
{
"type": "Identifier",
"start": 1079,
"end": 1086,
"loc": {
"start": {
"line": 29,
"column": 29
},
"end": {
"line": 29,
"column": 36
},
"identifierName": "encoder"
},
"name": "encoder"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1090,
"end": 1138,
"loc": {
"start": {
"line": 30,
"column": 2
},
"end": {
"line": 30,
"column": 50
}
},
"expression": {
"type": "CallExpression",
"start": 1090,
"end": 1138,
"loc": {
"start": {
"line": 30,
"column": 2
},
"end": {
"line": 30,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 1090,
"end": 1104,
"loc": {
"start": {
"line": 30,
"column": 2
},
"end": {
"line": 30,
"column": 16
}
},
"object": {
"type": "Identifier",
"start": 1090,
"end": 1099,
"loc": {
"start": {
"line": 30,
"column": 2
},
"end": {
"line": 30,
"column": 11
},
"identifierName": "connector"
},
"name": "connector"
},
"property": {
"type": "Identifier",
"start": 1100,
"end": 1104,
"loc": {
"start": {
"line": 30,
"column": 12
},
"end": {
"line": 30,
"column": 16
},
"identifierName": "send"
},
"name": "send"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1105,
"end": 1113,
"loc": {
"start": {
"line": 30,
"column": 17
},
"end": {
"line": 30,
"column": 25
},
"identifierName": "syncUser"
},
"name": "syncUser"
},
{
"type": "CallExpression",
"start": 1115,
"end": 1137,
"loc": {
"start": {
"line": 30,
"column": 27
},
"end": {
"line": 30,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
"start": 1115,
"end": 1135,
"loc": {
"start": {
"line": 30,
"column": 27
},
"end": {
"line": 30,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 1115,
"end": 1122,
"loc": {
"start": {
"line": 30,
"column": 27
},
"end": {
"line": 30,
"column": 34
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 1123,
"end": 1135,
"loc": {
"start": {
"line": 30,
"column": 35
},
"end": {
"line": 30,
"column": 47
},
"identifierName": "createBuffer"
},
"name": "createBuffer"
},
"computed": false
},
"arguments": []
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * @private\n * Write all Items that are not not included in ss to\n * the encoder object.\n ",
"start": 1142,
"end": 1238,
"loc": {
"start": {
"line": 33,
"column": 0
},
"end": {
"line": 37,
"column": 3
}
}
}
],
"leadingComments": []
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * @private\n * Write all Items that are not not included in ss to\n * the encoder object.\n ",
"start": 1142,
"end": 1238,
"loc": {
"start": {
"line": 33,
"column": 0
},
"end": {
"line": 37,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 1239,
"end": 2057,
"loc": {
"start": {
"line": 38,
"column": 0
},
"end": {
"line": 60,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "FunctionDeclaration",
"start": 1246,
"end": 2057,
"loc": {
"start": {
"line": 38,
"column": 7
},
"end": {
"line": 60,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 1255,
"end": 1267,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 28
},
"identifierName": "writeStructs"
},
"name": "writeStructs",
"leadingComments": null
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1269,
"end": 1270,
"loc": {
"start": {
"line": 38,
"column": 30
},
"end": {
"line": 38,
"column": 31
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 1272,
"end": 1279,
"loc": {
"start": {
"line": 38,
"column": 33
},
"end": {
"line": 38,
"column": 40
},
"identifierName": "encoder"
},
"name": "encoder"
},
{
"type": "Identifier",
"start": 1281,
"end": 1283,
"loc": {
"start": {
"line": 38,
"column": 42
},
"end": {
"line": 38,
"column": 44
},
"identifierName": "ss"
},
"name": "ss"
}
],
"body": {
"type": "BlockStatement",
"start": 1285,
"end": 2057,
"loc": {
"start": {
"line": 38,
"column": 46
},
"end": {
"line": 60,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1289,
"end": 1315,
"loc": {
"start": {
"line": 39,
"column": 2
},
"end": {
"line": 39,
"column": 28
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1295,
"end": 1315,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 28
}
},
"id": {
"type": "Identifier",
"start": 1295,
"end": 1301,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 14
},
"identifierName": "lenPos"
},
"name": "lenPos"
},
"init": {
"type": "MemberExpression",
"start": 1304,
"end": 1315,
"loc": {
"start": {
"line": 39,
"column": 17
},
"end": {
"line": 39,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 1304,
"end": 1311,
"loc": {
"start": {
"line": 39,
"column": 17
},
"end": {
"line": 39,
"column": 24
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 1312,
"end": 1315,
"loc": {
"start": {
"line": 39,
"column": 25
},
"end": {
"line": 39,
"column": 28
},
"identifierName": "pos"
},
"name": "pos"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1318,
"end": 1340,
"loc": {
"start": {
"line": 40,
"column": 2
},
"end": {
"line": 40,
"column": 24
}
},
"expression": {
"type": "CallExpression",
"start": 1318,
"end": 1340,
"loc": {
"start": {
"line": 40,
"column": 2
},
"end": {
"line": 40,
"column": 24
}
},
"callee": {
"type": "MemberExpression",
"start": 1318,
"end": 1337,
"loc": {
"start": {
"line": 40,
"column": 2
},
"end": {
"line": 40,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 1318,
"end": 1325,
"loc": {
"start": {
"line": 40,
"column": 2
},
"end": {
"line": 40,
"column": 9
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 1326,
"end": 1337,
"loc": {
"start": {
"line": 40,
"column": 10
},
"end": {
"line": 40,
"column": 21
},
"identifierName": "writeUint32"
},
"name": "writeUint32"
},
"computed": false
},
"arguments": [
{
"type": "NumericLiteral",
"start": 1338,
"end": 1339,
"loc": {
"start": {
"line": 40,
"column": 22
},
"end": {
"line": 40,
"column": 23
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
]
}
},
{
"type": "VariableDeclaration",
"start": 1343,
"end": 1354,
"loc": {
"start": {
"line": 41,
"column": 2
},
"end": {
"line": 41,
"column": 13
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1347,
"end": 1354,
"loc": {
"start": {
"line": 41,
"column": 6
},
"end": {
"line": 41,
"column": 13
}
},
"id": {
"type": "Identifier",
"start": 1347,
"end": 1350,
"loc": {
"start": {
"line": 41,
"column": 6
},
"end": {
"line": 41,
"column": 9
},
"identifierName": "len"
},
"name": "len"
},
"init": {
"type": "NumericLiteral",
"start": 1353,
"end": 1354,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 13
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
{
"type": "ForOfStatement",
"start": 1357,
"end": 2022,
"loc": {
"start": {
"line": 42,
"column": 2
},
"end": {
"line": 58,
"column": 3
}
},
"left": {
"type": "VariableDeclaration",
"start": 1362,
"end": 1370,
"loc": {
"start": {
"line": 42,
"column": 7
},
"end": {
"line": 42,
"column": 15
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1366,
"end": 1370,
"loc": {
"start": {
"line": 42,
"column": 11
},
"end": {
"line": 42,
"column": 15
}
},
"id": {
"type": "Identifier",
"start": 1366,
"end": 1370,
"loc": {
"start": {
"line": 42,
"column": 11
},
"end": {
"line": 42,
"column": 15
},
"identifierName": "user"
},
"name": "user"
},
"init": null
}
],
"kind": "let"
},
"right": {
"type": "CallExpression",
"start": 1374,
"end": 1391,
"loc": {
"start": {
"line": 42,
"column": 19
},
"end": {
"line": 42,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 1374,
"end": 1389,
"loc": {
"start": {
"line": 42,
"column": 19
},
"end": {
"line": 42,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 1374,
"end": 1384,
"loc": {
"start": {
"line": 42,
"column": 19
},
"end": {
"line": 42,
"column": 29
}
},
"object": {
"type": "MemberExpression",
"start": 1374,
"end": 1378,
"loc": {
"start": {
"line": 42,
"column": 19
},
"end": {
"line": 42,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 1374,
"end": 1375,
"loc": {
"start": {
"line": 42,
"column": 19
},
"end": {
"line": 42,
"column": 20
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 1376,
"end": 1378,
"loc": {
"start": {
"line": 42,
"column": 21
},
"end": {
"line": 42,
"column": 23
},
"identifierName": "ss"
},
"name": "ss"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1379,
"end": 1384,
"loc": {
"start": {
"line": 42,
"column": 24
},
"end": {
"line": 42,
"column": 29
},
"identifierName": "state"
},
"name": "state"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1385,
"end": 1389,
"loc": {
"start": {
"line": 42,
"column": 30
},
"end": {
"line": 42,
"column": 34
},
"identifierName": "keys"
},
"name": "keys"
},
"computed": false
},
"arguments": []
},
"body": {
"type": "BlockStatement",
"start": 1393,
"end": 2022,
"loc": {
"start": {
"line": 42,
"column": 38
},
"end": {
"line": 58,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1399,
"end": 1428,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 33
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1403,
"end": 1428,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 33
}
},
"id": {
"type": "Identifier",
"start": 1403,
"end": 1408,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 13
},
"identifierName": "clock"
},
"name": "clock"
},
"init": {
"type": "LogicalExpression",
"start": 1411,
"end": 1428,
"loc": {
"start": {
"line": 43,
"column": 16
},
"end": {
"line": 43,
"column": 33
}
},
"left": {
"type": "CallExpression",
"start": 1411,
"end": 1423,
"loc": {
"start": {
"line": 43,
"column": 16
},
"end": {
"line": 43,
"column": 28
}
},
"callee": {
"type": "MemberExpression",
"start": 1411,
"end": 1417,
"loc": {
"start": {
"line": 43,
"column": 16
},
"end": {
"line": 43,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 1411,
"end": 1413,
"loc": {
"start": {
"line": 43,
"column": 16
},
"end": {
"line": 43,
"column": 18
},
"identifierName": "ss"
},
"name": "ss"
},
"property": {
"type": "Identifier",
"start": 1414,
"end": 1417,
"loc": {
"start": {
"line": 43,
"column": 19
},
"end": {
"line": 43,
"column": 22
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1418,
"end": 1422,
"loc": {
"start": {
"line": 43,
"column": 23
},
"end": {
"line": 43,
"column": 27
},
"identifierName": "user"
},
"name": "user"
}
]
},
"operator": "||",
"right": {
"type": "NumericLiteral",
"start": 1427,
"end": 1428,
"loc": {
"start": {
"line": 43,
"column": 32
},
"end": {
"line": 43,
"column": 33
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 1433,
"end": 2018,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 57,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 1437,
"end": 1460,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 31
}
},
"left": {
"type": "Identifier",
"start": 1437,
"end": 1441,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 12
},
"identifierName": "user"
},
"name": "user"
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 1446,
"end": 1460,
"loc": {
"start": {
"line": 44,
"column": 17
},
"end": {
"line": 44,
"column": 31
},
"identifierName": "RootFakeUserID"
},
"name": "RootFakeUserID"
}
},
"consequent": {
"type": "BlockStatement",
"start": 1462,
"end": 2018,
"loc": {
"start": {
"line": 44,
"column": 33
},
"end": {
"line": 57,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1470,
"end": 1506,
"loc": {
"start": {
"line": 45,
"column": 6
},
"end": {
"line": 45,
"column": 42
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1476,
"end": 1506,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 42
}
},
"id": {
"type": "Identifier",
"start": 1476,
"end": 1484,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 20
},
"identifierName": "minBound"
},
"name": "minBound"
},
"init": {
"type": "NewExpression",
"start": 1487,
"end": 1506,
"loc": {
"start": {
"line": 45,
"column": 23
},
"end": {
"line": 45,
"column": 42
}
},
"callee": {
"type": "Identifier",
"start": 1491,
"end": 1493,
"loc": {
"start": {
"line": 45,
"column": 27
},
"end": {
"line": 45,
"column": 29
},
"identifierName": "ID"
},
"name": "ID"
},
"arguments": [
{
"type": "Identifier",
"start": 1494,
"end": 1498,
"loc": {
"start": {
"line": 45,
"column": 30
},
"end": {
"line": 45,
"column": 34
},
"identifierName": "user"
},
"name": "user"
},
{
"type": "Identifier",
"start": 1500,
"end": 1505,
"loc": {
"start": {
"line": 45,
"column": 36
},
"end": {
"line": 45,
"column": 41
},
"identifierName": "clock"
},
"name": "clock"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1513,
"end": 1560,
"loc": {
"start": {
"line": 46,
"column": 6
},
"end": {
"line": 46,
"column": 53
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1519,
"end": 1560,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 53
}
},
"id": {
"type": "Identifier",
"start": 1519,
"end": 1534,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 27
},
"identifierName": "overlappingLeft"
},
"name": "overlappingLeft"
},
"init": {
"type": "CallExpression",
"start": 1537,
"end": 1560,
"loc": {
"start": {
"line": 46,
"column": 30
},
"end": {
"line": 46,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 1537,
"end": 1550,
"loc": {
"start": {
"line": 46,
"column": 30
},
"end": {
"line": 46,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 1537,
"end": 1541,
"loc": {
"start": {
"line": 46,
"column": 30
},
"end": {
"line": 46,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 1537,
"end": 1538,
"loc": {
"start": {
"line": 46,
"column": 30
},
"end": {
"line": 46,
"column": 31
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 1539,
"end": 1541,
"loc": {
"start": {
"line": 46,
"column": 32
},
"end": {
"line": 46,
"column": 34
},
"identifierName": "os"
},
"name": "os"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1542,
"end": 1550,
"loc": {
"start": {
"line": 46,
"column": 35
},
"end": {
"line": 46,
"column": 43
},
"identifierName": "findPrev"
},
"name": "findPrev"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1551,
"end": 1559,
"loc": {
"start": {
"line": 46,
"column": 44
},
"end": {
"line": 46,
"column": 52
},
"identifierName": "minBound"
},
"name": "minBound"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1567,
"end": 1636,
"loc": {
"start": {
"line": 47,
"column": 6
},
"end": {
"line": 47,
"column": 75
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1573,
"end": 1636,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 75
}
},
"id": {
"type": "Identifier",
"start": 1573,
"end": 1580,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 19
},
"identifierName": "rightID"
},
"name": "rightID"
},
"init": {
"type": "ConditionalExpression",
"start": 1583,
"end": 1636,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 47,
"column": 75
}
},
"test": {
"type": "BinaryExpression",
"start": 1583,
"end": 1607,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 47,
"column": 46
}
},
"left": {
"type": "Identifier",
"start": 1583,
"end": 1598,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 47,
"column": 37
},
"identifierName": "overlappingLeft"
},
"name": "overlappingLeft"
},
"operator": "===",
"right": {
"type": "NullLiteral",
"start": 1603,
"end": 1607,
"loc": {
"start": {
"line": 47,
"column": 42
},
"end": {
"line": 47,
"column": 46
}
}
}
},
"consequent": {
"type": "NullLiteral",
"start": 1610,
"end": 1614,
"loc": {
"start": {
"line": 47,
"column": 49
},
"end": {
"line": 47,
"column": 53
}
}
},
"alternate": {
"type": "MemberExpression",
"start": 1617,
"end": 1636,
"loc": {
"start": {
"line": 47,
"column": 56
},
"end": {
"line": 47,
"column": 75
}
},
"object": {
"type": "Identifier",
"start": 1617,
"end": 1632,
"loc": {
"start": {
"line": 47,
"column": 56
},
"end": {
"line": 47,
"column": 71
},
"identifierName": "overlappingLeft"
},
"name": "overlappingLeft"
},
"property": {
"type": "Identifier",
"start": 1633,
"end": 1636,
"loc": {
"start": {
"line": 47,
"column": 72
},
"end": {
"line": 47,
"column": 75
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
}
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 1643,
"end": 1874,
"loc": {
"start": {
"line": 48,
"column": 6
},
"end": {
"line": 52,
"column": 7
}
},
"test": {
"type": "LogicalExpression",
"start": 1647,
"end": 1739,
"loc": {
"start": {
"line": 48,
"column": 10
},
"end": {
"line": 48,
"column": 102
}
},
"left": {
"type": "LogicalExpression",
"start": 1647,
"end": 1688,
"loc": {
"start": {
"line": 48,
"column": 10
},
"end": {
"line": 48,
"column": 51
}
},
"left": {
"type": "BinaryExpression",
"start": 1647,
"end": 1663,
"loc": {
"start": {
"line": 48,
"column": 10
},
"end": {
"line": 48,
"column": 26
}
},
"left": {
"type": "Identifier",
"start": 1647,
"end": 1654,
"loc": {
"start": {
"line": 48,
"column": 10
},
"end": {
"line": 48,
"column": 17
},
"identifierName": "rightID"
},
"name": "rightID"
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 1659,
"end": 1663,
"loc": {
"start": {
"line": 48,
"column": 22
},
"end": {
"line": 48,
"column": 26
}
}
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 1667,
"end": 1688,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"column": 51
}
},
"left": {
"type": "MemberExpression",
"start": 1667,
"end": 1679,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 1667,
"end": 1674,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"column": 37
},
"identifierName": "rightID"
},
"name": "rightID"
},
"property": {
"type": "Identifier",
"start": 1675,
"end": 1679,
"loc": {
"start": {
"line": 48,
"column": 38
},
"end": {
"line": 48,
"column": 42
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 1684,
"end": 1688,
"loc": {
"start": {
"line": 48,
"column": 47
},
"end": {
"line": 48,
"column": 51
},
"identifierName": "user"
},
"name": "user"
}
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 1692,
"end": 1739,
"loc": {
"start": {
"line": 48,
"column": 55
},
"end": {
"line": 48,
"column": 102
}
},
"left": {
"type": "BinaryExpression",
"start": 1692,
"end": 1731,
"loc": {
"start": {
"line": 48,
"column": 55
},
"end": {
"line": 48,
"column": 94
}
},
"left": {
"type": "MemberExpression",
"start": 1692,
"end": 1705,
"loc": {
"start": {
"line": 48,
"column": 55
},
"end": {
"line": 48,
"column": 68
}
},
"object": {
"type": "Identifier",
"start": 1692,
"end": 1699,
"loc": {
"start": {
"line": 48,
"column": 55
},
"end": {
"line": 48,
"column": 62
},
"identifierName": "rightID"
},
"name": "rightID"
},
"property": {
"type": "Identifier",
"start": 1700,
"end": 1705,
"loc": {
"start": {
"line": 48,
"column": 63
},
"end": {
"line": 48,
"column": 68
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 1708,
"end": 1731,
"loc": {
"start": {
"line": 48,
"column": 71
},
"end": {
"line": 48,
"column": 94
}
},
"object": {
"type": "Identifier",
"start": 1708,
"end": 1723,
"loc": {
"start": {
"line": 48,
"column": 71
},
"end": {
"line": 48,
"column": 86
},
"identifierName": "overlappingLeft"
},
"name": "overlappingLeft"
},
"property": {
"type": "Identifier",
"start": 1724,
"end": 1731,
"loc": {
"start": {
"line": 48,
"column": 87
},
"end": {
"line": 48,
"column": 94
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
}
},
"operator": ">",
"right": {
"type": "Identifier",
"start": 1734,
"end": 1739,
"loc": {
"start": {
"line": 48,
"column": 97
},
"end": {
"line": 48,
"column": 102
},
"identifierName": "clock"
},
"name": "clock"
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 1741,
"end": 1874,
"loc": {
"start": {
"line": 48,
"column": 104
},
"end": {
"line": 52,
"column": 7
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1751,
"end": 1818,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 75
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1757,
"end": 1818,
"loc": {
"start": {
"line": 49,
"column": 14
},
"end": {
"line": 49,
"column": 75
}
},
"id": {
"type": "Identifier",
"start": 1757,
"end": 1763,
"loc": {
"start": {
"line": 49,
"column": 14
},
"end": {
"line": 49,
"column": 20
},
"identifierName": "struct"
},
"name": "struct"
},
"init": {
"type": "CallExpression",
"start": 1766,
"end": 1818,
"loc": {
"start": {
"line": 49,
"column": 23
},
"end": {
"line": 49,
"column": 75
}
},
"callee": {
"type": "MemberExpression",
"start": 1766,
"end": 1795,
"loc": {
"start": {
"line": 49,
"column": 23
},
"end": {
"line": 49,
"column": 52
}
},
"object": {
"type": "Identifier",
"start": 1766,
"end": 1781,
"loc": {
"start": {
"line": 49,
"column": 23
},
"end": {
"line": 49,
"column": 38
},
"identifierName": "overlappingLeft"
},
"name": "overlappingLeft"
},
"property": {
"type": "Identifier",
"start": 1782,
"end": 1795,
"loc": {
"start": {
"line": 49,
"column": 39
},
"end": {
"line": 49,
"column": 52
},
"identifierName": "_clonePartial"
},
"name": "_clonePartial"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 1796,
"end": 1817,
"loc": {
"start": {
"line": 49,
"column": 53
},
"end": {
"line": 49,
"column": 74
}
},
"left": {
"type": "Identifier",
"start": 1796,
"end": 1801,
"loc": {
"start": {
"line": 49,
"column": 53
},
"end": {
"line": 49,
"column": 58
},
"identifierName": "clock"
},
"name": "clock"
},
"operator": "-",
"right": {
"type": "MemberExpression",
"start": 1804,
"end": 1817,
"loc": {
"start": {
"line": 49,
"column": 61
},
"end": {
"line": 49,
"column": 74
}
},
"object": {
"type": "Identifier",
"start": 1804,
"end": 1811,
"loc": {
"start": {
"line": 49,
"column": 61
},
"end": {
"line": 49,
"column": 68
},
"identifierName": "rightID"
},
"name": "rightID"
},
"property": {
"type": "Identifier",
"start": 1812,
"end": 1817,
"loc": {
"start": {
"line": 49,
"column": 69
},
"end": {
"line": 49,
"column": 74
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
}
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1827,
"end": 1852,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 33
}
},
"expression": {
"type": "CallExpression",
"start": 1827,
"end": 1852,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1827,
"end": 1843,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 1827,
"end": 1833,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 14
},
"identifierName": "struct"
},
"name": "struct"
},
"property": {
"type": "Identifier",
"start": 1834,
"end": 1843,
"loc": {
"start": {
"line": 50,
"column": 15
},
"end": {
"line": 50,
"column": 24
},
"identifierName": "_toBinary"
},
"name": "_toBinary"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1844,
"end": 1851,
"loc": {
"start": {
"line": 50,
"column": 25
},
"end": {
"line": 50,
"column": 32
},
"identifierName": "encoder"
},
"name": "encoder"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1861,
"end": 1866,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 13
}
},
"expression": {
"type": "UpdateExpression",
"start": 1861,
"end": 1866,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 13
}
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"start": 1861,
"end": 1864,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 11
},
"identifierName": "len"
},
"name": "len"
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1881,
"end": 2012,
"loc": {
"start": {
"line": 53,
"column": 6
},
"end": {
"line": 56,
"column": 8
}
},
"expression": {
"type": "CallExpression",
"start": 1881,
"end": 2012,
"loc": {
"start": {
"line": 53,
"column": 6
},
"end": {
"line": 56,
"column": 8
}
},
"callee": {
"type": "MemberExpression",
"start": 1881,
"end": 1893,
"loc": {
"start": {
"line": 53,
"column": 6
},
"end": {
"line": 53,
"column": 18
}
},
"object": {
"type": "MemberExpression",
"start": 1881,
"end": 1885,
"loc": {
"start": {
"line": 53,
"column": 6
},
"end": {
"line": 53,
"column": 10
}
},
"object": {
"type": "Identifier",
"start": 1881,
"end": 1882,
"loc": {
"start": {
"line": 53,
"column": 6
},
"end": {
"line": 53,
"column": 7
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 1883,
"end": 1885,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 10
},
"identifierName": "os"
},
"name": "os"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1886,
"end": 1893,
"loc": {
"start": {
"line": 53,
"column": 11
},
"end": {
"line": 53,
"column": 18
},
"identifierName": "iterate"
},
"name": "iterate"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1894,
"end": 1902,
"loc": {
"start": {
"line": 53,
"column": 19
},
"end": {
"line": 53,
"column": 27
},
"identifierName": "minBound"
},
"name": "minBound"
},
{
"type": "NewExpression",
"start": 1904,
"end": 1934,
"loc": {
"start": {
"line": 53,
"column": 29
},
"end": {
"line": 53,
"column": 59
}
},
"callee": {
"type": "Identifier",
"start": 1908,
"end": 1910,
"loc": {
"start": {
"line": 53,
"column": 33
},
"end": {
"line": 53,
"column": 35
},
"identifierName": "ID"
},
"name": "ID"
},
"arguments": [
{
"type": "Identifier",
"start": 1911,
"end": 1915,
"loc": {
"start": {
"line": 53,
"column": 36
},
"end": {
"line": 53,
"column": 40
},
"identifierName": "user"
},
"name": "user"
},
{
"type": "MemberExpression",
"start": 1917,
"end": 1933,
"loc": {
"start": {
"line": 53,
"column": 42
},
"end": {
"line": 53,
"column": 58
}
},
"object": {
"type": "Identifier",
"start": 1917,
"end": 1923,
"loc": {
"start": {
"line": 53,
"column": 42
},
"end": {
"line": 53,
"column": 48
},
"identifierName": "Number"
},
"name": "Number"
},
"property": {
"type": "Identifier",
"start": 1924,
"end": 1933,
"loc": {
"start": {
"line": 53,
"column": 49
},
"end": {
"line": 53,
"column": 58
},
"identifierName": "MAX_VALUE"
},
"name": "MAX_VALUE"
},
"computed": false
}
]
},
{
"type": "FunctionExpression",
"start": 1936,
"end": 2011,
"loc": {
"start": {
"line": 53,
"column": 61
},
"end": {
"line": 56,
"column": 7
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1946,
"end": 1952,
"loc": {
"start": {
"line": 53,
"column": 71
},
"end": {
"line": 53,
"column": 77
},
"identifierName": "struct"
},
"name": "struct"
}
],
"body": {
"type": "BlockStatement",
"start": 1954,
"end": 2011,
"loc": {
"start": {
"line": 53,
"column": 79
},
"end": {
"line": 56,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1964,
"end": 1989,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 33
}
},
"expression": {
"type": "CallExpression",
"start": 1964,
"end": 1989,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1964,
"end": 1980,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 1964,
"end": 1970,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 14
},
"identifierName": "struct"
},
"name": "struct"
},
"property": {
"type": "Identifier",
"start": 1971,
"end": 1980,
"loc": {
"start": {
"line": 54,
"column": 15
},
"end": {
"line": 54,
"column": 24
},
"identifierName": "_toBinary"
},
"name": "_toBinary"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1981,
"end": 1988,
"loc": {
"start": {
"line": 54,
"column": 25
},
"end": {
"line": 54,
"column": 32
},
"identifierName": "encoder"
},
"name": "encoder"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1998,
"end": 2003,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 13
}
},
"expression": {
"type": "UpdateExpression",
"start": 1998,
"end": 2003,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 13
}
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"start": 1998,
"end": 2001,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 11
},
"identifierName": "len"
},
"name": "len"
}
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
},
{
"type": "ExpressionStatement",
"start": 2025,
"end": 2055,
"loc": {
"start": {
"line": 59,
"column": 2
},
"end": {
"line": 59,
"column": 32
}
},
"expression": {
"type": "CallExpression",
"start": 2025,
"end": 2055,
"loc": {
"start": {
"line": 59,
"column": 2
},
"end": {
"line": 59,
"column": 32
}
},
"callee": {
"type": "MemberExpression",
"start": 2025,
"end": 2042,
"loc": {
"start": {
"line": 59,
"column": 2
},
"end": {
"line": 59,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 2025,
"end": 2032,
"loc": {
"start": {
"line": 59,
"column": 2
},
"end": {
"line": 59,
"column": 9
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 2033,
"end": 2042,
"loc": {
"start": {
"line": 59,
"column": 10
},
"end": {
"line": 59,
"column": 19
},
"identifierName": "setUint32"
},
"name": "setUint32"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2043,
"end": 2049,
"loc": {
"start": {
"line": 59,
"column": 20
},
"end": {
"line": 59,
"column": 26
},
"identifierName": "lenPos"
},
"name": "lenPos"
},
{
"type": "Identifier",
"start": 2051,
"end": 2054,
"loc": {
"start": {
"line": 59,
"column": 28
},
"end": {
"line": 59,
"column": 31
},
"identifierName": "len"
},
"name": "len"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * @private\n * Write all Items that are not not included in ss to\n * the encoder object.\n ",
"start": 1142,
"end": 1238,
"loc": {
"start": {
"line": 33,
"column": 0
},
"end": {
"line": 37,
"column": 3
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * @private\n * Write all Items that are not not included in ss to\n * the encoder object.\n ",
"start": 1142,
"end": 1238,
"loc": {
"start": {
"line": 33,
"column": 0
},
"end": {
"line": 37,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 2059,
"end": 2845,
"loc": {
"start": {
"line": 62,
"column": 0
},
"end": {
"line": 83,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "FunctionDeclaration",
"start": 2066,
"end": 2845,
"loc": {
"start": {
"line": 62,
"column": 7
},
"end": {
"line": 83,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 2075,
"end": 2088,
"loc": {
"start": {
"line": 62,
"column": 16
},
"end": {
"line": 62,
"column": 29
},
"identifierName": "readSyncStep1"
},
"name": "readSyncStep1"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2090,
"end": 2097,
"loc": {
"start": {
"line": 62,
"column": 31
},
"end": {
"line": 62,
"column": 38
},
"identifierName": "decoder"
},
"name": "decoder"
},
{
"type": "Identifier",
"start": 2099,
"end": 2106,
"loc": {
"start": {
"line": 62,
"column": 40
},
"end": {
"line": 62,
"column": 47
},
"identifierName": "encoder"
},
"name": "encoder"
},
{
"type": "Identifier",
"start": 2108,
"end": 2109,
"loc": {
"start": {
"line": 62,
"column": 49
},
"end": {
"line": 62,
"column": 50
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 2111,
"end": 2121,
"loc": {
"start": {
"line": 62,
"column": 52
},
"end": {
"line": 62,
"column": 62
},
"identifierName": "senderConn"
},
"name": "senderConn"
},
{
"type": "Identifier",
"start": 2123,
"end": 2129,
"loc": {
"start": {
"line": 62,
"column": 64
},
"end": {
"line": 62,
"column": 70
},
"identifierName": "sender"
},
"name": "sender"
}
],
"body": {
"type": "BlockStatement",
"start": 2131,
"end": 2845,
"loc": {
"start": {
"line": 62,
"column": 72
},
"end": {
"line": 83,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2135,
"end": 2178,
"loc": {
"start": {
"line": 63,
"column": 2
},
"end": {
"line": 63,
"column": 45
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2139,
"end": 2178,
"loc": {
"start": {
"line": 63,
"column": 6
},
"end": {
"line": 63,
"column": 45
}
},
"id": {
"type": "Identifier",
"start": 2139,
"end": 2154,
"loc": {
"start": {
"line": 63,
"column": 6
},
"end": {
"line": 63,
"column": 21
},
"identifierName": "protocolVersion"
},
"name": "protocolVersion"
},
"init": {
"type": "CallExpression",
"start": 2157,
"end": 2178,
"loc": {
"start": {
"line": 63,
"column": 24
},
"end": {
"line": 63,
"column": 45
}
},
"callee": {
"type": "MemberExpression",
"start": 2157,
"end": 2176,
"loc": {
"start": {
"line": 63,
"column": 24
},
"end": {
"line": 63,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 2157,
"end": 2164,
"loc": {
"start": {
"line": 63,
"column": 24
},
"end": {
"line": 63,
"column": 31
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 2165,
"end": 2176,
"loc": {
"start": {
"line": 63,
"column": 32
},
"end": {
"line": 63,
"column": 43
},
"identifierName": "readVarUint"
},
"name": "readVarUint"
},
"computed": false
},
"arguments": [],
"trailingComments": null
},
"trailingComments": null
}
],
"kind": "let",
"trailingComments": [
{
"type": "CommentLine",
"value": " check protocol version",
"start": 2181,
"end": 2206,
"loc": {
"start": {
"line": 64,
"column": 2
},
"end": {
"line": 64,
"column": 27
}
}
}
]
},
{
"type": "IfStatement",
"start": 2209,
"end": 2454,
"loc": {
"start": {
"line": 65,
"column": 2
},
"end": {
"line": 71,
"column": 3
}
},
"test": {
"type": "BinaryExpression",
"start": 2213,
"end": 2260,
"loc": {
"start": {
"line": 65,
"column": 6
},
"end": {
"line": 65,
"column": 53
}
},
"left": {
"type": "Identifier",
"start": 2213,
"end": 2228,
"loc": {
"start": {
"line": 65,
"column": 6
},
"end": {
"line": 65,
"column": 21
},
"identifierName": "protocolVersion"
},
"name": "protocolVersion",
"leadingComments": null
},
"operator": "!==",
"right": {
"type": "MemberExpression",
"start": 2233,
"end": 2260,
"loc": {
"start": {
"line": 65,
"column": 26
},
"end": {
"line": 65,
"column": 53
}
},
"object": {
"type": "MemberExpression",
"start": 2233,
"end": 2244,
"loc": {
"start": {
"line": 65,
"column": 26
},
"end": {
"line": 65,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 2233,
"end": 2234,
"loc": {
"start": {
"line": 65,
"column": 26
},
"end": {
"line": 65,
"column": 27
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 2235,
"end": 2244,
"loc": {
"start": {
"line": 65,
"column": 28
},
"end": {
"line": 65,
"column": 37
},
"identifierName": "connector"
},
"name": "connector"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2245,
"end": 2260,
"loc": {
"start": {
"line": 65,
"column": 38
},
"end": {
"line": 65,
"column": 53
},
"identifierName": "protocolVersion"
},
"name": "protocolVersion"
},
"computed": false
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 2262,
"end": 2454,
"loc": {
"start": {
"line": 65,
"column": 55
},
"end": {
"line": 71,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2268,
"end": 2434,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 69,
"column": 8
}
},
"expression": {
"type": "CallExpression",
"start": 2268,
"end": 2434,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 69,
"column": 8
}
},
"callee": {
"type": "MemberExpression",
"start": 2268,
"end": 2280,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 66,
"column": 16
}
},
"object": {
"type": "Identifier",
"start": 2268,
"end": 2275,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 66,
"column": 11
},
"identifierName": "console"
},
"name": "console"
},
"property": {
"type": "Identifier",
"start": 2276,
"end": 2280,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 16
},
"identifierName": "warn"
},
"name": "warn"
},
"computed": false
},
"arguments": [
{
"type": "TemplateLiteral",
"start": 2288,
"end": 2433,
"loc": {
"start": {
"line": 67,
"column": 6
},
"end": {
"line": 69,
"column": 7
}
},
"expressions": [
{
"type": "Identifier",
"start": 2379,
"end": 2394,
"loc": {
"start": {
"line": 68,
"column": 14
},
"end": {
"line": 68,
"column": 29
},
"identifierName": "protocolVersion"
},
"name": "protocolVersion"
},
{
"type": "Identifier",
"start": 2407,
"end": 2422,
"loc": {
"start": {
"line": 68,
"column": 42
},
"end": {
"line": 68,
"column": 57
},
"identifierName": "protocolVersion"
},
"name": "protocolVersion"
}
],
"quasis": [
{
"type": "TemplateElement",
"start": 2289,
"end": 2377,
"loc": {
"start": {
"line": 67,
"column": 7
},
"end": {
"line": 68,
"column": 12
}
},
"value": {
"raw": "You tried to sync with a Yjs instance that has a different protocol version\n (You: ",
"cooked": "You tried to sync with a Yjs instance that has a different protocol version\n (You: "
},
"tail": false
},
{
"type": "TemplateElement",
"start": 2395,
"end": 2405,
"loc": {
"start": {
"line": 68,
"column": 30
},
"end": {
"line": 68,
"column": 40
}
},
"value": {
"raw": ", Client: ",
"cooked": ", Client: "
},
"tail": false
},
{
"type": "TemplateElement",
"start": 2423,
"end": 2432,
"loc": {
"start": {
"line": 68,
"column": 58
},
"end": {
"line": 69,
"column": 6
}
},
"value": {
"raw": ").\n ",
"cooked": ").\n "
},
"tail": true
}
]
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2439,
"end": 2450,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 70,
"column": 15
}
},
"expression": {
"type": "CallExpression",
"start": 2439,
"end": 2450,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 70,
"column": 15
}
},
"callee": {
"type": "MemberExpression",
"start": 2439,
"end": 2448,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 70,
"column": 13
}
},
"object": {
"type": "Identifier",
"start": 2439,
"end": 2440,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 70,
"column": 5
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 2441,
"end": 2448,
"loc": {
"start": {
"line": 70,
"column": 6
},
"end": {
"line": 70,
"column": 13
},
"identifierName": "destroy"
},
"name": "destroy"
},
"computed": false
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " check protocol version",
"start": 2181,
"end": 2206,
"loc": {
"start": {
"line": 64,
"column": 2
},
"end": {
"line": 64,
"column": 27
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " write sync step 2",
"start": 2457,
"end": 2477,
"loc": {
"start": {
"line": 72,
"column": 2
},
"end": {
"line": 72,
"column": 22
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 2480,
"end": 2517,
"loc": {
"start": {
"line": 73,
"column": 2
},
"end": {
"line": 73,
"column": 39
}
},
"expression": {
"type": "CallExpression",
"start": 2480,
"end": 2517,
"loc": {
"start": {
"line": 73,
"column": 2
},
"end": {
"line": 73,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 2480,
"end": 2502,
"loc": {
"start": {
"line": 73,
"column": 2
},
"end": {
"line": 73,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 2480,
"end": 2487,
"loc": {
"start": {
"line": 73,
"column": 2
},
"end": {
"line": 73,
"column": 9
},
"identifierName": "encoder"
},
"name": "encoder",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2488,
"end": 2502,
"loc": {
"start": {
"line": 73,
"column": 10
},
"end": {
"line": 73,
"column": 24
},
"identifierName": "writeVarString"
},
"name": "writeVarString"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "StringLiteral",
"start": 2503,
"end": 2516,
"loc": {
"start": {
"line": 73,
"column": 25
},
"end": {
"line": 73,
"column": 38
}
},
"extra": {
"rawValue": "sync step 2",
"raw": "'sync step 2'"
},
"value": "sync step 2"
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " write sync step 2",
"start": 2457,
"end": 2477,
"loc": {
"start": {
"line": 72,
"column": 2
},
"end": {
"line": 72,
"column": 22
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 2520,
"end": 2570,
"loc": {
"start": {
"line": 74,
"column": 2
},
"end": {
"line": 74,
"column": 52
}
},
"expression": {
"type": "CallExpression",
"start": 2520,
"end": 2570,
"loc": {
"start": {
"line": 74,
"column": 2
},
"end": {
"line": 74,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
"start": 2520,
"end": 2542,
"loc": {
"start": {
"line": 74,
"column": 2
},
"end": {
"line": 74,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 2520,
"end": 2527,
"loc": {
"start": {
"line": 74,
"column": 2
},
"end": {
"line": 74,
"column": 9
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 2528,
"end": 2542,
"loc": {
"start": {
"line": 74,
"column": 10
},
"end": {
"line": 74,
"column": 24
},
"identifierName": "writeVarString"
},
"name": "writeVarString"
},
"computed": false
},
"arguments": [
{
"type": "LogicalExpression",
"start": 2543,
"end": 2569,
"loc": {
"start": {
"line": 74,
"column": 25
},
"end": {
"line": 74,
"column": 51
}
},
"left": {
"type": "MemberExpression",
"start": 2543,
"end": 2563,
"loc": {
"start": {
"line": 74,
"column": 25
},
"end": {
"line": 74,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 2543,
"end": 2554,
"loc": {
"start": {
"line": 74,
"column": 25
},
"end": {
"line": 74,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 2543,
"end": 2544,
"loc": {
"start": {
"line": 74,
"column": 25
},
"end": {
"line": 74,
"column": 26
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 2545,
"end": 2554,
"loc": {
"start": {
"line": 74,
"column": 27
},
"end": {
"line": 74,
"column": 36
},
"identifierName": "connector"
},
"name": "connector"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2555,
"end": 2563,
"loc": {
"start": {
"line": 74,
"column": 37
},
"end": {
"line": 74,
"column": 45
},
"identifierName": "authInfo"
},
"name": "authInfo"
},
"computed": false
},
"operator": "||",
"right": {
"type": "StringLiteral",
"start": 2567,
"end": 2569,
"loc": {
"start": {
"line": 74,
"column": 49
},
"end": {
"line": 74,
"column": 51
}
},
"extra": {
"rawValue": "",
"raw": "''"
},
"value": ""
}
}
]
}
},
{
"type": "VariableDeclaration",
"start": 2573,
"end": 2605,
"loc": {
"start": {
"line": 75,
"column": 2
},
"end": {
"line": 75,
"column": 34
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2579,
"end": 2605,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 2579,
"end": 2581,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 10
},
"identifierName": "ss"
},
"name": "ss"
},
"init": {
"type": "CallExpression",
"start": 2584,
"end": 2605,
"loc": {
"start": {
"line": 75,
"column": 13
},
"end": {
"line": 75,
"column": 34
}
},
"callee": {
"type": "Identifier",
"start": 2584,
"end": 2596,
"loc": {
"start": {
"line": 75,
"column": 13
},
"end": {
"line": 75,
"column": 25
},
"identifierName": "readStateSet"
},
"name": "readStateSet"
},
"arguments": [
{
"type": "Identifier",
"start": 2597,
"end": 2604,
"loc": {
"start": {
"line": 75,
"column": 26
},
"end": {
"line": 75,
"column": 33
},
"identifierName": "decoder"
},
"name": "decoder"
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2608,
"end": 2636,
"loc": {
"start": {
"line": 76,
"column": 2
},
"end": {
"line": 76,
"column": 30
}
},
"expression": {
"type": "CallExpression",
"start": 2608,
"end": 2636,
"loc": {
"start": {
"line": 76,
"column": 2
},
"end": {
"line": 76,
"column": 30
}
},
"callee": {
"type": "Identifier",
"start": 2608,
"end": 2620,
"loc": {
"start": {
"line": 76,
"column": 2
},
"end": {
"line": 76,
"column": 14
},
"identifierName": "writeStructs"
},
"name": "writeStructs"
},
"arguments": [
{
"type": "Identifier",
"start": 2621,
"end": 2622,
"loc": {
"start": {
"line": 76,
"column": 15
},
"end": {
"line": 76,
"column": 16
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 2624,
"end": 2631,
"loc": {
"start": {
"line": 76,
"column": 18
},
"end": {
"line": 76,
"column": 25
},
"identifierName": "encoder"
},
"name": "encoder"
},
{
"type": "Identifier",
"start": 2633,
"end": 2635,
"loc": {
"start": {
"line": 76,
"column": 27
},
"end": {
"line": 76,
"column": 29
},
"identifierName": "ss"
},
"name": "ss"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2639,
"end": 2665,
"loc": {
"start": {
"line": 77,
"column": 2
},
"end": {
"line": 77,
"column": 28
}
},
"expression": {
"type": "CallExpression",
"start": 2639,
"end": 2665,
"loc": {
"start": {
"line": 77,
"column": 2
},
"end": {
"line": 77,
"column": 28
}
},
"callee": {
"type": "Identifier",
"start": 2639,
"end": 2653,
"loc": {
"start": {
"line": 77,
"column": 2
},
"end": {
"line": 77,
"column": 16
},
"identifierName": "writeDeleteSet"
},
"name": "writeDeleteSet"
},
"arguments": [
{
"type": "Identifier",
"start": 2654,
"end": 2655,
"loc": {
"start": {
"line": 77,
"column": 17
},
"end": {
"line": 77,
"column": 18
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 2657,
"end": 2664,
"loc": {
"start": {
"line": 77,
"column": 20
},
"end": {
"line": 77,
"column": 27
},
"identifierName": "encoder"
},
"name": "encoder"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2668,
"end": 2724,
"loc": {
"start": {
"line": 78,
"column": 2
},
"end": {
"line": 78,
"column": 58
}
},
"expression": {
"type": "CallExpression",
"start": 2668,
"end": 2724,
"loc": {
"start": {
"line": 78,
"column": 2
},
"end": {
"line": 78,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 2668,
"end": 2684,
"loc": {
"start": {
"line": 78,
"column": 2
},
"end": {
"line": 78,
"column": 18
}
},
"object": {
"type": "MemberExpression",
"start": 2668,
"end": 2679,
"loc": {
"start": {
"line": 78,
"column": 2
},
"end": {
"line": 78,
"column": 13
}
},
"object": {
"type": "Identifier",
"start": 2668,
"end": 2669,
"loc": {
"start": {
"line": 78,
"column": 2
},
"end": {
"line": 78,
"column": 3
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 2670,
"end": 2679,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 78,
"column": 13
},
"identifierName": "connector"
},
"name": "connector"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2680,
"end": 2684,
"loc": {
"start": {
"line": 78,
"column": 14
},
"end": {
"line": 78,
"column": 18
},
"identifierName": "send"
},
"name": "send"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2685,
"end": 2699,
"loc": {
"start": {
"line": 78,
"column": 19
},
"end": {
"line": 78,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 2685,
"end": 2695,
"loc": {
"start": {
"line": 78,
"column": 19
},
"end": {
"line": 78,
"column": 29
},
"identifierName": "senderConn"
},
"name": "senderConn"
},
"property": {
"type": "Identifier",
"start": 2696,
"end": 2699,
"loc": {
"start": {
"line": 78,
"column": 30
},
"end": {
"line": 78,
"column": 33
},
"identifierName": "uid"
},
"name": "uid"
},
"computed": false
},
{
"type": "CallExpression",
"start": 2701,
"end": 2723,
"loc": {
"start": {
"line": 78,
"column": 35
},
"end": {
"line": 78,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 2701,
"end": 2721,
"loc": {
"start": {
"line": 78,
"column": 35
},
"end": {
"line": 78,
"column": 55
}
},
"object": {
"type": "Identifier",
"start": 2701,
"end": 2708,
"loc": {
"start": {
"line": 78,
"column": 35
},
"end": {
"line": 78,
"column": 42
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 2709,
"end": 2721,
"loc": {
"start": {
"line": 78,
"column": 43
},
"end": {
"line": 78,
"column": 55
},
"identifierName": "createBuffer"
},
"name": "createBuffer"
},
"computed": false
},
"arguments": []
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2727,
"end": 2762,
"loc": {
"start": {
"line": 79,
"column": 2
},
"end": {
"line": 79,
"column": 37
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2727,
"end": 2762,
"loc": {
"start": {
"line": 79,
"column": 2
},
"end": {
"line": 79,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2727,
"end": 2755,
"loc": {
"start": {
"line": 79,
"column": 2
},
"end": {
"line": 79,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 2727,
"end": 2737,
"loc": {
"start": {
"line": 79,
"column": 2
},
"end": {
"line": 79,
"column": 12
},
"identifierName": "senderConn"
},
"name": "senderConn"
},
"property": {
"type": "Identifier",
"start": 2738,
"end": 2755,
"loc": {
"start": {
"line": 79,
"column": 13
},
"end": {
"line": 79,
"column": 30
},
"identifierName": "receivedSyncStep2"
},
"name": "receivedSyncStep2"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 2758,
"end": 2762,
"loc": {
"start": {
"line": 79,
"column": 33
},
"end": {
"line": 79,
"column": 37
}
},
"value": true
}
}
},
{
"type": "IfStatement",
"start": 2765,
"end": 2843,
"loc": {
"start": {
"line": 80,
"column": 2
},
"end": {
"line": 82,
"column": 3
}
},
"test": {
"type": "BinaryExpression",
"start": 2769,
"end": 2797,
"loc": {
"start": {
"line": 80,
"column": 6
},
"end": {
"line": 80,
"column": 34
}
},
"left": {
"type": "MemberExpression",
"start": 2769,
"end": 2785,
"loc": {
"start": {
"line": 80,
"column": 6
},
"end": {
"line": 80,
"column": 22
}
},
"object": {
"type": "MemberExpression",
"start": 2769,
"end": 2780,
"loc": {
"start": {
"line": 80,
"column": 6
},
"end": {
"line": 80,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 2769,
"end": 2770,
"loc": {
"start": {
"line": 80,
"column": 6
},
"end": {
"line": 80,
"column": 7
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 2771,
"end": 2780,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 17
},
"identifierName": "connector"
},
"name": "connector"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2781,
"end": 2785,
"loc": {
"start": {
"line": 80,
"column": 18
},
"end": {
"line": 80,
"column": 22
},
"identifierName": "role"
},
"name": "role"
},
"computed": false
},
"operator": "===",
"right": {
"type": "StringLiteral",
"start": 2790,
"end": 2797,
"loc": {
"start": {
"line": 80,
"column": 27
},
"end": {
"line": 80,
"column": 34
}
},
"extra": {
"rawValue": "slave",
"raw": "'slave'"
},
"value": "slave"
}
},
"consequent": {
"type": "BlockStatement",
"start": 2799,
"end": 2843,
"loc": {
"start": {
"line": 80,
"column": 36
},
"end": {
"line": 82,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2805,
"end": 2839,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 81,
"column": 38
}
},
"expression": {
"type": "CallExpression",
"start": 2805,
"end": 2839,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 81,
"column": 38
}
},
"callee": {
"type": "Identifier",
"start": 2805,
"end": 2818,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 81,
"column": 17
},
"identifierName": "sendSyncStep1"
},
"name": "sendSyncStep1"
},
"arguments": [
{
"type": "MemberExpression",
"start": 2819,
"end": 2830,
"loc": {
"start": {
"line": 81,
"column": 18
},
"end": {
"line": 81,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 2819,
"end": 2820,
"loc": {
"start": {
"line": 81,
"column": 18
},
"end": {
"line": 81,
"column": 19
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 2821,
"end": 2830,
"loc": {
"start": {
"line": 81,
"column": 20
},
"end": {
"line": 81,
"column": 29
},
"identifierName": "connector"
},
"name": "connector"
},
"computed": false
},
{
"type": "Identifier",
"start": 2832,
"end": 2838,
"loc": {
"start": {
"line": 81,
"column": 31
},
"end": {
"line": 81,
"column": 37
},
"identifierName": "sender"
},
"name": "sender"
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentLine",
"value": " write SS",
"start": 500,
"end": 511,
"loc": {
"start": {
"line": 12,
"column": 2
},
"end": {
"line": 12,
"column": 13
}
}
},
{
"type": "CommentBlock",
"value": "*\n * @private\n * Write all Items that are not not included in ss to\n * the encoder object.\n ",
"start": 1142,
"end": 1238,
"loc": {
"start": {
"line": 33,
"column": 0
},
"end": {
"line": 37,
"column": 3
}
}
},
{
"type": "CommentLine",
"value": " check protocol version",
"start": 2181,
"end": 2206,
"loc": {
"start": {
"line": 64,
"column": 2
},
"end": {
"line": 64,
"column": 27
}
}
},
{
"type": "CommentLine",
"value": " write sync step 2",
"start": 2457,
"end": 2477,
"loc": {
"start": {
"line": 72,
"column": 2
},
"end": {
"line": 72,
"column": 22
}
}
}
],
"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": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BinaryEncoder",
"start": 7,
"end": 20,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 21,
"end": 25,
"loc": {
"start": {
"line": 1,
"column": 21
},
"end": {
"line": 1,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../Util/Binary/Encoder.js",
"start": 26,
"end": 53,
"loc": {
"start": {
"line": 1,
"column": 26
},
"end": {
"line": 1,
"column": 53
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 54,
"end": 60,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 61,
"end": 62,
"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": "readStateSet",
"start": 63,
"end": 75,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 21
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 75,
"end": 76,
"loc": {
"start": {
"line": 2,
"column": 21
},
"end": {
"line": 2,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeStateSet",
"start": 77,
"end": 90,
"loc": {
"start": {
"line": 2,
"column": 23
},
"end": {
"line": 2,
"column": 36
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 91,
"end": 92,
"loc": {
"start": {
"line": 2,
"column": 37
},
"end": {
"line": 2,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 93,
"end": 97,
"loc": {
"start": {
"line": 2,
"column": 39
},
"end": {
"line": 2,
"column": 43
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./stateSet.js",
"start": 98,
"end": 113,
"loc": {
"start": {
"line": 2,
"column": 44
},
"end": {
"line": 2,
"column": 59
}
}
},
{
"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": 114,
"end": 120,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 121,
"end": 122,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeDeleteSet",
"start": 123,
"end": 137,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 138,
"end": 139,
"loc": {
"start": {
"line": 3,
"column": 24
},
"end": {
"line": 3,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 140,
"end": 144,
"loc": {
"start": {
"line": 3,
"column": 26
},
"end": {
"line": 3,
"column": 30
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./deleteSet.js",
"start": 145,
"end": 161,
"loc": {
"start": {
"line": 3,
"column": 31
},
"end": {
"line": 3,
"column": 47
}
}
},
{
"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": 162,
"end": 168,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ID",
"start": 169,
"end": 171,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 172,
"end": 176,
"loc": {
"start": {
"line": 4,
"column": 10
},
"end": {
"line": 4,
"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": 177,
"end": 195,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 4,
"column": 33
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 196,
"end": 202,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 203,
"end": 204,
"loc": {
"start": {
"line": 5,
"column": 7
},
"end": {
"line": 5,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "RootFakeUserID",
"start": 205,
"end": 219,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 220,
"end": 221,
"loc": {
"start": {
"line": 5,
"column": 24
},
"end": {
"line": 5,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 222,
"end": 226,
"loc": {
"start": {
"line": 5,
"column": 26
},
"end": {
"line": 5,
"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": 227,
"end": 249,
"loc": {
"start": {
"line": 5,
"column": 31
},
"end": {
"line": 5,
"column": 53
}
}
},
{
"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": 251,
"end": 257,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 6
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 258,
"end": 266,
"loc": {
"start": {
"line": 7,
"column": 7
},
"end": {
"line": 7,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stringifySyncStep1",
"start": 267,
"end": 285,
"loc": {
"start": {
"line": 7,
"column": 16
},
"end": {
"line": 7,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 286,
"end": 287,
"loc": {
"start": {
"line": 7,
"column": 35
},
"end": {
"line": 7,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 287,
"end": 288,
"loc": {
"start": {
"line": 7,
"column": 36
},
"end": {
"line": 7,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 288,
"end": 289,
"loc": {
"start": {
"line": 7,
"column": 37
},
"end": {
"line": 7,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 290,
"end": 297,
"loc": {
"start": {
"line": 7,
"column": 39
},
"end": {
"line": 7,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 297,
"end": 298,
"loc": {
"start": {
"line": 7,
"column": 46
},
"end": {
"line": 7,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "strBuilder",
"start": 299,
"end": 309,
"loc": {
"start": {
"line": 7,
"column": 48
},
"end": {
"line": 7,
"column": 58
}
}
},
{
"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": 7,
"column": 58
},
"end": {
"line": 7,
"column": 59
}
}
},
{
"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": 7,
"column": 60
},
"end": {
"line": 7,
"column": 61
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 315,
"end": 318,
"loc": {
"start": {
"line": 8,
"column": 2
},
"end": {
"line": 8,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "auth",
"start": 319,
"end": 323,
"loc": {
"start": {
"line": 8,
"column": 6
},
"end": {
"line": 8,
"column": 10
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 324,
"end": 325,
"loc": {
"start": {
"line": 8,
"column": 11
},
"end": {
"line": 8,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 326,
"end": 333,
"loc": {
"start": {
"line": 8,
"column": 13
},
"end": {
"line": 8,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 333,
"end": 334,
"loc": {
"start": {
"line": 8,
"column": 20
},
"end": {
"line": 8,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readVarString",
"start": 334,
"end": 347,
"loc": {
"start": {
"line": 8,
"column": 21
},
"end": {
"line": 8,
"column": 34
}
}
},
{
"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": 8,
"column": 34
},
"end": {
"line": 8,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 348,
"end": 349,
"loc": {
"start": {
"line": 8,
"column": 35
},
"end": {
"line": 8,
"column": 36
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 352,
"end": 355,
"loc": {
"start": {
"line": 9,
"column": 2
},
"end": {
"line": 9,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "protocolVersion",
"start": 356,
"end": 371,
"loc": {
"start": {
"line": 9,
"column": 6
},
"end": {
"line": 9,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 372,
"end": 373,
"loc": {
"start": {
"line": 9,
"column": 22
},
"end": {
"line": 9,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 374,
"end": 381,
"loc": {
"start": {
"line": 9,
"column": 24
},
"end": {
"line": 9,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 381,
"end": 382,
"loc": {
"start": {
"line": 9,
"column": 31
},
"end": {
"line": 9,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readVarUint",
"start": 382,
"end": 393,
"loc": {
"start": {
"line": 9,
"column": 32
},
"end": {
"line": 9,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 393,
"end": 394,
"loc": {
"start": {
"line": 9,
"column": 43
},
"end": {
"line": 9,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 394,
"end": 395,
"loc": {
"start": {
"line": 9,
"column": 44
},
"end": {
"line": 9,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "strBuilder",
"start": 398,
"end": 408,
"loc": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 10,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 408,
"end": 409,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 409,
"end": 413,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 413,
"end": 414,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 18
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 414,
"end": 415,
"loc": {
"start": {
"line": 10,
"column": 18
},
"end": {
"line": 10,
"column": 19
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": " - auth: \"",
"start": 415,
"end": 426,
"loc": {
"start": {
"line": 10,
"column": 19
},
"end": {
"line": 10,
"column": 30
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 426,
"end": 428,
"loc": {
"start": {
"line": 10,
"column": 30
},
"end": {
"line": 10,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "auth",
"start": 428,
"end": 432,
"loc": {
"start": {
"line": 10,
"column": 32
},
"end": {
"line": 10,
"column": 36
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 432,
"end": 433,
"loc": {
"start": {
"line": 10,
"column": 36
},
"end": {
"line": 10,
"column": 37
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "\"",
"start": 433,
"end": 434,
"loc": {
"start": {
"line": 10,
"column": 37
},
"end": {
"line": 10,
"column": 38
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 434,
"end": 435,
"loc": {
"start": {
"line": 10,
"column": 38
},
"end": {
"line": 10,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 435,
"end": 436,
"loc": {
"start": {
"line": 10,
"column": 39
},
"end": {
"line": 10,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "strBuilder",
"start": 439,
"end": 449,
"loc": {
"start": {
"line": 11,
"column": 2
},
"end": {
"line": 11,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 449,
"end": 450,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 450,
"end": 454,
"loc": {
"start": {
"line": 11,
"column": 13
},
"end": {
"line": 11,
"column": 17
}
}
},
{
"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": 11,
"column": 17
},
"end": {
"line": 11,
"column": 18
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 455,
"end": 456,
"loc": {
"start": {
"line": 11,
"column": 18
},
"end": {
"line": 11,
"column": 19
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": " - protocolVersion: ",
"start": 456,
"end": 477,
"loc": {
"start": {
"line": 11,
"column": 19
},
"end": {
"line": 11,
"column": 40
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 477,
"end": 479,
"loc": {
"start": {
"line": 11,
"column": 40
},
"end": {
"line": 11,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "protocolVersion",
"start": 479,
"end": 494,
"loc": {
"start": {
"line": 11,
"column": 42
},
"end": {
"line": 11,
"column": 57
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 494,
"end": 495,
"loc": {
"start": {
"line": 11,
"column": 57
},
"end": {
"line": 11,
"column": 58
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "",
"start": 495,
"end": 495,
"loc": {
"start": {
"line": 11,
"column": 58
},
"end": {
"line": 11,
"column": 58
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 495,
"end": 496,
"loc": {
"start": {
"line": 11,
"column": 58
},
"end": {
"line": 11,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 496,
"end": 497,
"loc": {
"start": {
"line": 11,
"column": 59
},
"end": {
"line": 11,
"column": 60
}
}
},
{
"type": "CommentLine",
"value": " write SS",
"start": 500,
"end": 511,
"loc": {
"start": {
"line": 12,
"column": 2
},
"end": {
"line": 12,
"column": 13
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 514,
"end": 517,
"loc": {
"start": {
"line": 13,
"column": 2
},
"end": {
"line": 13,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ssBuilder",
"start": 518,
"end": 527,
"loc": {
"start": {
"line": 13,
"column": 6
},
"end": {
"line": 13,
"column": 15
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 528,
"end": 529,
"loc": {
"start": {
"line": 13,
"column": 16
},
"end": {
"line": 13,
"column": 17
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 530,
"end": 531,
"loc": {
"start": {
"line": 13,
"column": 18
},
"end": {
"line": 13,
"column": 19
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 531,
"end": 532,
"loc": {
"start": {
"line": 13,
"column": 19
},
"end": {
"line": 13,
"column": 20
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 535,
"end": 538,
"loc": {
"start": {
"line": 14,
"column": 2
},
"end": {
"line": 14,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 539,
"end": 542,
"loc": {
"start": {
"line": 14,
"column": 6
},
"end": {
"line": 14,
"column": 9
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 543,
"end": 544,
"loc": {
"start": {
"line": 14,
"column": 10
},
"end": {
"line": 14,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 545,
"end": 552,
"loc": {
"start": {
"line": 14,
"column": 12
},
"end": {
"line": 14,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 552,
"end": 553,
"loc": {
"start": {
"line": 14,
"column": 19
},
"end": {
"line": 14,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readUint32",
"start": 553,
"end": 563,
"loc": {
"start": {
"line": 14,
"column": 20
},
"end": {
"line": 14,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 563,
"end": 564,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 564,
"end": 565,
"loc": {
"start": {
"line": 14,
"column": 31
},
"end": {
"line": 14,
"column": 32
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 568,
"end": 571,
"loc": {
"start": {
"line": 15,
"column": 2
},
"end": {
"line": 15,
"column": 5
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 572,
"end": 573,
"loc": {
"start": {
"line": 15,
"column": 6
},
"end": {
"line": 15,
"column": 7
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 573,
"end": 576,
"loc": {
"start": {
"line": 15,
"column": 7
},
"end": {
"line": 15,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 577,
"end": 578,
"loc": {
"start": {
"line": 15,
"column": 11
},
"end": {
"line": 15,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 579,
"end": 580,
"loc": {
"start": {
"line": 15,
"column": 13
},
"end": {
"line": 15,
"column": 14
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 581,
"end": 582,
"loc": {
"start": {
"line": 15,
"column": 15
},
"end": {
"line": 15,
"column": 16
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 582,
"end": 583,
"loc": {
"start": {
"line": 15,
"column": 16
},
"end": {
"line": 15,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 584,
"end": 585,
"loc": {
"start": {
"line": 15,
"column": 18
},
"end": {
"line": 15,
"column": 19
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 586,
"end": 587,
"loc": {
"start": {
"line": 15,
"column": 20
},
"end": {
"line": 15,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 588,
"end": 591,
"loc": {
"start": {
"line": 15,
"column": 22
},
"end": {
"line": 15,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 591,
"end": 592,
"loc": {
"start": {
"line": 15,
"column": 25
},
"end": {
"line": 15,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 593,
"end": 594,
"loc": {
"start": {
"line": 15,
"column": 27
},
"end": {
"line": 15,
"column": 28
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 594,
"end": 596,
"loc": {
"start": {
"line": 15,
"column": 28
},
"end": {
"line": 15,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 596,
"end": 597,
"loc": {
"start": {
"line": 15,
"column": 30
},
"end": {
"line": 15,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 598,
"end": 599,
"loc": {
"start": {
"line": 15,
"column": 32
},
"end": {
"line": 15,
"column": 33
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 604,
"end": 607,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 608,
"end": 612,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 613,
"end": 614,
"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": "decoder",
"start": 615,
"end": 622,
"loc": {
"start": {
"line": 16,
"column": 15
},
"end": {
"line": 16,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 622,
"end": 623,
"loc": {
"start": {
"line": 16,
"column": 22
},
"end": {
"line": 16,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readVarUint",
"start": 623,
"end": 634,
"loc": {
"start": {
"line": 16,
"column": 23
},
"end": {
"line": 16,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 634,
"end": 635,
"loc": {
"start": {
"line": 16,
"column": 34
},
"end": {
"line": 16,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 635,
"end": 636,
"loc": {
"start": {
"line": 16,
"column": 35
},
"end": {
"line": 16,
"column": 36
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 641,
"end": 644,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 645,
"end": 650,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 651,
"end": 652,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 653,
"end": 660,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 660,
"end": 661,
"loc": {
"start": {
"line": 17,
"column": 23
},
"end": {
"line": 17,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readVarUint",
"start": 661,
"end": 672,
"loc": {
"start": {
"line": 17,
"column": 24
},
"end": {
"line": 17,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 672,
"end": 673,
"loc": {
"start": {
"line": 17,
"column": 35
},
"end": {
"line": 17,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 673,
"end": 674,
"loc": {
"start": {
"line": 17,
"column": 36
},
"end": {
"line": 17,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ssBuilder",
"start": 679,
"end": 688,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 13
}
}
},
{
"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": 18,
"column": 13
},
"end": {
"line": 18,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 689,
"end": 693,
"loc": {
"start": {
"line": 18,
"column": 14
},
"end": {
"line": 18,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 693,
"end": 694,
"loc": {
"start": {
"line": 18,
"column": 18
},
"end": {
"line": 18,
"column": 19
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 694,
"end": 695,
"loc": {
"start": {
"line": 18,
"column": 19
},
"end": {
"line": 18,
"column": 20
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "(",
"start": 695,
"end": 696,
"loc": {
"start": {
"line": 18,
"column": 20
},
"end": {
"line": 18,
"column": 21
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 696,
"end": 698,
"loc": {
"start": {
"line": 18,
"column": 21
},
"end": {
"line": 18,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 698,
"end": 702,
"loc": {
"start": {
"line": 18,
"column": 23
},
"end": {
"line": 18,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 702,
"end": 703,
"loc": {
"start": {
"line": 18,
"column": 27
},
"end": {
"line": 18,
"column": 28
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ":",
"start": 703,
"end": 704,
"loc": {
"start": {
"line": 18,
"column": 28
},
"end": {
"line": 18,
"column": 29
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 704,
"end": 706,
"loc": {
"start": {
"line": 18,
"column": 29
},
"end": {
"line": 18,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 706,
"end": 711,
"loc": {
"start": {
"line": 18,
"column": 31
},
"end": {
"line": 18,
"column": 36
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 711,
"end": 712,
"loc": {
"start": {
"line": 18,
"column": 36
},
"end": {
"line": 18,
"column": 37
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ")",
"start": 712,
"end": 713,
"loc": {
"start": {
"line": 18,
"column": 37
},
"end": {
"line": 18,
"column": 38
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 713,
"end": 714,
"loc": {
"start": {
"line": 18,
"column": 38
},
"end": {
"line": 18,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 714,
"end": 715,
"loc": {
"start": {
"line": 18,
"column": 39
},
"end": {
"line": 18,
"column": 40
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 718,
"end": 719,
"loc": {
"start": {
"line": 19,
"column": 2
},
"end": {
"line": 19,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "strBuilder",
"start": 722,
"end": 732,
"loc": {
"start": {
"line": 20,
"column": 2
},
"end": {
"line": 20,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 732,
"end": 733,
"loc": {
"start": {
"line": 20,
"column": 12
},
"end": {
"line": 20,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 733,
"end": 737,
"loc": {
"start": {
"line": 20,
"column": 13
},
"end": {
"line": 20,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 737,
"end": 738,
"loc": {
"start": {
"line": 20,
"column": 17
},
"end": {
"line": 20,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": " == SS: ",
"start": 738,
"end": 749,
"loc": {
"start": {
"line": 20,
"column": 18
},
"end": {
"line": 20,
"column": 29
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 750,
"end": 751,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ssBuilder",
"start": 752,
"end": 761,
"loc": {
"start": {
"line": 20,
"column": 32
},
"end": {
"line": 20,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 761,
"end": 762,
"loc": {
"start": {
"line": 20,
"column": 41
},
"end": {
"line": 20,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "join",
"start": 762,
"end": 766,
"loc": {
"start": {
"line": 20,
"column": 42
},
"end": {
"line": 20,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 766,
"end": 767,
"loc": {
"start": {
"line": 20,
"column": 46
},
"end": {
"line": 20,
"column": 47
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ",",
"start": 767,
"end": 770,
"loc": {
"start": {
"line": 20,
"column": 47
},
"end": {
"line": 20,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 770,
"end": 771,
"loc": {
"start": {
"line": 20,
"column": 50
},
"end": {
"line": 20,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 771,
"end": 772,
"loc": {
"start": {
"line": 20,
"column": 51
},
"end": {
"line": 20,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 773,
"end": 774,
"loc": {
"start": {
"line": 21,
"column": 0
},
"end": {
"line": 21,
"column": 1
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 776,
"end": 782,
"loc": {
"start": {
"line": 23,
"column": 0
},
"end": {
"line": 23,
"column": 6
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 783,
"end": 791,
"loc": {
"start": {
"line": 23,
"column": 7
},
"end": {
"line": 23,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sendSyncStep1",
"start": 792,
"end": 805,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 806,
"end": 807,
"loc": {
"start": {
"line": 23,
"column": 30
},
"end": {
"line": 23,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connector",
"start": 807,
"end": 816,
"loc": {
"start": {
"line": 23,
"column": 31
},
"end": {
"line": 23,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 816,
"end": 817,
"loc": {
"start": {
"line": 23,
"column": 40
},
"end": {
"line": 23,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "syncUser",
"start": 818,
"end": 826,
"loc": {
"start": {
"line": 23,
"column": 42
},
"end": {
"line": 23,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 826,
"end": 827,
"loc": {
"start": {
"line": 23,
"column": 50
},
"end": {
"line": 23,
"column": 51
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 828,
"end": 829,
"loc": {
"start": {
"line": 23,
"column": 52
},
"end": {
"line": 23,
"column": 53
}
}
},
{
"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": 832,
"end": 835,
"loc": {
"start": {
"line": 24,
"column": 2
},
"end": {
"line": 24,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 836,
"end": 843,
"loc": {
"start": {
"line": 24,
"column": 6
},
"end": {
"line": 24,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 844,
"end": 845,
"loc": {
"start": {
"line": 24,
"column": 14
},
"end": {
"line": 24,
"column": 15
}
}
},
{
"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": 846,
"end": 849,
"loc": {
"start": {
"line": 24,
"column": 16
},
"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": "BinaryEncoder",
"start": 850,
"end": 863,
"loc": {
"start": {
"line": 24,
"column": 20
},
"end": {
"line": 24,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 863,
"end": 864,
"loc": {
"start": {
"line": 24,
"column": 33
},
"end": {
"line": 24,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 864,
"end": 865,
"loc": {
"start": {
"line": 24,
"column": 34
},
"end": {
"line": 24,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 868,
"end": 875,
"loc": {
"start": {
"line": 25,
"column": 2
},
"end": {
"line": 25,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 875,
"end": 876,
"loc": {
"start": {
"line": 25,
"column": 9
},
"end": {
"line": 25,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeVarString",
"start": 876,
"end": 890,
"loc": {
"start": {
"line": 25,
"column": 10
},
"end": {
"line": 25,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 890,
"end": 891,
"loc": {
"start": {
"line": 25,
"column": 24
},
"end": {
"line": 25,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connector",
"start": 891,
"end": 900,
"loc": {
"start": {
"line": 25,
"column": 25
},
"end": {
"line": 25,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 900,
"end": 901,
"loc": {
"start": {
"line": 25,
"column": 34
},
"end": {
"line": 25,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 901,
"end": 902,
"loc": {
"start": {
"line": 25,
"column": 35
},
"end": {
"line": 25,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 902,
"end": 903,
"loc": {
"start": {
"line": 25,
"column": 36
},
"end": {
"line": 25,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "room",
"start": 903,
"end": 907,
"loc": {
"start": {
"line": 25,
"column": 37
},
"end": {
"line": 25,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 907,
"end": 908,
"loc": {
"start": {
"line": 25,
"column": 41
},
"end": {
"line": 25,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 911,
"end": 918,
"loc": {
"start": {
"line": 26,
"column": 2
},
"end": {
"line": 26,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 918,
"end": 919,
"loc": {
"start": {
"line": 26,
"column": 9
},
"end": {
"line": 26,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeVarString",
"start": 919,
"end": 933,
"loc": {
"start": {
"line": 26,
"column": 10
},
"end": {
"line": 26,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 933,
"end": 934,
"loc": {
"start": {
"line": 26,
"column": 24
},
"end": {
"line": 26,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "sync step 1",
"start": 934,
"end": 947,
"loc": {
"start": {
"line": 26,
"column": 25
},
"end": {
"line": 26,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 947,
"end": 948,
"loc": {
"start": {
"line": 26,
"column": 38
},
"end": {
"line": 26,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 951,
"end": 958,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 27,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 958,
"end": 959,
"loc": {
"start": {
"line": 27,
"column": 9
},
"end": {
"line": 27,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeVarString",
"start": 959,
"end": 973,
"loc": {
"start": {
"line": 27,
"column": 10
},
"end": {
"line": 27,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 973,
"end": 974,
"loc": {
"start": {
"line": 27,
"column": 24
},
"end": {
"line": 27,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connector",
"start": 974,
"end": 983,
"loc": {
"start": {
"line": 27,
"column": 25
},
"end": {
"line": 27,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 983,
"end": 984,
"loc": {
"start": {
"line": 27,
"column": 34
},
"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": "authInfo",
"start": 984,
"end": 992,
"loc": {
"start": {
"line": 27,
"column": 35
},
"end": {
"line": 27,
"column": 43
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 993,
"end": 995,
"loc": {
"start": {
"line": 27,
"column": 44
},
"end": {
"line": 27,
"column": 46
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "",
"start": 996,
"end": 998,
"loc": {
"start": {
"line": 27,
"column": 47
},
"end": {
"line": 27,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 998,
"end": 999,
"loc": {
"start": {
"line": 27,
"column": 49
},
"end": {
"line": 27,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1002,
"end": 1009,
"loc": {
"start": {
"line": 28,
"column": 2
},
"end": {
"line": 28,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1009,
"end": 1010,
"loc": {
"start": {
"line": 28,
"column": 9
},
"end": {
"line": 28,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeVarUint",
"start": 1010,
"end": 1022,
"loc": {
"start": {
"line": 28,
"column": 10
},
"end": {
"line": 28,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1022,
"end": 1023,
"loc": {
"start": {
"line": 28,
"column": 22
},
"end": {
"line": 28,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connector",
"start": 1023,
"end": 1032,
"loc": {
"start": {
"line": 28,
"column": 23
},
"end": {
"line": 28,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1032,
"end": 1033,
"loc": {
"start": {
"line": 28,
"column": 32
},
"end": {
"line": 28,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "protocolVersion",
"start": 1033,
"end": 1048,
"loc": {
"start": {
"line": 28,
"column": 33
},
"end": {
"line": 28,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1048,
"end": 1049,
"loc": {
"start": {
"line": 28,
"column": 48
},
"end": {
"line": 28,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeStateSet",
"start": 1052,
"end": 1065,
"loc": {
"start": {
"line": 29,
"column": 2
},
"end": {
"line": 29,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1065,
"end": 1066,
"loc": {
"start": {
"line": 29,
"column": 15
},
"end": {
"line": 29,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connector",
"start": 1066,
"end": 1075,
"loc": {
"start": {
"line": 29,
"column": 16
},
"end": {
"line": 29,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1075,
"end": 1076,
"loc": {
"start": {
"line": 29,
"column": 25
},
"end": {
"line": 29,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1076,
"end": 1077,
"loc": {
"start": {
"line": 29,
"column": 26
},
"end": {
"line": 29,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1077,
"end": 1078,
"loc": {
"start": {
"line": 29,
"column": 27
},
"end": {
"line": 29,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1079,
"end": 1086,
"loc": {
"start": {
"line": 29,
"column": 29
},
"end": {
"line": 29,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1086,
"end": 1087,
"loc": {
"start": {
"line": 29,
"column": 36
},
"end": {
"line": 29,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connector",
"start": 1090,
"end": 1099,
"loc": {
"start": {
"line": 30,
"column": 2
},
"end": {
"line": 30,
"column": 11
}
}
},
{
"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": 30,
"column": 11
},
"end": {
"line": 30,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "send",
"start": 1100,
"end": 1104,
"loc": {
"start": {
"line": 30,
"column": 12
},
"end": {
"line": 30,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1104,
"end": 1105,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "syncUser",
"start": 1105,
"end": 1113,
"loc": {
"start": {
"line": 30,
"column": 17
},
"end": {
"line": 30,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1113,
"end": 1114,
"loc": {
"start": {
"line": 30,
"column": 25
},
"end": {
"line": 30,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1115,
"end": 1122,
"loc": {
"start": {
"line": 30,
"column": 27
},
"end": {
"line": 30,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1122,
"end": 1123,
"loc": {
"start": {
"line": 30,
"column": 34
},
"end": {
"line": 30,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createBuffer",
"start": 1123,
"end": 1135,
"loc": {
"start": {
"line": 30,
"column": 35
},
"end": {
"line": 30,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1135,
"end": 1136,
"loc": {
"start": {
"line": 30,
"column": 47
},
"end": {
"line": 30,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1136,
"end": 1137,
"loc": {
"start": {
"line": 30,
"column": 48
},
"end": {
"line": 30,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1137,
"end": 1138,
"loc": {
"start": {
"line": 30,
"column": 49
},
"end": {
"line": 30,
"column": 50
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1139,
"end": 1140,
"loc": {
"start": {
"line": 31,
"column": 0
},
"end": {
"line": 31,
"column": 1
}
}
},
{
"type": "CommentBlock",
"value": "*\n * @private\n * Write all Items that are not not included in ss to\n * the encoder object.\n ",
"start": 1142,
"end": 1238,
"loc": {
"start": {
"line": 33,
"column": 0
},
"end": {
"line": 37,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 1239,
"end": 1245,
"loc": {
"start": {
"line": 38,
"column": 0
},
"end": {
"line": 38,
"column": 6
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 1246,
"end": 1254,
"loc": {
"start": {
"line": 38,
"column": 7
},
"end": {
"line": 38,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeStructs",
"start": 1255,
"end": 1267,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1268,
"end": 1269,
"loc": {
"start": {
"line": 38,
"column": 29
},
"end": {
"line": 38,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1269,
"end": 1270,
"loc": {
"start": {
"line": 38,
"column": 30
},
"end": {
"line": 38,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1270,
"end": 1271,
"loc": {
"start": {
"line": 38,
"column": 31
},
"end": {
"line": 38,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1272,
"end": 1279,
"loc": {
"start": {
"line": 38,
"column": 33
},
"end": {
"line": 38,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1279,
"end": 1280,
"loc": {
"start": {
"line": 38,
"column": 40
},
"end": {
"line": 38,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ss",
"start": 1281,
"end": 1283,
"loc": {
"start": {
"line": 38,
"column": 42
},
"end": {
"line": 38,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1283,
"end": 1284,
"loc": {
"start": {
"line": 38,
"column": 44
},
"end": {
"line": 38,
"column": 45
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1285,
"end": 1286,
"loc": {
"start": {
"line": 38,
"column": 46
},
"end": {
"line": 38,
"column": 47
}
}
},
{
"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": 1289,
"end": 1294,
"loc": {
"start": {
"line": 39,
"column": 2
},
"end": {
"line": 39,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lenPos",
"start": 1295,
"end": 1301,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1302,
"end": 1303,
"loc": {
"start": {
"line": 39,
"column": 15
},
"end": {
"line": 39,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1304,
"end": 1311,
"loc": {
"start": {
"line": 39,
"column": 17
},
"end": {
"line": 39,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1311,
"end": 1312,
"loc": {
"start": {
"line": 39,
"column": 24
},
"end": {
"line": 39,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pos",
"start": 1312,
"end": 1315,
"loc": {
"start": {
"line": 39,
"column": 25
},
"end": {
"line": 39,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1318,
"end": 1325,
"loc": {
"start": {
"line": 40,
"column": 2
},
"end": {
"line": 40,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1325,
"end": 1326,
"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": "writeUint32",
"start": 1326,
"end": 1337,
"loc": {
"start": {
"line": 40,
"column": 10
},
"end": {
"line": 40,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1337,
"end": 1338,
"loc": {
"start": {
"line": 40,
"column": 21
},
"end": {
"line": 40,
"column": 22
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1338,
"end": 1339,
"loc": {
"start": {
"line": 40,
"column": 22
},
"end": {
"line": 40,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1339,
"end": 1340,
"loc": {
"start": {
"line": 40,
"column": 23
},
"end": {
"line": 40,
"column": 24
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 1343,
"end": 1346,
"loc": {
"start": {
"line": 41,
"column": 2
},
"end": {
"line": 41,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 1347,
"end": 1350,
"loc": {
"start": {
"line": 41,
"column": 6
},
"end": {
"line": 41,
"column": 9
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1351,
"end": 1352,
"loc": {
"start": {
"line": 41,
"column": 10
},
"end": {
"line": 41,
"column": 11
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1353,
"end": 1354,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 13
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 1357,
"end": 1360,
"loc": {
"start": {
"line": 42,
"column": 2
},
"end": {
"line": 42,
"column": 5
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1361,
"end": 1362,
"loc": {
"start": {
"line": 42,
"column": 6
},
"end": {
"line": 42,
"column": 7
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 1362,
"end": 1365,
"loc": {
"start": {
"line": 42,
"column": 7
},
"end": {
"line": 42,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 1366,
"end": 1370,
"loc": {
"start": {
"line": 42,
"column": 11
},
"end": {
"line": 42,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "of",
"start": 1371,
"end": 1373,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1374,
"end": 1375,
"loc": {
"start": {
"line": 42,
"column": 19
},
"end": {
"line": 42,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1375,
"end": 1376,
"loc": {
"start": {
"line": 42,
"column": 20
},
"end": {
"line": 42,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ss",
"start": 1376,
"end": 1378,
"loc": {
"start": {
"line": 42,
"column": 21
},
"end": {
"line": 42,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1378,
"end": 1379,
"loc": {
"start": {
"line": 42,
"column": 23
},
"end": {
"line": 42,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "state",
"start": 1379,
"end": 1384,
"loc": {
"start": {
"line": 42,
"column": 24
},
"end": {
"line": 42,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1384,
"end": 1385,
"loc": {
"start": {
"line": 42,
"column": 29
},
"end": {
"line": 42,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "keys",
"start": 1385,
"end": 1389,
"loc": {
"start": {
"line": 42,
"column": 30
},
"end": {
"line": 42,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1389,
"end": 1390,
"loc": {
"start": {
"line": 42,
"column": 34
},
"end": {
"line": 42,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1390,
"end": 1391,
"loc": {
"start": {
"line": 42,
"column": 35
},
"end": {
"line": 42,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1391,
"end": 1392,
"loc": {
"start": {
"line": 42,
"column": 36
},
"end": {
"line": 42,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1393,
"end": 1394,
"loc": {
"start": {
"line": 42,
"column": 38
},
"end": {
"line": 42,
"column": 39
}
}
},
{
"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": 1399,
"end": 1402,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 1403,
"end": 1408,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1409,
"end": 1410,
"loc": {
"start": {
"line": 43,
"column": 14
},
"end": {
"line": 43,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ss",
"start": 1411,
"end": 1413,
"loc": {
"start": {
"line": 43,
"column": 16
},
"end": {
"line": 43,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1413,
"end": 1414,
"loc": {
"start": {
"line": 43,
"column": 18
},
"end": {
"line": 43,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 1414,
"end": 1417,
"loc": {
"start": {
"line": 43,
"column": 19
},
"end": {
"line": 43,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1417,
"end": 1418,
"loc": {
"start": {
"line": 43,
"column": 22
},
"end": {
"line": 43,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 1418,
"end": 1422,
"loc": {
"start": {
"line": 43,
"column": 23
},
"end": {
"line": 43,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1422,
"end": 1423,
"loc": {
"start": {
"line": 43,
"column": 27
},
"end": {
"line": 43,
"column": 28
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1424,
"end": 1426,
"loc": {
"start": {
"line": 43,
"column": 29
},
"end": {
"line": 43,
"column": 31
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1427,
"end": 1428,
"loc": {
"start": {
"line": 43,
"column": 32
},
"end": {
"line": 43,
"column": 33
}
}
},
{
"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": 1433,
"end": 1435,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1436,
"end": 1437,
"loc": {
"start": {
"line": 44,
"column": 7
},
"end": {
"line": 44,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 1437,
"end": 1441,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 12
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 1442,
"end": 1445,
"loc": {
"start": {
"line": 44,
"column": 13
},
"end": {
"line": 44,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "RootFakeUserID",
"start": 1446,
"end": 1460,
"loc": {
"start": {
"line": 44,
"column": 17
},
"end": {
"line": 44,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1460,
"end": 1461,
"loc": {
"start": {
"line": 44,
"column": 31
},
"end": {
"line": 44,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1462,
"end": 1463,
"loc": {
"start": {
"line": 44,
"column": 33
},
"end": {
"line": 44,
"column": 34
}
}
},
{
"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": 1470,
"end": 1475,
"loc": {
"start": {
"line": 45,
"column": 6
},
"end": {
"line": 45,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minBound",
"start": 1476,
"end": 1484,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1485,
"end": 1486,
"loc": {
"start": {
"line": 45,
"column": 21
},
"end": {
"line": 45,
"column": 22
}
}
},
{
"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": 1487,
"end": 1490,
"loc": {
"start": {
"line": 45,
"column": 23
},
"end": {
"line": 45,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ID",
"start": 1491,
"end": 1493,
"loc": {
"start": {
"line": 45,
"column": 27
},
"end": {
"line": 45,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1493,
"end": 1494,
"loc": {
"start": {
"line": 45,
"column": 29
},
"end": {
"line": 45,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 1494,
"end": 1498,
"loc": {
"start": {
"line": 45,
"column": 30
},
"end": {
"line": 45,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1498,
"end": 1499,
"loc": {
"start": {
"line": 45,
"column": 34
},
"end": {
"line": 45,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 1500,
"end": 1505,
"loc": {
"start": {
"line": 45,
"column": 36
},
"end": {
"line": 45,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1505,
"end": 1506,
"loc": {
"start": {
"line": 45,
"column": 41
},
"end": {
"line": 45,
"column": 42
}
}
},
{
"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": 1513,
"end": 1518,
"loc": {
"start": {
"line": 46,
"column": 6
},
"end": {
"line": 46,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "overlappingLeft",
"start": 1519,
"end": 1534,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1535,
"end": 1536,
"loc": {
"start": {
"line": 46,
"column": 28
},
"end": {
"line": 46,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1537,
"end": 1538,
"loc": {
"start": {
"line": 46,
"column": 30
},
"end": {
"line": 46,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1538,
"end": 1539,
"loc": {
"start": {
"line": 46,
"column": 31
},
"end": {
"line": 46,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "os",
"start": 1539,
"end": 1541,
"loc": {
"start": {
"line": 46,
"column": 32
},
"end": {
"line": 46,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1541,
"end": 1542,
"loc": {
"start": {
"line": 46,
"column": 34
},
"end": {
"line": 46,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "findPrev",
"start": 1542,
"end": 1550,
"loc": {
"start": {
"line": 46,
"column": 35
},
"end": {
"line": 46,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1550,
"end": 1551,
"loc": {
"start": {
"line": 46,
"column": 43
},
"end": {
"line": 46,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minBound",
"start": 1551,
"end": 1559,
"loc": {
"start": {
"line": 46,
"column": 44
},
"end": {
"line": 46,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1559,
"end": 1560,
"loc": {
"start": {
"line": 46,
"column": 52
},
"end": {
"line": 46,
"column": 53
}
}
},
{
"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": 1567,
"end": 1572,
"loc": {
"start": {
"line": 47,
"column": 6
},
"end": {
"line": 47,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rightID",
"start": 1573,
"end": 1580,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1581,
"end": 1582,
"loc": {
"start": {
"line": 47,
"column": 20
},
"end": {
"line": 47,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "overlappingLeft",
"start": 1583,
"end": 1598,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 47,
"column": 37
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 1599,
"end": 1602,
"loc": {
"start": {
"line": 47,
"column": 38
},
"end": {
"line": 47,
"column": 41
}
}
},
{
"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": 1603,
"end": 1607,
"loc": {
"start": {
"line": 47,
"column": 42
},
"end": {
"line": 47,
"column": 46
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1608,
"end": 1609,
"loc": {
"start": {
"line": 47,
"column": 47
},
"end": {
"line": 47,
"column": 48
}
}
},
{
"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": 1610,
"end": 1614,
"loc": {
"start": {
"line": 47,
"column": 49
},
"end": {
"line": 47,
"column": 53
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1615,
"end": 1616,
"loc": {
"start": {
"line": 47,
"column": 54
},
"end": {
"line": 47,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "overlappingLeft",
"start": 1617,
"end": 1632,
"loc": {
"start": {
"line": 47,
"column": 56
},
"end": {
"line": 47,
"column": 71
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1632,
"end": 1633,
"loc": {
"start": {
"line": 47,
"column": 71
},
"end": {
"line": 47,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 1633,
"end": 1636,
"loc": {
"start": {
"line": 47,
"column": 72
},
"end": {
"line": 47,
"column": 75
}
}
},
{
"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": 1643,
"end": 1645,
"loc": {
"start": {
"line": 48,
"column": 6
},
"end": {
"line": 48,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1646,
"end": 1647,
"loc": {
"start": {
"line": 48,
"column": 9
},
"end": {
"line": 48,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rightID",
"start": 1647,
"end": 1654,
"loc": {
"start": {
"line": 48,
"column": 10
},
"end": {
"line": 48,
"column": 17
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 1655,
"end": 1658,
"loc": {
"start": {
"line": 48,
"column": 18
},
"end": {
"line": 48,
"column": 21
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1659,
"end": 1663,
"loc": {
"start": {
"line": 48,
"column": 22
},
"end": {
"line": 48,
"column": 26
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 1664,
"end": 1666,
"loc": {
"start": {
"line": 48,
"column": 27
},
"end": {
"line": 48,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rightID",
"start": 1667,
"end": 1674,
"loc": {
"start": {
"line": 48,
"column": 30
},
"end": {
"line": 48,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1674,
"end": 1675,
"loc": {
"start": {
"line": 48,
"column": 37
},
"end": {
"line": 48,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 1675,
"end": 1679,
"loc": {
"start": {
"line": 48,
"column": 38
},
"end": {
"line": 48,
"column": 42
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 1680,
"end": 1683,
"loc": {
"start": {
"line": 48,
"column": 43
},
"end": {
"line": 48,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 1684,
"end": 1688,
"loc": {
"start": {
"line": 48,
"column": 47
},
"end": {
"line": 48,
"column": 51
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 1689,
"end": 1691,
"loc": {
"start": {
"line": 48,
"column": 52
},
"end": {
"line": 48,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rightID",
"start": 1692,
"end": 1699,
"loc": {
"start": {
"line": 48,
"column": 55
},
"end": {
"line": 48,
"column": 62
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1699,
"end": 1700,
"loc": {
"start": {
"line": 48,
"column": 62
},
"end": {
"line": 48,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 1700,
"end": 1705,
"loc": {
"start": {
"line": 48,
"column": 63
},
"end": {
"line": 48,
"column": 68
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 1706,
"end": 1707,
"loc": {
"start": {
"line": 48,
"column": 69
},
"end": {
"line": 48,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "overlappingLeft",
"start": 1708,
"end": 1723,
"loc": {
"start": {
"line": 48,
"column": 71
},
"end": {
"line": 48,
"column": 86
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1723,
"end": 1724,
"loc": {
"start": {
"line": 48,
"column": 86
},
"end": {
"line": 48,
"column": 87
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 1724,
"end": 1731,
"loc": {
"start": {
"line": 48,
"column": 87
},
"end": {
"line": 48,
"column": 94
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 1732,
"end": 1733,
"loc": {
"start": {
"line": 48,
"column": 95
},
"end": {
"line": 48,
"column": 96
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 1734,
"end": 1739,
"loc": {
"start": {
"line": 48,
"column": 97
},
"end": {
"line": 48,
"column": 102
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1739,
"end": 1740,
"loc": {
"start": {
"line": 48,
"column": 102
},
"end": {
"line": 48,
"column": 103
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1741,
"end": 1742,
"loc": {
"start": {
"line": 48,
"column": 104
},
"end": {
"line": 48,
"column": 105
}
}
},
{
"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": 1751,
"end": 1756,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 1757,
"end": 1763,
"loc": {
"start": {
"line": 49,
"column": 14
},
"end": {
"line": 49,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1764,
"end": 1765,
"loc": {
"start": {
"line": 49,
"column": 21
},
"end": {
"line": 49,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "overlappingLeft",
"start": 1766,
"end": 1781,
"loc": {
"start": {
"line": 49,
"column": 23
},
"end": {
"line": 49,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1781,
"end": 1782,
"loc": {
"start": {
"line": 49,
"column": 38
},
"end": {
"line": 49,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_clonePartial",
"start": 1782,
"end": 1795,
"loc": {
"start": {
"line": 49,
"column": 39
},
"end": {
"line": 49,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1795,
"end": 1796,
"loc": {
"start": {
"line": 49,
"column": 52
},
"end": {
"line": 49,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 1796,
"end": 1801,
"loc": {
"start": {
"line": 49,
"column": 53
},
"end": {
"line": 49,
"column": 58
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 1802,
"end": 1803,
"loc": {
"start": {
"line": 49,
"column": 59
},
"end": {
"line": 49,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rightID",
"start": 1804,
"end": 1811,
"loc": {
"start": {
"line": 49,
"column": 61
},
"end": {
"line": 49,
"column": 68
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1811,
"end": 1812,
"loc": {
"start": {
"line": 49,
"column": 68
},
"end": {
"line": 49,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 1812,
"end": 1817,
"loc": {
"start": {
"line": 49,
"column": 69
},
"end": {
"line": 49,
"column": 74
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1817,
"end": 1818,
"loc": {
"start": {
"line": 49,
"column": 74
},
"end": {
"line": 49,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 1827,
"end": 1833,
"loc": {
"start": {
"line": 50,
"column": 8
},
"end": {
"line": 50,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1833,
"end": 1834,
"loc": {
"start": {
"line": 50,
"column": 14
},
"end": {
"line": 50,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_toBinary",
"start": 1834,
"end": 1843,
"loc": {
"start": {
"line": 50,
"column": 15
},
"end": {
"line": 50,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1843,
"end": 1844,
"loc": {
"start": {
"line": 50,
"column": 24
},
"end": {
"line": 50,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1844,
"end": 1851,
"loc": {
"start": {
"line": 50,
"column": 25
},
"end": {
"line": 50,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1851,
"end": 1852,
"loc": {
"start": {
"line": 50,
"column": 32
},
"end": {
"line": 50,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 1861,
"end": 1864,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 11
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 1864,
"end": 1866,
"loc": {
"start": {
"line": 51,
"column": 11
},
"end": {
"line": 51,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1873,
"end": 1874,
"loc": {
"start": {
"line": 52,
"column": 6
},
"end": {
"line": 52,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1881,
"end": 1882,
"loc": {
"start": {
"line": 53,
"column": 6
},
"end": {
"line": 53,
"column": 7
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1882,
"end": 1883,
"loc": {
"start": {
"line": 53,
"column": 7
},
"end": {
"line": 53,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "os",
"start": 1883,
"end": 1885,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1885,
"end": 1886,
"loc": {
"start": {
"line": 53,
"column": 10
},
"end": {
"line": 53,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "iterate",
"start": 1886,
"end": 1893,
"loc": {
"start": {
"line": 53,
"column": 11
},
"end": {
"line": 53,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1893,
"end": 1894,
"loc": {
"start": {
"line": 53,
"column": 18
},
"end": {
"line": 53,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "minBound",
"start": 1894,
"end": 1902,
"loc": {
"start": {
"line": 53,
"column": 19
},
"end": {
"line": 53,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1902,
"end": 1903,
"loc": {
"start": {
"line": 53,
"column": 27
},
"end": {
"line": 53,
"column": 28
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 1904,
"end": 1907,
"loc": {
"start": {
"line": 53,
"column": 29
},
"end": {
"line": 53,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ID",
"start": 1908,
"end": 1910,
"loc": {
"start": {
"line": 53,
"column": 33
},
"end": {
"line": 53,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1910,
"end": 1911,
"loc": {
"start": {
"line": 53,
"column": 35
},
"end": {
"line": 53,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 1911,
"end": 1915,
"loc": {
"start": {
"line": 53,
"column": 36
},
"end": {
"line": 53,
"column": 40
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1915,
"end": 1916,
"loc": {
"start": {
"line": 53,
"column": 40
},
"end": {
"line": 53,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Number",
"start": 1917,
"end": 1923,
"loc": {
"start": {
"line": 53,
"column": 42
},
"end": {
"line": 53,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1923,
"end": 1924,
"loc": {
"start": {
"line": 53,
"column": 48
},
"end": {
"line": 53,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "MAX_VALUE",
"start": 1924,
"end": 1933,
"loc": {
"start": {
"line": 53,
"column": 49
},
"end": {
"line": 53,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1933,
"end": 1934,
"loc": {
"start": {
"line": 53,
"column": 58
},
"end": {
"line": 53,
"column": 59
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1934,
"end": 1935,
"loc": {
"start": {
"line": 53,
"column": 59
},
"end": {
"line": 53,
"column": 60
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 1936,
"end": 1944,
"loc": {
"start": {
"line": 53,
"column": 61
},
"end": {
"line": 53,
"column": 69
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1945,
"end": 1946,
"loc": {
"start": {
"line": 53,
"column": 70
},
"end": {
"line": 53,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 1946,
"end": 1952,
"loc": {
"start": {
"line": 53,
"column": 71
},
"end": {
"line": 53,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1952,
"end": 1953,
"loc": {
"start": {
"line": 53,
"column": 77
},
"end": {
"line": 53,
"column": 78
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1954,
"end": 1955,
"loc": {
"start": {
"line": 53,
"column": 79
},
"end": {
"line": 53,
"column": 80
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 1964,
"end": 1970,
"loc": {
"start": {
"line": 54,
"column": 8
},
"end": {
"line": 54,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1970,
"end": 1971,
"loc": {
"start": {
"line": 54,
"column": 14
},
"end": {
"line": 54,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_toBinary",
"start": 1971,
"end": 1980,
"loc": {
"start": {
"line": 54,
"column": 15
},
"end": {
"line": 54,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1980,
"end": 1981,
"loc": {
"start": {
"line": 54,
"column": 24
},
"end": {
"line": 54,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 1981,
"end": 1988,
"loc": {
"start": {
"line": 54,
"column": 25
},
"end": {
"line": 54,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1988,
"end": 1989,
"loc": {
"start": {
"line": 54,
"column": 32
},
"end": {
"line": 54,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 1998,
"end": 2001,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 11
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 2001,
"end": 2003,
"loc": {
"start": {
"line": 55,
"column": 11
},
"end": {
"line": 55,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2010,
"end": 2011,
"loc": {
"start": {
"line": 56,
"column": 6
},
"end": {
"line": 56,
"column": 7
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2011,
"end": 2012,
"loc": {
"start": {
"line": 56,
"column": 7
},
"end": {
"line": 56,
"column": 8
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2017,
"end": 2018,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 57,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2021,
"end": 2022,
"loc": {
"start": {
"line": 58,
"column": 2
},
"end": {
"line": 58,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 2025,
"end": 2032,
"loc": {
"start": {
"line": 59,
"column": 2
},
"end": {
"line": 59,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2032,
"end": 2033,
"loc": {
"start": {
"line": 59,
"column": 9
},
"end": {
"line": 59,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setUint32",
"start": 2033,
"end": 2042,
"loc": {
"start": {
"line": 59,
"column": 10
},
"end": {
"line": 59,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2042,
"end": 2043,
"loc": {
"start": {
"line": 59,
"column": 19
},
"end": {
"line": 59,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lenPos",
"start": 2043,
"end": 2049,
"loc": {
"start": {
"line": 59,
"column": 20
},
"end": {
"line": 59,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2049,
"end": 2050,
"loc": {
"start": {
"line": 59,
"column": 26
},
"end": {
"line": 59,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 2051,
"end": 2054,
"loc": {
"start": {
"line": 59,
"column": 28
},
"end": {
"line": 59,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2054,
"end": 2055,
"loc": {
"start": {
"line": 59,
"column": 31
},
"end": {
"line": 59,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2056,
"end": 2057,
"loc": {
"start": {
"line": 60,
"column": 0
},
"end": {
"line": 60,
"column": 1
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 2059,
"end": 2065,
"loc": {
"start": {
"line": 62,
"column": 0
},
"end": {
"line": 62,
"column": 6
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 2066,
"end": 2074,
"loc": {
"start": {
"line": 62,
"column": 7
},
"end": {
"line": 62,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readSyncStep1",
"start": 2075,
"end": 2088,
"loc": {
"start": {
"line": 62,
"column": 16
},
"end": {
"line": 62,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2089,
"end": 2090,
"loc": {
"start": {
"line": 62,
"column": 30
},
"end": {
"line": 62,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 2090,
"end": 2097,
"loc": {
"start": {
"line": 62,
"column": 31
},
"end": {
"line": 62,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2097,
"end": 2098,
"loc": {
"start": {
"line": 62,
"column": 38
},
"end": {
"line": 62,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 2099,
"end": 2106,
"loc": {
"start": {
"line": 62,
"column": 40
},
"end": {
"line": 62,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2106,
"end": 2107,
"loc": {
"start": {
"line": 62,
"column": 47
},
"end": {
"line": 62,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2108,
"end": 2109,
"loc": {
"start": {
"line": 62,
"column": 49
},
"end": {
"line": 62,
"column": 50
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2109,
"end": 2110,
"loc": {
"start": {
"line": 62,
"column": 50
},
"end": {
"line": 62,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "senderConn",
"start": 2111,
"end": 2121,
"loc": {
"start": {
"line": 62,
"column": 52
},
"end": {
"line": 62,
"column": 62
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2121,
"end": 2122,
"loc": {
"start": {
"line": 62,
"column": 62
},
"end": {
"line": 62,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sender",
"start": 2123,
"end": 2129,
"loc": {
"start": {
"line": 62,
"column": 64
},
"end": {
"line": 62,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2129,
"end": 2130,
"loc": {
"start": {
"line": 62,
"column": 70
},
"end": {
"line": 62,
"column": 71
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2131,
"end": 2132,
"loc": {
"start": {
"line": 62,
"column": 72
},
"end": {
"line": 62,
"column": 73
}
}
},
{
"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": 2135,
"end": 2138,
"loc": {
"start": {
"line": 63,
"column": 2
},
"end": {
"line": 63,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "protocolVersion",
"start": 2139,
"end": 2154,
"loc": {
"start": {
"line": 63,
"column": 6
},
"end": {
"line": 63,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2155,
"end": 2156,
"loc": {
"start": {
"line": 63,
"column": 22
},
"end": {
"line": 63,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 2157,
"end": 2164,
"loc": {
"start": {
"line": 63,
"column": 24
},
"end": {
"line": 63,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2164,
"end": 2165,
"loc": {
"start": {
"line": 63,
"column": 31
},
"end": {
"line": 63,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readVarUint",
"start": 2165,
"end": 2176,
"loc": {
"start": {
"line": 63,
"column": 32
},
"end": {
"line": 63,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2176,
"end": 2177,
"loc": {
"start": {
"line": 63,
"column": 43
},
"end": {
"line": 63,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2177,
"end": 2178,
"loc": {
"start": {
"line": 63,
"column": 44
},
"end": {
"line": 63,
"column": 45
}
}
},
{
"type": "CommentLine",
"value": " check protocol version",
"start": 2181,
"end": 2206,
"loc": {
"start": {
"line": 64,
"column": 2
},
"end": {
"line": 64,
"column": 27
}
}
},
{
"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": 2209,
"end": 2211,
"loc": {
"start": {
"line": 65,
"column": 2
},
"end": {
"line": 65,
"column": 4
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2212,
"end": 2213,
"loc": {
"start": {
"line": 65,
"column": 5
},
"end": {
"line": 65,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "protocolVersion",
"start": 2213,
"end": 2228,
"loc": {
"start": {
"line": 65,
"column": 6
},
"end": {
"line": 65,
"column": 21
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 2229,
"end": 2232,
"loc": {
"start": {
"line": 65,
"column": 22
},
"end": {
"line": 65,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2233,
"end": 2234,
"loc": {
"start": {
"line": 65,
"column": 26
},
"end": {
"line": 65,
"column": 27
}
}
},
{
"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": 65,
"column": 27
},
"end": {
"line": 65,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connector",
"start": 2235,
"end": 2244,
"loc": {
"start": {
"line": 65,
"column": 28
},
"end": {
"line": 65,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2244,
"end": 2245,
"loc": {
"start": {
"line": 65,
"column": 37
},
"end": {
"line": 65,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "protocolVersion",
"start": 2245,
"end": 2260,
"loc": {
"start": {
"line": 65,
"column": 38
},
"end": {
"line": 65,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2260,
"end": 2261,
"loc": {
"start": {
"line": 65,
"column": 53
},
"end": {
"line": 65,
"column": 54
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2262,
"end": 2263,
"loc": {
"start": {
"line": 65,
"column": 55
},
"end": {
"line": 65,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "console",
"start": 2268,
"end": 2275,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 66,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2275,
"end": 2276,
"loc": {
"start": {
"line": 66,
"column": 11
},
"end": {
"line": 66,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "warn",
"start": 2276,
"end": 2280,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2280,
"end": 2281,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 17
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2288,
"end": 2289,
"loc": {
"start": {
"line": 67,
"column": 6
},
"end": {
"line": 67,
"column": 7
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "You tried to sync with a Yjs instance that has a different protocol version\n (You: ",
"start": 2289,
"end": 2377,
"loc": {
"start": {
"line": 67,
"column": 7
},
"end": {
"line": 68,
"column": 12
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2377,
"end": 2379,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "protocolVersion",
"start": 2379,
"end": 2394,
"loc": {
"start": {
"line": 68,
"column": 14
},
"end": {
"line": 68,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2394,
"end": 2395,
"loc": {
"start": {
"line": 68,
"column": 29
},
"end": {
"line": 68,
"column": 30
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ", Client: ",
"start": 2395,
"end": 2405,
"loc": {
"start": {
"line": 68,
"column": 30
},
"end": {
"line": 68,
"column": 40
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2405,
"end": 2407,
"loc": {
"start": {
"line": 68,
"column": 40
},
"end": {
"line": 68,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "protocolVersion",
"start": 2407,
"end": 2422,
"loc": {
"start": {
"line": 68,
"column": 42
},
"end": {
"line": 68,
"column": 57
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2422,
"end": 2423,
"loc": {
"start": {
"line": 68,
"column": 57
},
"end": {
"line": 68,
"column": 58
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ").\n ",
"start": 2423,
"end": 2432,
"loc": {
"start": {
"line": 68,
"column": 58
},
"end": {
"line": 69,
"column": 6
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2432,
"end": 2433,
"loc": {
"start": {
"line": 69,
"column": 6
},
"end": {
"line": 69,
"column": 7
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2433,
"end": 2434,
"loc": {
"start": {
"line": 69,
"column": 7
},
"end": {
"line": 69,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2439,
"end": 2440,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 70,
"column": 5
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2440,
"end": 2441,
"loc": {
"start": {
"line": 70,
"column": 5
},
"end": {
"line": 70,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destroy",
"start": 2441,
"end": 2448,
"loc": {
"start": {
"line": 70,
"column": 6
},
"end": {
"line": 70,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2448,
"end": 2449,
"loc": {
"start": {
"line": 70,
"column": 13
},
"end": {
"line": 70,
"column": 14
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2449,
"end": 2450,
"loc": {
"start": {
"line": 70,
"column": 14
},
"end": {
"line": 70,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2453,
"end": 2454,
"loc": {
"start": {
"line": 71,
"column": 2
},
"end": {
"line": 71,
"column": 3
}
}
},
{
"type": "CommentLine",
"value": " write sync step 2",
"start": 2457,
"end": 2477,
"loc": {
"start": {
"line": 72,
"column": 2
},
"end": {
"line": 72,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 2480,
"end": 2487,
"loc": {
"start": {
"line": 73,
"column": 2
},
"end": {
"line": 73,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2487,
"end": 2488,
"loc": {
"start": {
"line": 73,
"column": 9
},
"end": {
"line": 73,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeVarString",
"start": 2488,
"end": 2502,
"loc": {
"start": {
"line": 73,
"column": 10
},
"end": {
"line": 73,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2502,
"end": 2503,
"loc": {
"start": {
"line": 73,
"column": 24
},
"end": {
"line": 73,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "sync step 2",
"start": 2503,
"end": 2516,
"loc": {
"start": {
"line": 73,
"column": 25
},
"end": {
"line": 73,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2516,
"end": 2517,
"loc": {
"start": {
"line": 73,
"column": 38
},
"end": {
"line": 73,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 2520,
"end": 2527,
"loc": {
"start": {
"line": 74,
"column": 2
},
"end": {
"line": 74,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2527,
"end": 2528,
"loc": {
"start": {
"line": 74,
"column": 9
},
"end": {
"line": 74,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeVarString",
"start": 2528,
"end": 2542,
"loc": {
"start": {
"line": 74,
"column": 10
},
"end": {
"line": 74,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2542,
"end": 2543,
"loc": {
"start": {
"line": 74,
"column": 24
},
"end": {
"line": 74,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2543,
"end": 2544,
"loc": {
"start": {
"line": 74,
"column": 25
},
"end": {
"line": 74,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2544,
"end": 2545,
"loc": {
"start": {
"line": 74,
"column": 26
},
"end": {
"line": 74,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connector",
"start": 2545,
"end": 2554,
"loc": {
"start": {
"line": 74,
"column": 27
},
"end": {
"line": 74,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2554,
"end": 2555,
"loc": {
"start": {
"line": 74,
"column": 36
},
"end": {
"line": 74,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "authInfo",
"start": 2555,
"end": 2563,
"loc": {
"start": {
"line": 74,
"column": 37
},
"end": {
"line": 74,
"column": 45
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 2564,
"end": 2566,
"loc": {
"start": {
"line": 74,
"column": 46
},
"end": {
"line": 74,
"column": 48
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "",
"start": 2567,
"end": 2569,
"loc": {
"start": {
"line": 74,
"column": 49
},
"end": {
"line": 74,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2569,
"end": 2570,
"loc": {
"start": {
"line": 74,
"column": 51
},
"end": {
"line": 74,
"column": 52
}
}
},
{
"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": 2573,
"end": 2578,
"loc": {
"start": {
"line": 75,
"column": 2
},
"end": {
"line": 75,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ss",
"start": 2579,
"end": 2581,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 10
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2582,
"end": 2583,
"loc": {
"start": {
"line": 75,
"column": 11
},
"end": {
"line": 75,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readStateSet",
"start": 2584,
"end": 2596,
"loc": {
"start": {
"line": 75,
"column": 13
},
"end": {
"line": 75,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2596,
"end": 2597,
"loc": {
"start": {
"line": 75,
"column": 25
},
"end": {
"line": 75,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 2597,
"end": 2604,
"loc": {
"start": {
"line": 75,
"column": 26
},
"end": {
"line": 75,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2604,
"end": 2605,
"loc": {
"start": {
"line": 75,
"column": 33
},
"end": {
"line": 75,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeStructs",
"start": 2608,
"end": 2620,
"loc": {
"start": {
"line": 76,
"column": 2
},
"end": {
"line": 76,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2620,
"end": 2621,
"loc": {
"start": {
"line": 76,
"column": 14
},
"end": {
"line": 76,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2621,
"end": 2622,
"loc": {
"start": {
"line": 76,
"column": 15
},
"end": {
"line": 76,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2622,
"end": 2623,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 2624,
"end": 2631,
"loc": {
"start": {
"line": 76,
"column": 18
},
"end": {
"line": 76,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2631,
"end": 2632,
"loc": {
"start": {
"line": 76,
"column": 25
},
"end": {
"line": 76,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ss",
"start": 2633,
"end": 2635,
"loc": {
"start": {
"line": 76,
"column": 27
},
"end": {
"line": 76,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2635,
"end": 2636,
"loc": {
"start": {
"line": 76,
"column": 29
},
"end": {
"line": 76,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeDeleteSet",
"start": 2639,
"end": 2653,
"loc": {
"start": {
"line": 77,
"column": 2
},
"end": {
"line": 77,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2653,
"end": 2654,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2654,
"end": 2655,
"loc": {
"start": {
"line": 77,
"column": 17
},
"end": {
"line": 77,
"column": 18
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2655,
"end": 2656,
"loc": {
"start": {
"line": 77,
"column": 18
},
"end": {
"line": 77,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 2657,
"end": 2664,
"loc": {
"start": {
"line": 77,
"column": 20
},
"end": {
"line": 77,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2664,
"end": 2665,
"loc": {
"start": {
"line": 77,
"column": 27
},
"end": {
"line": 77,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2668,
"end": 2669,
"loc": {
"start": {
"line": 78,
"column": 2
},
"end": {
"line": 78,
"column": 3
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2669,
"end": 2670,
"loc": {
"start": {
"line": 78,
"column": 3
},
"end": {
"line": 78,
"column": 4
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connector",
"start": 2670,
"end": 2679,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 78,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2679,
"end": 2680,
"loc": {
"start": {
"line": 78,
"column": 13
},
"end": {
"line": 78,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "send",
"start": 2680,
"end": 2684,
"loc": {
"start": {
"line": 78,
"column": 14
},
"end": {
"line": 78,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2684,
"end": 2685,
"loc": {
"start": {
"line": 78,
"column": 18
},
"end": {
"line": 78,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "senderConn",
"start": 2685,
"end": 2695,
"loc": {
"start": {
"line": 78,
"column": 19
},
"end": {
"line": 78,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2695,
"end": 2696,
"loc": {
"start": {
"line": 78,
"column": 29
},
"end": {
"line": 78,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uid",
"start": 2696,
"end": 2699,
"loc": {
"start": {
"line": 78,
"column": 30
},
"end": {
"line": 78,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2699,
"end": 2700,
"loc": {
"start": {
"line": 78,
"column": 33
},
"end": {
"line": 78,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 2701,
"end": 2708,
"loc": {
"start": {
"line": 78,
"column": 35
},
"end": {
"line": 78,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2708,
"end": 2709,
"loc": {
"start": {
"line": 78,
"column": 42
},
"end": {
"line": 78,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createBuffer",
"start": 2709,
"end": 2721,
"loc": {
"start": {
"line": 78,
"column": 43
},
"end": {
"line": 78,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2721,
"end": 2722,
"loc": {
"start": {
"line": 78,
"column": 55
},
"end": {
"line": 78,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2722,
"end": 2723,
"loc": {
"start": {
"line": 78,
"column": 56
},
"end": {
"line": 78,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2723,
"end": 2724,
"loc": {
"start": {
"line": 78,
"column": 57
},
"end": {
"line": 78,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "senderConn",
"start": 2727,
"end": 2737,
"loc": {
"start": {
"line": 79,
"column": 2
},
"end": {
"line": 79,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2737,
"end": 2738,
"loc": {
"start": {
"line": 79,
"column": 12
},
"end": {
"line": 79,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "receivedSyncStep2",
"start": 2738,
"end": 2755,
"loc": {
"start": {
"line": 79,
"column": 13
},
"end": {
"line": 79,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2756,
"end": 2757,
"loc": {
"start": {
"line": 79,
"column": 31
},
"end": {
"line": 79,
"column": 32
}
}
},
{
"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": 2758,
"end": 2762,
"loc": {
"start": {
"line": 79,
"column": 33
},
"end": {
"line": 79,
"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": 2765,
"end": 2767,
"loc": {
"start": {
"line": 80,
"column": 2
},
"end": {
"line": 80,
"column": 4
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2768,
"end": 2769,
"loc": {
"start": {
"line": 80,
"column": 5
},
"end": {
"line": 80,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2769,
"end": 2770,
"loc": {
"start": {
"line": 80,
"column": 6
},
"end": {
"line": 80,
"column": 7
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2770,
"end": 2771,
"loc": {
"start": {
"line": 80,
"column": 7
},
"end": {
"line": 80,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connector",
"start": 2771,
"end": 2780,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2780,
"end": 2781,
"loc": {
"start": {
"line": 80,
"column": 17
},
"end": {
"line": 80,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "role",
"start": 2781,
"end": 2785,
"loc": {
"start": {
"line": 80,
"column": 18
},
"end": {
"line": 80,
"column": 22
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 2786,
"end": 2789,
"loc": {
"start": {
"line": 80,
"column": 23
},
"end": {
"line": 80,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "slave",
"start": 2790,
"end": 2797,
"loc": {
"start": {
"line": 80,
"column": 27
},
"end": {
"line": 80,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2797,
"end": 2798,
"loc": {
"start": {
"line": 80,
"column": 34
},
"end": {
"line": 80,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2799,
"end": 2800,
"loc": {
"start": {
"line": 80,
"column": 36
},
"end": {
"line": 80,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sendSyncStep1",
"start": 2805,
"end": 2818,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 81,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2818,
"end": 2819,
"loc": {
"start": {
"line": 81,
"column": 17
},
"end": {
"line": 81,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2819,
"end": 2820,
"loc": {
"start": {
"line": 81,
"column": 18
},
"end": {
"line": 81,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2820,
"end": 2821,
"loc": {
"start": {
"line": 81,
"column": 19
},
"end": {
"line": 81,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connector",
"start": 2821,
"end": 2830,
"loc": {
"start": {
"line": 81,
"column": 20
},
"end": {
"line": 81,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2830,
"end": 2831,
"loc": {
"start": {
"line": 81,
"column": 29
},
"end": {
"line": 81,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "sender",
"start": 2832,
"end": 2838,
"loc": {
"start": {
"line": 81,
"column": 31
},
"end": {
"line": 81,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2838,
"end": 2839,
"loc": {
"start": {
"line": 81,
"column": 37
},
"end": {
"line": 81,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2842,
"end": 2843,
"loc": {
"start": {
"line": 82,
"column": 2
},
"end": {
"line": 82,
"column": 3
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2844,
"end": 2845,
"loc": {
"start": {
"line": 83,
"column": 0
},
"end": {
"line": 83,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2846,
"end": 2846,
"loc": {
"start": {
"line": 84,
"column": 0
},
"end": {
"line": 84,
"column": 0
}
}
}
]
}