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

21545 lines
628 KiB
JSON

{
"type": "File",
"start": 0,
"end": 2989,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 123,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 2989,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 123,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 52,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 52
}
},
"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": 52,
"loc": {
"start": {
"line": 1,
"column": 26
},
"end": {
"line": 1,
"column": 52
}
},
"extra": {
"rawValue": "./Util/Binary/Encoder.js",
"raw": "'./Util/Binary/Encoder.js'"
},
"value": "./Util/Binary/Encoder.js"
}
},
{
"type": "ImportDeclaration",
"start": 53,
"end": 105,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 52
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 60,
"end": 73,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 20
}
},
"local": {
"type": "Identifier",
"start": 60,
"end": 73,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 20
},
"identifierName": "BinaryDecoder"
},
"name": "BinaryDecoder"
}
}
],
"source": {
"type": "StringLiteral",
"start": 79,
"end": 105,
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 52
}
},
"extra": {
"rawValue": "./Util/Binary/Decoder.js",
"raw": "'./Util/Binary/Decoder.js'"
},
"value": "./Util/Binary/Decoder.js"
}
},
{
"type": "ImportDeclaration",
"start": 106,
"end": 177,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 71
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 115,
"end": 123,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 17
}
},
"imported": {
"type": "Identifier",
"start": 115,
"end": 123,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 17
},
"identifierName": "toBinary"
},
"name": "toBinary"
},
"local": {
"type": "Identifier",
"start": 115,
"end": 123,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 17
},
"identifierName": "toBinary"
},
"name": "toBinary"
}
},
{
"type": "ImportSpecifier",
"start": 125,
"end": 135,
"loc": {
"start": {
"line": 3,
"column": 19
},
"end": {
"line": 3,
"column": 29
}
},
"imported": {
"type": "Identifier",
"start": 125,
"end": 135,
"loc": {
"start": {
"line": 3,
"column": 19
},
"end": {
"line": 3,
"column": 29
},
"identifierName": "fromBinary"
},
"name": "fromBinary"
},
"local": {
"type": "Identifier",
"start": 125,
"end": 135,
"loc": {
"start": {
"line": 3,
"column": 19
},
"end": {
"line": 3,
"column": 29
},
"identifierName": "fromBinary"
},
"name": "fromBinary"
}
}
],
"source": {
"type": "StringLiteral",
"start": 143,
"end": 177,
"loc": {
"start": {
"line": 3,
"column": 37
},
"end": {
"line": 3,
"column": 71
}
},
"extra": {
"rawValue": "./MessageHandler/binaryEncode.js",
"raw": "'./MessageHandler/binaryEncode.js'"
},
"value": "./MessageHandler/binaryEncode.js"
}
},
{
"type": "ImportDeclaration",
"start": 178,
"end": 261,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 83
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 187,
"end": 209,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 31
}
},
"imported": {
"type": "Identifier",
"start": 187,
"end": 209,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 31
},
"identifierName": "integrateRemoteStructs"
},
"name": "integrateRemoteStructs"
},
"local": {
"type": "Identifier",
"start": 187,
"end": 209,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 31
},
"identifierName": "integrateRemoteStructs"
},
"name": "integrateRemoteStructs"
}
}
],
"source": {
"type": "StringLiteral",
"start": 217,
"end": 261,
"loc": {
"start": {
"line": 4,
"column": 39
},
"end": {
"line": 4,
"column": 83
}
},
"extra": {
"rawValue": "./MessageHandler/integrateRemoteStructs.js",
"raw": "'./MessageHandler/integrateRemoteStructs.js'"
},
"value": "./MessageHandler/integrateRemoteStructs.js"
}
},
{
"type": "ImportDeclaration",
"start": 262,
"end": 323,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 61
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 271,
"end": 290,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 28
}
},
"imported": {
"type": "Identifier",
"start": 271,
"end": 290,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 28
},
"identifierName": "createMutualExclude"
},
"name": "createMutualExclude"
},
"local": {
"type": "Identifier",
"start": 271,
"end": 290,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 28
},
"identifierName": "createMutualExclude"
},
"name": "createMutualExclude"
}
}
],
"source": {
"type": "StringLiteral",
"start": 298,
"end": 323,
"loc": {
"start": {
"line": 5,
"column": 36
},
"end": {
"line": 5,
"column": 61
}
},
"extra": {
"rawValue": "./Util/mutualExclude.js",
"raw": "'./Util/mutualExclude.js'"
},
"value": "./Util/mutualExclude.js"
}
},
{
"type": "FunctionDeclaration",
"start": 325,
"end": 449,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 14,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 334,
"end": 345,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 20
},
"identifierName": "getFreshCnf"
},
"name": "getFreshCnf"
},
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 349,
"end": 449,
"loc": {
"start": {
"line": 7,
"column": 24
},
"end": {
"line": 14,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 353,
"end": 385,
"loc": {
"start": {
"line": 8,
"column": 2
},
"end": {
"line": 8,
"column": 34
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 357,
"end": 385,
"loc": {
"start": {
"line": 8,
"column": 6
},
"end": {
"line": 8,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 357,
"end": 363,
"loc": {
"start": {
"line": 8,
"column": 6
},
"end": {
"line": 8,
"column": 12
},
"identifierName": "buffer"
},
"name": "buffer"
},
"init": {
"type": "NewExpression",
"start": 366,
"end": 385,
"loc": {
"start": {
"line": 8,
"column": 15
},
"end": {
"line": 8,
"column": 34
}
},
"callee": {
"type": "Identifier",
"start": 370,
"end": 383,
"loc": {
"start": {
"line": 8,
"column": 19
},
"end": {
"line": 8,
"column": 32
},
"identifierName": "BinaryEncoder"
},
"name": "BinaryEncoder"
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "ExpressionStatement",
"start": 388,
"end": 409,
"loc": {
"start": {
"line": 9,
"column": 2
},
"end": {
"line": 9,
"column": 23
}
},
"expression": {
"type": "CallExpression",
"start": 388,
"end": 409,
"loc": {
"start": {
"line": 9,
"column": 2
},
"end": {
"line": 9,
"column": 23
}
},
"callee": {
"type": "MemberExpression",
"start": 388,
"end": 406,
"loc": {
"start": {
"line": 9,
"column": 2
},
"end": {
"line": 9,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 388,
"end": 394,
"loc": {
"start": {
"line": 9,
"column": 2
},
"end": {
"line": 9,
"column": 8
},
"identifierName": "buffer"
},
"name": "buffer"
},
"property": {
"type": "Identifier",
"start": 395,
"end": 406,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 20
},
"identifierName": "writeUint32"
},
"name": "writeUint32"
},
"computed": false
},
"arguments": [
{
"type": "NumericLiteral",
"start": 407,
"end": 408,
"loc": {
"start": {
"line": 9,
"column": 21
},
"end": {
"line": 9,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
]
}
},
{
"type": "ReturnStatement",
"start": 412,
"end": 447,
"loc": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 13,
"column": 3
}
},
"argument": {
"type": "ObjectExpression",
"start": 419,
"end": 447,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 13,
"column": 3
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 425,
"end": 431,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 10
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 425,
"end": 428,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 7
},
"identifierName": "len"
},
"name": "len"
},
"value": {
"type": "NumericLiteral",
"start": 430,
"end": 431,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 10
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
},
{
"type": "ObjectProperty",
"start": 437,
"end": 443,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 10
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 437,
"end": 443,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 10
},
"identifierName": "buffer"
},
"name": "buffer"
},
"value": {
"type": "Identifier",
"start": 437,
"end": 443,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 10
},
"identifierName": "buffer"
},
"name": "buffer"
},
"extra": {
"shorthand": true
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Abstract persistence class.\n ",
"start": 451,
"end": 489,
"loc": {
"start": {
"line": 16,
"column": 0
},
"end": {
"line": 18,
"column": 3
}
}
}
]
},
{
"type": "ExportDefaultDeclaration",
"start": 490,
"end": 2988,
"loc": {
"start": {
"line": 19,
"column": 0
},
"end": {
"line": 122,
"column": 1
}
},
"declaration": {
"type": "ClassDeclaration",
"start": 505,
"end": 2988,
"loc": {
"start": {
"line": 19,
"column": 15
},
"end": {
"line": 122,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 511,
"end": 530,
"loc": {
"start": {
"line": 19,
"column": 21
},
"end": {
"line": 19,
"column": 40
},
"identifierName": "AbstractPersistence"
},
"name": "AbstractPersistence",
"leadingComments": null
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 531,
"end": 2988,
"loc": {
"start": {
"line": 19,
"column": 41
},
"end": {
"line": 122,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 535,
"end": 604,
"loc": {
"start": {
"line": 20,
"column": 2
},
"end": {
"line": 23,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 535,
"end": 546,
"loc": {
"start": {
"line": 20,
"column": 2
},
"end": {
"line": 20,
"column": 13
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 548,
"end": 552,
"loc": {
"start": {
"line": 20,
"column": 15
},
"end": {
"line": 20,
"column": 19
},
"identifierName": "opts"
},
"name": "opts"
}
],
"body": {
"type": "BlockStatement",
"start": 554,
"end": 604,
"loc": {
"start": {
"line": 20,
"column": 21
},
"end": {
"line": 23,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 560,
"end": 576,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 20
}
},
"expression": {
"type": "AssignmentExpression",
"start": 560,
"end": 576,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 20
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 560,
"end": 569,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 13
}
},
"object": {
"type": "ThisExpression",
"start": 560,
"end": 564,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 565,
"end": 569,
"loc": {
"start": {
"line": 21,
"column": 9
},
"end": {
"line": 21,
"column": 13
},
"identifierName": "opts"
},
"name": "opts"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 572,
"end": 576,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 20
},
"identifierName": "opts"
},
"name": "opts"
}
}
},
{
"type": "ExpressionStatement",
"start": 581,
"end": 600,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 23
}
},
"expression": {
"type": "AssignmentExpression",
"start": 581,
"end": 600,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 23
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 581,
"end": 588,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 11
}
},
"object": {
"type": "ThisExpression",
"start": 581,
"end": 585,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 586,
"end": 588,
"loc": {
"start": {
"line": 22,
"column": 9
},
"end": {
"line": 22,
"column": 11
},
"identifierName": "ys"
},
"name": "ys"
},
"computed": false
},
"right": {
"type": "NewExpression",
"start": 591,
"end": 600,
"loc": {
"start": {
"line": 22,
"column": 14
},
"end": {
"line": 22,
"column": 23
}
},
"callee": {
"type": "Identifier",
"start": 595,
"end": 598,
"loc": {
"start": {
"line": 22,
"column": 18
},
"end": {
"line": 22,
"column": 21
},
"identifierName": "Map"
},
"name": "Map"
},
"arguments": []
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 608,
"end": 1358,
"loc": {
"start": {
"line": 25,
"column": 2
},
"end": {
"line": 50,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 608,
"end": 613,
"loc": {
"start": {
"line": 25,
"column": 2
},
"end": {
"line": 25,
"column": 7
},
"identifierName": "_init"
},
"name": "_init"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 615,
"end": 616,
"loc": {
"start": {
"line": 25,
"column": 9
},
"end": {
"line": 25,
"column": 10
},
"identifierName": "y"
},
"name": "y"
}
],
"body": {
"type": "BlockStatement",
"start": 618,
"end": 1358,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 50,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 624,
"end": 648,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 26,
"column": 28
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 628,
"end": 648,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 28
}
},
"id": {
"type": "Identifier",
"start": 628,
"end": 631,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 11
},
"identifierName": "cnf"
},
"name": "cnf"
},
"init": {
"type": "CallExpression",
"start": 634,
"end": 648,
"loc": {
"start": {
"line": 26,
"column": 14
},
"end": {
"line": 26,
"column": 28
}
},
"callee": {
"type": "MemberExpression",
"start": 634,
"end": 645,
"loc": {
"start": {
"line": 26,
"column": 14
},
"end": {
"line": 26,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 634,
"end": 641,
"loc": {
"start": {
"line": 26,
"column": 14
},
"end": {
"line": 26,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 634,
"end": 638,
"loc": {
"start": {
"line": 26,
"column": 14
},
"end": {
"line": 26,
"column": 18
}
}
},
"property": {
"type": "Identifier",
"start": 639,
"end": 641,
"loc": {
"start": {
"line": 26,
"column": 19
},
"end": {
"line": 26,
"column": 21
},
"identifierName": "ys"
},
"name": "ys"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 642,
"end": 645,
"loc": {
"start": {
"line": 26,
"column": 22
},
"end": {
"line": 26,
"column": 25
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 646,
"end": 647,
"loc": {
"start": {
"line": 26,
"column": 26
},
"end": {
"line": 26,
"column": 27
},
"identifierName": "y"
},
"name": "y"
}
]
}
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 653,
"end": 1354,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 49,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 657,
"end": 674,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 25
}
},
"left": {
"type": "Identifier",
"start": 657,
"end": 660,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 11
},
"identifierName": "cnf"
},
"name": "cnf"
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 665,
"end": 674,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 25
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
"consequent": {
"type": "BlockStatement",
"start": 676,
"end": 1307,
"loc": {
"start": {
"line": 27,
"column": 27
},
"end": {
"line": 47,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 684,
"end": 703,
"loc": {
"start": {
"line": 28,
"column": 6
},
"end": {
"line": 28,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 684,
"end": 703,
"loc": {
"start": {
"line": 28,
"column": 6
},
"end": {
"line": 28,
"column": 25
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 684,
"end": 687,
"loc": {
"start": {
"line": 28,
"column": 6
},
"end": {
"line": 28,
"column": 9
},
"identifierName": "cnf"
},
"name": "cnf"
},
"right": {
"type": "CallExpression",
"start": 690,
"end": 703,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 25
}
},
"callee": {
"type": "Identifier",
"start": 690,
"end": 701,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 23
},
"identifierName": "getFreshCnf"
},
"name": "getFreshCnf"
},
"arguments": []
}
}
},
{
"type": "ExpressionStatement",
"start": 710,
"end": 751,
"loc": {
"start": {
"line": 29,
"column": 6
},
"end": {
"line": 29,
"column": 47
}
},
"expression": {
"type": "AssignmentExpression",
"start": 710,
"end": 751,
"loc": {
"start": {
"line": 29,
"column": 6
},
"end": {
"line": 29,
"column": 47
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 710,
"end": 727,
"loc": {
"start": {
"line": 29,
"column": 6
},
"end": {
"line": 29,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 710,
"end": 713,
"loc": {
"start": {
"line": 29,
"column": 6
},
"end": {
"line": 29,
"column": 9
},
"identifierName": "cnf"
},
"name": "cnf"
},
"property": {
"type": "Identifier",
"start": 714,
"end": 727,
"loc": {
"start": {
"line": 29,
"column": 10
},
"end": {
"line": 29,
"column": 23
},
"identifierName": "mutualExclude"
},
"name": "mutualExclude"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 730,
"end": 751,
"loc": {
"start": {
"line": 29,
"column": 26
},
"end": {
"line": 29,
"column": 47
}
},
"callee": {
"type": "Identifier",
"start": 730,
"end": 749,
"loc": {
"start": {
"line": 29,
"column": 26
},
"end": {
"line": 29,
"column": 45
},
"identifierName": "createMutualExclude"
},
"name": "createMutualExclude"
},
"arguments": []
}
}
},
{
"type": "ExpressionStatement",
"start": 758,
"end": 777,
"loc": {
"start": {
"line": 30,
"column": 6
},
"end": {
"line": 30,
"column": 25
}
},
"expression": {
"type": "CallExpression",
"start": 758,
"end": 777,
"loc": {
"start": {
"line": 30,
"column": 6
},
"end": {
"line": 30,
"column": 25
}
},
"callee": {
"type": "MemberExpression",
"start": 758,
"end": 769,
"loc": {
"start": {
"line": 30,
"column": 6
},
"end": {
"line": 30,
"column": 17
}
},
"object": {
"type": "MemberExpression",
"start": 758,
"end": 765,
"loc": {
"start": {
"line": 30,
"column": 6
},
"end": {
"line": 30,
"column": 13
}
},
"object": {
"type": "ThisExpression",
"start": 758,
"end": 762,
"loc": {
"start": {
"line": 30,
"column": 6
},
"end": {
"line": 30,
"column": 10
}
}
},
"property": {
"type": "Identifier",
"start": 763,
"end": 765,
"loc": {
"start": {
"line": 30,
"column": 11
},
"end": {
"line": 30,
"column": 13
},
"identifierName": "ys"
},
"name": "ys"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 766,
"end": 769,
"loc": {
"start": {
"line": 30,
"column": 14
},
"end": {
"line": 30,
"column": 17
},
"identifierName": "set"
},
"name": "set"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 770,
"end": 771,
"loc": {
"start": {
"line": 30,
"column": 18
},
"end": {
"line": 30,
"column": 19
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 773,
"end": 776,
"loc": {
"start": {
"line": 30,
"column": 21
},
"end": {
"line": 30,
"column": 24
},
"identifierName": "cnf"
},
"name": "cnf"
}
]
}
},
{
"type": "ReturnStatement",
"start": 784,
"end": 1301,
"loc": {
"start": {
"line": 31,
"column": 6
},
"end": {
"line": 46,
"column": 8
}
},
"argument": {
"type": "CallExpression",
"start": 791,
"end": 1301,
"loc": {
"start": {
"line": 31,
"column": 13
},
"end": {
"line": 46,
"column": 8
}
},
"callee": {
"type": "MemberExpression",
"start": 791,
"end": 1242,
"loc": {
"start": {
"line": 31,
"column": 13
},
"end": {
"line": 44,
"column": 13
}
},
"object": {
"type": "CallExpression",
"start": 791,
"end": 1237,
"loc": {
"start": {
"line": 31,
"column": 13
},
"end": {
"line": 44,
"column": 8
}
},
"callee": {
"type": "MemberExpression",
"start": 791,
"end": 808,
"loc": {
"start": {
"line": 31,
"column": 13
},
"end": {
"line": 31,
"column": 30
}
},
"object": {
"type": "CallExpression",
"start": 791,
"end": 803,
"loc": {
"start": {
"line": 31,
"column": 13
},
"end": {
"line": 31,
"column": 25
}
},
"callee": {
"type": "MemberExpression",
"start": 791,
"end": 800,
"loc": {
"start": {
"line": 31,
"column": 13
},
"end": {
"line": 31,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 791,
"end": 795,
"loc": {
"start": {
"line": 31,
"column": 13
},
"end": {
"line": 31,
"column": 17
}
}
},
"property": {
"type": "Identifier",
"start": 796,
"end": 800,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 22
},
"identifierName": "init"
},
"name": "init"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 801,
"end": 802,
"loc": {
"start": {
"line": 31,
"column": 23
},
"end": {
"line": 31,
"column": 24
},
"identifierName": "y"
},
"name": "y"
}
]
},
"property": {
"type": "Identifier",
"start": 804,
"end": 808,
"loc": {
"start": {
"line": 31,
"column": 26
},
"end": {
"line": 31,
"column": 30
},
"identifierName": "then"
},
"name": "then"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 809,
"end": 1236,
"loc": {
"start": {
"line": 31,
"column": 31
},
"end": {
"line": 44,
"column": 7
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 815,
"end": 1236,
"loc": {
"start": {
"line": 31,
"column": 37
},
"end": {
"line": 44,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 825,
"end": 1196,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 42,
"column": 10
}
},
"expression": {
"type": "CallExpression",
"start": 825,
"end": 1196,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 42,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 825,
"end": 829,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 12
}
},
"object": {
"type": "Identifier",
"start": 825,
"end": 826,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 9
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 827,
"end": 829,
"loc": {
"start": {
"line": 32,
"column": 10
},
"end": {
"line": 32,
"column": 12
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 830,
"end": 848,
"loc": {
"start": {
"line": 32,
"column": 13
},
"end": {
"line": 32,
"column": 31
}
},
"extra": {
"rawValue": "afterTransaction",
"raw": "'afterTransaction'"
},
"value": "afterTransaction"
},
{
"type": "ArrowFunctionExpression",
"start": 850,
"end": 1195,
"loc": {
"start": {
"line": 32,
"column": 33
},
"end": {
"line": 42,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 851,
"end": 852,
"loc": {
"start": {
"line": 32,
"column": 34
},
"end": {
"line": 32,
"column": 35
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 854,
"end": 865,
"loc": {
"start": {
"line": 32,
"column": 37
},
"end": {
"line": 32,
"column": 48
},
"identifierName": "transaction"
},
"name": "transaction"
}
],
"body": {
"type": "BlockStatement",
"start": 870,
"end": 1195,
"loc": {
"start": {
"line": 32,
"column": 53
},
"end": {
"line": 42,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 882,
"end": 906,
"loc": {
"start": {
"line": 33,
"column": 10
},
"end": {
"line": 33,
"column": 34
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 886,
"end": 906,
"loc": {
"start": {
"line": 33,
"column": 14
},
"end": {
"line": 33,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 886,
"end": 889,
"loc": {
"start": {
"line": 33,
"column": 14
},
"end": {
"line": 33,
"column": 17
},
"identifierName": "cnf"
},
"name": "cnf"
},
"init": {
"type": "CallExpression",
"start": 892,
"end": 906,
"loc": {
"start": {
"line": 33,
"column": 20
},
"end": {
"line": 33,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 892,
"end": 903,
"loc": {
"start": {
"line": 33,
"column": 20
},
"end": {
"line": 33,
"column": 31
}
},
"object": {
"type": "MemberExpression",
"start": 892,
"end": 899,
"loc": {
"start": {
"line": 33,
"column": 20
},
"end": {
"line": 33,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 892,
"end": 896,
"loc": {
"start": {
"line": 33,
"column": 20
},
"end": {
"line": 33,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 897,
"end": 899,
"loc": {
"start": {
"line": 33,
"column": 25
},
"end": {
"line": 33,
"column": 27
},
"identifierName": "ys"
},
"name": "ys"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 900,
"end": 903,
"loc": {
"start": {
"line": 33,
"column": 28
},
"end": {
"line": 33,
"column": 31
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 904,
"end": 905,
"loc": {
"start": {
"line": 33,
"column": 32
},
"end": {
"line": 33,
"column": 33
},
"identifierName": "y"
},
"name": "y"
}
]
}
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 917,
"end": 1185,
"loc": {
"start": {
"line": 34,
"column": 10
},
"end": {
"line": 41,
"column": 11
}
},
"test": {
"type": "BinaryExpression",
"start": 921,
"end": 932,
"loc": {
"start": {
"line": 34,
"column": 14
},
"end": {
"line": 34,
"column": 25
}
},
"left": {
"type": "MemberExpression",
"start": 921,
"end": 928,
"loc": {
"start": {
"line": 34,
"column": 14
},
"end": {
"line": 34,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 921,
"end": 924,
"loc": {
"start": {
"line": 34,
"column": 14
},
"end": {
"line": 34,
"column": 17
},
"identifierName": "cnf"
},
"name": "cnf"
},
"property": {
"type": "Identifier",
"start": 925,
"end": 928,
"loc": {
"start": {
"line": 34,
"column": 18
},
"end": {
"line": 34,
"column": 21
},
"identifierName": "len"
},
"name": "len"
},
"computed": false
},
"operator": ">",
"right": {
"type": "NumericLiteral",
"start": 931,
"end": 932,
"loc": {
"start": {
"line": 34,
"column": 24
},
"end": {
"line": 34,
"column": 25
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
},
"consequent": {
"type": "BlockStatement",
"start": 934,
"end": 1185,
"loc": {
"start": {
"line": 34,
"column": 27
},
"end": {
"line": 41,
"column": 11
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 948,
"end": 980,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 44
}
},
"expression": {
"type": "CallExpression",
"start": 948,
"end": 980,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
"start": 948,
"end": 968,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 32
}
},
"object": {
"type": "MemberExpression",
"start": 948,
"end": 958,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 948,
"end": 951,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 15
},
"identifierName": "cnf"
},
"name": "cnf"
},
"property": {
"type": "Identifier",
"start": 952,
"end": 958,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 22
},
"identifierName": "buffer"
},
"name": "buffer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 959,
"end": 968,
"loc": {
"start": {
"line": 35,
"column": 23
},
"end": {
"line": 35,
"column": 32
},
"identifierName": "setUint32"
},
"name": "setUint32"
},
"computed": false
},
"arguments": [
{
"type": "NumericLiteral",
"start": 969,
"end": 970,
"loc": {
"start": {
"line": 35,
"column": 33
},
"end": {
"line": 35,
"column": 34
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
{
"type": "MemberExpression",
"start": 972,
"end": 979,
"loc": {
"start": {
"line": 35,
"column": 36
},
"end": {
"line": 35,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 972,
"end": 975,
"loc": {
"start": {
"line": 35,
"column": 36
},
"end": {
"line": 35,
"column": 39
},
"identifierName": "cnf"
},
"name": "cnf"
},
"property": {
"type": "Identifier",
"start": 976,
"end": 979,
"loc": {
"start": {
"line": 35,
"column": 40
},
"end": {
"line": 35,
"column": 43
},
"identifierName": "len"
},
"name": "len"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 993,
"end": 1051,
"loc": {
"start": {
"line": 36,
"column": 12
},
"end": {
"line": 36,
"column": 70
}
},
"expression": {
"type": "CallExpression",
"start": 993,
"end": 1051,
"loc": {
"start": {
"line": 36,
"column": 12
},
"end": {
"line": 36,
"column": 70
}
},
"callee": {
"type": "MemberExpression",
"start": 993,
"end": 1008,
"loc": {
"start": {
"line": 36,
"column": 12
},
"end": {
"line": 36,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 993,
"end": 997,
"loc": {
"start": {
"line": 36,
"column": 12
},
"end": {
"line": 36,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 998,
"end": 1008,
"loc": {
"start": {
"line": 36,
"column": 17
},
"end": {
"line": 36,
"column": 27
},
"identifierName": "saveUpdate"
},
"name": "saveUpdate"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1009,
"end": 1010,
"loc": {
"start": {
"line": 36,
"column": 28
},
"end": {
"line": 36,
"column": 29
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "CallExpression",
"start": 1012,
"end": 1037,
"loc": {
"start": {
"line": 36,
"column": 31
},
"end": {
"line": 36,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 1012,
"end": 1035,
"loc": {
"start": {
"line": 36,
"column": 31
},
"end": {
"line": 36,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 1012,
"end": 1022,
"loc": {
"start": {
"line": 36,
"column": 31
},
"end": {
"line": 36,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 1012,
"end": 1015,
"loc": {
"start": {
"line": 36,
"column": 31
},
"end": {
"line": 36,
"column": 34
},
"identifierName": "cnf"
},
"name": "cnf"
},
"property": {
"type": "Identifier",
"start": 1016,
"end": 1022,
"loc": {
"start": {
"line": 36,
"column": 35
},
"end": {
"line": 36,
"column": 41
},
"identifierName": "buffer"
},
"name": "buffer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1023,
"end": 1035,
"loc": {
"start": {
"line": 36,
"column": 42
},
"end": {
"line": 36,
"column": 54
},
"identifierName": "createBuffer"
},
"name": "createBuffer"
},
"computed": false
},
"arguments": []
},
{
"type": "Identifier",
"start": 1039,
"end": 1050,
"loc": {
"start": {
"line": 36,
"column": 58
},
"end": {
"line": 36,
"column": 69
},
"identifierName": "transaction"
},
"name": "transaction"
}
]
}
},
{
"type": "VariableDeclaration",
"start": 1064,
"end": 1088,
"loc": {
"start": {
"line": 37,
"column": 12
},
"end": {
"line": 37,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1068,
"end": 1088,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 36
}
},
"id": {
"type": "Identifier",
"start": 1068,
"end": 1072,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 20
},
"identifierName": "_cnf"
},
"name": "_cnf"
},
"init": {
"type": "CallExpression",
"start": 1075,
"end": 1088,
"loc": {
"start": {
"line": 37,
"column": 23
},
"end": {
"line": 37,
"column": 36
}
},
"callee": {
"type": "Identifier",
"start": 1075,
"end": 1086,
"loc": {
"start": {
"line": 37,
"column": 23
},
"end": {
"line": 37,
"column": 34
},
"identifierName": "getFreshCnf"
},
"name": "getFreshCnf"
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "ForInStatement",
"start": 1101,
"end": 1173,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 40,
"column": 13
}
},
"left": {
"type": "VariableDeclaration",
"start": 1106,
"end": 1113,
"loc": {
"start": {
"line": 38,
"column": 17
},
"end": {
"line": 38,
"column": 24
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1110,
"end": 1113,
"loc": {
"start": {
"line": 38,
"column": 21
},
"end": {
"line": 38,
"column": 24
}
},
"id": {
"type": "Identifier",
"start": 1110,
"end": 1113,
"loc": {
"start": {
"line": 38,
"column": 21
},
"end": {
"line": 38,
"column": 24
},
"identifierName": "key"
},
"name": "key"
},
"init": null
}
],
"kind": "let"
},
"right": {
"type": "Identifier",
"start": 1117,
"end": 1121,
"loc": {
"start": {
"line": 38,
"column": 28
},
"end": {
"line": 38,
"column": 32
},
"identifierName": "_cnf"
},
"name": "_cnf"
},
"body": {
"type": "BlockStatement",
"start": 1123,
"end": 1173,
"loc": {
"start": {
"line": 38,
"column": 34
},
"end": {
"line": 40,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1139,
"end": 1159,
"loc": {
"start": {
"line": 39,
"column": 14
},
"end": {
"line": 39,
"column": 34
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1139,
"end": 1159,
"loc": {
"start": {
"line": 39,
"column": 14
},
"end": {
"line": 39,
"column": 34
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1139,
"end": 1147,
"loc": {
"start": {
"line": 39,
"column": 14
},
"end": {
"line": 39,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 1139,
"end": 1142,
"loc": {
"start": {
"line": 39,
"column": 14
},
"end": {
"line": 39,
"column": 17
},
"identifierName": "cnf"
},
"name": "cnf"
},
"property": {
"type": "Identifier",
"start": 1143,
"end": 1146,
"loc": {
"start": {
"line": 39,
"column": 18
},
"end": {
"line": 39,
"column": 21
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
},
"right": {
"type": "MemberExpression",
"start": 1150,
"end": 1159,
"loc": {
"start": {
"line": 39,
"column": 25
},
"end": {
"line": 39,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 1150,
"end": 1154,
"loc": {
"start": {
"line": 39,
"column": 25
},
"end": {
"line": 39,
"column": 29
},
"identifierName": "_cnf"
},
"name": "_cnf"
},
"property": {
"type": "Identifier",
"start": 1155,
"end": 1158,
"loc": {
"start": {
"line": 39,
"column": 30
},
"end": {
"line": 39,
"column": 33
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
}
}
}
],
"directives": []
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
]
}
},
{
"type": "ReturnStatement",
"start": 1205,
"end": 1228,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 31
}
},
"argument": {
"type": "CallExpression",
"start": 1212,
"end": 1228,
"loc": {
"start": {
"line": 43,
"column": 15
},
"end": {
"line": 43,
"column": 31
}
},
"callee": {
"type": "MemberExpression",
"start": 1212,
"end": 1225,
"loc": {
"start": {
"line": 43,
"column": 15
},
"end": {
"line": 43,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 1212,
"end": 1216,
"loc": {
"start": {
"line": 43,
"column": 15
},
"end": {
"line": 43,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 1217,
"end": 1225,
"loc": {
"start": {
"line": 43,
"column": 20
},
"end": {
"line": 43,
"column": 28
},
"identifierName": "retrieve"
},
"name": "retrieve"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1226,
"end": 1227,
"loc": {
"start": {
"line": 43,
"column": 29
},
"end": {
"line": 43,
"column": 30
},
"identifierName": "y"
},
"name": "y"
}
]
}
}
],
"directives": []
}
}
]
},
"property": {
"type": "Identifier",
"start": 1238,
"end": 1242,
"loc": {
"start": {
"line": 44,
"column": 9
},
"end": {
"line": 44,
"column": 13
},
"identifierName": "then"
},
"name": "then"
},
"computed": false
},
"arguments": [
{
"type": "FunctionExpression",
"start": 1243,
"end": 1300,
"loc": {
"start": {
"line": 44,
"column": 14
},
"end": {
"line": 46,
"column": 7
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1255,
"end": 1300,
"loc": {
"start": {
"line": 44,
"column": 26
},
"end": {
"line": 46,
"column": 7
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1265,
"end": 1292,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 35
}
},
"argument": {
"type": "CallExpression",
"start": 1272,
"end": 1292,
"loc": {
"start": {
"line": 45,
"column": 15
},
"end": {
"line": 45,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 1272,
"end": 1287,
"loc": {
"start": {
"line": 45,
"column": 15
},
"end": {
"line": 45,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1272,
"end": 1279,
"loc": {
"start": {
"line": 45,
"column": 15
},
"end": {
"line": 45,
"column": 22
},
"identifierName": "Promise"
},
"name": "Promise"
},
"property": {
"type": "Identifier",
"start": 1280,
"end": 1287,
"loc": {
"start": {
"line": 45,
"column": 23
},
"end": {
"line": 45,
"column": 30
},
"identifierName": "resolve"
},
"name": "resolve"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1288,
"end": 1291,
"loc": {
"start": {
"line": 45,
"column": 31
},
"end": {
"line": 45,
"column": 34
},
"identifierName": "cnf"
},
"name": "cnf"
}
]
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 1313,
"end": 1354,
"loc": {
"start": {
"line": 47,
"column": 11
},
"end": {
"line": 49,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1321,
"end": 1348,
"loc": {
"start": {
"line": 48,
"column": 6
},
"end": {
"line": 48,
"column": 33
}
},
"argument": {
"type": "CallExpression",
"start": 1328,
"end": 1348,
"loc": {
"start": {
"line": 48,
"column": 13
},
"end": {
"line": 48,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1328,
"end": 1343,
"loc": {
"start": {
"line": 48,
"column": 13
},
"end": {
"line": 48,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 1328,
"end": 1335,
"loc": {
"start": {
"line": 48,
"column": 13
},
"end": {
"line": 48,
"column": 20
},
"identifierName": "Promise"
},
"name": "Promise"
},
"property": {
"type": "Identifier",
"start": 1336,
"end": 1343,
"loc": {
"start": {
"line": 48,
"column": 21
},
"end": {
"line": 48,
"column": 28
},
"identifierName": "resolve"
},
"name": "resolve"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1344,
"end": 1347,
"loc": {
"start": {
"line": 48,
"column": 29
},
"end": {
"line": 48,
"column": 32
},
"identifierName": "cnf"
},
"name": "cnf"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1361,
"end": 1424,
"loc": {
"start": {
"line": 51,
"column": 2
},
"end": {
"line": 54,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1361,
"end": 1367,
"loc": {
"start": {
"line": 51,
"column": 2
},
"end": {
"line": 51,
"column": 8
},
"identifierName": "deinit"
},
"name": "deinit"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1369,
"end": 1370,
"loc": {
"start": {
"line": 51,
"column": 10
},
"end": {
"line": 51,
"column": 11
},
"identifierName": "y"
},
"name": "y"
}
],
"body": {
"type": "BlockStatement",
"start": 1372,
"end": 1424,
"loc": {
"start": {
"line": 51,
"column": 13
},
"end": {
"line": 54,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1378,
"end": 1395,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 21
}
},
"expression": {
"type": "CallExpression",
"start": 1378,
"end": 1395,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 21
}
},
"callee": {
"type": "MemberExpression",
"start": 1378,
"end": 1392,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 18
}
},
"object": {
"type": "MemberExpression",
"start": 1378,
"end": 1385,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 11
}
},
"object": {
"type": "ThisExpression",
"start": 1378,
"end": 1382,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 1383,
"end": 1385,
"loc": {
"start": {
"line": 52,
"column": 9
},
"end": {
"line": 52,
"column": 11
},
"identifierName": "ys"
},
"name": "ys"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1386,
"end": 1392,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 18
},
"identifierName": "delete"
},
"name": "delete"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1393,
"end": 1394,
"loc": {
"start": {
"line": 52,
"column": 19
},
"end": {
"line": 52,
"column": 20
},
"identifierName": "y"
},
"name": "y"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1400,
"end": 1420,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 24
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1400,
"end": 1420,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 24
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1400,
"end": 1413,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 1400,
"end": 1401,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 5
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 1402,
"end": 1413,
"loc": {
"start": {
"line": 53,
"column": 6
},
"end": {
"line": 53,
"column": 17
},
"identifierName": "persistence"
},
"name": "persistence"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 1416,
"end": 1420,
"loc": {
"start": {
"line": 53,
"column": 20
},
"end": {
"line": 53,
"column": 24
}
}
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1428,
"end": 1463,
"loc": {
"start": {
"line": 56,
"column": 2
},
"end": {
"line": 58,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1428,
"end": 1435,
"loc": {
"start": {
"line": 56,
"column": 2
},
"end": {
"line": 56,
"column": 9
},
"identifierName": "destroy"
},
"name": "destroy"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1439,
"end": 1463,
"loc": {
"start": {
"line": 56,
"column": 13
},
"end": {
"line": 58,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1445,
"end": 1459,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 57,
"column": 18
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1445,
"end": 1459,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 57,
"column": 18
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1445,
"end": 1452,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 57,
"column": 11
}
},
"object": {
"type": "ThisExpression",
"start": 1445,
"end": 1449,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 57,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 1450,
"end": 1452,
"loc": {
"start": {
"line": 57,
"column": 9
},
"end": {
"line": 57,
"column": 11
},
"identifierName": "ys"
},
"name": "ys"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 1455,
"end": 1459,
"loc": {
"start": {
"line": 57,
"column": 14
},
"end": {
"line": 57,
"column": 18
}
}
}
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Remove all persisted data that belongs to a room.\n * Automatically destroys all Yjs all Yjs instances that persist to\n * the room. If `destroyYjsInstances = false` the persistence functionality\n * will be removed from the Yjs instances.\n *\n * ** Must be overwritten! **\n ",
"start": 1467,
"end": 1761,
"loc": {
"start": {
"line": 60,
"column": 2
},
"end": {
"line": 67,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1764,
"end": 2011,
"loc": {
"start": {
"line": 68,
"column": 2
},
"end": {
"line": 78,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1764,
"end": 1783,
"loc": {
"start": {
"line": 68,
"column": 2
},
"end": {
"line": 68,
"column": 21
},
"identifierName": "removePersistedData"
},
"name": "removePersistedData",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1785,
"end": 1789,
"loc": {
"start": {
"line": 68,
"column": 23
},
"end": {
"line": 68,
"column": 27
},
"identifierName": "room"
},
"name": "room"
},
{
"type": "AssignmentPattern",
"start": 1791,
"end": 1817,
"loc": {
"start": {
"line": 68,
"column": 29
},
"end": {
"line": 68,
"column": 55
}
},
"left": {
"type": "Identifier",
"start": 1791,
"end": 1810,
"loc": {
"start": {
"line": 68,
"column": 29
},
"end": {
"line": 68,
"column": 48
},
"identifierName": "destroyYjsInstances"
},
"name": "destroyYjsInstances"
},
"right": {
"type": "BooleanLiteral",
"start": 1813,
"end": 1817,
"loc": {
"start": {
"line": 68,
"column": 51
},
"end": {
"line": 68,
"column": 55
}
},
"value": true
}
}
],
"body": {
"type": "BlockStatement",
"start": 1819,
"end": 2011,
"loc": {
"start": {
"line": 68,
"column": 57
},
"end": {
"line": 78,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1825,
"end": 2007,
"loc": {
"start": {
"line": 69,
"column": 4
},
"end": {
"line": 77,
"column": 6
}
},
"expression": {
"type": "CallExpression",
"start": 1825,
"end": 2007,
"loc": {
"start": {
"line": 69,
"column": 4
},
"end": {
"line": 77,
"column": 6
}
},
"callee": {
"type": "MemberExpression",
"start": 1825,
"end": 1840,
"loc": {
"start": {
"line": 69,
"column": 4
},
"end": {
"line": 69,
"column": 19
}
},
"object": {
"type": "MemberExpression",
"start": 1825,
"end": 1832,
"loc": {
"start": {
"line": 69,
"column": 4
},
"end": {
"line": 69,
"column": 11
}
},
"object": {
"type": "ThisExpression",
"start": 1825,
"end": 1829,
"loc": {
"start": {
"line": 69,
"column": 4
},
"end": {
"line": 69,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 1830,
"end": 1832,
"loc": {
"start": {
"line": 69,
"column": 9
},
"end": {
"line": 69,
"column": 11
},
"identifierName": "ys"
},
"name": "ys"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1833,
"end": 1840,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 19
},
"identifierName": "forEach"
},
"name": "forEach"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 1841,
"end": 2006,
"loc": {
"start": {
"line": 69,
"column": 20
},
"end": {
"line": 77,
"column": 5
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1842,
"end": 1845,
"loc": {
"start": {
"line": 69,
"column": 21
},
"end": {
"line": 69,
"column": 24
},
"identifierName": "cnf"
},
"name": "cnf"
},
{
"type": "Identifier",
"start": 1847,
"end": 1848,
"loc": {
"start": {
"line": 69,
"column": 26
},
"end": {
"line": 69,
"column": 27
},
"identifierName": "y"
},
"name": "y"
}
],
"body": {
"type": "BlockStatement",
"start": 1853,
"end": 2006,
"loc": {
"start": {
"line": 69,
"column": 32
},
"end": {
"line": 77,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 1861,
"end": 2000,
"loc": {
"start": {
"line": 70,
"column": 6
},
"end": {
"line": 76,
"column": 7
}
},
"test": {
"type": "BinaryExpression",
"start": 1865,
"end": 1880,
"loc": {
"start": {
"line": 70,
"column": 10
},
"end": {
"line": 70,
"column": 25
}
},
"left": {
"type": "MemberExpression",
"start": 1865,
"end": 1871,
"loc": {
"start": {
"line": 70,
"column": 10
},
"end": {
"line": 70,
"column": 16
}
},
"object": {
"type": "Identifier",
"start": 1865,
"end": 1866,
"loc": {
"start": {
"line": 70,
"column": 10
},
"end": {
"line": 70,
"column": 11
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 1867,
"end": 1871,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 16
},
"identifierName": "room"
},
"name": "room"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 1876,
"end": 1880,
"loc": {
"start": {
"line": 70,
"column": 21
},
"end": {
"line": 70,
"column": 25
},
"identifierName": "room"
},
"name": "room"
}
},
"consequent": {
"type": "BlockStatement",
"start": 1882,
"end": 2000,
"loc": {
"start": {
"line": 70,
"column": 27
},
"end": {
"line": 76,
"column": 7
}
},
"body": [
{
"type": "IfStatement",
"start": 1892,
"end": 1992,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 75,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 1896,
"end": 1915,
"loc": {
"start": {
"line": 71,
"column": 12
},
"end": {
"line": 71,
"column": 31
},
"identifierName": "destroyYjsInstances"
},
"name": "destroyYjsInstances"
},
"consequent": {
"type": "BlockStatement",
"start": 1917,
"end": 1950,
"loc": {
"start": {
"line": 71,
"column": 33
},
"end": {
"line": 73,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1929,
"end": 1940,
"loc": {
"start": {
"line": 72,
"column": 10
},
"end": {
"line": 72,
"column": 21
}
},
"expression": {
"type": "CallExpression",
"start": 1929,
"end": 1940,
"loc": {
"start": {
"line": 72,
"column": 10
},
"end": {
"line": 72,
"column": 21
}
},
"callee": {
"type": "MemberExpression",
"start": 1929,
"end": 1938,
"loc": {
"start": {
"line": 72,
"column": 10
},
"end": {
"line": 72,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 1929,
"end": 1930,
"loc": {
"start": {
"line": 72,
"column": 10
},
"end": {
"line": 72,
"column": 11
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 1931,
"end": 1938,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 19
},
"identifierName": "destroy"
},
"name": "destroy"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 1956,
"end": 1992,
"loc": {
"start": {
"line": 73,
"column": 15
},
"end": {
"line": 75,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1968,
"end": 1982,
"loc": {
"start": {
"line": 74,
"column": 10
},
"end": {
"line": 74,
"column": 24
}
},
"expression": {
"type": "CallExpression",
"start": 1968,
"end": 1982,
"loc": {
"start": {
"line": 74,
"column": 10
},
"end": {
"line": 74,
"column": 24
}
},
"callee": {
"type": "MemberExpression",
"start": 1968,
"end": 1979,
"loc": {
"start": {
"line": 74,
"column": 10
},
"end": {
"line": 74,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 1968,
"end": 1972,
"loc": {
"start": {
"line": 74,
"column": 10
},
"end": {
"line": 74,
"column": 14
}
}
},
"property": {
"type": "Identifier",
"start": 1973,
"end": 1979,
"loc": {
"start": {
"line": 74,
"column": 15
},
"end": {
"line": 74,
"column": 21
},
"identifierName": "deinit"
},
"name": "deinit"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1980,
"end": 1981,
"loc": {
"start": {
"line": 74,
"column": 22
},
"end": {
"line": 74,
"column": 23
},
"identifierName": "y"
},
"name": "y"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Remove all persisted data that belongs to a room.\n * Automatically destroys all Yjs all Yjs instances that persist to\n * the room. If `destroyYjsInstances = false` the persistence functionality\n * will be removed from the Yjs instances.\n *\n * ** Must be overwritten! **\n ",
"start": 1467,
"end": 1761,
"loc": {
"start": {
"line": 60,
"column": 2
},
"end": {
"line": 67,
"column": 5
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": " overwrite ",
"start": 2015,
"end": 2030,
"loc": {
"start": {
"line": 80,
"column": 2
},
"end": {
"line": 80,
"column": 17
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2033,
"end": 2058,
"loc": {
"start": {
"line": 81,
"column": 2
},
"end": {
"line": 82,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2033,
"end": 2043,
"loc": {
"start": {
"line": 81,
"column": 2
},
"end": {
"line": 81,
"column": 12
},
"identifierName": "saveUpdate"
},
"name": "saveUpdate",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2045,
"end": 2051,
"loc": {
"start": {
"line": 81,
"column": 14
},
"end": {
"line": 81,
"column": 20
},
"identifierName": "buffer"
},
"name": "buffer"
}
],
"body": {
"type": "BlockStatement",
"start": 2053,
"end": 2058,
"loc": {
"start": {
"line": 81,
"column": 22
},
"end": {
"line": 82,
"column": 3
}
},
"body": [],
"directives": [],
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": " overwrite ",
"start": 2015,
"end": 2030,
"loc": {
"start": {
"line": 80,
"column": 2
},
"end": {
"line": 80,
"column": 17
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Save struct to update buffer.\n * saveUpdate is called when transaction ends\n ",
"start": 2062,
"end": 2154,
"loc": {
"start": {
"line": 84,
"column": 2
},
"end": {
"line": 87,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2157,
"end": 2351,
"loc": {
"start": {
"line": 88,
"column": 2
},
"end": {
"line": 96,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2157,
"end": 2167,
"loc": {
"start": {
"line": 88,
"column": 2
},
"end": {
"line": 88,
"column": 12
},
"identifierName": "saveStruct"
},
"name": "saveStruct",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2169,
"end": 2170,
"loc": {
"start": {
"line": 88,
"column": 14
},
"end": {
"line": 88,
"column": 15
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 2172,
"end": 2178,
"loc": {
"start": {
"line": 88,
"column": 17
},
"end": {
"line": 88,
"column": 23
},
"identifierName": "struct"
},
"name": "struct"
}
],
"body": {
"type": "BlockStatement",
"start": 2180,
"end": 2351,
"loc": {
"start": {
"line": 88,
"column": 25
},
"end": {
"line": 96,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2186,
"end": 2210,
"loc": {
"start": {
"line": 89,
"column": 4
},
"end": {
"line": 89,
"column": 28
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2190,
"end": 2210,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 28
}
},
"id": {
"type": "Identifier",
"start": 2190,
"end": 2193,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 11
},
"identifierName": "cnf"
},
"name": "cnf"
},
"init": {
"type": "CallExpression",
"start": 2196,
"end": 2210,
"loc": {
"start": {
"line": 89,
"column": 14
},
"end": {
"line": 89,
"column": 28
}
},
"callee": {
"type": "MemberExpression",
"start": 2196,
"end": 2207,
"loc": {
"start": {
"line": 89,
"column": 14
},
"end": {
"line": 89,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 2196,
"end": 2203,
"loc": {
"start": {
"line": 89,
"column": 14
},
"end": {
"line": 89,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 2196,
"end": 2200,
"loc": {
"start": {
"line": 89,
"column": 14
},
"end": {
"line": 89,
"column": 18
}
}
},
"property": {
"type": "Identifier",
"start": 2201,
"end": 2203,
"loc": {
"start": {
"line": 89,
"column": 19
},
"end": {
"line": 89,
"column": 21
},
"identifierName": "ys"
},
"name": "ys"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2204,
"end": 2207,
"loc": {
"start": {
"line": 89,
"column": 22
},
"end": {
"line": 89,
"column": 25
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2208,
"end": 2209,
"loc": {
"start": {
"line": 89,
"column": 26
},
"end": {
"line": 89,
"column": 27
},
"identifierName": "y"
},
"name": "y"
}
]
}
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 2215,
"end": 2347,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 95,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 2219,
"end": 2236,
"loc": {
"start": {
"line": 90,
"column": 8
},
"end": {
"line": 90,
"column": 25
}
},
"left": {
"type": "Identifier",
"start": 2219,
"end": 2222,
"loc": {
"start": {
"line": 90,
"column": 8
},
"end": {
"line": 90,
"column": 11
},
"identifierName": "cnf"
},
"name": "cnf"
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 2227,
"end": 2236,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"column": 25
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
"consequent": {
"type": "BlockStatement",
"start": 2238,
"end": 2347,
"loc": {
"start": {
"line": 90,
"column": 27
},
"end": {
"line": 95,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2246,
"end": 2341,
"loc": {
"start": {
"line": 91,
"column": 6
},
"end": {
"line": 94,
"column": 8
}
},
"expression": {
"type": "CallExpression",
"start": 2246,
"end": 2341,
"loc": {
"start": {
"line": 91,
"column": 6
},
"end": {
"line": 94,
"column": 8
}
},
"callee": {
"type": "MemberExpression",
"start": 2246,
"end": 2263,
"loc": {
"start": {
"line": 91,
"column": 6
},
"end": {
"line": 91,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 2246,
"end": 2249,
"loc": {
"start": {
"line": 91,
"column": 6
},
"end": {
"line": 91,
"column": 9
},
"identifierName": "cnf"
},
"name": "cnf"
},
"property": {
"type": "Identifier",
"start": 2250,
"end": 2263,
"loc": {
"start": {
"line": 91,
"column": 10
},
"end": {
"line": 91,
"column": 23
},
"identifierName": "mutualExclude"
},
"name": "mutualExclude"
},
"computed": false
},
"arguments": [
{
"type": "FunctionExpression",
"start": 2264,
"end": 2340,
"loc": {
"start": {
"line": 91,
"column": 24
},
"end": {
"line": 94,
"column": 7
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2276,
"end": 2340,
"loc": {
"start": {
"line": 91,
"column": 36
},
"end": {
"line": 94,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2286,
"end": 2314,
"loc": {
"start": {
"line": 92,
"column": 8
},
"end": {
"line": 92,
"column": 36
}
},
"expression": {
"type": "CallExpression",
"start": 2286,
"end": 2314,
"loc": {
"start": {
"line": 92,
"column": 8
},
"end": {
"line": 92,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 2286,
"end": 2302,
"loc": {
"start": {
"line": 92,
"column": 8
},
"end": {
"line": 92,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 2286,
"end": 2292,
"loc": {
"start": {
"line": 92,
"column": 8
},
"end": {
"line": 92,
"column": 14
},
"identifierName": "struct"
},
"name": "struct"
},
"property": {
"type": "Identifier",
"start": 2293,
"end": 2302,
"loc": {
"start": {
"line": 92,
"column": 15
},
"end": {
"line": 92,
"column": 24
},
"identifierName": "_toBinary"
},
"name": "_toBinary"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2303,
"end": 2313,
"loc": {
"start": {
"line": 92,
"column": 25
},
"end": {
"line": 92,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 2303,
"end": 2306,
"loc": {
"start": {
"line": 92,
"column": 25
},
"end": {
"line": 92,
"column": 28
},
"identifierName": "cnf"
},
"name": "cnf"
},
"property": {
"type": "Identifier",
"start": 2307,
"end": 2313,
"loc": {
"start": {
"line": 92,
"column": 29
},
"end": {
"line": 92,
"column": 35
},
"identifierName": "buffer"
},
"name": "buffer"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2323,
"end": 2332,
"loc": {
"start": {
"line": 93,
"column": 8
},
"end": {
"line": 93,
"column": 17
}
},
"expression": {
"type": "UpdateExpression",
"start": 2323,
"end": 2332,
"loc": {
"start": {
"line": 93,
"column": 8
},
"end": {
"line": 93,
"column": 17
}
},
"operator": "++",
"prefix": false,
"argument": {
"type": "MemberExpression",
"start": 2323,
"end": 2330,
"loc": {
"start": {
"line": 93,
"column": 8
},
"end": {
"line": 93,
"column": 15
}
},
"object": {
"type": "Identifier",
"start": 2323,
"end": 2326,
"loc": {
"start": {
"line": 93,
"column": 8
},
"end": {
"line": 93,
"column": 11
},
"identifierName": "cnf"
},
"name": "cnf"
},
"property": {
"type": "Identifier",
"start": 2327,
"end": 2330,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 15
},
"identifierName": "len"
},
"name": "len"
},
"computed": false
}
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Save struct to update buffer.\n * saveUpdate is called when transaction ends\n ",
"start": 2062,
"end": 2154,
"loc": {
"start": {
"line": 84,
"column": 2
},
"end": {
"line": 87,
"column": 5
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": " overwrite ",
"start": 2355,
"end": 2370,
"loc": {
"start": {
"line": 98,
"column": 2
},
"end": {
"line": 98,
"column": 17
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2373,
"end": 2909,
"loc": {
"start": {
"line": 99,
"column": 2
},
"end": {
"line": 116,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2373,
"end": 2381,
"loc": {
"start": {
"line": 99,
"column": 2
},
"end": {
"line": 99,
"column": 10
},
"identifierName": "retrieve"
},
"name": "retrieve",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2383,
"end": 2384,
"loc": {
"start": {
"line": 99,
"column": 12
},
"end": {
"line": 99,
"column": 13
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 2386,
"end": 2391,
"loc": {
"start": {
"line": 99,
"column": 15
},
"end": {
"line": 99,
"column": 20
},
"identifierName": "model"
},
"name": "model"
},
{
"type": "Identifier",
"start": 2393,
"end": 2400,
"loc": {
"start": {
"line": 99,
"column": 22
},
"end": {
"line": 99,
"column": 29
},
"identifierName": "updates"
},
"name": "updates"
}
],
"body": {
"type": "BlockStatement",
"start": 2402,
"end": 2909,
"loc": {
"start": {
"line": 99,
"column": 31
},
"end": {
"line": 116,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2408,
"end": 2432,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 100,
"column": 28
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2412,
"end": 2432,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 28
}
},
"id": {
"type": "Identifier",
"start": 2412,
"end": 2415,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 11
},
"identifierName": "cnf"
},
"name": "cnf"
},
"init": {
"type": "CallExpression",
"start": 2418,
"end": 2432,
"loc": {
"start": {
"line": 100,
"column": 14
},
"end": {
"line": 100,
"column": 28
}
},
"callee": {
"type": "MemberExpression",
"start": 2418,
"end": 2429,
"loc": {
"start": {
"line": 100,
"column": 14
},
"end": {
"line": 100,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 2418,
"end": 2425,
"loc": {
"start": {
"line": 100,
"column": 14
},
"end": {
"line": 100,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 2418,
"end": 2422,
"loc": {
"start": {
"line": 100,
"column": 14
},
"end": {
"line": 100,
"column": 18
}
}
},
"property": {
"type": "Identifier",
"start": 2423,
"end": 2425,
"loc": {
"start": {
"line": 100,
"column": 19
},
"end": {
"line": 100,
"column": 21
},
"identifierName": "ys"
},
"name": "ys"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2426,
"end": 2429,
"loc": {
"start": {
"line": 100,
"column": 22
},
"end": {
"line": 100,
"column": 25
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2430,
"end": 2431,
"loc": {
"start": {
"line": 100,
"column": 26
},
"end": {
"line": 100,
"column": 27
},
"identifierName": "y"
},
"name": "y"
}
]
}
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 2437,
"end": 2905,
"loc": {
"start": {
"line": 101,
"column": 4
},
"end": {
"line": 115,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 2441,
"end": 2458,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 25
}
},
"left": {
"type": "Identifier",
"start": 2441,
"end": 2444,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 11
},
"identifierName": "cnf"
},
"name": "cnf"
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 2449,
"end": 2458,
"loc": {
"start": {
"line": 101,
"column": 16
},
"end": {
"line": 101,
"column": 25
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
"consequent": {
"type": "BlockStatement",
"start": 2460,
"end": 2905,
"loc": {
"start": {
"line": 101,
"column": 27
},
"end": {
"line": 115,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2468,
"end": 2899,
"loc": {
"start": {
"line": 102,
"column": 6
},
"end": {
"line": 114,
"column": 8
}
},
"expression": {
"type": "CallExpression",
"start": 2468,
"end": 2899,
"loc": {
"start": {
"line": 102,
"column": 6
},
"end": {
"line": 114,
"column": 8
}
},
"callee": {
"type": "MemberExpression",
"start": 2468,
"end": 2485,
"loc": {
"start": {
"line": 102,
"column": 6
},
"end": {
"line": 102,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 2468,
"end": 2471,
"loc": {
"start": {
"line": 102,
"column": 6
},
"end": {
"line": 102,
"column": 9
},
"identifierName": "cnf"
},
"name": "cnf"
},
"property": {
"type": "Identifier",
"start": 2472,
"end": 2485,
"loc": {
"start": {
"line": 102,
"column": 10
},
"end": {
"line": 102,
"column": 23
},
"identifierName": "mutualExclude"
},
"name": "mutualExclude"
},
"computed": false
},
"arguments": [
{
"type": "FunctionExpression",
"start": 2486,
"end": 2898,
"loc": {
"start": {
"line": 102,
"column": 24
},
"end": {
"line": 114,
"column": 7
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2498,
"end": 2898,
"loc": {
"start": {
"line": 102,
"column": 36
},
"end": {
"line": 114,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2508,
"end": 2855,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 112,
"column": 10
}
},
"expression": {
"type": "CallExpression",
"start": 2508,
"end": 2855,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 112,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 2508,
"end": 2518,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 2508,
"end": 2509,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 9
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 2510,
"end": 2518,
"loc": {
"start": {
"line": 103,
"column": 10
},
"end": {
"line": 103,
"column": 18
},
"identifierName": "transact"
},
"name": "transact"
},
"computed": false
},
"arguments": [
{
"type": "FunctionExpression",
"start": 2519,
"end": 2854,
"loc": {
"start": {
"line": 103,
"column": 19
},
"end": {
"line": 112,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2531,
"end": 2854,
"loc": {
"start": {
"line": 103,
"column": 31
},
"end": {
"line": 112,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 2543,
"end": 2643,
"loc": {
"start": {
"line": 104,
"column": 10
},
"end": {
"line": 106,
"column": 11
}
},
"test": {
"type": "BinaryExpression",
"start": 2547,
"end": 2560,
"loc": {
"start": {
"line": 104,
"column": 14
},
"end": {
"line": 104,
"column": 27
}
},
"left": {
"type": "Identifier",
"start": 2547,
"end": 2552,
"loc": {
"start": {
"line": 104,
"column": 14
},
"end": {
"line": 104,
"column": 19
},
"identifierName": "model"
},
"name": "model"
},
"operator": "!=",
"right": {
"type": "NullLiteral",
"start": 2556,
"end": 2560,
"loc": {
"start": {
"line": 104,
"column": 23
},
"end": {
"line": 104,
"column": 27
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 2562,
"end": 2643,
"loc": {
"start": {
"line": 104,
"column": 29
},
"end": {
"line": 106,
"column": 11
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2576,
"end": 2631,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 105,
"column": 67
}
},
"expression": {
"type": "CallExpression",
"start": 2576,
"end": 2631,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 105,
"column": 67
}
},
"callee": {
"type": "Identifier",
"start": 2576,
"end": 2586,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 105,
"column": 22
},
"identifierName": "fromBinary"
},
"name": "fromBinary"
},
"arguments": [
{
"type": "Identifier",
"start": 2587,
"end": 2588,
"loc": {
"start": {
"line": 105,
"column": 23
},
"end": {
"line": 105,
"column": 24
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "NewExpression",
"start": 2590,
"end": 2630,
"loc": {
"start": {
"line": 105,
"column": 26
},
"end": {
"line": 105,
"column": 66
}
},
"callee": {
"type": "Identifier",
"start": 2594,
"end": 2607,
"loc": {
"start": {
"line": 105,
"column": 30
},
"end": {
"line": 105,
"column": 43
},
"identifierName": "BinaryDecoder"
},
"name": "BinaryDecoder"
},
"arguments": [
{
"type": "NewExpression",
"start": 2608,
"end": 2629,
"loc": {
"start": {
"line": 105,
"column": 44
},
"end": {
"line": 105,
"column": 65
}
},
"callee": {
"type": "Identifier",
"start": 2612,
"end": 2622,
"loc": {
"start": {
"line": 105,
"column": 48
},
"end": {
"line": 105,
"column": 58
},
"identifierName": "Uint8Array"
},
"name": "Uint8Array"
},
"arguments": [
{
"type": "Identifier",
"start": 2623,
"end": 2628,
"loc": {
"start": {
"line": 105,
"column": 59
},
"end": {
"line": 105,
"column": 64
},
"identifierName": "model"
},
"name": "model"
}
]
}
]
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 2654,
"end": 2844,
"loc": {
"start": {
"line": 107,
"column": 10
},
"end": {
"line": 111,
"column": 11
}
},
"test": {
"type": "BinaryExpression",
"start": 2658,
"end": 2673,
"loc": {
"start": {
"line": 107,
"column": 14
},
"end": {
"line": 107,
"column": 29
}
},
"left": {
"type": "Identifier",
"start": 2658,
"end": 2665,
"loc": {
"start": {
"line": 107,
"column": 14
},
"end": {
"line": 107,
"column": 21
},
"identifierName": "updates"
},
"name": "updates"
},
"operator": "!=",
"right": {
"type": "NullLiteral",
"start": 2669,
"end": 2673,
"loc": {
"start": {
"line": 107,
"column": 25
},
"end": {
"line": 107,
"column": 29
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 2675,
"end": 2844,
"loc": {
"start": {
"line": 107,
"column": 31
},
"end": {
"line": 111,
"column": 11
}
},
"body": [
{
"type": "ForStatement",
"start": 2689,
"end": 2832,
"loc": {
"start": {
"line": 108,
"column": 12
},
"end": {
"line": 110,
"column": 13
}
},
"init": {
"type": "VariableDeclaration",
"start": 2694,
"end": 2703,
"loc": {
"start": {
"line": 108,
"column": 17
},
"end": {
"line": 108,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2698,
"end": 2703,
"loc": {
"start": {
"line": 108,
"column": 21
},
"end": {
"line": 108,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 2698,
"end": 2699,
"loc": {
"start": {
"line": 108,
"column": 21
},
"end": {
"line": 108,
"column": 22
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 2702,
"end": 2703,
"loc": {
"start": {
"line": 108,
"column": 25
},
"end": {
"line": 108,
"column": 26
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 2705,
"end": 2723,
"loc": {
"start": {
"line": 108,
"column": 28
},
"end": {
"line": 108,
"column": 46
}
},
"left": {
"type": "Identifier",
"start": 2705,
"end": 2706,
"loc": {
"start": {
"line": 108,
"column": 28
},
"end": {
"line": 108,
"column": 29
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 2709,
"end": 2723,
"loc": {
"start": {
"line": 108,
"column": 32
},
"end": {
"line": 108,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 2709,
"end": 2716,
"loc": {
"start": {
"line": 108,
"column": 32
},
"end": {
"line": 108,
"column": 39
},
"identifierName": "updates"
},
"name": "updates"
},
"property": {
"type": "Identifier",
"start": 2717,
"end": 2723,
"loc": {
"start": {
"line": 108,
"column": 40
},
"end": {
"line": 108,
"column": 46
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 2725,
"end": 2728,
"loc": {
"start": {
"line": 108,
"column": 48
},
"end": {
"line": 108,
"column": 51
}
},
"operator": "++",
"prefix": false,
"argument": {
"type": "Identifier",
"start": 2725,
"end": 2726,
"loc": {
"start": {
"line": 108,
"column": 48
},
"end": {
"line": 108,
"column": 49
},
"identifierName": "i"
},
"name": "i"
}
},
"body": {
"type": "BlockStatement",
"start": 2730,
"end": 2832,
"loc": {
"start": {
"line": 108,
"column": 53
},
"end": {
"line": 110,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2746,
"end": 2818,
"loc": {
"start": {
"line": 109,
"column": 14
},
"end": {
"line": 109,
"column": 86
}
},
"expression": {
"type": "CallExpression",
"start": 2746,
"end": 2818,
"loc": {
"start": {
"line": 109,
"column": 14
},
"end": {
"line": 109,
"column": 86
}
},
"callee": {
"type": "Identifier",
"start": 2746,
"end": 2768,
"loc": {
"start": {
"line": 109,
"column": 14
},
"end": {
"line": 109,
"column": 36
},
"identifierName": "integrateRemoteStructs"
},
"name": "integrateRemoteStructs"
},
"arguments": [
{
"type": "Identifier",
"start": 2769,
"end": 2770,
"loc": {
"start": {
"line": 109,
"column": 37
},
"end": {
"line": 109,
"column": 38
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "NewExpression",
"start": 2772,
"end": 2817,
"loc": {
"start": {
"line": 109,
"column": 40
},
"end": {
"line": 109,
"column": 85
}
},
"callee": {
"type": "Identifier",
"start": 2776,
"end": 2789,
"loc": {
"start": {
"line": 109,
"column": 44
},
"end": {
"line": 109,
"column": 57
},
"identifierName": "BinaryDecoder"
},
"name": "BinaryDecoder"
},
"arguments": [
{
"type": "NewExpression",
"start": 2790,
"end": 2816,
"loc": {
"start": {
"line": 109,
"column": 58
},
"end": {
"line": 109,
"column": 84
}
},
"callee": {
"type": "Identifier",
"start": 2794,
"end": 2804,
"loc": {
"start": {
"line": 109,
"column": 62
},
"end": {
"line": 109,
"column": 72
},
"identifierName": "Uint8Array"
},
"name": "Uint8Array"
},
"arguments": [
{
"type": "MemberExpression",
"start": 2805,
"end": 2815,
"loc": {
"start": {
"line": 109,
"column": 73
},
"end": {
"line": 109,
"column": 83
}
},
"object": {
"type": "Identifier",
"start": 2805,
"end": 2812,
"loc": {
"start": {
"line": 109,
"column": 73
},
"end": {
"line": 109,
"column": 80
},
"identifierName": "updates"
},
"name": "updates"
},
"property": {
"type": "Identifier",
"start": 2813,
"end": 2814,
"loc": {
"start": {
"line": 109,
"column": 81
},
"end": {
"line": 109,
"column": 82
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
]
}
]
}
]
}
}
],
"directives": []
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2864,
"end": 2890,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 2864,
"end": 2890,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 2864,
"end": 2870,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 14
}
},
"object": {
"type": "Identifier",
"start": 2864,
"end": 2865,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 9
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 2866,
"end": 2870,
"loc": {
"start": {
"line": 113,
"column": 10
},
"end": {
"line": 113,
"column": 14
},
"identifierName": "emit"
},
"name": "emit"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2871,
"end": 2889,
"loc": {
"start": {
"line": 113,
"column": 15
},
"end": {
"line": 113,
"column": 33
}
},
"extra": {
"rawValue": "persistenceReady",
"raw": "'persistenceReady'"
},
"value": "persistenceReady"
}
]
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": " overwrite ",
"start": 2355,
"end": 2370,
"loc": {
"start": {
"line": 98,
"column": 2
},
"end": {
"line": 98,
"column": 17
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": " overwrite ",
"start": 2913,
"end": 2928,
"loc": {
"start": {
"line": 118,
"column": 2
},
"end": {
"line": 118,
"column": 17
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2931,
"end": 2986,
"loc": {
"start": {
"line": 119,
"column": 2
},
"end": {
"line": 121,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2931,
"end": 2938,
"loc": {
"start": {
"line": 119,
"column": 2
},
"end": {
"line": 119,
"column": 9
},
"identifierName": "persist"
},
"name": "persist",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2940,
"end": 2941,
"loc": {
"start": {
"line": 119,
"column": 11
},
"end": {
"line": 119,
"column": 12
},
"identifierName": "y"
},
"name": "y"
}
],
"body": {
"type": "BlockStatement",
"start": 2943,
"end": 2986,
"loc": {
"start": {
"line": 119,
"column": 14
},
"end": {
"line": 121,
"column": 3
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2949,
"end": 2982,
"loc": {
"start": {
"line": 120,
"column": 4
},
"end": {
"line": 120,
"column": 37
}
},
"argument": {
"type": "CallExpression",
"start": 2956,
"end": 2982,
"loc": {
"start": {
"line": 120,
"column": 11
},
"end": {
"line": 120,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 2956,
"end": 2980,
"loc": {
"start": {
"line": 120,
"column": 11
},
"end": {
"line": 120,
"column": 35
}
},
"object": {
"type": "CallExpression",
"start": 2956,
"end": 2967,
"loc": {
"start": {
"line": 120,
"column": 11
},
"end": {
"line": 120,
"column": 22
}
},
"callee": {
"type": "Identifier",
"start": 2956,
"end": 2964,
"loc": {
"start": {
"line": 120,
"column": 11
},
"end": {
"line": 120,
"column": 19
},
"identifierName": "toBinary"
},
"name": "toBinary"
},
"arguments": [
{
"type": "Identifier",
"start": 2965,
"end": 2966,
"loc": {
"start": {
"line": 120,
"column": 20
},
"end": {
"line": 120,
"column": 21
},
"identifierName": "y"
},
"name": "y"
}
]
},
"property": {
"type": "Identifier",
"start": 2968,
"end": 2980,
"loc": {
"start": {
"line": 120,
"column": 23
},
"end": {
"line": 120,
"column": 35
},
"identifierName": "createBuffer"
},
"name": "createBuffer"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": " overwrite ",
"start": 2913,
"end": 2928,
"loc": {
"start": {
"line": 118,
"column": 2
},
"end": {
"line": 118,
"column": 17
}
}
}
]
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Abstract persistence class.\n ",
"start": 451,
"end": 489,
"loc": {
"start": {
"line": 16,
"column": 0
},
"end": {
"line": 18,
"column": 3
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Abstract persistence class.\n ",
"start": 451,
"end": 489,
"loc": {
"start": {
"line": 16,
"column": 0
},
"end": {
"line": 18,
"column": 3
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\n * Abstract persistence class.\n ",
"start": 451,
"end": 489,
"loc": {
"start": {
"line": 16,
"column": 0
},
"end": {
"line": 18,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Remove all persisted data that belongs to a room.\n * Automatically destroys all Yjs all Yjs instances that persist to\n * the room. If `destroyYjsInstances = false` the persistence functionality\n * will be removed from the Yjs instances.\n *\n * ** Must be overwritten! **\n ",
"start": 1467,
"end": 1761,
"loc": {
"start": {
"line": 60,
"column": 2
},
"end": {
"line": 67,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": " overwrite ",
"start": 2015,
"end": 2030,
"loc": {
"start": {
"line": 80,
"column": 2
},
"end": {
"line": 80,
"column": 17
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Save struct to update buffer.\n * saveUpdate is called when transaction ends\n ",
"start": 2062,
"end": 2154,
"loc": {
"start": {
"line": 84,
"column": 2
},
"end": {
"line": 87,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": " overwrite ",
"start": 2355,
"end": 2370,
"loc": {
"start": {
"line": 98,
"column": 2
},
"end": {
"line": 98,
"column": 17
}
}
},
{
"type": "CommentBlock",
"value": " overwrite ",
"start": 2913,
"end": 2928,
"loc": {
"start": {
"line": 118,
"column": 2
},
"end": {
"line": 118,
"column": 17
}
}
}
],
"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": 52,
"loc": {
"start": {
"line": 1,
"column": 26
},
"end": {
"line": 1,
"column": 52
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 53,
"end": 59,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BinaryDecoder",
"start": 60,
"end": 73,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 74,
"end": 78,
"loc": {
"start": {
"line": 2,
"column": 21
},
"end": {
"line": 2,
"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/Decoder.js",
"start": 79,
"end": 105,
"loc": {
"start": {
"line": 2,
"column": 26
},
"end": {
"line": 2,
"column": 52
}
}
},
{
"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": 106,
"end": 112,
"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": 113,
"end": 114,
"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": "toBinary",
"start": 115,
"end": 123,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 17
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 123,
"end": 124,
"loc": {
"start": {
"line": 3,
"column": 17
},
"end": {
"line": 3,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fromBinary",
"start": 125,
"end": 135,
"loc": {
"start": {
"line": 3,
"column": 19
},
"end": {
"line": 3,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 136,
"end": 137,
"loc": {
"start": {
"line": 3,
"column": 30
},
"end": {
"line": 3,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 138,
"end": 142,
"loc": {
"start": {
"line": 3,
"column": 32
},
"end": {
"line": 3,
"column": 36
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./MessageHandler/binaryEncode.js",
"start": 143,
"end": 177,
"loc": {
"start": {
"line": 3,
"column": 37
},
"end": {
"line": 3,
"column": 71
}
}
},
{
"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": 178,
"end": 184,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 185,
"end": 186,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "integrateRemoteStructs",
"start": 187,
"end": 209,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 210,
"end": 211,
"loc": {
"start": {
"line": 4,
"column": 32
},
"end": {
"line": 4,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 212,
"end": 216,
"loc": {
"start": {
"line": 4,
"column": 34
},
"end": {
"line": 4,
"column": 38
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./MessageHandler/integrateRemoteStructs.js",
"start": 217,
"end": 261,
"loc": {
"start": {
"line": 4,
"column": 39
},
"end": {
"line": 4,
"column": 83
}
}
},
{
"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": 262,
"end": 268,
"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": 269,
"end": 270,
"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": "createMutualExclude",
"start": 271,
"end": 290,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 28
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 291,
"end": 292,
"loc": {
"start": {
"line": 5,
"column": 29
},
"end": {
"line": 5,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 293,
"end": 297,
"loc": {
"start": {
"line": 5,
"column": 31
},
"end": {
"line": 5,
"column": 35
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./Util/mutualExclude.js",
"start": 298,
"end": 323,
"loc": {
"start": {
"line": 5,
"column": 36
},
"end": {
"line": 5,
"column": 61
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 325,
"end": 333,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getFreshCnf",
"start": 334,
"end": 345,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 346,
"end": 347,
"loc": {
"start": {
"line": 7,
"column": 21
},
"end": {
"line": 7,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 347,
"end": 348,
"loc": {
"start": {
"line": 7,
"column": 22
},
"end": {
"line": 7,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 349,
"end": 350,
"loc": {
"start": {
"line": 7,
"column": 24
},
"end": {
"line": 7,
"column": 25
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 353,
"end": 356,
"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": "buffer",
"start": 357,
"end": 363,
"loc": {
"start": {
"line": 8,
"column": 6
},
"end": {
"line": 8,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 364,
"end": 365,
"loc": {
"start": {
"line": 8,
"column": 13
},
"end": {
"line": 8,
"column": 14
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 366,
"end": 369,
"loc": {
"start": {
"line": 8,
"column": 15
},
"end": {
"line": 8,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BinaryEncoder",
"start": 370,
"end": 383,
"loc": {
"start": {
"line": 8,
"column": 19
},
"end": {
"line": 8,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 383,
"end": 384,
"loc": {
"start": {
"line": 8,
"column": 32
},
"end": {
"line": 8,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 384,
"end": 385,
"loc": {
"start": {
"line": 8,
"column": 33
},
"end": {
"line": 8,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buffer",
"start": 388,
"end": 394,
"loc": {
"start": {
"line": 9,
"column": 2
},
"end": {
"line": 9,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 394,
"end": 395,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeUint32",
"start": 395,
"end": 406,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 406,
"end": 407,
"loc": {
"start": {
"line": 9,
"column": 20
},
"end": {
"line": 9,
"column": 21
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 407,
"end": 408,
"loc": {
"start": {
"line": 9,
"column": 21
},
"end": {
"line": 9,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 408,
"end": 409,
"loc": {
"start": {
"line": 9,
"column": 22
},
"end": {
"line": 9,
"column": 23
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 412,
"end": 418,
"loc": {
"start": {
"line": 10,
"column": 2
},
"end": {
"line": 10,
"column": 8
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 419,
"end": 420,
"loc": {
"start": {
"line": 10,
"column": 9
},
"end": {
"line": 10,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 425,
"end": 428,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 7
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 428,
"end": 429,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 8
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 430,
"end": 431,
"loc": {
"start": {
"line": 11,
"column": 9
},
"end": {
"line": 11,
"column": 10
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 431,
"end": 432,
"loc": {
"start": {
"line": 11,
"column": 10
},
"end": {
"line": 11,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buffer",
"start": 437,
"end": 443,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 446,
"end": 447,
"loc": {
"start": {
"line": 13,
"column": 2
},
"end": {
"line": 13,
"column": 3
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 448,
"end": 449,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 1
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Abstract persistence class.\n ",
"start": 451,
"end": 489,
"loc": {
"start": {
"line": 16,
"column": 0
},
"end": {
"line": 18,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 490,
"end": 496,
"loc": {
"start": {
"line": 19,
"column": 0
},
"end": {
"line": 19,
"column": 6
}
}
},
{
"type": {
"label": "default",
"keyword": "default",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "default",
"start": 497,
"end": 504,
"loc": {
"start": {
"line": 19,
"column": 7
},
"end": {
"line": 19,
"column": 14
}
}
},
{
"type": {
"label": "class",
"keyword": "class",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "class",
"start": 505,
"end": 510,
"loc": {
"start": {
"line": 19,
"column": 15
},
"end": {
"line": 19,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "AbstractPersistence",
"start": 511,
"end": 530,
"loc": {
"start": {
"line": 19,
"column": 21
},
"end": {
"line": 19,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 531,
"end": 532,
"loc": {
"start": {
"line": 19,
"column": 41
},
"end": {
"line": 19,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 535,
"end": 546,
"loc": {
"start": {
"line": 20,
"column": 2
},
"end": {
"line": 20,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 547,
"end": 548,
"loc": {
"start": {
"line": 20,
"column": 14
},
"end": {
"line": 20,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "opts",
"start": 548,
"end": 552,
"loc": {
"start": {
"line": 20,
"column": 15
},
"end": {
"line": 20,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 552,
"end": 553,
"loc": {
"start": {
"line": 20,
"column": 19
},
"end": {
"line": 20,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 554,
"end": 555,
"loc": {
"start": {
"line": 20,
"column": 21
},
"end": {
"line": 20,
"column": 22
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 560,
"end": 564,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 564,
"end": 565,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "opts",
"start": 565,
"end": 569,
"loc": {
"start": {
"line": 21,
"column": 9
},
"end": {
"line": 21,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 570,
"end": 571,
"loc": {
"start": {
"line": 21,
"column": 14
},
"end": {
"line": 21,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "opts",
"start": 572,
"end": 576,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 20
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 581,
"end": 585,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 585,
"end": 586,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ys",
"start": 586,
"end": 588,
"loc": {
"start": {
"line": 22,
"column": 9
},
"end": {
"line": 22,
"column": 11
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 589,
"end": 590,
"loc": {
"start": {
"line": 22,
"column": 12
},
"end": {
"line": 22,
"column": 13
}
}
},
{
"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": 591,
"end": 594,
"loc": {
"start": {
"line": 22,
"column": 14
},
"end": {
"line": 22,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Map",
"start": 595,
"end": 598,
"loc": {
"start": {
"line": 22,
"column": 18
},
"end": {
"line": 22,
"column": 21
}
}
},
{
"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": 22,
"column": 21
},
"end": {
"line": 22,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 599,
"end": 600,
"loc": {
"start": {
"line": 22,
"column": 22
},
"end": {
"line": 22,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 603,
"end": 604,
"loc": {
"start": {
"line": 23,
"column": 2
},
"end": {
"line": 23,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_init",
"start": 608,
"end": 613,
"loc": {
"start": {
"line": 25,
"column": 2
},
"end": {
"line": 25,
"column": 7
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 614,
"end": 615,
"loc": {
"start": {
"line": 25,
"column": 8
},
"end": {
"line": 25,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 615,
"end": 616,
"loc": {
"start": {
"line": 25,
"column": 9
},
"end": {
"line": 25,
"column": 10
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 616,
"end": 617,
"loc": {
"start": {
"line": 25,
"column": 10
},
"end": {
"line": 25,
"column": 11
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 618,
"end": 619,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"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": 624,
"end": 627,
"loc": {
"start": {
"line": 26,
"column": 4
},
"end": {
"line": 26,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 628,
"end": 631,
"loc": {
"start": {
"line": 26,
"column": 8
},
"end": {
"line": 26,
"column": 11
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 632,
"end": 633,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 13
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 634,
"end": 638,
"loc": {
"start": {
"line": 26,
"column": 14
},
"end": {
"line": 26,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 638,
"end": 639,
"loc": {
"start": {
"line": 26,
"column": 18
},
"end": {
"line": 26,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ys",
"start": 639,
"end": 641,
"loc": {
"start": {
"line": 26,
"column": 19
},
"end": {
"line": 26,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 641,
"end": 642,
"loc": {
"start": {
"line": 26,
"column": 21
},
"end": {
"line": 26,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 642,
"end": 645,
"loc": {
"start": {
"line": 26,
"column": 22
},
"end": {
"line": 26,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 645,
"end": 646,
"loc": {
"start": {
"line": 26,
"column": 25
},
"end": {
"line": 26,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 646,
"end": 647,
"loc": {
"start": {
"line": 26,
"column": 26
},
"end": {
"line": 26,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 647,
"end": 648,
"loc": {
"start": {
"line": 26,
"column": 27
},
"end": {
"line": 26,
"column": 28
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 653,
"end": 655,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 656,
"end": 657,
"loc": {
"start": {
"line": 27,
"column": 7
},
"end": {
"line": 27,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 657,
"end": 660,
"loc": {
"start": {
"line": 27,
"column": 8
},
"end": {
"line": 27,
"column": 11
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 661,
"end": 664,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 665,
"end": 674,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 674,
"end": 675,
"loc": {
"start": {
"line": 27,
"column": 25
},
"end": {
"line": 27,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 676,
"end": 677,
"loc": {
"start": {
"line": 27,
"column": 27
},
"end": {
"line": 27,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 684,
"end": 687,
"loc": {
"start": {
"line": 28,
"column": 6
},
"end": {
"line": 28,
"column": 9
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 688,
"end": 689,
"loc": {
"start": {
"line": 28,
"column": 10
},
"end": {
"line": 28,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getFreshCnf",
"start": 690,
"end": 701,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 701,
"end": 702,
"loc": {
"start": {
"line": 28,
"column": 23
},
"end": {
"line": 28,
"column": 24
}
}
},
{
"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": 28,
"column": 24
},
"end": {
"line": 28,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 710,
"end": 713,
"loc": {
"start": {
"line": 29,
"column": 6
},
"end": {
"line": 29,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 713,
"end": 714,
"loc": {
"start": {
"line": 29,
"column": 9
},
"end": {
"line": 29,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mutualExclude",
"start": 714,
"end": 727,
"loc": {
"start": {
"line": 29,
"column": 10
},
"end": {
"line": 29,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 728,
"end": 729,
"loc": {
"start": {
"line": 29,
"column": 24
},
"end": {
"line": 29,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createMutualExclude",
"start": 730,
"end": 749,
"loc": {
"start": {
"line": 29,
"column": 26
},
"end": {
"line": 29,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 749,
"end": 750,
"loc": {
"start": {
"line": 29,
"column": 45
},
"end": {
"line": 29,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 750,
"end": 751,
"loc": {
"start": {
"line": 29,
"column": 46
},
"end": {
"line": 29,
"column": 47
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 758,
"end": 762,
"loc": {
"start": {
"line": 30,
"column": 6
},
"end": {
"line": 30,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 762,
"end": 763,
"loc": {
"start": {
"line": 30,
"column": 10
},
"end": {
"line": 30,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ys",
"start": 763,
"end": 765,
"loc": {
"start": {
"line": 30,
"column": 11
},
"end": {
"line": 30,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 765,
"end": 766,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "set",
"start": 766,
"end": 769,
"loc": {
"start": {
"line": 30,
"column": 14
},
"end": {
"line": 30,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 769,
"end": 770,
"loc": {
"start": {
"line": 30,
"column": 17
},
"end": {
"line": 30,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 770,
"end": 771,
"loc": {
"start": {
"line": 30,
"column": 18
},
"end": {
"line": 30,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 771,
"end": 772,
"loc": {
"start": {
"line": 30,
"column": 19
},
"end": {
"line": 30,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 773,
"end": 776,
"loc": {
"start": {
"line": 30,
"column": 21
},
"end": {
"line": 30,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 776,
"end": 777,
"loc": {
"start": {
"line": 30,
"column": 24
},
"end": {
"line": 30,
"column": 25
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 784,
"end": 790,
"loc": {
"start": {
"line": 31,
"column": 6
},
"end": {
"line": 31,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 791,
"end": 795,
"loc": {
"start": {
"line": 31,
"column": 13
},
"end": {
"line": 31,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 795,
"end": 796,
"loc": {
"start": {
"line": 31,
"column": 17
},
"end": {
"line": 31,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "init",
"start": 796,
"end": 800,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 800,
"end": 801,
"loc": {
"start": {
"line": 31,
"column": 22
},
"end": {
"line": 31,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 801,
"end": 802,
"loc": {
"start": {
"line": 31,
"column": 23
},
"end": {
"line": 31,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 802,
"end": 803,
"loc": {
"start": {
"line": 31,
"column": 24
},
"end": {
"line": 31,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 803,
"end": 804,
"loc": {
"start": {
"line": 31,
"column": 25
},
"end": {
"line": 31,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "then",
"start": 804,
"end": 808,
"loc": {
"start": {
"line": 31,
"column": 26
},
"end": {
"line": 31,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 808,
"end": 809,
"loc": {
"start": {
"line": 31,
"column": 30
},
"end": {
"line": 31,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 809,
"end": 810,
"loc": {
"start": {
"line": 31,
"column": 31
},
"end": {
"line": 31,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 810,
"end": 811,
"loc": {
"start": {
"line": 31,
"column": 32
},
"end": {
"line": 31,
"column": 33
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 812,
"end": 814,
"loc": {
"start": {
"line": 31,
"column": 34
},
"end": {
"line": 31,
"column": 36
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 815,
"end": 816,
"loc": {
"start": {
"line": 31,
"column": 37
},
"end": {
"line": 31,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 825,
"end": 826,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 826,
"end": 827,
"loc": {
"start": {
"line": 32,
"column": 9
},
"end": {
"line": 32,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 827,
"end": 829,
"loc": {
"start": {
"line": 32,
"column": 10
},
"end": {
"line": 32,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 829,
"end": 830,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 13
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "afterTransaction",
"start": 830,
"end": 848,
"loc": {
"start": {
"line": 32,
"column": 13
},
"end": {
"line": 32,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 848,
"end": 849,
"loc": {
"start": {
"line": 32,
"column": 31
},
"end": {
"line": 32,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 850,
"end": 851,
"loc": {
"start": {
"line": 32,
"column": 33
},
"end": {
"line": 32,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 851,
"end": 852,
"loc": {
"start": {
"line": 32,
"column": 34
},
"end": {
"line": 32,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 852,
"end": 853,
"loc": {
"start": {
"line": 32,
"column": 35
},
"end": {
"line": 32,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "transaction",
"start": 854,
"end": 865,
"loc": {
"start": {
"line": 32,
"column": 37
},
"end": {
"line": 32,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 865,
"end": 866,
"loc": {
"start": {
"line": 32,
"column": 48
},
"end": {
"line": 32,
"column": 49
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 867,
"end": 869,
"loc": {
"start": {
"line": 32,
"column": 50
},
"end": {
"line": 32,
"column": 52
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 870,
"end": 871,
"loc": {
"start": {
"line": 32,
"column": 53
},
"end": {
"line": 32,
"column": 54
}
}
},
{
"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": 882,
"end": 885,
"loc": {
"start": {
"line": 33,
"column": 10
},
"end": {
"line": 33,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 886,
"end": 889,
"loc": {
"start": {
"line": 33,
"column": 14
},
"end": {
"line": 33,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 890,
"end": 891,
"loc": {
"start": {
"line": 33,
"column": 18
},
"end": {
"line": 33,
"column": 19
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 892,
"end": 896,
"loc": {
"start": {
"line": 33,
"column": 20
},
"end": {
"line": 33,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 896,
"end": 897,
"loc": {
"start": {
"line": 33,
"column": 24
},
"end": {
"line": 33,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ys",
"start": 897,
"end": 899,
"loc": {
"start": {
"line": 33,
"column": 25
},
"end": {
"line": 33,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 899,
"end": 900,
"loc": {
"start": {
"line": 33,
"column": 27
},
"end": {
"line": 33,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 900,
"end": 903,
"loc": {
"start": {
"line": 33,
"column": 28
},
"end": {
"line": 33,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 903,
"end": 904,
"loc": {
"start": {
"line": 33,
"column": 31
},
"end": {
"line": 33,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 904,
"end": 905,
"loc": {
"start": {
"line": 33,
"column": 32
},
"end": {
"line": 33,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 905,
"end": 906,
"loc": {
"start": {
"line": 33,
"column": 33
},
"end": {
"line": 33,
"column": 34
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 917,
"end": 919,
"loc": {
"start": {
"line": 34,
"column": 10
},
"end": {
"line": 34,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 920,
"end": 921,
"loc": {
"start": {
"line": 34,
"column": 13
},
"end": {
"line": 34,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 921,
"end": 924,
"loc": {
"start": {
"line": 34,
"column": 14
},
"end": {
"line": 34,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 924,
"end": 925,
"loc": {
"start": {
"line": 34,
"column": 17
},
"end": {
"line": 34,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 925,
"end": 928,
"loc": {
"start": {
"line": 34,
"column": 18
},
"end": {
"line": 34,
"column": 21
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": ">",
"start": 929,
"end": 930,
"loc": {
"start": {
"line": 34,
"column": 22
},
"end": {
"line": 34,
"column": 23
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 931,
"end": 932,
"loc": {
"start": {
"line": 34,
"column": 24
},
"end": {
"line": 34,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 932,
"end": 933,
"loc": {
"start": {
"line": 34,
"column": 25
},
"end": {
"line": 34,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 934,
"end": 935,
"loc": {
"start": {
"line": 34,
"column": 27
},
"end": {
"line": 34,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 948,
"end": 951,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 951,
"end": 952,
"loc": {
"start": {
"line": 35,
"column": 15
},
"end": {
"line": 35,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buffer",
"start": 952,
"end": 958,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 22
}
}
},
{
"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": 35,
"column": 22
},
"end": {
"line": 35,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setUint32",
"start": 959,
"end": 968,
"loc": {
"start": {
"line": 35,
"column": 23
},
"end": {
"line": 35,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 968,
"end": 969,
"loc": {
"start": {
"line": 35,
"column": 32
},
"end": {
"line": 35,
"column": 33
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 969,
"end": 970,
"loc": {
"start": {
"line": 35,
"column": 33
},
"end": {
"line": 35,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 970,
"end": 971,
"loc": {
"start": {
"line": 35,
"column": 34
},
"end": {
"line": 35,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 972,
"end": 975,
"loc": {
"start": {
"line": 35,
"column": 36
},
"end": {
"line": 35,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 975,
"end": 976,
"loc": {
"start": {
"line": 35,
"column": 39
},
"end": {
"line": 35,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 976,
"end": 979,
"loc": {
"start": {
"line": 35,
"column": 40
},
"end": {
"line": 35,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 979,
"end": 980,
"loc": {
"start": {
"line": 35,
"column": 43
},
"end": {
"line": 35,
"column": 44
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 993,
"end": 997,
"loc": {
"start": {
"line": 36,
"column": 12
},
"end": {
"line": 36,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 997,
"end": 998,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "saveUpdate",
"start": 998,
"end": 1008,
"loc": {
"start": {
"line": 36,
"column": 17
},
"end": {
"line": 36,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1008,
"end": 1009,
"loc": {
"start": {
"line": 36,
"column": 27
},
"end": {
"line": 36,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1009,
"end": 1010,
"loc": {
"start": {
"line": 36,
"column": 28
},
"end": {
"line": 36,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1010,
"end": 1011,
"loc": {
"start": {
"line": 36,
"column": 29
},
"end": {
"line": 36,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 1012,
"end": 1015,
"loc": {
"start": {
"line": 36,
"column": 31
},
"end": {
"line": 36,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1015,
"end": 1016,
"loc": {
"start": {
"line": 36,
"column": 34
},
"end": {
"line": 36,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buffer",
"start": 1016,
"end": 1022,
"loc": {
"start": {
"line": 36,
"column": 35
},
"end": {
"line": 36,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1022,
"end": 1023,
"loc": {
"start": {
"line": 36,
"column": 41
},
"end": {
"line": 36,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createBuffer",
"start": 1023,
"end": 1035,
"loc": {
"start": {
"line": 36,
"column": 42
},
"end": {
"line": 36,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1035,
"end": 1036,
"loc": {
"start": {
"line": 36,
"column": 54
},
"end": {
"line": 36,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1036,
"end": 1037,
"loc": {
"start": {
"line": 36,
"column": 55
},
"end": {
"line": 36,
"column": 56
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1037,
"end": 1038,
"loc": {
"start": {
"line": 36,
"column": 56
},
"end": {
"line": 36,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "transaction",
"start": 1039,
"end": 1050,
"loc": {
"start": {
"line": 36,
"column": 58
},
"end": {
"line": 36,
"column": 69
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1050,
"end": 1051,
"loc": {
"start": {
"line": 36,
"column": 69
},
"end": {
"line": 36,
"column": 70
}
}
},
{
"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": 1064,
"end": 1067,
"loc": {
"start": {
"line": 37,
"column": 12
},
"end": {
"line": 37,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_cnf",
"start": 1068,
"end": 1072,
"loc": {
"start": {
"line": 37,
"column": 16
},
"end": {
"line": 37,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1073,
"end": 1074,
"loc": {
"start": {
"line": 37,
"column": 21
},
"end": {
"line": 37,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getFreshCnf",
"start": 1075,
"end": 1086,
"loc": {
"start": {
"line": 37,
"column": 23
},
"end": {
"line": 37,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1086,
"end": 1087,
"loc": {
"start": {
"line": 37,
"column": 34
},
"end": {
"line": 37,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1087,
"end": 1088,
"loc": {
"start": {
"line": 37,
"column": 35
},
"end": {
"line": 37,
"column": 36
}
}
},
{
"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": 1101,
"end": 1104,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1105,
"end": 1106,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 17
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 1106,
"end": 1109,
"loc": {
"start": {
"line": 38,
"column": 17
},
"end": {
"line": 38,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 1110,
"end": 1113,
"loc": {
"start": {
"line": 38,
"column": 21
},
"end": {
"line": 38,
"column": 24
}
}
},
{
"type": {
"label": "in",
"keyword": "in",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "in",
"start": 1114,
"end": 1116,
"loc": {
"start": {
"line": 38,
"column": 25
},
"end": {
"line": 38,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_cnf",
"start": 1117,
"end": 1121,
"loc": {
"start": {
"line": 38,
"column": 28
},
"end": {
"line": 38,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1121,
"end": 1122,
"loc": {
"start": {
"line": 38,
"column": 32
},
"end": {
"line": 38,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1123,
"end": 1124,
"loc": {
"start": {
"line": 38,
"column": 34
},
"end": {
"line": 38,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 1139,
"end": 1142,
"loc": {
"start": {
"line": 39,
"column": 14
},
"end": {
"line": 39,
"column": 17
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1142,
"end": 1143,
"loc": {
"start": {
"line": 39,
"column": 17
},
"end": {
"line": 39,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 1143,
"end": 1146,
"loc": {
"start": {
"line": 39,
"column": 18
},
"end": {
"line": 39,
"column": 21
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1146,
"end": 1147,
"loc": {
"start": {
"line": 39,
"column": 21
},
"end": {
"line": 39,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1148,
"end": 1149,
"loc": {
"start": {
"line": 39,
"column": 23
},
"end": {
"line": 39,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_cnf",
"start": 1150,
"end": 1154,
"loc": {
"start": {
"line": 39,
"column": 25
},
"end": {
"line": 39,
"column": 29
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1154,
"end": 1155,
"loc": {
"start": {
"line": 39,
"column": 29
},
"end": {
"line": 39,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 1155,
"end": 1158,
"loc": {
"start": {
"line": 39,
"column": 30
},
"end": {
"line": 39,
"column": 33
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1158,
"end": 1159,
"loc": {
"start": {
"line": 39,
"column": 33
},
"end": {
"line": 39,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1172,
"end": 1173,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1184,
"end": 1185,
"loc": {
"start": {
"line": 41,
"column": 10
},
"end": {
"line": 41,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1194,
"end": 1195,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1195,
"end": 1196,
"loc": {
"start": {
"line": 42,
"column": 9
},
"end": {
"line": 42,
"column": 10
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 1205,
"end": 1211,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 14
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1212,
"end": 1216,
"loc": {
"start": {
"line": 43,
"column": 15
},
"end": {
"line": 43,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1216,
"end": 1217,
"loc": {
"start": {
"line": 43,
"column": 19
},
"end": {
"line": 43,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "retrieve",
"start": 1217,
"end": 1225,
"loc": {
"start": {
"line": 43,
"column": 20
},
"end": {
"line": 43,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1225,
"end": 1226,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1226,
"end": 1227,
"loc": {
"start": {
"line": 43,
"column": 29
},
"end": {
"line": 43,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1227,
"end": 1228,
"loc": {
"start": {
"line": 43,
"column": 30
},
"end": {
"line": 43,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1235,
"end": 1236,
"loc": {
"start": {
"line": 44,
"column": 6
},
"end": {
"line": 44,
"column": 7
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1236,
"end": 1237,
"loc": {
"start": {
"line": 44,
"column": 7
},
"end": {
"line": 44,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1237,
"end": 1238,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "then",
"start": 1238,
"end": 1242,
"loc": {
"start": {
"line": 44,
"column": 9
},
"end": {
"line": 44,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1242,
"end": 1243,
"loc": {
"start": {
"line": 44,
"column": 13
},
"end": {
"line": 44,
"column": 14
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 1243,
"end": 1251,
"loc": {
"start": {
"line": 44,
"column": 14
},
"end": {
"line": 44,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1252,
"end": 1253,
"loc": {
"start": {
"line": 44,
"column": 23
},
"end": {
"line": 44,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1253,
"end": 1254,
"loc": {
"start": {
"line": 44,
"column": 24
},
"end": {
"line": 44,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1255,
"end": 1256,
"loc": {
"start": {
"line": 44,
"column": 26
},
"end": {
"line": 44,
"column": 27
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 1265,
"end": 1271,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Promise",
"start": 1272,
"end": 1279,
"loc": {
"start": {
"line": 45,
"column": 15
},
"end": {
"line": 45,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1279,
"end": 1280,
"loc": {
"start": {
"line": 45,
"column": 22
},
"end": {
"line": 45,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resolve",
"start": 1280,
"end": 1287,
"loc": {
"start": {
"line": 45,
"column": 23
},
"end": {
"line": 45,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1287,
"end": 1288,
"loc": {
"start": {
"line": 45,
"column": 30
},
"end": {
"line": 45,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 1288,
"end": 1291,
"loc": {
"start": {
"line": 45,
"column": 31
},
"end": {
"line": 45,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1291,
"end": 1292,
"loc": {
"start": {
"line": 45,
"column": 34
},
"end": {
"line": 45,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1299,
"end": 1300,
"loc": {
"start": {
"line": 46,
"column": 6
},
"end": {
"line": 46,
"column": 7
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1300,
"end": 1301,
"loc": {
"start": {
"line": 46,
"column": 7
},
"end": {
"line": 46,
"column": 8
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1306,
"end": 1307,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 5
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 1308,
"end": 1312,
"loc": {
"start": {
"line": 47,
"column": 6
},
"end": {
"line": 47,
"column": 10
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1313,
"end": 1314,
"loc": {
"start": {
"line": 47,
"column": 11
},
"end": {
"line": 47,
"column": 12
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 1321,
"end": 1327,
"loc": {
"start": {
"line": 48,
"column": 6
},
"end": {
"line": 48,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Promise",
"start": 1328,
"end": 1335,
"loc": {
"start": {
"line": 48,
"column": 13
},
"end": {
"line": 48,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1335,
"end": 1336,
"loc": {
"start": {
"line": 48,
"column": 20
},
"end": {
"line": 48,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resolve",
"start": 1336,
"end": 1343,
"loc": {
"start": {
"line": 48,
"column": 21
},
"end": {
"line": 48,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1343,
"end": 1344,
"loc": {
"start": {
"line": 48,
"column": 28
},
"end": {
"line": 48,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 1344,
"end": 1347,
"loc": {
"start": {
"line": 48,
"column": 29
},
"end": {
"line": 48,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1347,
"end": 1348,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1353,
"end": 1354,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 49,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1357,
"end": 1358,
"loc": {
"start": {
"line": 50,
"column": 2
},
"end": {
"line": 50,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deinit",
"start": 1361,
"end": 1367,
"loc": {
"start": {
"line": 51,
"column": 2
},
"end": {
"line": 51,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1368,
"end": 1369,
"loc": {
"start": {
"line": 51,
"column": 9
},
"end": {
"line": 51,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1369,
"end": 1370,
"loc": {
"start": {
"line": 51,
"column": 10
},
"end": {
"line": 51,
"column": 11
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1370,
"end": 1371,
"loc": {
"start": {
"line": 51,
"column": 11
},
"end": {
"line": 51,
"column": 12
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1372,
"end": 1373,
"loc": {
"start": {
"line": 51,
"column": 13
},
"end": {
"line": 51,
"column": 14
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1378,
"end": 1382,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1382,
"end": 1383,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ys",
"start": 1383,
"end": 1385,
"loc": {
"start": {
"line": 52,
"column": 9
},
"end": {
"line": 52,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1385,
"end": 1386,
"loc": {
"start": {
"line": 52,
"column": 11
},
"end": {
"line": 52,
"column": 12
}
}
},
{
"type": {
"label": "delete",
"keyword": "delete",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "delete",
"start": 1386,
"end": 1392,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1392,
"end": 1393,
"loc": {
"start": {
"line": 52,
"column": 18
},
"end": {
"line": 52,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1393,
"end": 1394,
"loc": {
"start": {
"line": 52,
"column": 19
},
"end": {
"line": 52,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1394,
"end": 1395,
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1400,
"end": 1401,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 5
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1401,
"end": 1402,
"loc": {
"start": {
"line": 53,
"column": 5
},
"end": {
"line": 53,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "persistence",
"start": 1402,
"end": 1413,
"loc": {
"start": {
"line": 53,
"column": 6
},
"end": {
"line": 53,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1414,
"end": 1415,
"loc": {
"start": {
"line": 53,
"column": 18
},
"end": {
"line": 53,
"column": 19
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1416,
"end": 1420,
"loc": {
"start": {
"line": 53,
"column": 20
},
"end": {
"line": 53,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1423,
"end": 1424,
"loc": {
"start": {
"line": 54,
"column": 2
},
"end": {
"line": 54,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destroy",
"start": 1428,
"end": 1435,
"loc": {
"start": {
"line": 56,
"column": 2
},
"end": {
"line": 56,
"column": 9
}
}
},
{
"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": 56,
"column": 10
},
"end": {
"line": 56,
"column": 11
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1437,
"end": 1438,
"loc": {
"start": {
"line": 56,
"column": 11
},
"end": {
"line": 56,
"column": 12
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1439,
"end": 1440,
"loc": {
"start": {
"line": 56,
"column": 13
},
"end": {
"line": 56,
"column": 14
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1445,
"end": 1449,
"loc": {
"start": {
"line": 57,
"column": 4
},
"end": {
"line": 57,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1449,
"end": 1450,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ys",
"start": 1450,
"end": 1452,
"loc": {
"start": {
"line": 57,
"column": 9
},
"end": {
"line": 57,
"column": 11
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1453,
"end": 1454,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 13
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1455,
"end": 1459,
"loc": {
"start": {
"line": 57,
"column": 14
},
"end": {
"line": 57,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1462,
"end": 1463,
"loc": {
"start": {
"line": 58,
"column": 2
},
"end": {
"line": 58,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Remove all persisted data that belongs to a room.\n * Automatically destroys all Yjs all Yjs instances that persist to\n * the room. If `destroyYjsInstances = false` the persistence functionality\n * will be removed from the Yjs instances.\n *\n * ** Must be overwritten! **\n ",
"start": 1467,
"end": 1761,
"loc": {
"start": {
"line": 60,
"column": 2
},
"end": {
"line": 67,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "removePersistedData",
"start": 1764,
"end": 1783,
"loc": {
"start": {
"line": 68,
"column": 2
},
"end": {
"line": 68,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1784,
"end": 1785,
"loc": {
"start": {
"line": 68,
"column": 22
},
"end": {
"line": 68,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "room",
"start": 1785,
"end": 1789,
"loc": {
"start": {
"line": 68,
"column": 23
},
"end": {
"line": 68,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1789,
"end": 1790,
"loc": {
"start": {
"line": 68,
"column": 27
},
"end": {
"line": 68,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destroyYjsInstances",
"start": 1791,
"end": 1810,
"loc": {
"start": {
"line": 68,
"column": 29
},
"end": {
"line": 68,
"column": 48
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1811,
"end": 1812,
"loc": {
"start": {
"line": 68,
"column": 49
},
"end": {
"line": 68,
"column": 50
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 1813,
"end": 1817,
"loc": {
"start": {
"line": 68,
"column": 51
},
"end": {
"line": 68,
"column": 55
}
}
},
{
"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": 68,
"column": 55
},
"end": {
"line": 68,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1819,
"end": 1820,
"loc": {
"start": {
"line": 68,
"column": 57
},
"end": {
"line": 68,
"column": 58
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1825,
"end": 1829,
"loc": {
"start": {
"line": 69,
"column": 4
},
"end": {
"line": 69,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1829,
"end": 1830,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ys",
"start": 1830,
"end": 1832,
"loc": {
"start": {
"line": 69,
"column": 9
},
"end": {
"line": 69,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1832,
"end": 1833,
"loc": {
"start": {
"line": 69,
"column": 11
},
"end": {
"line": 69,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "forEach",
"start": 1833,
"end": 1840,
"loc": {
"start": {
"line": 69,
"column": 12
},
"end": {
"line": 69,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1840,
"end": 1841,
"loc": {
"start": {
"line": 69,
"column": 19
},
"end": {
"line": 69,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1841,
"end": 1842,
"loc": {
"start": {
"line": 69,
"column": 20
},
"end": {
"line": 69,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 1842,
"end": 1845,
"loc": {
"start": {
"line": 69,
"column": 21
},
"end": {
"line": 69,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1845,
"end": 1846,
"loc": {
"start": {
"line": 69,
"column": 24
},
"end": {
"line": 69,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1847,
"end": 1848,
"loc": {
"start": {
"line": 69,
"column": 26
},
"end": {
"line": 69,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1848,
"end": 1849,
"loc": {
"start": {
"line": 69,
"column": 27
},
"end": {
"line": 69,
"column": 28
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1850,
"end": 1852,
"loc": {
"start": {
"line": 69,
"column": 29
},
"end": {
"line": 69,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1853,
"end": 1854,
"loc": {
"start": {
"line": 69,
"column": 32
},
"end": {
"line": 69,
"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": 1861,
"end": 1863,
"loc": {
"start": {
"line": 70,
"column": 6
},
"end": {
"line": 70,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1864,
"end": 1865,
"loc": {
"start": {
"line": 70,
"column": 9
},
"end": {
"line": 70,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1865,
"end": 1866,
"loc": {
"start": {
"line": 70,
"column": 10
},
"end": {
"line": 70,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1866,
"end": 1867,
"loc": {
"start": {
"line": 70,
"column": 11
},
"end": {
"line": 70,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "room",
"start": 1867,
"end": 1871,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 16
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 1872,
"end": 1875,
"loc": {
"start": {
"line": 70,
"column": 17
},
"end": {
"line": 70,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "room",
"start": 1876,
"end": 1880,
"loc": {
"start": {
"line": 70,
"column": 21
},
"end": {
"line": 70,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1880,
"end": 1881,
"loc": {
"start": {
"line": 70,
"column": 25
},
"end": {
"line": 70,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1882,
"end": 1883,
"loc": {
"start": {
"line": 70,
"column": 27
},
"end": {
"line": 70,
"column": 28
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 1892,
"end": 1894,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 71,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1895,
"end": 1896,
"loc": {
"start": {
"line": 71,
"column": 11
},
"end": {
"line": 71,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destroyYjsInstances",
"start": 1896,
"end": 1915,
"loc": {
"start": {
"line": 71,
"column": 12
},
"end": {
"line": 71,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1915,
"end": 1916,
"loc": {
"start": {
"line": 71,
"column": 31
},
"end": {
"line": 71,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1917,
"end": 1918,
"loc": {
"start": {
"line": 71,
"column": 33
},
"end": {
"line": 71,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1929,
"end": 1930,
"loc": {
"start": {
"line": 72,
"column": 10
},
"end": {
"line": 72,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1930,
"end": 1931,
"loc": {
"start": {
"line": 72,
"column": 11
},
"end": {
"line": 72,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destroy",
"start": 1931,
"end": 1938,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1938,
"end": 1939,
"loc": {
"start": {
"line": 72,
"column": 19
},
"end": {
"line": 72,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1939,
"end": 1940,
"loc": {
"start": {
"line": 72,
"column": 20
},
"end": {
"line": 72,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1949,
"end": 1950,
"loc": {
"start": {
"line": 73,
"column": 8
},
"end": {
"line": 73,
"column": 9
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 1951,
"end": 1955,
"loc": {
"start": {
"line": 73,
"column": 10
},
"end": {
"line": 73,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1956,
"end": 1957,
"loc": {
"start": {
"line": 73,
"column": 15
},
"end": {
"line": 73,
"column": 16
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1968,
"end": 1972,
"loc": {
"start": {
"line": 74,
"column": 10
},
"end": {
"line": 74,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1972,
"end": 1973,
"loc": {
"start": {
"line": 74,
"column": 14
},
"end": {
"line": 74,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deinit",
"start": 1973,
"end": 1979,
"loc": {
"start": {
"line": 74,
"column": 15
},
"end": {
"line": 74,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1979,
"end": 1980,
"loc": {
"start": {
"line": 74,
"column": 21
},
"end": {
"line": 74,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1980,
"end": 1981,
"loc": {
"start": {
"line": 74,
"column": 22
},
"end": {
"line": 74,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1981,
"end": 1982,
"loc": {
"start": {
"line": 74,
"column": 23
},
"end": {
"line": 74,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1991,
"end": 1992,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1999,
"end": 2000,
"loc": {
"start": {
"line": 76,
"column": 6
},
"end": {
"line": 76,
"column": 7
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2005,
"end": 2006,
"loc": {
"start": {
"line": 77,
"column": 4
},
"end": {
"line": 77,
"column": 5
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2006,
"end": 2007,
"loc": {
"start": {
"line": 77,
"column": 5
},
"end": {
"line": 77,
"column": 6
}
}
},
{
"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": 78,
"column": 2
},
"end": {
"line": 78,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": " overwrite ",
"start": 2015,
"end": 2030,
"loc": {
"start": {
"line": 80,
"column": 2
},
"end": {
"line": 80,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "saveUpdate",
"start": 2033,
"end": 2043,
"loc": {
"start": {
"line": 81,
"column": 2
},
"end": {
"line": 81,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2044,
"end": 2045,
"loc": {
"start": {
"line": 81,
"column": 13
},
"end": {
"line": 81,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buffer",
"start": 2045,
"end": 2051,
"loc": {
"start": {
"line": 81,
"column": 14
},
"end": {
"line": 81,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2051,
"end": 2052,
"loc": {
"start": {
"line": 81,
"column": 20
},
"end": {
"line": 81,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2053,
"end": 2054,
"loc": {
"start": {
"line": 81,
"column": 22
},
"end": {
"line": 81,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2057,
"end": 2058,
"loc": {
"start": {
"line": 82,
"column": 2
},
"end": {
"line": 82,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Save struct to update buffer.\n * saveUpdate is called when transaction ends\n ",
"start": 2062,
"end": 2154,
"loc": {
"start": {
"line": 84,
"column": 2
},
"end": {
"line": 87,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "saveStruct",
"start": 2157,
"end": 2167,
"loc": {
"start": {
"line": 88,
"column": 2
},
"end": {
"line": 88,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2168,
"end": 2169,
"loc": {
"start": {
"line": 88,
"column": 13
},
"end": {
"line": 88,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2169,
"end": 2170,
"loc": {
"start": {
"line": 88,
"column": 14
},
"end": {
"line": 88,
"column": 15
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2170,
"end": 2171,
"loc": {
"start": {
"line": 88,
"column": 15
},
"end": {
"line": 88,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 2172,
"end": 2178,
"loc": {
"start": {
"line": 88,
"column": 17
},
"end": {
"line": 88,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2178,
"end": 2179,
"loc": {
"start": {
"line": 88,
"column": 23
},
"end": {
"line": 88,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2180,
"end": 2181,
"loc": {
"start": {
"line": 88,
"column": 25
},
"end": {
"line": 88,
"column": 26
}
}
},
{
"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": 2186,
"end": 2189,
"loc": {
"start": {
"line": 89,
"column": 4
},
"end": {
"line": 89,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 2190,
"end": 2193,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 11
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2194,
"end": 2195,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 13
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2196,
"end": 2200,
"loc": {
"start": {
"line": 89,
"column": 14
},
"end": {
"line": 89,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2200,
"end": 2201,
"loc": {
"start": {
"line": 89,
"column": 18
},
"end": {
"line": 89,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ys",
"start": 2201,
"end": 2203,
"loc": {
"start": {
"line": 89,
"column": 19
},
"end": {
"line": 89,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2203,
"end": 2204,
"loc": {
"start": {
"line": 89,
"column": 21
},
"end": {
"line": 89,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 2204,
"end": 2207,
"loc": {
"start": {
"line": 89,
"column": 22
},
"end": {
"line": 89,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2207,
"end": 2208,
"loc": {
"start": {
"line": 89,
"column": 25
},
"end": {
"line": 89,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2208,
"end": 2209,
"loc": {
"start": {
"line": 89,
"column": 26
},
"end": {
"line": 89,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2209,
"end": 2210,
"loc": {
"start": {
"line": 89,
"column": 27
},
"end": {
"line": 89,
"column": 28
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 2215,
"end": 2217,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 90,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2218,
"end": 2219,
"loc": {
"start": {
"line": 90,
"column": 7
},
"end": {
"line": 90,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 2219,
"end": 2222,
"loc": {
"start": {
"line": 90,
"column": 8
},
"end": {
"line": 90,
"column": 11
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 2223,
"end": 2226,
"loc": {
"start": {
"line": 90,
"column": 12
},
"end": {
"line": 90,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 2227,
"end": 2236,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2236,
"end": 2237,
"loc": {
"start": {
"line": 90,
"column": 25
},
"end": {
"line": 90,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2238,
"end": 2239,
"loc": {
"start": {
"line": 90,
"column": 27
},
"end": {
"line": 90,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 2246,
"end": 2249,
"loc": {
"start": {
"line": 91,
"column": 6
},
"end": {
"line": 91,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2249,
"end": 2250,
"loc": {
"start": {
"line": 91,
"column": 9
},
"end": {
"line": 91,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mutualExclude",
"start": 2250,
"end": 2263,
"loc": {
"start": {
"line": 91,
"column": 10
},
"end": {
"line": 91,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2263,
"end": 2264,
"loc": {
"start": {
"line": 91,
"column": 23
},
"end": {
"line": 91,
"column": 24
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 2264,
"end": 2272,
"loc": {
"start": {
"line": 91,
"column": 24
},
"end": {
"line": 91,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2273,
"end": 2274,
"loc": {
"start": {
"line": 91,
"column": 33
},
"end": {
"line": 91,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2274,
"end": 2275,
"loc": {
"start": {
"line": 91,
"column": 34
},
"end": {
"line": 91,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2276,
"end": 2277,
"loc": {
"start": {
"line": 91,
"column": 36
},
"end": {
"line": 91,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 2286,
"end": 2292,
"loc": {
"start": {
"line": 92,
"column": 8
},
"end": {
"line": 92,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2292,
"end": 2293,
"loc": {
"start": {
"line": 92,
"column": 14
},
"end": {
"line": 92,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_toBinary",
"start": 2293,
"end": 2302,
"loc": {
"start": {
"line": 92,
"column": 15
},
"end": {
"line": 92,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2302,
"end": 2303,
"loc": {
"start": {
"line": 92,
"column": 24
},
"end": {
"line": 92,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 2303,
"end": 2306,
"loc": {
"start": {
"line": 92,
"column": 25
},
"end": {
"line": 92,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2306,
"end": 2307,
"loc": {
"start": {
"line": 92,
"column": 28
},
"end": {
"line": 92,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buffer",
"start": 2307,
"end": 2313,
"loc": {
"start": {
"line": 92,
"column": 29
},
"end": {
"line": 92,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2313,
"end": 2314,
"loc": {
"start": {
"line": 92,
"column": 35
},
"end": {
"line": 92,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 2323,
"end": 2326,
"loc": {
"start": {
"line": 93,
"column": 8
},
"end": {
"line": 93,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2326,
"end": 2327,
"loc": {
"start": {
"line": 93,
"column": 11
},
"end": {
"line": 93,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "len",
"start": 2327,
"end": 2330,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 15
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 2330,
"end": 2332,
"loc": {
"start": {
"line": 93,
"column": 15
},
"end": {
"line": 93,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2339,
"end": 2340,
"loc": {
"start": {
"line": 94,
"column": 6
},
"end": {
"line": 94,
"column": 7
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2340,
"end": 2341,
"loc": {
"start": {
"line": 94,
"column": 7
},
"end": {
"line": 94,
"column": 8
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2346,
"end": 2347,
"loc": {
"start": {
"line": 95,
"column": 4
},
"end": {
"line": 95,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2350,
"end": 2351,
"loc": {
"start": {
"line": 96,
"column": 2
},
"end": {
"line": 96,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": " overwrite ",
"start": 2355,
"end": 2370,
"loc": {
"start": {
"line": 98,
"column": 2
},
"end": {
"line": 98,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "retrieve",
"start": 2373,
"end": 2381,
"loc": {
"start": {
"line": 99,
"column": 2
},
"end": {
"line": 99,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2382,
"end": 2383,
"loc": {
"start": {
"line": 99,
"column": 11
},
"end": {
"line": 99,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2383,
"end": 2384,
"loc": {
"start": {
"line": 99,
"column": 12
},
"end": {
"line": 99,
"column": 13
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2384,
"end": 2385,
"loc": {
"start": {
"line": 99,
"column": 13
},
"end": {
"line": 99,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "model",
"start": 2386,
"end": 2391,
"loc": {
"start": {
"line": 99,
"column": 15
},
"end": {
"line": 99,
"column": 20
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2391,
"end": 2392,
"loc": {
"start": {
"line": 99,
"column": 20
},
"end": {
"line": 99,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "updates",
"start": 2393,
"end": 2400,
"loc": {
"start": {
"line": 99,
"column": 22
},
"end": {
"line": 99,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2400,
"end": 2401,
"loc": {
"start": {
"line": 99,
"column": 29
},
"end": {
"line": 99,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2402,
"end": 2403,
"loc": {
"start": {
"line": 99,
"column": 31
},
"end": {
"line": 99,
"column": 32
}
}
},
{
"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": 2408,
"end": 2411,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 100,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 2412,
"end": 2415,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 11
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2416,
"end": 2417,
"loc": {
"start": {
"line": 100,
"column": 12
},
"end": {
"line": 100,
"column": 13
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2418,
"end": 2422,
"loc": {
"start": {
"line": 100,
"column": 14
},
"end": {
"line": 100,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2422,
"end": 2423,
"loc": {
"start": {
"line": 100,
"column": 18
},
"end": {
"line": 100,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ys",
"start": 2423,
"end": 2425,
"loc": {
"start": {
"line": 100,
"column": 19
},
"end": {
"line": 100,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2425,
"end": 2426,
"loc": {
"start": {
"line": 100,
"column": 21
},
"end": {
"line": 100,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 2426,
"end": 2429,
"loc": {
"start": {
"line": 100,
"column": 22
},
"end": {
"line": 100,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2429,
"end": 2430,
"loc": {
"start": {
"line": 100,
"column": 25
},
"end": {
"line": 100,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2430,
"end": 2431,
"loc": {
"start": {
"line": 100,
"column": 26
},
"end": {
"line": 100,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2431,
"end": 2432,
"loc": {
"start": {
"line": 100,
"column": 27
},
"end": {
"line": 100,
"column": 28
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 2437,
"end": 2439,
"loc": {
"start": {
"line": 101,
"column": 4
},
"end": {
"line": 101,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2440,
"end": 2441,
"loc": {
"start": {
"line": 101,
"column": 7
},
"end": {
"line": 101,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 2441,
"end": 2444,
"loc": {
"start": {
"line": 101,
"column": 8
},
"end": {
"line": 101,
"column": 11
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 2445,
"end": 2448,
"loc": {
"start": {
"line": 101,
"column": 12
},
"end": {
"line": 101,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 2449,
"end": 2458,
"loc": {
"start": {
"line": 101,
"column": 16
},
"end": {
"line": 101,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2458,
"end": 2459,
"loc": {
"start": {
"line": 101,
"column": 25
},
"end": {
"line": 101,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2460,
"end": 2461,
"loc": {
"start": {
"line": 101,
"column": 27
},
"end": {
"line": 101,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cnf",
"start": 2468,
"end": 2471,
"loc": {
"start": {
"line": 102,
"column": 6
},
"end": {
"line": 102,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2471,
"end": 2472,
"loc": {
"start": {
"line": 102,
"column": 9
},
"end": {
"line": 102,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mutualExclude",
"start": 2472,
"end": 2485,
"loc": {
"start": {
"line": 102,
"column": 10
},
"end": {
"line": 102,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2485,
"end": 2486,
"loc": {
"start": {
"line": 102,
"column": 23
},
"end": {
"line": 102,
"column": 24
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 2486,
"end": 2494,
"loc": {
"start": {
"line": 102,
"column": 24
},
"end": {
"line": 102,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2495,
"end": 2496,
"loc": {
"start": {
"line": 102,
"column": 33
},
"end": {
"line": 102,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2496,
"end": 2497,
"loc": {
"start": {
"line": 102,
"column": 34
},
"end": {
"line": 102,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2498,
"end": 2499,
"loc": {
"start": {
"line": 102,
"column": 36
},
"end": {
"line": 102,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2508,
"end": 2509,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2509,
"end": 2510,
"loc": {
"start": {
"line": 103,
"column": 9
},
"end": {
"line": 103,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "transact",
"start": 2510,
"end": 2518,
"loc": {
"start": {
"line": 103,
"column": 10
},
"end": {
"line": 103,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2518,
"end": 2519,
"loc": {
"start": {
"line": 103,
"column": 18
},
"end": {
"line": 103,
"column": 19
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 2519,
"end": 2527,
"loc": {
"start": {
"line": 103,
"column": 19
},
"end": {
"line": 103,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2528,
"end": 2529,
"loc": {
"start": {
"line": 103,
"column": 28
},
"end": {
"line": 103,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2529,
"end": 2530,
"loc": {
"start": {
"line": 103,
"column": 29
},
"end": {
"line": 103,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2531,
"end": 2532,
"loc": {
"start": {
"line": 103,
"column": 31
},
"end": {
"line": 103,
"column": 32
}
}
},
{
"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": 2543,
"end": 2545,
"loc": {
"start": {
"line": 104,
"column": 10
},
"end": {
"line": 104,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2546,
"end": 2547,
"loc": {
"start": {
"line": 104,
"column": 13
},
"end": {
"line": 104,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "model",
"start": 2547,
"end": 2552,
"loc": {
"start": {
"line": 104,
"column": 14
},
"end": {
"line": 104,
"column": 19
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!=",
"start": 2553,
"end": 2555,
"loc": {
"start": {
"line": 104,
"column": 20
},
"end": {
"line": 104,
"column": 22
}
}
},
{
"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": 2556,
"end": 2560,
"loc": {
"start": {
"line": 104,
"column": 23
},
"end": {
"line": 104,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2560,
"end": 2561,
"loc": {
"start": {
"line": 104,
"column": 27
},
"end": {
"line": 104,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2562,
"end": 2563,
"loc": {
"start": {
"line": 104,
"column": 29
},
"end": {
"line": 104,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fromBinary",
"start": 2576,
"end": 2586,
"loc": {
"start": {
"line": 105,
"column": 12
},
"end": {
"line": 105,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2586,
"end": 2587,
"loc": {
"start": {
"line": 105,
"column": 22
},
"end": {
"line": 105,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2587,
"end": 2588,
"loc": {
"start": {
"line": 105,
"column": 23
},
"end": {
"line": 105,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2588,
"end": 2589,
"loc": {
"start": {
"line": 105,
"column": 24
},
"end": {
"line": 105,
"column": 25
}
}
},
{
"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": 2590,
"end": 2593,
"loc": {
"start": {
"line": 105,
"column": 26
},
"end": {
"line": 105,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BinaryDecoder",
"start": 2594,
"end": 2607,
"loc": {
"start": {
"line": 105,
"column": 30
},
"end": {
"line": 105,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2607,
"end": 2608,
"loc": {
"start": {
"line": 105,
"column": 43
},
"end": {
"line": 105,
"column": 44
}
}
},
{
"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": 2608,
"end": 2611,
"loc": {
"start": {
"line": 105,
"column": 44
},
"end": {
"line": 105,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Uint8Array",
"start": 2612,
"end": 2622,
"loc": {
"start": {
"line": 105,
"column": 48
},
"end": {
"line": 105,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2622,
"end": 2623,
"loc": {
"start": {
"line": 105,
"column": 58
},
"end": {
"line": 105,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "model",
"start": 2623,
"end": 2628,
"loc": {
"start": {
"line": 105,
"column": 59
},
"end": {
"line": 105,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2628,
"end": 2629,
"loc": {
"start": {
"line": 105,
"column": 64
},
"end": {
"line": 105,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2629,
"end": 2630,
"loc": {
"start": {
"line": 105,
"column": 65
},
"end": {
"line": 105,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2630,
"end": 2631,
"loc": {
"start": {
"line": 105,
"column": 66
},
"end": {
"line": 105,
"column": 67
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2642,
"end": 2643,
"loc": {
"start": {
"line": 106,
"column": 10
},
"end": {
"line": 106,
"column": 11
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 2654,
"end": 2656,
"loc": {
"start": {
"line": 107,
"column": 10
},
"end": {
"line": 107,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2657,
"end": 2658,
"loc": {
"start": {
"line": 107,
"column": 13
},
"end": {
"line": 107,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "updates",
"start": 2658,
"end": 2665,
"loc": {
"start": {
"line": 107,
"column": 14
},
"end": {
"line": 107,
"column": 21
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!=",
"start": 2666,
"end": 2668,
"loc": {
"start": {
"line": 107,
"column": 22
},
"end": {
"line": 107,
"column": 24
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 2669,
"end": 2673,
"loc": {
"start": {
"line": 107,
"column": 25
},
"end": {
"line": 107,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2673,
"end": 2674,
"loc": {
"start": {
"line": 107,
"column": 29
},
"end": {
"line": 107,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2675,
"end": 2676,
"loc": {
"start": {
"line": 107,
"column": 31
},
"end": {
"line": 107,
"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": 2689,
"end": 2692,
"loc": {
"start": {
"line": 108,
"column": 12
},
"end": {
"line": 108,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2693,
"end": 2694,
"loc": {
"start": {
"line": 108,
"column": 16
},
"end": {
"line": 108,
"column": 17
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 2694,
"end": 2697,
"loc": {
"start": {
"line": 108,
"column": 17
},
"end": {
"line": 108,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2698,
"end": 2699,
"loc": {
"start": {
"line": 108,
"column": 21
},
"end": {
"line": 108,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2700,
"end": 2701,
"loc": {
"start": {
"line": 108,
"column": 23
},
"end": {
"line": 108,
"column": 24
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2702,
"end": 2703,
"loc": {
"start": {
"line": 108,
"column": 25
},
"end": {
"line": 108,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2703,
"end": 2704,
"loc": {
"start": {
"line": 108,
"column": 26
},
"end": {
"line": 108,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2705,
"end": 2706,
"loc": {
"start": {
"line": 108,
"column": 28
},
"end": {
"line": 108,
"column": 29
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 2707,
"end": 2708,
"loc": {
"start": {
"line": 108,
"column": 30
},
"end": {
"line": 108,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "updates",
"start": 2709,
"end": 2716,
"loc": {
"start": {
"line": 108,
"column": 32
},
"end": {
"line": 108,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2716,
"end": 2717,
"loc": {
"start": {
"line": 108,
"column": 39
},
"end": {
"line": 108,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 2717,
"end": 2723,
"loc": {
"start": {
"line": 108,
"column": 40
},
"end": {
"line": 108,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2723,
"end": 2724,
"loc": {
"start": {
"line": 108,
"column": 46
},
"end": {
"line": 108,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2725,
"end": 2726,
"loc": {
"start": {
"line": 108,
"column": 48
},
"end": {
"line": 108,
"column": 49
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 2726,
"end": 2728,
"loc": {
"start": {
"line": 108,
"column": 49
},
"end": {
"line": 108,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2728,
"end": 2729,
"loc": {
"start": {
"line": 108,
"column": 51
},
"end": {
"line": 108,
"column": 52
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2730,
"end": 2731,
"loc": {
"start": {
"line": 108,
"column": 53
},
"end": {
"line": 108,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "integrateRemoteStructs",
"start": 2746,
"end": 2768,
"loc": {
"start": {
"line": 109,
"column": 14
},
"end": {
"line": 109,
"column": 36
}
}
},
{
"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": 109,
"column": 36
},
"end": {
"line": 109,
"column": 37
}
}
},
{
"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": 109,
"column": 37
},
"end": {
"line": 109,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2770,
"end": 2771,
"loc": {
"start": {
"line": 109,
"column": 38
},
"end": {
"line": 109,
"column": 39
}
}
},
{
"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": 2772,
"end": 2775,
"loc": {
"start": {
"line": 109,
"column": 40
},
"end": {
"line": 109,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BinaryDecoder",
"start": 2776,
"end": 2789,
"loc": {
"start": {
"line": 109,
"column": 44
},
"end": {
"line": 109,
"column": 57
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2789,
"end": 2790,
"loc": {
"start": {
"line": 109,
"column": 57
},
"end": {
"line": 109,
"column": 58
}
}
},
{
"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": 2790,
"end": 2793,
"loc": {
"start": {
"line": 109,
"column": 58
},
"end": {
"line": 109,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Uint8Array",
"start": 2794,
"end": 2804,
"loc": {
"start": {
"line": 109,
"column": 62
},
"end": {
"line": 109,
"column": 72
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2804,
"end": 2805,
"loc": {
"start": {
"line": 109,
"column": 72
},
"end": {
"line": 109,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "updates",
"start": 2805,
"end": 2812,
"loc": {
"start": {
"line": 109,
"column": 73
},
"end": {
"line": 109,
"column": 80
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2812,
"end": 2813,
"loc": {
"start": {
"line": 109,
"column": 80
},
"end": {
"line": 109,
"column": 81
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 2813,
"end": 2814,
"loc": {
"start": {
"line": 109,
"column": 81
},
"end": {
"line": 109,
"column": 82
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2814,
"end": 2815,
"loc": {
"start": {
"line": 109,
"column": 82
},
"end": {
"line": 109,
"column": 83
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2815,
"end": 2816,
"loc": {
"start": {
"line": 109,
"column": 83
},
"end": {
"line": 109,
"column": 84
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2816,
"end": 2817,
"loc": {
"start": {
"line": 109,
"column": 84
},
"end": {
"line": 109,
"column": 85
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2817,
"end": 2818,
"loc": {
"start": {
"line": 109,
"column": 85
},
"end": {
"line": 109,
"column": 86
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2831,
"end": 2832,
"loc": {
"start": {
"line": 110,
"column": 12
},
"end": {
"line": 110,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2843,
"end": 2844,
"loc": {
"start": {
"line": 111,
"column": 10
},
"end": {
"line": 111,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2853,
"end": 2854,
"loc": {
"start": {
"line": 112,
"column": 8
},
"end": {
"line": 112,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2854,
"end": 2855,
"loc": {
"start": {
"line": 112,
"column": 9
},
"end": {
"line": 112,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2864,
"end": 2865,
"loc": {
"start": {
"line": 113,
"column": 8
},
"end": {
"line": 113,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2865,
"end": 2866,
"loc": {
"start": {
"line": 113,
"column": 9
},
"end": {
"line": 113,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "emit",
"start": 2866,
"end": 2870,
"loc": {
"start": {
"line": 113,
"column": 10
},
"end": {
"line": 113,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2870,
"end": 2871,
"loc": {
"start": {
"line": 113,
"column": 14
},
"end": {
"line": 113,
"column": 15
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "persistenceReady",
"start": 2871,
"end": 2889,
"loc": {
"start": {
"line": 113,
"column": 15
},
"end": {
"line": 113,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2889,
"end": 2890,
"loc": {
"start": {
"line": 113,
"column": 33
},
"end": {
"line": 113,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2897,
"end": 2898,
"loc": {
"start": {
"line": 114,
"column": 6
},
"end": {
"line": 114,
"column": 7
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2898,
"end": 2899,
"loc": {
"start": {
"line": 114,
"column": 7
},
"end": {
"line": 114,
"column": 8
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2904,
"end": 2905,
"loc": {
"start": {
"line": 115,
"column": 4
},
"end": {
"line": 115,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2908,
"end": 2909,
"loc": {
"start": {
"line": 116,
"column": 2
},
"end": {
"line": 116,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": " overwrite ",
"start": 2913,
"end": 2928,
"loc": {
"start": {
"line": 118,
"column": 2
},
"end": {
"line": 118,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "persist",
"start": 2931,
"end": 2938,
"loc": {
"start": {
"line": 119,
"column": 2
},
"end": {
"line": 119,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2939,
"end": 2940,
"loc": {
"start": {
"line": 119,
"column": 10
},
"end": {
"line": 119,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2940,
"end": 2941,
"loc": {
"start": {
"line": 119,
"column": 11
},
"end": {
"line": 119,
"column": 12
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2941,
"end": 2942,
"loc": {
"start": {
"line": 119,
"column": 12
},
"end": {
"line": 119,
"column": 13
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2943,
"end": 2944,
"loc": {
"start": {
"line": 119,
"column": 14
},
"end": {
"line": 119,
"column": 15
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 2949,
"end": 2955,
"loc": {
"start": {
"line": 120,
"column": 4
},
"end": {
"line": 120,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "toBinary",
"start": 2956,
"end": 2964,
"loc": {
"start": {
"line": 120,
"column": 11
},
"end": {
"line": 120,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2964,
"end": 2965,
"loc": {
"start": {
"line": 120,
"column": 19
},
"end": {
"line": 120,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 2965,
"end": 2966,
"loc": {
"start": {
"line": 120,
"column": 20
},
"end": {
"line": 120,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2966,
"end": 2967,
"loc": {
"start": {
"line": 120,
"column": 21
},
"end": {
"line": 120,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2967,
"end": 2968,
"loc": {
"start": {
"line": 120,
"column": 22
},
"end": {
"line": 120,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createBuffer",
"start": 2968,
"end": 2980,
"loc": {
"start": {
"line": 120,
"column": 23
},
"end": {
"line": 120,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2980,
"end": 2981,
"loc": {
"start": {
"line": 120,
"column": 35
},
"end": {
"line": 120,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2981,
"end": 2982,
"loc": {
"start": {
"line": 120,
"column": 36
},
"end": {
"line": 120,
"column": 37
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2985,
"end": 2986,
"loc": {
"start": {
"line": 121,
"column": 2
},
"end": {
"line": 121,
"column": 3
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2987,
"end": 2988,
"loc": {
"start": {
"line": 122,
"column": 0
},
"end": {
"line": 122,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2989,
"end": 2989,
"loc": {
"start": {
"line": 123,
"column": 0
},
"end": {
"line": 123,
"column": 0
}
}
}
]
}