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

80420 lines
2.2 MiB

{
"type": "File",
"start": 0,
"end": 14968,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 528,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 14968,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 528,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 64,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 64
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 27
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 27
},
"identifierName": "getStructReference"
},
"name": "getStructReference"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 27
},
"identifierName": "getStructReference"
},
"name": "getStructReference"
}
}
],
"source": {
"type": "StringLiteral",
"start": 35,
"end": 64,
"loc": {
"start": {
"line": 1,
"column": 35
},
"end": {
"line": 1,
"column": 64
}
},
"extra": {
"rawValue": "../Util/structReferences.js",
"raw": "'../Util/structReferences.js'"
},
"value": "../Util/structReferences.js"
}
},
{
"type": "ImportDeclaration",
"start": 65,
"end": 98,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 33
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 72,
"end": 74,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 9
}
},
"local": {
"type": "Identifier",
"start": 72,
"end": 74,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 9
},
"identifierName": "ID"
},
"name": "ID"
}
}
],
"source": {
"type": "StringLiteral",
"start": 80,
"end": 98,
"loc": {
"start": {
"line": 2,
"column": 15
},
"end": {
"line": 2,
"column": 33
}
},
"extra": {
"rawValue": "../Util/ID/ID.js",
"raw": "'../Util/ID/ID.js'"
},
"value": "../Util/ID/ID.js"
}
},
{
"type": "ImportDeclaration",
"start": 99,
"end": 171,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 72
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 108,
"end": 125,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 26
}
},
"imported": {
"type": "Identifier",
"start": 108,
"end": 115,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 16
},
"identifierName": "default"
},
"name": "default"
},
"local": {
"type": "Identifier",
"start": 119,
"end": 125,
"loc": {
"start": {
"line": 3,
"column": 20
},
"end": {
"line": 3,
"column": 26
},
"identifierName": "RootID"
},
"name": "RootID"
}
},
{
"type": "ImportSpecifier",
"start": 127,
"end": 141,
"loc": {
"start": {
"line": 3,
"column": 28
},
"end": {
"line": 3,
"column": 42
}
},
"imported": {
"type": "Identifier",
"start": 127,
"end": 141,
"loc": {
"start": {
"line": 3,
"column": 28
},
"end": {
"line": 3,
"column": 42
},
"identifierName": "RootFakeUserID"
},
"name": "RootFakeUserID"
},
"local": {
"type": "Identifier",
"start": 127,
"end": 141,
"loc": {
"start": {
"line": 3,
"column": 28
},
"end": {
"line": 3,
"column": 42
},
"identifierName": "RootFakeUserID"
},
"name": "RootFakeUserID"
}
}
],
"source": {
"type": "StringLiteral",
"start": 149,
"end": 171,
"loc": {
"start": {
"line": 3,
"column": 50
},
"end": {
"line": 3,
"column": 72
}
},
"extra": {
"rawValue": "../Util/ID/RootID.js",
"raw": "'../Util/ID/RootID.js'"
},
"value": "../Util/ID/RootID.js"
}
},
{
"type": "ImportDeclaration",
"start": 172,
"end": 204,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 32
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 179,
"end": 185,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 13
}
},
"local": {
"type": "Identifier",
"start": 179,
"end": 185,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 13
},
"identifierName": "Delete"
},
"name": "Delete"
}
}
],
"source": {
"type": "StringLiteral",
"start": 191,
"end": 204,
"loc": {
"start": {
"line": 4,
"column": 19
},
"end": {
"line": 4,
"column": 32
}
},
"extra": {
"rawValue": "./Delete.js",
"raw": "'./Delete.js'"
},
"value": "./Delete.js"
}
},
{
"type": "ImportDeclaration",
"start": 205,
"end": 263,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 58
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 214,
"end": 236,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 31
}
},
"imported": {
"type": "Identifier",
"start": 214,
"end": 236,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 31
},
"identifierName": "transactionTypeChanged"
},
"name": "transactionTypeChanged"
},
"local": {
"type": "Identifier",
"start": 214,
"end": 236,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 31
},
"identifierName": "transactionTypeChanged"
},
"name": "transactionTypeChanged"
}
}
],
"source": {
"type": "StringLiteral",
"start": 244,
"end": 263,
"loc": {
"start": {
"line": 5,
"column": 39
},
"end": {
"line": 5,
"column": 58
}
},
"extra": {
"rawValue": "../Transaction.js",
"raw": "'../Transaction.js'"
},
"value": "../Transaction.js"
}
},
{
"type": "ImportDeclaration",
"start": 264,
"end": 288,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 24
}
},
"specifiers": [
{
"type": "ImportDefaultSpecifier",
"start": 271,
"end": 273,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 9
}
},
"local": {
"type": "Identifier",
"start": 271,
"end": 273,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 9
},
"identifierName": "GC"
},
"name": "GC"
}
}
],
"source": {
"type": "StringLiteral",
"start": 279,
"end": 288,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 24
}
},
"extra": {
"rawValue": "./GC.js",
"raw": "'./GC.js'"
},
"value": "./GC.js",
"leadingComments": null,
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * @private\n * Helper utility to split an Item (see {@link Item#_splitAt})\n * - copies all properties from a to b\n * - connects a to b\n * - assigns the correct _id\n * - saves b to os\n ",
"start": 290,
"end": 480,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 15,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 481,
"end": 1457,
"loc": {
"start": {
"line": 16,
"column": 0
},
"end": {
"line": 49,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "FunctionDeclaration",
"start": 488,
"end": 1457,
"loc": {
"start": {
"line": 16,
"column": 7
},
"end": {
"line": 49,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 497,
"end": 508,
"loc": {
"start": {
"line": 16,
"column": 16
},
"end": {
"line": 16,
"column": 27
},
"identifierName": "splitHelper"
},
"name": "splitHelper",
"leadingComments": null
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 510,
"end": 511,
"loc": {
"start": {
"line": 16,
"column": 29
},
"end": {
"line": 16,
"column": 30
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 513,
"end": 514,
"loc": {
"start": {
"line": 16,
"column": 32
},
"end": {
"line": 16,
"column": 33
},
"identifierName": "a"
},
"name": "a"
},
{
"type": "Identifier",
"start": 516,
"end": 517,
"loc": {
"start": {
"line": 16,
"column": 35
},
"end": {
"line": 16,
"column": 36
},
"identifierName": "b"
},
"name": "b"
},
{
"type": "Identifier",
"start": 519,
"end": 523,
"loc": {
"start": {
"line": 16,
"column": 38
},
"end": {
"line": 16,
"column": 42
},
"identifierName": "diff"
},
"name": "diff"
}
],
"body": {
"type": "BlockStatement",
"start": 525,
"end": 1457,
"loc": {
"start": {
"line": 16,
"column": 44
},
"end": {
"line": 49,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 529,
"end": 546,
"loc": {
"start": {
"line": 17,
"column": 2
},
"end": {
"line": 17,
"column": 19
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 535,
"end": 546,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 19
}
},
"id": {
"type": "Identifier",
"start": 535,
"end": 538,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 11
},
"identifierName": "aID"
},
"name": "aID"
},
"init": {
"type": "MemberExpression",
"start": 541,
"end": 546,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 541,
"end": 542,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 15
},
"identifierName": "a"
},
"name": "a"
},
"property": {
"type": "Identifier",
"start": 543,
"end": 546,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 19
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 549,
"end": 591,
"loc": {
"start": {
"line": 18,
"column": 2
},
"end": {
"line": 18,
"column": 44
}
},
"expression": {
"type": "AssignmentExpression",
"start": 549,
"end": 591,
"loc": {
"start": {
"line": 18,
"column": 2
},
"end": {
"line": 18,
"column": 44
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 549,
"end": 554,
"loc": {
"start": {
"line": 18,
"column": 2
},
"end": {
"line": 18,
"column": 7
}
},
"object": {
"type": "Identifier",
"start": 549,
"end": 550,
"loc": {
"start": {
"line": 18,
"column": 2
},
"end": {
"line": 18,
"column": 3
},
"identifierName": "b"
},
"name": "b"
},
"property": {
"type": "Identifier",
"start": 551,
"end": 554,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 7
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"right": {
"type": "NewExpression",
"start": 557,
"end": 591,
"loc": {
"start": {
"line": 18,
"column": 10
},
"end": {
"line": 18,
"column": 44
}
},
"callee": {
"type": "Identifier",
"start": 561,
"end": 563,
"loc": {
"start": {
"line": 18,
"column": 14
},
"end": {
"line": 18,
"column": 16
},
"identifierName": "ID"
},
"name": "ID"
},
"arguments": [
{
"type": "MemberExpression",
"start": 564,
"end": 572,
"loc": {
"start": {
"line": 18,
"column": 17
},
"end": {
"line": 18,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 564,
"end": 567,
"loc": {
"start": {
"line": 18,
"column": 17
},
"end": {
"line": 18,
"column": 20
},
"identifierName": "aID"
},
"name": "aID"
},
"property": {
"type": "Identifier",
"start": 568,
"end": 572,
"loc": {
"start": {
"line": 18,
"column": 21
},
"end": {
"line": 18,
"column": 25
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
},
{
"type": "BinaryExpression",
"start": 574,
"end": 590,
"loc": {
"start": {
"line": 18,
"column": 27
},
"end": {
"line": 18,
"column": 43
}
},
"left": {
"type": "MemberExpression",
"start": 574,
"end": 583,
"loc": {
"start": {
"line": 18,
"column": 27
},
"end": {
"line": 18,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 574,
"end": 577,
"loc": {
"start": {
"line": 18,
"column": 27
},
"end": {
"line": 18,
"column": 30
},
"identifierName": "aID"
},
"name": "aID"
},
"property": {
"type": "Identifier",
"start": 578,
"end": 583,
"loc": {
"start": {
"line": 18,
"column": 31
},
"end": {
"line": 18,
"column": 36
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 586,
"end": 590,
"loc": {
"start": {
"line": 18,
"column": 39
},
"end": {
"line": 18,
"column": 43
},
"identifierName": "diff"
},
"name": "diff"
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 594,
"end": 607,
"loc": {
"start": {
"line": 19,
"column": 2
},
"end": {
"line": 19,
"column": 15
}
},
"expression": {
"type": "AssignmentExpression",
"start": 594,
"end": 607,
"loc": {
"start": {
"line": 19,
"column": 2
},
"end": {
"line": 19,
"column": 15
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 594,
"end": 603,
"loc": {
"start": {
"line": 19,
"column": 2
},
"end": {
"line": 19,
"column": 11
}
},
"object": {
"type": "Identifier",
"start": 594,
"end": 595,
"loc": {
"start": {
"line": 19,
"column": 2
},
"end": {
"line": 19,
"column": 3
},
"identifierName": "b"
},
"name": "b"
},
"property": {
"type": "Identifier",
"start": 596,
"end": 603,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 11
},
"identifierName": "_origin"
},
"name": "_origin"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 606,
"end": 607,
"loc": {
"start": {
"line": 19,
"column": 14
},
"end": {
"line": 19,
"column": 15
},
"identifierName": "a"
},
"name": "a"
}
}
},
{
"type": "ExpressionStatement",
"start": 610,
"end": 621,
"loc": {
"start": {
"line": 20,
"column": 2
},
"end": {
"line": 20,
"column": 13
}
},
"expression": {
"type": "AssignmentExpression",
"start": 610,
"end": 621,
"loc": {
"start": {
"line": 20,
"column": 2
},
"end": {
"line": 20,
"column": 13
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 610,
"end": 617,
"loc": {
"start": {
"line": 20,
"column": 2
},
"end": {
"line": 20,
"column": 9
}
},
"object": {
"type": "Identifier",
"start": 610,
"end": 611,
"loc": {
"start": {
"line": 20,
"column": 2
},
"end": {
"line": 20,
"column": 3
},
"identifierName": "b"
},
"name": "b"
},
"property": {
"type": "Identifier",
"start": 612,
"end": 617,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 9
},
"identifierName": "_left"
},
"name": "_left"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 620,
"end": 621,
"loc": {
"start": {
"line": 20,
"column": 12
},
"end": {
"line": 20,
"column": 13
},
"identifierName": "a"
},
"name": "a"
}
}
},
{
"type": "ExpressionStatement",
"start": 624,
"end": 643,
"loc": {
"start": {
"line": 21,
"column": 2
},
"end": {
"line": 21,
"column": 21
}
},
"expression": {
"type": "AssignmentExpression",
"start": 624,
"end": 643,
"loc": {
"start": {
"line": 21,
"column": 2
},
"end": {
"line": 21,
"column": 21
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 624,
"end": 632,
"loc": {
"start": {
"line": 21,
"column": 2
},
"end": {
"line": 21,
"column": 10
}
},
"object": {
"type": "Identifier",
"start": 624,
"end": 625,
"loc": {
"start": {
"line": 21,
"column": 2
},
"end": {
"line": 21,
"column": 3
},
"identifierName": "b"
},
"name": "b"
},
"property": {
"type": "Identifier",
"start": 626,
"end": 632,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 10
},
"identifierName": "_right"
},
"name": "_right"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 635,
"end": 643,
"loc": {
"start": {
"line": 21,
"column": 13
},
"end": {
"line": 21,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 635,
"end": 636,
"loc": {
"start": {
"line": 21,
"column": 13
},
"end": {
"line": 21,
"column": 14
},
"identifierName": "a"
},
"name": "a"
},
"property": {
"type": "Identifier",
"start": 637,
"end": 643,
"loc": {
"start": {
"line": 21,
"column": 15
},
"end": {
"line": 21,
"column": 21
},
"identifierName": "_right"
},
"name": "_right"
},
"computed": false
}
}
},
{
"type": "IfStatement",
"start": 646,
"end": 697,
"loc": {
"start": {
"line": 22,
"column": 2
},
"end": {
"line": 24,
"column": 3
}
},
"test": {
"type": "BinaryExpression",
"start": 650,
"end": 667,
"loc": {
"start": {
"line": 22,
"column": 6
},
"end": {
"line": 22,
"column": 23
}
},
"left": {
"type": "MemberExpression",
"start": 650,
"end": 658,
"loc": {
"start": {
"line": 22,
"column": 6
},
"end": {
"line": 22,
"column": 14
}
},
"object": {
"type": "Identifier",
"start": 650,
"end": 651,
"loc": {
"start": {
"line": 22,
"column": 6
},
"end": {
"line": 22,
"column": 7
},
"identifierName": "b"
},
"name": "b"
},
"property": {
"type": "Identifier",
"start": 652,
"end": 658,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 14
},
"identifierName": "_right"
},
"name": "_right"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 663,
"end": 667,
"loc": {
"start": {
"line": 22,
"column": 19
},
"end": {
"line": 22,
"column": 23
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 669,
"end": 697,
"loc": {
"start": {
"line": 22,
"column": 25
},
"end": {
"line": 24,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 675,
"end": 693,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 22
}
},
"expression": {
"type": "AssignmentExpression",
"start": 675,
"end": 693,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 22
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 675,
"end": 689,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 18
}
},
"object": {
"type": "MemberExpression",
"start": 675,
"end": 683,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 12
}
},
"object": {
"type": "Identifier",
"start": 675,
"end": 676,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 5
},
"identifierName": "b"
},
"name": "b"
},
"property": {
"type": "Identifier",
"start": 677,
"end": 683,
"loc": {
"start": {
"line": 23,
"column": 6
},
"end": {
"line": 23,
"column": 12
},
"identifierName": "_right"
},
"name": "_right"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 684,
"end": 689,
"loc": {
"start": {
"line": 23,
"column": 13
},
"end": {
"line": 23,
"column": 18
},
"identifierName": "_left"
},
"name": "_left"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 692,
"end": 693,
"loc": {
"start": {
"line": 23,
"column": 21
},
"end": {
"line": 23,
"column": 22
},
"identifierName": "b"
},
"name": "b"
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 700,
"end": 733,
"loc": {
"start": {
"line": 25,
"column": 2
},
"end": {
"line": 25,
"column": 35
}
},
"expression": {
"type": "AssignmentExpression",
"start": 700,
"end": 733,
"loc": {
"start": {
"line": 25,
"column": 2
},
"end": {
"line": 25,
"column": 35
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 700,
"end": 715,
"loc": {
"start": {
"line": 25,
"column": 2
},
"end": {
"line": 25,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 700,
"end": 701,
"loc": {
"start": {
"line": 25,
"column": 2
},
"end": {
"line": 25,
"column": 3
},
"identifierName": "b"
},
"name": "b"
},
"property": {
"type": "Identifier",
"start": 702,
"end": 715,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 17
},
"identifierName": "_right_origin"
},
"name": "_right_origin"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 718,
"end": 733,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 718,
"end": 719,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 21
},
"identifierName": "a"
},
"name": "a"
},
"property": {
"type": "Identifier",
"start": 720,
"end": 733,
"loc": {
"start": {
"line": 25,
"column": 22
},
"end": {
"line": 25,
"column": 35
},
"identifierName": "_right_origin"
},
"name": "_right_origin",
"leadingComments": null,
"trailingComments": null
},
"computed": false,
"trailingComments": null
},
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " do not set a._right_origin, as this will lead to problems when syncing",
"start": 736,
"end": 809,
"loc": {
"start": {
"line": 26,
"column": 2
},
"end": {
"line": 26,
"column": 75
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 812,
"end": 824,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 27,
"column": 14
}
},
"expression": {
"type": "AssignmentExpression",
"start": 812,
"end": 824,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 27,
"column": 14
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 812,
"end": 820,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 27,
"column": 10
}
},
"object": {
"type": "Identifier",
"start": 812,
"end": 813,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 27,
"column": 3
},
"identifierName": "a"
},
"name": "a",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 814,
"end": 820,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 10
},
"identifierName": "_right"
},
"name": "_right"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "Identifier",
"start": 823,
"end": 824,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 14
},
"identifierName": "b"
},
"name": "b"
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " do not set a._right_origin, as this will lead to problems when syncing",
"start": 736,
"end": 809,
"loc": {
"start": {
"line": 26,
"column": 2
},
"end": {
"line": 26,
"column": 75
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 827,
"end": 848,
"loc": {
"start": {
"line": 28,
"column": 2
},
"end": {
"line": 28,
"column": 23
}
},
"expression": {
"type": "AssignmentExpression",
"start": 827,
"end": 848,
"loc": {
"start": {
"line": 28,
"column": 2
},
"end": {
"line": 28,
"column": 23
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 827,
"end": 836,
"loc": {
"start": {
"line": 28,
"column": 2
},
"end": {
"line": 28,
"column": 11
}
},
"object": {
"type": "Identifier",
"start": 827,
"end": 828,
"loc": {
"start": {
"line": 28,
"column": 2
},
"end": {
"line": 28,
"column": 3
},
"identifierName": "b"
},
"name": "b"
},
"property": {
"type": "Identifier",
"start": 829,
"end": 836,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 28,
"column": 11
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 839,
"end": 848,
"loc": {
"start": {
"line": 28,
"column": 14
},
"end": {
"line": 28,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 839,
"end": 840,
"loc": {
"start": {
"line": 28,
"column": 14
},
"end": {
"line": 28,
"column": 15
},
"identifierName": "a"
},
"name": "a"
},
"property": {
"type": "Identifier",
"start": 841,
"end": 848,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 23
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 851,
"end": 878,
"loc": {
"start": {
"line": 29,
"column": 2
},
"end": {
"line": 29,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 851,
"end": 878,
"loc": {
"start": {
"line": 29,
"column": 2
},
"end": {
"line": 29,
"column": 29
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 851,
"end": 863,
"loc": {
"start": {
"line": 29,
"column": 2
},
"end": {
"line": 29,
"column": 14
}
},
"object": {
"type": "Identifier",
"start": 851,
"end": 852,
"loc": {
"start": {
"line": 29,
"column": 2
},
"end": {
"line": 29,
"column": 3
},
"identifierName": "b"
},
"name": "b"
},
"property": {
"type": "Identifier",
"start": 853,
"end": 863,
"loc": {
"start": {
"line": 29,
"column": 4
},
"end": {
"line": 29,
"column": 14
},
"identifierName": "_parentSub"
},
"name": "_parentSub"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 866,
"end": 878,
"loc": {
"start": {
"line": 29,
"column": 17
},
"end": {
"line": 29,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 866,
"end": 867,
"loc": {
"start": {
"line": 29,
"column": 17
},
"end": {
"line": 29,
"column": 18
},
"identifierName": "a"
},
"name": "a"
},
"property": {
"type": "Identifier",
"start": 868,
"end": 878,
"loc": {
"start": {
"line": 29,
"column": 19
},
"end": {
"line": 29,
"column": 29
},
"identifierName": "_parentSub"
},
"name": "_parentSub"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 881,
"end": 904,
"loc": {
"start": {
"line": 30,
"column": 2
},
"end": {
"line": 30,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 881,
"end": 904,
"loc": {
"start": {
"line": 30,
"column": 2
},
"end": {
"line": 30,
"column": 25
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 881,
"end": 891,
"loc": {
"start": {
"line": 30,
"column": 2
},
"end": {
"line": 30,
"column": 12
}
},
"object": {
"type": "Identifier",
"start": 881,
"end": 882,
"loc": {
"start": {
"line": 30,
"column": 2
},
"end": {
"line": 30,
"column": 3
},
"identifierName": "b"
},
"name": "b"
},
"property": {
"type": "Identifier",
"start": 883,
"end": 891,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"column": 12
},
"identifierName": "_deleted"
},
"name": "_deleted"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 894,
"end": 904,
"loc": {
"start": {
"line": 30,
"column": 15
},
"end": {
"line": 30,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 894,
"end": 895,
"loc": {
"start": {
"line": 30,
"column": 15
},
"end": {
"line": 30,
"column": 16
},
"identifierName": "a"
},
"name": "a"
},
"property": {
"type": "Identifier",
"start": 896,
"end": 904,
"loc": {
"start": {
"line": 30,
"column": 17
},
"end": {
"line": 30,
"column": 25
},
"identifierName": "_deleted"
},
"name": "_deleted",
"leadingComments": null,
"trailingComments": null
},
"computed": false,
"trailingComments": null
},
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " now search all relevant items to the right and update origin",
"start": 907,
"end": 970,
"loc": {
"start": {
"line": 31,
"column": 2
},
"end": {
"line": 31,
"column": 65
}
}
},
{
"type": "CommentLine",
"value": " if origin is not it foundOrigins, we don't have to search any longer",
"start": 973,
"end": 1044,
"loc": {
"start": {
"line": 32,
"column": 2
},
"end": {
"line": 32,
"column": 73
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 1047,
"end": 1075,
"loc": {
"start": {
"line": 33,
"column": 2
},
"end": {
"line": 33,
"column": 30
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1051,
"end": 1075,
"loc": {
"start": {
"line": 33,
"column": 6
},
"end": {
"line": 33,
"column": 30
}
},
"id": {
"type": "Identifier",
"start": 1051,
"end": 1063,
"loc": {
"start": {
"line": 33,
"column": 6
},
"end": {
"line": 33,
"column": 18
},
"identifierName": "foundOrigins"
},
"name": "foundOrigins",
"leadingComments": null
},
"init": {
"type": "NewExpression",
"start": 1066,
"end": 1075,
"loc": {
"start": {
"line": 33,
"column": 21
},
"end": {
"line": 33,
"column": 30
}
},
"callee": {
"type": "Identifier",
"start": 1070,
"end": 1073,
"loc": {
"start": {
"line": 33,
"column": 25
},
"end": {
"line": 33,
"column": 28
},
"identifierName": "Set"
},
"name": "Set"
},
"arguments": []
},
"leadingComments": null
}
],
"kind": "let",
"leadingComments": [
{
"type": "CommentLine",
"value": " now search all relevant items to the right and update origin",
"start": 907,
"end": 970,
"loc": {
"start": {
"line": 31,
"column": 2
},
"end": {
"line": 31,
"column": 65
}
}
},
{
"type": "CommentLine",
"value": " if origin is not it foundOrigins, we don't have to search any longer",
"start": 973,
"end": 1044,
"loc": {
"start": {
"line": 32,
"column": 2
},
"end": {
"line": 32,
"column": 73
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1078,
"end": 1097,
"loc": {
"start": {
"line": 34,
"column": 2
},
"end": {
"line": 34,
"column": 21
}
},
"expression": {
"type": "CallExpression",
"start": 1078,
"end": 1097,
"loc": {
"start": {
"line": 34,
"column": 2
},
"end": {
"line": 34,
"column": 21
}
},
"callee": {
"type": "MemberExpression",
"start": 1078,
"end": 1094,
"loc": {
"start": {
"line": 34,
"column": 2
},
"end": {
"line": 34,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 1078,
"end": 1090,
"loc": {
"start": {
"line": 34,
"column": 2
},
"end": {
"line": 34,
"column": 14
},
"identifierName": "foundOrigins"
},
"name": "foundOrigins"
},
"property": {
"type": "Identifier",
"start": 1091,
"end": 1094,
"loc": {
"start": {
"line": 34,
"column": 15
},
"end": {
"line": 34,
"column": 18
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1095,
"end": 1096,
"loc": {
"start": {
"line": 34,
"column": 19
},
"end": {
"line": 34,
"column": 20
},
"identifierName": "a"
},
"name": "a"
}
]
}
},
{
"type": "VariableDeclaration",
"start": 1100,
"end": 1116,
"loc": {
"start": {
"line": 35,
"column": 2
},
"end": {
"line": 35,
"column": 18
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1104,
"end": 1116,
"loc": {
"start": {
"line": 35,
"column": 6
},
"end": {
"line": 35,
"column": 18
}
},
"id": {
"type": "Identifier",
"start": 1104,
"end": 1105,
"loc": {
"start": {
"line": 35,
"column": 6
},
"end": {
"line": 35,
"column": 7
},
"identifierName": "o"
},
"name": "o"
},
"init": {
"type": "MemberExpression",
"start": 1108,
"end": 1116,
"loc": {
"start": {
"line": 35,
"column": 10
},
"end": {
"line": 35,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 1108,
"end": 1109,
"loc": {
"start": {
"line": 35,
"column": 10
},
"end": {
"line": 35,
"column": 11
},
"identifierName": "b"
},
"name": "b"
},
"property": {
"type": "Identifier",
"start": 1110,
"end": 1116,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 18
},
"identifierName": "_right"
},
"name": "_right"
},
"computed": false
}
}
],
"kind": "let"
},
{
"type": "WhileStatement",
"start": 1119,
"end": 1268,
"loc": {
"start": {
"line": 36,
"column": 2
},
"end": {
"line": 42,
"column": 3
}
},
"test": {
"type": "LogicalExpression",
"start": 1126,
"end": 1167,
"loc": {
"start": {
"line": 36,
"column": 9
},
"end": {
"line": 36,
"column": 50
}
},
"left": {
"type": "BinaryExpression",
"start": 1126,
"end": 1136,
"loc": {
"start": {
"line": 36,
"column": 9
},
"end": {
"line": 36,
"column": 19
}
},
"left": {
"type": "Identifier",
"start": 1126,
"end": 1127,
"loc": {
"start": {
"line": 36,
"column": 9
},
"end": {
"line": 36,
"column": 10
},
"identifierName": "o"
},
"name": "o"
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 1132,
"end": 1136,
"loc": {
"start": {
"line": 36,
"column": 15
},
"end": {
"line": 36,
"column": 19
}
}
}
},
"operator": "&&",
"right": {
"type": "CallExpression",
"start": 1140,
"end": 1167,
"loc": {
"start": {
"line": 36,
"column": 23
},
"end": {
"line": 36,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 1140,
"end": 1156,
"loc": {
"start": {
"line": 36,
"column": 23
},
"end": {
"line": 36,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 1140,
"end": 1152,
"loc": {
"start": {
"line": 36,
"column": 23
},
"end": {
"line": 36,
"column": 35
},
"identifierName": "foundOrigins"
},
"name": "foundOrigins"
},
"property": {
"type": "Identifier",
"start": 1153,
"end": 1156,
"loc": {
"start": {
"line": 36,
"column": 36
},
"end": {
"line": 36,
"column": 39
},
"identifierName": "has"
},
"name": "has"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1157,
"end": 1166,
"loc": {
"start": {
"line": 36,
"column": 40
},
"end": {
"line": 36,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 1157,
"end": 1158,
"loc": {
"start": {
"line": 36,
"column": 40
},
"end": {
"line": 36,
"column": 41
},
"identifierName": "o"
},
"name": "o"
},
"property": {
"type": "Identifier",
"start": 1159,
"end": 1166,
"loc": {
"start": {
"line": 36,
"column": 42
},
"end": {
"line": 36,
"column": 49
},
"identifierName": "_origin"
},
"name": "_origin"
},
"computed": false
}
]
}
},
"body": {
"type": "BlockStatement",
"start": 1169,
"end": 1268,
"loc": {
"start": {
"line": 36,
"column": 52
},
"end": {
"line": 42,
"column": 3
}
},
"body": [
{
"type": "IfStatement",
"start": 1175,
"end": 1223,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 39,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 1179,
"end": 1194,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 23
}
},
"left": {
"type": "MemberExpression",
"start": 1179,
"end": 1188,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 1179,
"end": 1180,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 9
},
"identifierName": "o"
},
"name": "o"
},
"property": {
"type": "Identifier",
"start": 1181,
"end": 1188,
"loc": {
"start": {
"line": 37,
"column": 10
},
"end": {
"line": 37,
"column": 17
},
"identifierName": "_origin"
},
"name": "_origin"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 1193,
"end": 1194,
"loc": {
"start": {
"line": 37,
"column": 22
},
"end": {
"line": 37,
"column": 23
},
"identifierName": "a"
},
"name": "a"
}
},
"consequent": {
"type": "BlockStatement",
"start": 1196,
"end": 1223,
"loc": {
"start": {
"line": 37,
"column": 25
},
"end": {
"line": 39,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1204,
"end": 1217,
"loc": {
"start": {
"line": 38,
"column": 6
},
"end": {
"line": 38,
"column": 19
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1204,
"end": 1217,
"loc": {
"start": {
"line": 38,
"column": 6
},
"end": {
"line": 38,
"column": 19
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1204,
"end": 1213,
"loc": {
"start": {
"line": 38,
"column": 6
},
"end": {
"line": 38,
"column": 15
}
},
"object": {
"type": "Identifier",
"start": 1204,
"end": 1205,
"loc": {
"start": {
"line": 38,
"column": 6
},
"end": {
"line": 38,
"column": 7
},
"identifierName": "o"
},
"name": "o"
},
"property": {
"type": "Identifier",
"start": 1206,
"end": 1213,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 15
},
"identifierName": "_origin"
},
"name": "_origin"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1216,
"end": 1217,
"loc": {
"start": {
"line": 38,
"column": 18
},
"end": {
"line": 38,
"column": 19
},
"identifierName": "b"
},
"name": "b"
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1228,
"end": 1247,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 23
}
},
"expression": {
"type": "CallExpression",
"start": 1228,
"end": 1247,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 23
}
},
"callee": {
"type": "MemberExpression",
"start": 1228,
"end": 1244,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 1228,
"end": 1240,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 16
},
"identifierName": "foundOrigins"
},
"name": "foundOrigins"
},
"property": {
"type": "Identifier",
"start": 1241,
"end": 1244,
"loc": {
"start": {
"line": 40,
"column": 17
},
"end": {
"line": 40,
"column": 20
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1245,
"end": 1246,
"loc": {
"start": {
"line": 40,
"column": 21
},
"end": {
"line": 40,
"column": 22
},
"identifierName": "o"
},
"name": "o"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1252,
"end": 1264,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"column": 16
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1252,
"end": 1264,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"column": 16
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1252,
"end": 1253,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"column": 5
},
"identifierName": "o"
},
"name": "o"
},
"right": {
"type": "MemberExpression",
"start": 1256,
"end": 1264,
"loc": {
"start": {
"line": 41,
"column": 8
},
"end": {
"line": 41,
"column": 16
}
},
"object": {
"type": "Identifier",
"start": 1256,
"end": 1257,
"loc": {
"start": {
"line": 41,
"column": 8
},
"end": {
"line": 41,
"column": 9
},
"identifierName": "o"
},
"name": "o"
},
"property": {
"type": "Identifier",
"start": 1258,
"end": 1264,
"loc": {
"start": {
"line": 41,
"column": 10
},
"end": {
"line": 41,
"column": 16
},
"identifierName": "_right"
},
"name": "_right"
},
"computed": false
}
}
}
],
"directives": []
}
},
{
"type": "ExpressionStatement",
"start": 1271,
"end": 1282,
"loc": {
"start": {
"line": 43,
"column": 2
},
"end": {
"line": 43,
"column": 13
}
},
"expression": {
"type": "CallExpression",
"start": 1271,
"end": 1282,
"loc": {
"start": {
"line": 43,
"column": 2
},
"end": {
"line": 43,
"column": 13
}
},
"callee": {
"type": "MemberExpression",
"start": 1271,
"end": 1279,
"loc": {
"start": {
"line": 43,
"column": 2
},
"end": {
"line": 43,
"column": 10
}
},
"object": {
"type": "MemberExpression",
"start": 1271,
"end": 1275,
"loc": {
"start": {
"line": 43,
"column": 2
},
"end": {
"line": 43,
"column": 6
}
},
"object": {
"type": "Identifier",
"start": 1271,
"end": 1272,
"loc": {
"start": {
"line": 43,
"column": 2
},
"end": {
"line": 43,
"column": 3
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 1273,
"end": 1275,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 6
},
"identifierName": "os"
},
"name": "os"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1276,
"end": 1279,
"loc": {
"start": {
"line": 43,
"column": 7
},
"end": {
"line": 43,
"column": 10
},
"identifierName": "put"
},
"name": "put"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1280,
"end": 1281,
"loc": {
"start": {
"line": 43,
"column": 11
},
"end": {
"line": 43,
"column": 12
},
"identifierName": "b"
},
"name": "b"
}
]
}
},
{
"type": "IfStatement",
"start": 1285,
"end": 1455,
"loc": {
"start": {
"line": 44,
"column": 2
},
"end": {
"line": 48,
"column": 3
}
},
"test": {
"type": "CallExpression",
"start": 1289,
"end": 1319,
"loc": {
"start": {
"line": 44,
"column": 6
},
"end": {
"line": 44,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 1289,
"end": 1316,
"loc": {
"start": {
"line": 44,
"column": 6
},
"end": {
"line": 44,
"column": 33
}
},
"object": {
"type": "MemberExpression",
"start": 1289,
"end": 1312,
"loc": {
"start": {
"line": 44,
"column": 6
},
"end": {
"line": 44,
"column": 29
}
},
"object": {
"type": "MemberExpression",
"start": 1289,
"end": 1303,
"loc": {
"start": {
"line": 44,
"column": 6
},
"end": {
"line": 44,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 1289,
"end": 1290,
"loc": {
"start": {
"line": 44,
"column": 6
},
"end": {
"line": 44,
"column": 7
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 1291,
"end": 1303,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 20
},
"identifierName": "_transaction"
},
"name": "_transaction"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1304,
"end": 1312,
"loc": {
"start": {
"line": 44,
"column": 21
},
"end": {
"line": 44,
"column": 29
},
"identifierName": "newTypes"
},
"name": "newTypes"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1313,
"end": 1316,
"loc": {
"start": {
"line": 44,
"column": 30
},
"end": {
"line": 44,
"column": 33
},
"identifierName": "has"
},
"name": "has"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1317,
"end": 1318,
"loc": {
"start": {
"line": 44,
"column": 34
},
"end": {
"line": 44,
"column": 35
},
"identifierName": "a"
},
"name": "a"
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 1321,
"end": 1361,
"loc": {
"start": {
"line": 44,
"column": 38
},
"end": {
"line": 46,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1327,
"end": 1357,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 1327,
"end": 1357,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1327,
"end": 1354,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 31
}
},
"object": {
"type": "MemberExpression",
"start": 1327,
"end": 1350,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 27
}
},
"object": {
"type": "MemberExpression",
"start": 1327,
"end": 1341,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 1327,
"end": 1328,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 5
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 1329,
"end": 1341,
"loc": {
"start": {
"line": 45,
"column": 6
},
"end": {
"line": 45,
"column": 18
},
"identifierName": "_transaction"
},
"name": "_transaction"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1342,
"end": 1350,
"loc": {
"start": {
"line": 45,
"column": 19
},
"end": {
"line": 45,
"column": 27
},
"identifierName": "newTypes"
},
"name": "newTypes"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1351,
"end": 1354,
"loc": {
"start": {
"line": 45,
"column": 28
},
"end": {
"line": 45,
"column": 31
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1355,
"end": 1356,
"loc": {
"start": {
"line": 45,
"column": 32
},
"end": {
"line": 45,
"column": 33
},
"identifierName": "b"
},
"name": "b"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "IfStatement",
"start": 1367,
"end": 1455,
"loc": {
"start": {
"line": 46,
"column": 9
},
"end": {
"line": 48,
"column": 3
}
},
"test": {
"type": "CallExpression",
"start": 1371,
"end": 1407,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
"start": 1371,
"end": 1404,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 1371,
"end": 1400,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 1371,
"end": 1385,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 1371,
"end": 1372,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 14
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 1373,
"end": 1385,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 46,
"column": 27
},
"identifierName": "_transaction"
},
"name": "_transaction"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1386,
"end": 1400,
"loc": {
"start": {
"line": 46,
"column": 28
},
"end": {
"line": 46,
"column": 42
},
"identifierName": "deletedStructs"
},
"name": "deletedStructs"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1401,
"end": 1404,
"loc": {
"start": {
"line": 46,
"column": 43
},
"end": {
"line": 46,
"column": 46
},
"identifierName": "has"
},
"name": "has"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1405,
"end": 1406,
"loc": {
"start": {
"line": 46,
"column": 47
},
"end": {
"line": 46,
"column": 48
},
"identifierName": "a"
},
"name": "a"
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 1409,
"end": 1455,
"loc": {
"start": {
"line": 46,
"column": 51
},
"end": {
"line": 48,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1415,
"end": 1451,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 40
}
},
"expression": {
"type": "CallExpression",
"start": 1415,
"end": 1451,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 1415,
"end": 1448,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 1415,
"end": 1444,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 33
}
},
"object": {
"type": "MemberExpression",
"start": 1415,
"end": 1429,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 1415,
"end": 1416,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 5
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 1417,
"end": 1429,
"loc": {
"start": {
"line": 47,
"column": 6
},
"end": {
"line": 47,
"column": 18
},
"identifierName": "_transaction"
},
"name": "_transaction"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1430,
"end": 1444,
"loc": {
"start": {
"line": 47,
"column": 19
},
"end": {
"line": 47,
"column": 33
},
"identifierName": "deletedStructs"
},
"name": "deletedStructs"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1445,
"end": 1448,
"loc": {
"start": {
"line": 47,
"column": 34
},
"end": {
"line": 47,
"column": 37
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1449,
"end": 1450,
"loc": {
"start": {
"line": 47,
"column": 38
},
"end": {
"line": 47,
"column": 39
},
"identifierName": "b"
},
"name": "b"
}
]
}
}
],
"directives": []
},
"alternate": null
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * @private\n * Helper utility to split an Item (see {@link Item#_splitAt})\n * - copies all properties from a to b\n * - connects a to b\n * - assigns the correct _id\n * - saves b to os\n ",
"start": 290,
"end": 480,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 15,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Abstract class that represents any content.\n ",
"start": 1459,
"end": 1513,
"loc": {
"start": {
"line": 51,
"column": 0
},
"end": {
"line": 53,
"column": 3
}
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * @private\n * Helper utility to split an Item (see {@link Item#_splitAt})\n * - copies all properties from a to b\n * - connects a to b\n * - assigns the correct _id\n * - saves b to os\n ",
"start": 290,
"end": 480,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 15,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Abstract class that represents any content.\n ",
"start": 1459,
"end": 1513,
"loc": {
"start": {
"line": 51,
"column": 0
},
"end": {
"line": 53,
"column": 3
}
}
}
]
},
{
"type": "ExportDefaultDeclaration",
"start": 1514,
"end": 14967,
"loc": {
"start": {
"line": 54,
"column": 0
},
"end": {
"line": 527,
"column": 1
}
},
"declaration": {
"type": "ClassDeclaration",
"start": 1529,
"end": 14967,
"loc": {
"start": {
"line": 54,
"column": 15
},
"end": {
"line": 527,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 1535,
"end": 1539,
"loc": {
"start": {
"line": 54,
"column": 21
},
"end": {
"line": 54,
"column": 25
},
"identifierName": "Item"
},
"name": "Item",
"leadingComments": null
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 1540,
"end": 14967,
"loc": {
"start": {
"line": 54,
"column": 26
},
"end": {
"line": 527,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 1544,
"end": 2872,
"loc": {
"start": {
"line": 55,
"column": 2
},
"end": {
"line": 105,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1544,
"end": 1555,
"loc": {
"start": {
"line": 55,
"column": 2
},
"end": {
"line": 55,
"column": 13
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1559,
"end": 2872,
"loc": {
"start": {
"line": 55,
"column": 17
},
"end": {
"line": 105,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1641,
"end": 1656,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 19
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1641,
"end": 1656,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 19
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1641,
"end": 1649,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 12
}
},
"object": {
"type": "ThisExpression",
"start": 1641,
"end": 1645,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 8
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1646,
"end": 1649,
"loc": {
"start": {
"line": 60,
"column": 9
},
"end": {
"line": 60,
"column": 12
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 1652,
"end": 1656,
"loc": {
"start": {
"line": 60,
"column": 15
},
"end": {
"line": 60,
"column": 19
}
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * The uniqe identifier of this type.\n * @type {ID}\n ",
"start": 1565,
"end": 1636,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 59,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * The item that was originally to the left of this item.\n * @type {Item}\n ",
"start": 1661,
"end": 1754,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1759,
"end": 1778,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 65,
"column": 23
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1759,
"end": 1778,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 65,
"column": 23
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1759,
"end": 1771,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 65,
"column": 16
}
},
"object": {
"type": "ThisExpression",
"start": 1759,
"end": 1763,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 65,
"column": 8
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1764,
"end": 1771,
"loc": {
"start": {
"line": 65,
"column": 9
},
"end": {
"line": 65,
"column": 16
},
"identifierName": "_origin"
},
"name": "_origin"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 1774,
"end": 1778,
"loc": {
"start": {
"line": 65,
"column": 19
},
"end": {
"line": 65,
"column": 23
}
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * The item that was originally to the left of this item.\n * @type {Item}\n ",
"start": 1661,
"end": 1754,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * The item that is currently to the left of this item.\n * @type {Item}\n ",
"start": 1783,
"end": 1874,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 69,
"column": 7
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1879,
"end": 1896,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 70,
"column": 21
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1879,
"end": 1896,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 70,
"column": 21
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1879,
"end": 1889,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 70,
"column": 14
}
},
"object": {
"type": "ThisExpression",
"start": 1879,
"end": 1883,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 70,
"column": 8
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1884,
"end": 1889,
"loc": {
"start": {
"line": 70,
"column": 9
},
"end": {
"line": 70,
"column": 14
},
"identifierName": "_left"
},
"name": "_left"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 1892,
"end": 1896,
"loc": {
"start": {
"line": 70,
"column": 17
},
"end": {
"line": 70,
"column": 21
}
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * The item that is currently to the left of this item.\n * @type {Item}\n ",
"start": 1783,
"end": 1874,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 69,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * The item that is currently to the right of this item.\n * @type {Item}\n ",
"start": 1901,
"end": 1993,
"loc": {
"start": {
"line": 71,
"column": 4
},
"end": {
"line": 74,
"column": 7
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1998,
"end": 2016,
"loc": {
"start": {
"line": 75,
"column": 4
},
"end": {
"line": 75,
"column": 22
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1998,
"end": 2016,
"loc": {
"start": {
"line": 75,
"column": 4
},
"end": {
"line": 75,
"column": 22
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1998,
"end": 2009,
"loc": {
"start": {
"line": 75,
"column": 4
},
"end": {
"line": 75,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 1998,
"end": 2002,
"loc": {
"start": {
"line": 75,
"column": 4
},
"end": {
"line": 75,
"column": 8
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2003,
"end": 2009,
"loc": {
"start": {
"line": 75,
"column": 9
},
"end": {
"line": 75,
"column": 15
},
"identifierName": "_right"
},
"name": "_right"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 2012,
"end": 2016,
"loc": {
"start": {
"line": 75,
"column": 18
},
"end": {
"line": 75,
"column": 22
}
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * The item that is currently to the right of this item.\n * @type {Item}\n ",
"start": 1901,
"end": 1993,
"loc": {
"start": {
"line": 71,
"column": 4
},
"end": {
"line": 74,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * The item that was originally to the right of this item.\n * @type {Item}\n ",
"start": 2021,
"end": 2115,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 79,
"column": 7
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 2120,
"end": 2145,
"loc": {
"start": {
"line": 80,
"column": 4
},
"end": {
"line": 80,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2120,
"end": 2145,
"loc": {
"start": {
"line": 80,
"column": 4
},
"end": {
"line": 80,
"column": 29
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2120,
"end": 2138,
"loc": {
"start": {
"line": 80,
"column": 4
},
"end": {
"line": 80,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 2120,
"end": 2124,
"loc": {
"start": {
"line": 80,
"column": 4
},
"end": {
"line": 80,
"column": 8
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2125,
"end": 2138,
"loc": {
"start": {
"line": 80,
"column": 9
},
"end": {
"line": 80,
"column": 22
},
"identifierName": "_right_origin"
},
"name": "_right_origin"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 2141,
"end": 2145,
"loc": {
"start": {
"line": 80,
"column": 25
},
"end": {
"line": 80,
"column": 29
}
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * The item that was originally to the right of this item.\n * @type {Item}\n ",
"start": 2021,
"end": 2115,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 79,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * The parent type.\n * @type {Y|YType}\n ",
"start": 2150,
"end": 2208,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 84,
"column": 7
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 2213,
"end": 2232,
"loc": {
"start": {
"line": 85,
"column": 4
},
"end": {
"line": 85,
"column": 23
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2213,
"end": 2232,
"loc": {
"start": {
"line": 85,
"column": 4
},
"end": {
"line": 85,
"column": 23
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2213,
"end": 2225,
"loc": {
"start": {
"line": 85,
"column": 4
},
"end": {
"line": 85,
"column": 16
}
},
"object": {
"type": "ThisExpression",
"start": 2213,
"end": 2217,
"loc": {
"start": {
"line": 85,
"column": 4
},
"end": {
"line": 85,
"column": 8
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2218,
"end": 2225,
"loc": {
"start": {
"line": 85,
"column": 9
},
"end": {
"line": 85,
"column": 16
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 2228,
"end": 2232,
"loc": {
"start": {
"line": 85,
"column": 19
},
"end": {
"line": 85,
"column": 23
}
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * The parent type.\n * @type {Y|YType}\n ",
"start": 2150,
"end": 2208,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 84,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * If the parent refers to this item with some kind of key (e.g. YMap, the\n * key is specified here. The key is then used to refer to the list in which\n * to insert this item. If `parentSub = null` type._start is the list in\n * which to insert to. Otherwise it is `parent._start`.\n * @type {String}\n ",
"start": 2237,
"end": 2567,
"loc": {
"start": {
"line": 86,
"column": 4
},
"end": {
"line": 92,
"column": 7
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 2572,
"end": 2594,
"loc": {
"start": {
"line": 93,
"column": 4
},
"end": {
"line": 93,
"column": 26
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2572,
"end": 2594,
"loc": {
"start": {
"line": 93,
"column": 4
},
"end": {
"line": 93,
"column": 26
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2572,
"end": 2587,
"loc": {
"start": {
"line": 93,
"column": 4
},
"end": {
"line": 93,
"column": 19
}
},
"object": {
"type": "ThisExpression",
"start": 2572,
"end": 2576,
"loc": {
"start": {
"line": 93,
"column": 4
},
"end": {
"line": 93,
"column": 8
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2577,
"end": 2587,
"loc": {
"start": {
"line": 93,
"column": 9
},
"end": {
"line": 93,
"column": 19
},
"identifierName": "_parentSub"
},
"name": "_parentSub"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 2590,
"end": 2594,
"loc": {
"start": {
"line": 93,
"column": 22
},
"end": {
"line": 93,
"column": 26
}
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * If the parent refers to this item with some kind of key (e.g. YMap, the\n * key is specified here. The key is then used to refer to the list in which\n * to insert this item. If `parentSub = null` type._start is the list in\n * which to insert to. Otherwise it is `parent._start`.\n * @type {String}\n ",
"start": 2237,
"end": 2567,
"loc": {
"start": {
"line": 86,
"column": 4
},
"end": {
"line": 92,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Whether this item was deleted or not.\n * @type {Boolean}\n ",
"start": 2599,
"end": 2678,
"loc": {
"start": {
"line": 94,
"column": 4
},
"end": {
"line": 97,
"column": 7
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 2683,
"end": 2704,
"loc": {
"start": {
"line": 98,
"column": 4
},
"end": {
"line": 98,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2683,
"end": 2704,
"loc": {
"start": {
"line": 98,
"column": 4
},
"end": {
"line": 98,
"column": 25
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2683,
"end": 2696,
"loc": {
"start": {
"line": 98,
"column": 4
},
"end": {
"line": 98,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 2683,
"end": 2687,
"loc": {
"start": {
"line": 98,
"column": 4
},
"end": {
"line": 98,
"column": 8
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2688,
"end": 2696,
"loc": {
"start": {
"line": 98,
"column": 9
},
"end": {
"line": 98,
"column": 17
},
"identifierName": "_deleted"
},
"name": "_deleted"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "BooleanLiteral",
"start": 2699,
"end": 2704,
"loc": {
"start": {
"line": 98,
"column": 20
},
"end": {
"line": 98,
"column": 25
}
},
"value": false,
"leadingComments": null,
"trailingComments": null
},
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Whether this item was deleted or not.\n * @type {Boolean}\n ",
"start": 2599,
"end": 2678,
"loc": {
"start": {
"line": 94,
"column": 4
},
"end": {
"line": 97,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * If this type's effect is reundone this type refers to the type that undid\n * this operation.\n * @type {Item}\n ",
"start": 2709,
"end": 2844,
"loc": {
"start": {
"line": 99,
"column": 4
},
"end": {
"line": 103,
"column": 7
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 2849,
"end": 2868,
"loc": {
"start": {
"line": 104,
"column": 4
},
"end": {
"line": 104,
"column": 23
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2849,
"end": 2868,
"loc": {
"start": {
"line": 104,
"column": 4
},
"end": {
"line": 104,
"column": 23
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2849,
"end": 2861,
"loc": {
"start": {
"line": 104,
"column": 4
},
"end": {
"line": 104,
"column": 16
}
},
"object": {
"type": "ThisExpression",
"start": 2849,
"end": 2853,
"loc": {
"start": {
"line": 104,
"column": 4
},
"end": {
"line": 104,
"column": 8
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2854,
"end": 2861,
"loc": {
"start": {
"line": 104,
"column": 9
},
"end": {
"line": 104,
"column": 16
},
"identifierName": "_redone"
},
"name": "_redone"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "NullLiteral",
"start": 2864,
"end": 2868,
"loc": {
"start": {
"line": 104,
"column": 19
},
"end": {
"line": 104,
"column": 23
}
}
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * If this type's effect is reundone this type refers to the type that undid\n * this operation.\n * @type {Item}\n ",
"start": 2709,
"end": 2844,
"loc": {
"start": {
"line": 99,
"column": 4
},
"end": {
"line": 103,
"column": 7
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Creates an Item with the same effect as this Item (without position effect)\n *\n * @private\n ",
"start": 2876,
"end": 2985,
"loc": {
"start": {
"line": 107,
"column": 2
},
"end": {
"line": 111,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2988,
"end": 3036,
"loc": {
"start": {
"line": 112,
"column": 2
},
"end": {
"line": 114,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2988,
"end": 2993,
"loc": {
"start": {
"line": 112,
"column": 2
},
"end": {
"line": 112,
"column": 7
},
"identifierName": "_copy"
},
"name": "_copy",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2997,
"end": 3036,
"loc": {
"start": {
"line": 112,
"column": 11
},
"end": {
"line": 114,
"column": 3
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3003,
"end": 3032,
"loc": {
"start": {
"line": 113,
"column": 4
},
"end": {
"line": 113,
"column": 33
}
},
"argument": {
"type": "NewExpression",
"start": 3010,
"end": 3032,
"loc": {
"start": {
"line": 113,
"column": 11
},
"end": {
"line": 113,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 3014,
"end": 3030,
"loc": {
"start": {
"line": 113,
"column": 15
},
"end": {
"line": 113,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 3014,
"end": 3018,
"loc": {
"start": {
"line": 113,
"column": 15
},
"end": {
"line": 113,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 3019,
"end": 3030,
"loc": {
"start": {
"line": 113,
"column": 20
},
"end": {
"line": 113,
"column": 31
},
"identifierName": "constructor"
},
"name": "constructor"
},
"computed": false
},
"arguments": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Creates an Item with the same effect as this Item (without position effect)\n *\n * @private\n ",
"start": 2876,
"end": 2985,
"loc": {
"start": {
"line": 107,
"column": 2
},
"end": {
"line": 111,
"column": 5
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Redoes the effect of this operation.\n *\n * @param {Y} y The Yjs instance.\n *\n * @private\n ",
"start": 3040,
"end": 3151,
"loc": {
"start": {
"line": 116,
"column": 2
},
"end": {
"line": 122,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 3154,
"end": 4196,
"loc": {
"start": {
"line": 123,
"column": 2
},
"end": {
"line": 161,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3154,
"end": 3159,
"loc": {
"start": {
"line": 123,
"column": 2
},
"end": {
"line": 123,
"column": 7
},
"identifierName": "_redo"
},
"name": "_redo",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3161,
"end": 3162,
"loc": {
"start": {
"line": 123,
"column": 9
},
"end": {
"line": 123,
"column": 10
},
"identifierName": "y"
},
"name": "y"
}
],
"body": {
"type": "BlockStatement",
"start": 3164,
"end": 4196,
"loc": {
"start": {
"line": 123,
"column": 12
},
"end": {
"line": 161,
"column": 3
}
},
"body": [
{
"type": "IfStatement",
"start": 3170,
"end": 3230,
"loc": {
"start": {
"line": 124,
"column": 4
},
"end": {
"line": 126,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 3174,
"end": 3195,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 29
}
},
"left": {
"type": "MemberExpression",
"start": 3174,
"end": 3186,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 3174,
"end": 3178,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3179,
"end": 3186,
"loc": {
"start": {
"line": 124,
"column": 13
},
"end": {
"line": 124,
"column": 20
},
"identifierName": "_redone"
},
"name": "_redone"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 3191,
"end": 3195,
"loc": {
"start": {
"line": 124,
"column": 25
},
"end": {
"line": 124,
"column": 29
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 3197,
"end": 3230,
"loc": {
"start": {
"line": 124,
"column": 31
},
"end": {
"line": 126,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3205,
"end": 3224,
"loc": {
"start": {
"line": 125,
"column": 6
},
"end": {
"line": 125,
"column": 25
}
},
"argument": {
"type": "MemberExpression",
"start": 3212,
"end": 3224,
"loc": {
"start": {
"line": 125,
"column": 13
},
"end": {
"line": 125,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 3212,
"end": 3216,
"loc": {
"start": {
"line": 125,
"column": 13
},
"end": {
"line": 125,
"column": 17
}
}
},
"property": {
"type": "Identifier",
"start": 3217,
"end": 3224,
"loc": {
"start": {
"line": 125,
"column": 18
},
"end": {
"line": 125,
"column": 25
},
"identifierName": "_redone"
},
"name": "_redone"
},
"computed": false
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 3235,
"end": 3260,
"loc": {
"start": {
"line": 127,
"column": 4
},
"end": {
"line": 127,
"column": 29
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3239,
"end": 3260,
"loc": {
"start": {
"line": 127,
"column": 8
},
"end": {
"line": 127,
"column": 29
}
},
"id": {
"type": "Identifier",
"start": 3239,
"end": 3245,
"loc": {
"start": {
"line": 127,
"column": 8
},
"end": {
"line": 127,
"column": 14
},
"identifierName": "struct"
},
"name": "struct"
},
"init": {
"type": "CallExpression",
"start": 3248,
"end": 3260,
"loc": {
"start": {
"line": 127,
"column": 17
},
"end": {
"line": 127,
"column": 29
}
},
"callee": {
"type": "MemberExpression",
"start": 3248,
"end": 3258,
"loc": {
"start": {
"line": 127,
"column": 17
},
"end": {
"line": 127,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 3248,
"end": 3252,
"loc": {
"start": {
"line": 127,
"column": 17
},
"end": {
"line": 127,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 3253,
"end": 3258,
"loc": {
"start": {
"line": 127,
"column": 22
},
"end": {
"line": 127,
"column": 27
},
"identifierName": "_copy"
},
"name": "_copy"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 3265,
"end": 3286,
"loc": {
"start": {
"line": 128,
"column": 4
},
"end": {
"line": 128,
"column": 25
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3269,
"end": 3286,
"loc": {
"start": {
"line": 128,
"column": 8
},
"end": {
"line": 128,
"column": 25
}
},
"id": {
"type": "Identifier",
"start": 3269,
"end": 3273,
"loc": {
"start": {
"line": 128,
"column": 8
},
"end": {
"line": 128,
"column": 12
},
"identifierName": "left"
},
"name": "left"
},
"init": {
"type": "MemberExpression",
"start": 3276,
"end": 3286,
"loc": {
"start": {
"line": 128,
"column": 15
},
"end": {
"line": 128,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 3276,
"end": 3280,
"loc": {
"start": {
"line": 128,
"column": 15
},
"end": {
"line": 128,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 3281,
"end": 3286,
"loc": {
"start": {
"line": 128,
"column": 20
},
"end": {
"line": 128,
"column": 25
},
"identifierName": "_left"
},
"name": "_left"
},
"computed": false
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 3291,
"end": 3307,
"loc": {
"start": {
"line": 129,
"column": 4
},
"end": {
"line": 129,
"column": 20
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3295,
"end": 3307,
"loc": {
"start": {
"line": 129,
"column": 8
},
"end": {
"line": 129,
"column": 20
}
},
"id": {
"type": "Identifier",
"start": 3295,
"end": 3300,
"loc": {
"start": {
"line": 129,
"column": 8
},
"end": {
"line": 129,
"column": 13
},
"identifierName": "right"
},
"name": "right"
},
"init": {
"type": "ThisExpression",
"start": 3303,
"end": 3307,
"loc": {
"start": {
"line": 129,
"column": 16
},
"end": {
"line": 129,
"column": 20
}
}
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 3312,
"end": 3337,
"loc": {
"start": {
"line": 130,
"column": 4
},
"end": {
"line": 130,
"column": 29
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3316,
"end": 3337,
"loc": {
"start": {
"line": 130,
"column": 8
},
"end": {
"line": 130,
"column": 29
}
},
"id": {
"type": "Identifier",
"start": 3316,
"end": 3322,
"loc": {
"start": {
"line": 130,
"column": 8
},
"end": {
"line": 130,
"column": 14
},
"identifierName": "parent"
},
"name": "parent"
},
"init": {
"type": "MemberExpression",
"start": 3325,
"end": 3337,
"loc": {
"start": {
"line": 130,
"column": 17
},
"end": {
"line": 130,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 3325,
"end": 3329,
"loc": {
"start": {
"line": 130,
"column": 17
},
"end": {
"line": 130,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 3330,
"end": 3337,
"loc": {
"start": {
"line": 130,
"column": 22
},
"end": {
"line": 130,
"column": 29
},
"identifierName": "_parent"
},
"name": "_parent",
"leadingComments": null,
"trailingComments": null
},
"computed": false,
"trailingComments": null
},
"trailingComments": null
}
],
"kind": "let",
"trailingComments": [
{
"type": "CommentLine",
"value": " make sure that parent is redone",
"start": 3342,
"end": 3376,
"loc": {
"start": {
"line": 131,
"column": 4
},
"end": {
"line": 131,
"column": 38
}
}
}
]
},
{
"type": "IfStatement",
"start": 3381,
"end": 3467,
"loc": {
"start": {
"line": 132,
"column": 4
},
"end": {
"line": 134,
"column": 5
}
},
"test": {
"type": "LogicalExpression",
"start": 3385,
"end": 3436,
"loc": {
"start": {
"line": 132,
"column": 8
},
"end": {
"line": 132,
"column": 59
}
},
"left": {
"type": "BinaryExpression",
"start": 3385,
"end": 3409,
"loc": {
"start": {
"line": 132,
"column": 8
},
"end": {
"line": 132,
"column": 32
}
},
"left": {
"type": "MemberExpression",
"start": 3385,
"end": 3400,
"loc": {
"start": {
"line": 132,
"column": 8
},
"end": {
"line": 132,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 3385,
"end": 3391,
"loc": {
"start": {
"line": 132,
"column": 8
},
"end": {
"line": 132,
"column": 14
},
"identifierName": "parent"
},
"name": "parent",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 3392,
"end": 3400,
"loc": {
"start": {
"line": 132,
"column": 15
},
"end": {
"line": 132,
"column": 23
},
"identifierName": "_deleted"
},
"name": "_deleted"
},
"computed": false,
"leadingComments": null
},
"operator": "===",
"right": {
"type": "BooleanLiteral",
"start": 3405,
"end": 3409,
"loc": {
"start": {
"line": 132,
"column": 28
},
"end": {
"line": 132,
"column": 32
}
},
"value": true
},
"leadingComments": null
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 3413,
"end": 3436,
"loc": {
"start": {
"line": 132,
"column": 36
},
"end": {
"line": 132,
"column": 59
}
},
"left": {
"type": "MemberExpression",
"start": 3413,
"end": 3427,
"loc": {
"start": {
"line": 132,
"column": 36
},
"end": {
"line": 132,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 3413,
"end": 3419,
"loc": {
"start": {
"line": 132,
"column": 36
},
"end": {
"line": 132,
"column": 42
},
"identifierName": "parent"
},
"name": "parent"
},
"property": {
"type": "Identifier",
"start": 3420,
"end": 3427,
"loc": {
"start": {
"line": 132,
"column": 43
},
"end": {
"line": 132,
"column": 50
},
"identifierName": "_redone"
},
"name": "_redone"
},
"computed": false
},
"operator": "===",
"right": {
"type": "NullLiteral",
"start": 3432,
"end": 3436,
"loc": {
"start": {
"line": 132,
"column": 55
},
"end": {
"line": 132,
"column": 59
}
}
}
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 3438,
"end": 3467,
"loc": {
"start": {
"line": 132,
"column": 61
},
"end": {
"line": 134,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3446,
"end": 3461,
"loc": {
"start": {
"line": 133,
"column": 6
},
"end": {
"line": 133,
"column": 21
}
},
"expression": {
"type": "CallExpression",
"start": 3446,
"end": 3461,
"loc": {
"start": {
"line": 133,
"column": 6
},
"end": {
"line": 133,
"column": 21
}
},
"callee": {
"type": "MemberExpression",
"start": 3446,
"end": 3458,
"loc": {
"start": {
"line": 133,
"column": 6
},
"end": {
"line": 133,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 3446,
"end": 3452,
"loc": {
"start": {
"line": 133,
"column": 6
},
"end": {
"line": 133,
"column": 12
},
"identifierName": "parent"
},
"name": "parent"
},
"property": {
"type": "Identifier",
"start": 3453,
"end": 3458,
"loc": {
"start": {
"line": 133,
"column": 13
},
"end": {
"line": 133,
"column": 18
},
"identifierName": "_redo"
},
"name": "_redo"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3459,
"end": 3460,
"loc": {
"start": {
"line": 133,
"column": 19
},
"end": {
"line": 133,
"column": 20
},
"identifierName": "y"
},
"name": "y"
}
]
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " make sure that parent is redone",
"start": 3342,
"end": 3376,
"loc": {
"start": {
"line": 131,
"column": 4
},
"end": {
"line": 131,
"column": 38
}
}
}
]
},
{
"type": "IfStatement",
"start": 3472,
"end": 3946,
"loc": {
"start": {
"line": 135,
"column": 4
},
"end": {
"line": 151,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 3476,
"end": 3499,
"loc": {
"start": {
"line": 135,
"column": 8
},
"end": {
"line": 135,
"column": 31
}
},
"left": {
"type": "MemberExpression",
"start": 3476,
"end": 3490,
"loc": {
"start": {
"line": 135,
"column": 8
},
"end": {
"line": 135,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 3476,
"end": 3482,
"loc": {
"start": {
"line": 135,
"column": 8
},
"end": {
"line": 135,
"column": 14
},
"identifierName": "parent"
},
"name": "parent"
},
"property": {
"type": "Identifier",
"start": 3483,
"end": 3490,
"loc": {
"start": {
"line": 135,
"column": 15
},
"end": {
"line": 135,
"column": 22
},
"identifierName": "_redone"
},
"name": "_redone"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 3495,
"end": 3499,
"loc": {
"start": {
"line": 135,
"column": 27
},
"end": {
"line": 135,
"column": 31
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 3501,
"end": 3946,
"loc": {
"start": {
"line": 135,
"column": 33
},
"end": {
"line": 151,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3509,
"end": 3532,
"loc": {
"start": {
"line": 136,
"column": 6
},
"end": {
"line": 136,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3509,
"end": 3532,
"loc": {
"start": {
"line": 136,
"column": 6
},
"end": {
"line": 136,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 3509,
"end": 3515,
"loc": {
"start": {
"line": 136,
"column": 6
},
"end": {
"line": 136,
"column": 12
},
"identifierName": "parent"
},
"name": "parent"
},
"right": {
"type": "MemberExpression",
"start": 3518,
"end": 3532,
"loc": {
"start": {
"line": 136,
"column": 15
},
"end": {
"line": 136,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 3518,
"end": 3524,
"loc": {
"start": {
"line": 136,
"column": 15
},
"end": {
"line": 136,
"column": 21
},
"identifierName": "parent"
},
"name": "parent"
},
"property": {
"type": "Identifier",
"start": 3525,
"end": 3532,
"loc": {
"start": {
"line": 136,
"column": 22
},
"end": {
"line": 136,
"column": 29
},
"identifierName": "_redone"
},
"name": "_redone",
"leadingComments": null,
"trailingComments": null
},
"computed": false,
"trailingComments": null
},
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " find next cloned items",
"start": 3539,
"end": 3564,
"loc": {
"start": {
"line": 137,
"column": 6
},
"end": {
"line": 137,
"column": 31
}
}
}
]
},
{
"type": "WhileStatement",
"start": 3571,
"end": 3756,
"loc": {
"start": {
"line": 138,
"column": 6
},
"end": {
"line": 144,
"column": 7
}
},
"test": {
"type": "BinaryExpression",
"start": 3578,
"end": 3591,
"loc": {
"start": {
"line": 138,
"column": 13
},
"end": {
"line": 138,
"column": 26
}
},
"left": {
"type": "Identifier",
"start": 3578,
"end": 3582,
"loc": {
"start": {
"line": 138,
"column": 13
},
"end": {
"line": 138,
"column": 17
},
"identifierName": "left"
},
"name": "left",
"leadingComments": null
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 3587,
"end": 3591,
"loc": {
"start": {
"line": 138,
"column": 22
},
"end": {
"line": 138,
"column": 26
}
}
},
"leadingComments": null
},
"body": {
"type": "BlockStatement",
"start": 3593,
"end": 3756,
"loc": {
"start": {
"line": 138,
"column": 28
},
"end": {
"line": 144,
"column": 7
}
},
"body": [
{
"type": "IfStatement",
"start": 3603,
"end": 3722,
"loc": {
"start": {
"line": 139,
"column": 8
},
"end": {
"line": 142,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 3607,
"end": 3663,
"loc": {
"start": {
"line": 139,
"column": 12
},
"end": {
"line": 139,
"column": 68
}
},
"left": {
"type": "BinaryExpression",
"start": 3607,
"end": 3628,
"loc": {
"start": {
"line": 139,
"column": 12
},
"end": {
"line": 139,
"column": 33
}
},
"left": {
"type": "MemberExpression",
"start": 3607,
"end": 3619,
"loc": {
"start": {
"line": 139,
"column": 12
},
"end": {
"line": 139,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 3607,
"end": 3611,
"loc": {
"start": {
"line": 139,
"column": 12
},
"end": {
"line": 139,
"column": 16
},
"identifierName": "left"
},
"name": "left"
},
"property": {
"type": "Identifier",
"start": 3612,
"end": 3619,
"loc": {
"start": {
"line": 139,
"column": 17
},
"end": {
"line": 139,
"column": 24
},
"identifierName": "_redone"
},
"name": "_redone"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 3624,
"end": 3628,
"loc": {
"start": {
"line": 139,
"column": 29
},
"end": {
"line": 139,
"column": 33
}
}
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 3632,
"end": 3663,
"loc": {
"start": {
"line": 139,
"column": 37
},
"end": {
"line": 139,
"column": 68
}
},
"left": {
"type": "MemberExpression",
"start": 3632,
"end": 3652,
"loc": {
"start": {
"line": 139,
"column": 37
},
"end": {
"line": 139,
"column": 57
}
},
"object": {
"type": "MemberExpression",
"start": 3632,
"end": 3644,
"loc": {
"start": {
"line": 139,
"column": 37
},
"end": {
"line": 139,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 3632,
"end": 3636,
"loc": {
"start": {
"line": 139,
"column": 37
},
"end": {
"line": 139,
"column": 41
},
"identifierName": "left"
},
"name": "left"
},
"property": {
"type": "Identifier",
"start": 3637,
"end": 3644,
"loc": {
"start": {
"line": 139,
"column": 42
},
"end": {
"line": 139,
"column": 49
},
"identifierName": "_redone"
},
"name": "_redone"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3645,
"end": 3652,
"loc": {
"start": {
"line": 139,
"column": 50
},
"end": {
"line": 139,
"column": 57
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 3657,
"end": 3663,
"loc": {
"start": {
"line": 139,
"column": 62
},
"end": {
"line": 139,
"column": 68
},
"identifierName": "parent"
},
"name": "parent"
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 3665,
"end": 3722,
"loc": {
"start": {
"line": 139,
"column": 70
},
"end": {
"line": 142,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3677,
"end": 3696,
"loc": {
"start": {
"line": 140,
"column": 10
},
"end": {
"line": 140,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3677,
"end": 3696,
"loc": {
"start": {
"line": 140,
"column": 10
},
"end": {
"line": 140,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 3677,
"end": 3681,
"loc": {
"start": {
"line": 140,
"column": 10
},
"end": {
"line": 140,
"column": 14
},
"identifierName": "left"
},
"name": "left"
},
"right": {
"type": "MemberExpression",
"start": 3684,
"end": 3696,
"loc": {
"start": {
"line": 140,
"column": 17
},
"end": {
"line": 140,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 3684,
"end": 3688,
"loc": {
"start": {
"line": 140,
"column": 17
},
"end": {
"line": 140,
"column": 21
},
"identifierName": "left"
},
"name": "left"
},
"property": {
"type": "Identifier",
"start": 3689,
"end": 3696,
"loc": {
"start": {
"line": 140,
"column": 22
},
"end": {
"line": 140,
"column": 29
},
"identifierName": "_redone"
},
"name": "_redone"
},
"computed": false
}
}
},
{
"type": "BreakStatement",
"start": 3707,
"end": 3712,
"loc": {
"start": {
"line": 141,
"column": 10
},
"end": {
"line": 141,
"column": 15
}
},
"label": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 3731,
"end": 3748,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3731,
"end": 3748,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 25
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 3731,
"end": 3735,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 12
},
"identifierName": "left"
},
"name": "left"
},
"right": {
"type": "MemberExpression",
"start": 3738,
"end": 3748,
"loc": {
"start": {
"line": 143,
"column": 15
},
"end": {
"line": 143,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 3738,
"end": 3742,
"loc": {
"start": {
"line": 143,
"column": 15
},
"end": {
"line": 143,
"column": 19
},
"identifierName": "left"
},
"name": "left"
},
"property": {
"type": "Identifier",
"start": 3743,
"end": 3748,
"loc": {
"start": {
"line": 143,
"column": 20
},
"end": {
"line": 143,
"column": 25
},
"identifierName": "_left"
},
"name": "_left"
},
"computed": false
}
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " find next cloned items",
"start": 3539,
"end": 3564,
"loc": {
"start": {
"line": 137,
"column": 6
},
"end": {
"line": 137,
"column": 31
}
}
}
]
},
{
"type": "WhileStatement",
"start": 3763,
"end": 3940,
"loc": {
"start": {
"line": 145,
"column": 6
},
"end": {
"line": 150,
"column": 7
}
},
"test": {
"type": "BinaryExpression",
"start": 3770,
"end": 3784,
"loc": {
"start": {
"line": 145,
"column": 13
},
"end": {
"line": 145,
"column": 27
}
},
"left": {
"type": "Identifier",
"start": 3770,
"end": 3775,
"loc": {
"start": {
"line": 145,
"column": 13
},
"end": {
"line": 145,
"column": 18
},
"identifierName": "right"
},
"name": "right"
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 3780,
"end": 3784,
"loc": {
"start": {
"line": 145,
"column": 23
},
"end": {
"line": 145,
"column": 27
}
}
}
},
"body": {
"type": "BlockStatement",
"start": 3786,
"end": 3940,
"loc": {
"start": {
"line": 145,
"column": 29
},
"end": {
"line": 150,
"column": 7
}
},
"body": [
{
"type": "IfStatement",
"start": 3796,
"end": 3903,
"loc": {
"start": {
"line": 146,
"column": 8
},
"end": {
"line": 148,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 3800,
"end": 3858,
"loc": {
"start": {
"line": 146,
"column": 12
},
"end": {
"line": 146,
"column": 70
}
},
"left": {
"type": "BinaryExpression",
"start": 3800,
"end": 3822,
"loc": {
"start": {
"line": 146,
"column": 12
},
"end": {
"line": 146,
"column": 34
}
},
"left": {
"type": "MemberExpression",
"start": 3800,
"end": 3813,
"loc": {
"start": {
"line": 146,
"column": 12
},
"end": {
"line": 146,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 3800,
"end": 3805,
"loc": {
"start": {
"line": 146,
"column": 12
},
"end": {
"line": 146,
"column": 17
},
"identifierName": "right"
},
"name": "right"
},
"property": {
"type": "Identifier",
"start": 3806,
"end": 3813,
"loc": {
"start": {
"line": 146,
"column": 18
},
"end": {
"line": 146,
"column": 25
},
"identifierName": "_redone"
},
"name": "_redone"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 3818,
"end": 3822,
"loc": {
"start": {
"line": 146,
"column": 30
},
"end": {
"line": 146,
"column": 34
}
}
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 3826,
"end": 3858,
"loc": {
"start": {
"line": 146,
"column": 38
},
"end": {
"line": 146,
"column": 70
}
},
"left": {
"type": "MemberExpression",
"start": 3826,
"end": 3847,
"loc": {
"start": {
"line": 146,
"column": 38
},
"end": {
"line": 146,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 3826,
"end": 3839,
"loc": {
"start": {
"line": 146,
"column": 38
},
"end": {
"line": 146,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 3826,
"end": 3831,
"loc": {
"start": {
"line": 146,
"column": 38
},
"end": {
"line": 146,
"column": 43
},
"identifierName": "right"
},
"name": "right"
},
"property": {
"type": "Identifier",
"start": 3832,
"end": 3839,
"loc": {
"start": {
"line": 146,
"column": 44
},
"end": {
"line": 146,
"column": 51
},
"identifierName": "_redone"
},
"name": "_redone"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3840,
"end": 3847,
"loc": {
"start": {
"line": 146,
"column": 52
},
"end": {
"line": 146,
"column": 59
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 3852,
"end": 3858,
"loc": {
"start": {
"line": 146,
"column": 64
},
"end": {
"line": 146,
"column": 70
},
"identifierName": "parent"
},
"name": "parent"
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 3860,
"end": 3903,
"loc": {
"start": {
"line": 146,
"column": 72
},
"end": {
"line": 148,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3872,
"end": 3893,
"loc": {
"start": {
"line": 147,
"column": 10
},
"end": {
"line": 147,
"column": 31
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3872,
"end": 3893,
"loc": {
"start": {
"line": 147,
"column": 10
},
"end": {
"line": 147,
"column": 31
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 3872,
"end": 3877,
"loc": {
"start": {
"line": 147,
"column": 10
},
"end": {
"line": 147,
"column": 15
},
"identifierName": "right"
},
"name": "right"
},
"right": {
"type": "MemberExpression",
"start": 3880,
"end": 3893,
"loc": {
"start": {
"line": 147,
"column": 18
},
"end": {
"line": 147,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 3880,
"end": 3885,
"loc": {
"start": {
"line": 147,
"column": 18
},
"end": {
"line": 147,
"column": 23
},
"identifierName": "right"
},
"name": "right"
},
"property": {
"type": "Identifier",
"start": 3886,
"end": 3893,
"loc": {
"start": {
"line": 147,
"column": 24
},
"end": {
"line": 147,
"column": 31
},
"identifierName": "_redone"
},
"name": "_redone"
},
"computed": false
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 3912,
"end": 3932,
"loc": {
"start": {
"line": 149,
"column": 8
},
"end": {
"line": 149,
"column": 28
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3912,
"end": 3932,
"loc": {
"start": {
"line": 149,
"column": 8
},
"end": {
"line": 149,
"column": 28
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 3912,
"end": 3917,
"loc": {
"start": {
"line": 149,
"column": 8
},
"end": {
"line": 149,
"column": 13
},
"identifierName": "right"
},
"name": "right"
},
"right": {
"type": "MemberExpression",
"start": 3920,
"end": 3932,
"loc": {
"start": {
"line": 149,
"column": 16
},
"end": {
"line": 149,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 3920,
"end": 3925,
"loc": {
"start": {
"line": 149,
"column": 16
},
"end": {
"line": 149,
"column": 21
},
"identifierName": "right"
},
"name": "right"
},
"property": {
"type": "Identifier",
"start": 3926,
"end": 3932,
"loc": {
"start": {
"line": 149,
"column": 22
},
"end": {
"line": 149,
"column": 28
},
"identifierName": "_right"
},
"name": "_right"
},
"computed": false
}
}
}
],
"directives": []
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 3951,
"end": 3972,
"loc": {
"start": {
"line": 152,
"column": 4
},
"end": {
"line": 152,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3951,
"end": 3972,
"loc": {
"start": {
"line": 152,
"column": 4
},
"end": {
"line": 152,
"column": 25
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3951,
"end": 3965,
"loc": {
"start": {
"line": 152,
"column": 4
},
"end": {
"line": 152,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 3951,
"end": 3957,
"loc": {
"start": {
"line": 152,
"column": 4
},
"end": {
"line": 152,
"column": 10
},
"identifierName": "struct"
},
"name": "struct"
},
"property": {
"type": "Identifier",
"start": 3958,
"end": 3965,
"loc": {
"start": {
"line": 152,
"column": 11
},
"end": {
"line": 152,
"column": 18
},
"identifierName": "_origin"
},
"name": "_origin"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 3968,
"end": 3972,
"loc": {
"start": {
"line": 152,
"column": 21
},
"end": {
"line": 152,
"column": 25
},
"identifierName": "left"
},
"name": "left"
}
}
},
{
"type": "ExpressionStatement",
"start": 3977,
"end": 3996,
"loc": {
"start": {
"line": 153,
"column": 4
},
"end": {
"line": 153,
"column": 23
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3977,
"end": 3996,
"loc": {
"start": {
"line": 153,
"column": 4
},
"end": {
"line": 153,
"column": 23
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3977,
"end": 3989,
"loc": {
"start": {
"line": 153,
"column": 4
},
"end": {
"line": 153,
"column": 16
}
},
"object": {
"type": "Identifier",
"start": 3977,
"end": 3983,
"loc": {
"start": {
"line": 153,
"column": 4
},
"end": {
"line": 153,
"column": 10
},
"identifierName": "struct"
},
"name": "struct"
},
"property": {
"type": "Identifier",
"start": 3984,
"end": 3989,
"loc": {
"start": {
"line": 153,
"column": 11
},
"end": {
"line": 153,
"column": 16
},
"identifierName": "_left"
},
"name": "_left"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 3992,
"end": 3996,
"loc": {
"start": {
"line": 153,
"column": 19
},
"end": {
"line": 153,
"column": 23
},
"identifierName": "left"
},
"name": "left"
}
}
},
{
"type": "ExpressionStatement",
"start": 4001,
"end": 4022,
"loc": {
"start": {
"line": 154,
"column": 4
},
"end": {
"line": 154,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4001,
"end": 4022,
"loc": {
"start": {
"line": 154,
"column": 4
},
"end": {
"line": 154,
"column": 25
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4001,
"end": 4014,
"loc": {
"start": {
"line": 154,
"column": 4
},
"end": {
"line": 154,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 4001,
"end": 4007,
"loc": {
"start": {
"line": 154,
"column": 4
},
"end": {
"line": 154,
"column": 10
},
"identifierName": "struct"
},
"name": "struct"
},
"property": {
"type": "Identifier",
"start": 4008,
"end": 4014,
"loc": {
"start": {
"line": 154,
"column": 11
},
"end": {
"line": 154,
"column": 17
},
"identifierName": "_right"
},
"name": "_right"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 4017,
"end": 4022,
"loc": {
"start": {
"line": 154,
"column": 20
},
"end": {
"line": 154,
"column": 25
},
"identifierName": "right"
},
"name": "right"
}
}
},
{
"type": "ExpressionStatement",
"start": 4027,
"end": 4055,
"loc": {
"start": {
"line": 155,
"column": 4
},
"end": {
"line": 155,
"column": 32
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4027,
"end": 4055,
"loc": {
"start": {
"line": 155,
"column": 4
},
"end": {
"line": 155,
"column": 32
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4027,
"end": 4047,
"loc": {
"start": {
"line": 155,
"column": 4
},
"end": {
"line": 155,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 4027,
"end": 4033,
"loc": {
"start": {
"line": 155,
"column": 4
},
"end": {
"line": 155,
"column": 10
},
"identifierName": "struct"
},
"name": "struct"
},
"property": {
"type": "Identifier",
"start": 4034,
"end": 4047,
"loc": {
"start": {
"line": 155,
"column": 11
},
"end": {
"line": 155,
"column": 24
},
"identifierName": "_right_origin"
},
"name": "_right_origin"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 4050,
"end": 4055,
"loc": {
"start": {
"line": 155,
"column": 27
},
"end": {
"line": 155,
"column": 32
},
"identifierName": "right"
},
"name": "right"
}
}
},
{
"type": "ExpressionStatement",
"start": 4060,
"end": 4083,
"loc": {
"start": {
"line": 156,
"column": 4
},
"end": {
"line": 156,
"column": 27
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4060,
"end": 4083,
"loc": {
"start": {
"line": 156,
"column": 4
},
"end": {
"line": 156,
"column": 27
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4060,
"end": 4074,
"loc": {
"start": {
"line": 156,
"column": 4
},
"end": {
"line": 156,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 4060,
"end": 4066,
"loc": {
"start": {
"line": 156,
"column": 4
},
"end": {
"line": 156,
"column": 10
},
"identifierName": "struct"
},
"name": "struct"
},
"property": {
"type": "Identifier",
"start": 4067,
"end": 4074,
"loc": {
"start": {
"line": 156,
"column": 11
},
"end": {
"line": 156,
"column": 18
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 4077,
"end": 4083,
"loc": {
"start": {
"line": 156,
"column": 21
},
"end": {
"line": 156,
"column": 27
},
"identifierName": "parent"
},
"name": "parent"
}
}
},
{
"type": "ExpressionStatement",
"start": 4088,
"end": 4123,
"loc": {
"start": {
"line": 157,
"column": 4
},
"end": {
"line": 157,
"column": 39
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4088,
"end": 4123,
"loc": {
"start": {
"line": 157,
"column": 4
},
"end": {
"line": 157,
"column": 39
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4088,
"end": 4105,
"loc": {
"start": {
"line": 157,
"column": 4
},
"end": {
"line": 157,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 4088,
"end": 4094,
"loc": {
"start": {
"line": 157,
"column": 4
},
"end": {
"line": 157,
"column": 10
},
"identifierName": "struct"
},
"name": "struct"
},
"property": {
"type": "Identifier",
"start": 4095,
"end": 4105,
"loc": {
"start": {
"line": 157,
"column": 11
},
"end": {
"line": 157,
"column": 21
},
"identifierName": "_parentSub"
},
"name": "_parentSub"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 4108,
"end": 4123,
"loc": {
"start": {
"line": 157,
"column": 24
},
"end": {
"line": 157,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 4108,
"end": 4112,
"loc": {
"start": {
"line": 157,
"column": 24
},
"end": {
"line": 157,
"column": 28
}
}
},
"property": {
"type": "Identifier",
"start": 4113,
"end": 4123,
"loc": {
"start": {
"line": 157,
"column": 29
},
"end": {
"line": 157,
"column": 39
},
"identifierName": "_parentSub"
},
"name": "_parentSub"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 4128,
"end": 4148,
"loc": {
"start": {
"line": 158,
"column": 4
},
"end": {
"line": 158,
"column": 24
}
},
"expression": {
"type": "CallExpression",
"start": 4128,
"end": 4148,
"loc": {
"start": {
"line": 158,
"column": 4
},
"end": {
"line": 158,
"column": 24
}
},
"callee": {
"type": "MemberExpression",
"start": 4128,
"end": 4145,
"loc": {
"start": {
"line": 158,
"column": 4
},
"end": {
"line": 158,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 4128,
"end": 4134,
"loc": {
"start": {
"line": 158,
"column": 4
},
"end": {
"line": 158,
"column": 10
},
"identifierName": "struct"
},
"name": "struct"
},
"property": {
"type": "Identifier",
"start": 4135,
"end": 4145,
"loc": {
"start": {
"line": 158,
"column": 11
},
"end": {
"line": 158,
"column": 21
},
"identifierName": "_integrate"
},
"name": "_integrate"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 4146,
"end": 4147,
"loc": {
"start": {
"line": 158,
"column": 22
},
"end": {
"line": 158,
"column": 23
},
"identifierName": "y"
},
"name": "y"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 4153,
"end": 4174,
"loc": {
"start": {
"line": 159,
"column": 4
},
"end": {
"line": 159,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4153,
"end": 4174,
"loc": {
"start": {
"line": 159,
"column": 4
},
"end": {
"line": 159,
"column": 25
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4153,
"end": 4165,
"loc": {
"start": {
"line": 159,
"column": 4
},
"end": {
"line": 159,
"column": 16
}
},
"object": {
"type": "ThisExpression",
"start": 4153,
"end": 4157,
"loc": {
"start": {
"line": 159,
"column": 4
},
"end": {
"line": 159,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 4158,
"end": 4165,
"loc": {
"start": {
"line": 159,
"column": 9
},
"end": {
"line": 159,
"column": 16
},
"identifierName": "_redone"
},
"name": "_redone"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 4168,
"end": 4174,
"loc": {
"start": {
"line": 159,
"column": 19
},
"end": {
"line": 159,
"column": 25
},
"identifierName": "struct"
},
"name": "struct"
}
}
},
{
"type": "ReturnStatement",
"start": 4179,
"end": 4192,
"loc": {
"start": {
"line": 160,
"column": 4
},
"end": {
"line": 160,
"column": 17
}
},
"argument": {
"type": "Identifier",
"start": 4186,
"end": 4192,
"loc": {
"start": {
"line": 160,
"column": 11
},
"end": {
"line": 160,
"column": 17
},
"identifierName": "struct"
},
"name": "struct"
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Redoes the effect of this operation.\n *\n * @param {Y} y The Yjs instance.\n *\n * @private\n ",
"start": 3040,
"end": 3151,
"loc": {
"start": {
"line": 116,
"column": 2
},
"end": {
"line": 122,
"column": 5
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Computes the last content address of this Item.\n *\n * @private\n ",
"start": 4200,
"end": 4281,
"loc": {
"start": {
"line": 163,
"column": 2
},
"end": {
"line": 167,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4284,
"end": 4372,
"loc": {
"start": {
"line": 168,
"column": 2
},
"end": {
"line": 170,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4288,
"end": 4295,
"loc": {
"start": {
"line": 168,
"column": 6
},
"end": {
"line": 168,
"column": 13
},
"identifierName": "_lastId"
},
"name": "_lastId"
},
"kind": "get",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 4299,
"end": 4372,
"loc": {
"start": {
"line": 168,
"column": 17
},
"end": {
"line": 170,
"column": 3
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4305,
"end": 4368,
"loc": {
"start": {
"line": 169,
"column": 4
},
"end": {
"line": 169,
"column": 67
}
},
"argument": {
"type": "NewExpression",
"start": 4312,
"end": 4368,
"loc": {
"start": {
"line": 169,
"column": 11
},
"end": {
"line": 169,
"column": 67
}
},
"callee": {
"type": "Identifier",
"start": 4316,
"end": 4318,
"loc": {
"start": {
"line": 169,
"column": 15
},
"end": {
"line": 169,
"column": 17
},
"identifierName": "ID"
},
"name": "ID"
},
"arguments": [
{
"type": "MemberExpression",
"start": 4319,
"end": 4332,
"loc": {
"start": {
"line": 169,
"column": 18
},
"end": {
"line": 169,
"column": 31
}
},
"object": {
"type": "MemberExpression",
"start": 4319,
"end": 4327,
"loc": {
"start": {
"line": 169,
"column": 18
},
"end": {
"line": 169,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 4319,
"end": 4323,
"loc": {
"start": {
"line": 169,
"column": 18
},
"end": {
"line": 169,
"column": 22
}
}
},
"property": {
"type": "Identifier",
"start": 4324,
"end": 4327,
"loc": {
"start": {
"line": 169,
"column": 23
},
"end": {
"line": 169,
"column": 26
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4328,
"end": 4332,
"loc": {
"start": {
"line": 169,
"column": 27
},
"end": {
"line": 169,
"column": 31
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
},
{
"type": "BinaryExpression",
"start": 4334,
"end": 4367,
"loc": {
"start": {
"line": 169,
"column": 33
},
"end": {
"line": 169,
"column": 66
}
},
"left": {
"type": "BinaryExpression",
"start": 4334,
"end": 4363,
"loc": {
"start": {
"line": 169,
"column": 33
},
"end": {
"line": 169,
"column": 62
}
},
"left": {
"type": "MemberExpression",
"start": 4334,
"end": 4348,
"loc": {
"start": {
"line": 169,
"column": 33
},
"end": {
"line": 169,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 4334,
"end": 4342,
"loc": {
"start": {
"line": 169,
"column": 33
},
"end": {
"line": 169,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 4334,
"end": 4338,
"loc": {
"start": {
"line": 169,
"column": 33
},
"end": {
"line": 169,
"column": 37
}
}
},
"property": {
"type": "Identifier",
"start": 4339,
"end": 4342,
"loc": {
"start": {
"line": 169,
"column": 38
},
"end": {
"line": 169,
"column": 41
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 4343,
"end": 4348,
"loc": {
"start": {
"line": 169,
"column": 42
},
"end": {
"line": 169,
"column": 47
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 4351,
"end": 4363,
"loc": {
"start": {
"line": 169,
"column": 50
},
"end": {
"line": 169,
"column": 62
}
},
"object": {
"type": "ThisExpression",
"start": 4351,
"end": 4355,
"loc": {
"start": {
"line": 169,
"column": 50
},
"end": {
"line": 169,
"column": 54
}
}
},
"property": {
"type": "Identifier",
"start": 4356,
"end": 4363,
"loc": {
"start": {
"line": 169,
"column": 55
},
"end": {
"line": 169,
"column": 62
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
}
},
"operator": "-",
"right": {
"type": "NumericLiteral",
"start": 4366,
"end": 4367,
"loc": {
"start": {
"line": 169,
"column": 65
},
"end": {
"line": 169,
"column": 66
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Computes the last content address of this Item.\n *\n * @private\n ",
"start": 4200,
"end": 4281,
"loc": {
"start": {
"line": 163,
"column": 2
},
"end": {
"line": 167,
"column": 5
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Computes the length of this Item.\n *\n * @private\n ",
"start": 4376,
"end": 4443,
"loc": {
"start": {
"line": 172,
"column": 2
},
"end": {
"line": 176,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4446,
"end": 4479,
"loc": {
"start": {
"line": 177,
"column": 2
},
"end": {
"line": 179,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4450,
"end": 4457,
"loc": {
"start": {
"line": 177,
"column": 6
},
"end": {
"line": 177,
"column": 13
},
"identifierName": "_length"
},
"name": "_length"
},
"kind": "get",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 4461,
"end": 4479,
"loc": {
"start": {
"line": 177,
"column": 17
},
"end": {
"line": 179,
"column": 3
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4467,
"end": 4475,
"loc": {
"start": {
"line": 178,
"column": 4
},
"end": {
"line": 178,
"column": 12
}
},
"argument": {
"type": "NumericLiteral",
"start": 4474,
"end": 4475,
"loc": {
"start": {
"line": 178,
"column": 11
},
"end": {
"line": 178,
"column": 12
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Computes the length of this Item.\n *\n * @private\n ",
"start": 4376,
"end": 4443,
"loc": {
"start": {
"line": 172,
"column": 2
},
"end": {
"line": 176,
"column": 5
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Should return false if this Item is some kind of meta information\n * (e.g. format information).\n *\n * * Whether this Item should be addressable via `yarray.get(i)`\n * * Whether this Item should be counted when computing yarray.length\n *\n * @private\n ",
"start": 4483,
"end": 4758,
"loc": {
"start": {
"line": 181,
"column": 2
},
"end": {
"line": 189,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4761,
"end": 4800,
"loc": {
"start": {
"line": 190,
"column": 2
},
"end": {
"line": 192,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4765,
"end": 4775,
"loc": {
"start": {
"line": 190,
"column": 6
},
"end": {
"line": 190,
"column": 16
},
"identifierName": "_countable"
},
"name": "_countable"
},
"kind": "get",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 4779,
"end": 4800,
"loc": {
"start": {
"line": 190,
"column": 20
},
"end": {
"line": 192,
"column": 3
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4785,
"end": 4796,
"loc": {
"start": {
"line": 191,
"column": 4
},
"end": {
"line": 191,
"column": 15
}
},
"argument": {
"type": "BooleanLiteral",
"start": 4792,
"end": 4796,
"loc": {
"start": {
"line": 191,
"column": 11
},
"end": {
"line": 191,
"column": 15
}
},
"value": true
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Should return false if this Item is some kind of meta information\n * (e.g. format information).\n *\n * * Whether this Item should be addressable via `yarray.get(i)`\n * * Whether this Item should be counted when computing yarray.length\n *\n * @private\n ",
"start": 4483,
"end": 4758,
"loc": {
"start": {
"line": 181,
"column": 2
},
"end": {
"line": 189,
"column": 5
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Splits this Item so that another Items can be inserted in-between.\n * This must be overwritten if _length > 1\n * Returns right part after split\n * * diff === 0 => this\n * * diff === length => this._right\n * * otherwise => split _content and return right part of split\n * (see {@link ItemJSON}/{@link ItemString} for implementation)\n *\n * @private\n ",
"start": 4804,
"end": 5181,
"loc": {
"start": {
"line": 194,
"column": 2
},
"end": {
"line": 204,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5184,
"end": 5277,
"loc": {
"start": {
"line": 205,
"column": 2
},
"end": {
"line": 210,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5184,
"end": 5192,
"loc": {
"start": {
"line": 205,
"column": 2
},
"end": {
"line": 205,
"column": 10
},
"identifierName": "_splitAt"
},
"name": "_splitAt",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5194,
"end": 5195,
"loc": {
"start": {
"line": 205,
"column": 12
},
"end": {
"line": 205,
"column": 13
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 5197,
"end": 5201,
"loc": {
"start": {
"line": 205,
"column": 15
},
"end": {
"line": 205,
"column": 19
},
"identifierName": "diff"
},
"name": "diff"
}
],
"body": {
"type": "BlockStatement",
"start": 5203,
"end": 5277,
"loc": {
"start": {
"line": 205,
"column": 21
},
"end": {
"line": 210,
"column": 3
}
},
"body": [
{
"type": "IfStatement",
"start": 5209,
"end": 5250,
"loc": {
"start": {
"line": 206,
"column": 4
},
"end": {
"line": 208,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 5213,
"end": 5223,
"loc": {
"start": {
"line": 206,
"column": 8
},
"end": {
"line": 206,
"column": 18
}
},
"left": {
"type": "Identifier",
"start": 5213,
"end": 5217,
"loc": {
"start": {
"line": 206,
"column": 8
},
"end": {
"line": 206,
"column": 12
},
"identifierName": "diff"
},
"name": "diff"
},
"operator": "===",
"right": {
"type": "NumericLiteral",
"start": 5222,
"end": 5223,
"loc": {
"start": {
"line": 206,
"column": 17
},
"end": {
"line": 206,
"column": 18
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
},
"consequent": {
"type": "BlockStatement",
"start": 5225,
"end": 5250,
"loc": {
"start": {
"line": 206,
"column": 20
},
"end": {
"line": 208,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5233,
"end": 5244,
"loc": {
"start": {
"line": 207,
"column": 6
},
"end": {
"line": 207,
"column": 17
}
},
"argument": {
"type": "ThisExpression",
"start": 5240,
"end": 5244,
"loc": {
"start": {
"line": 207,
"column": 13
},
"end": {
"line": 207,
"column": 17
}
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ReturnStatement",
"start": 5255,
"end": 5273,
"loc": {
"start": {
"line": 209,
"column": 4
},
"end": {
"line": 209,
"column": 22
}
},
"argument": {
"type": "MemberExpression",
"start": 5262,
"end": 5273,
"loc": {
"start": {
"line": 209,
"column": 11
},
"end": {
"line": 209,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 5262,
"end": 5266,
"loc": {
"start": {
"line": 209,
"column": 11
},
"end": {
"line": 209,
"column": 15
}
}
},
"property": {
"type": "Identifier",
"start": 5267,
"end": 5273,
"loc": {
"start": {
"line": 209,
"column": 16
},
"end": {
"line": 209,
"column": 22
},
"identifierName": "_right"
},
"name": "_right"
},
"computed": false
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Splits this Item so that another Items can be inserted in-between.\n * This must be overwritten if _length > 1\n * Returns right part after split\n * * diff === 0 => this\n * * diff === length => this._right\n * * otherwise => split _content and return right part of split\n * (see {@link ItemJSON}/{@link ItemString} for implementation)\n *\n * @private\n ",
"start": 4804,
"end": 5181,
"loc": {
"start": {
"line": 194,
"column": 2
},
"end": {
"line": 204,
"column": 5
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Mark this Item as deleted.\n *\n * @param {Y} y The Yjs instance\n * @param {boolean} createDelete Whether to propagate a message that this\n * Type was deleted.\n *\n * @private\n ",
"start": 5281,
"end": 5510,
"loc": {
"start": {
"line": 212,
"column": 2
},
"end": {
"line": 220,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5513,
"end": 6081,
"loc": {
"start": {
"line": 221,
"column": 2
},
"end": {
"line": 238,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 5513,
"end": 5520,
"loc": {
"start": {
"line": 221,
"column": 2
},
"end": {
"line": 221,
"column": 9
},
"identifierName": "_delete"
},
"name": "_delete",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5522,
"end": 5523,
"loc": {
"start": {
"line": 221,
"column": 11
},
"end": {
"line": 221,
"column": 12
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "AssignmentPattern",
"start": 5525,
"end": 5544,
"loc": {
"start": {
"line": 221,
"column": 14
},
"end": {
"line": 221,
"column": 33
}
},
"left": {
"type": "Identifier",
"start": 5525,
"end": 5537,
"loc": {
"start": {
"line": 221,
"column": 14
},
"end": {
"line": 221,
"column": 26
},
"identifierName": "createDelete"
},
"name": "createDelete"
},
"right": {
"type": "BooleanLiteral",
"start": 5540,
"end": 5544,
"loc": {
"start": {
"line": 221,
"column": 29
},
"end": {
"line": 221,
"column": 33
}
},
"value": true
}
}
],
"body": {
"type": "BlockStatement",
"start": 5546,
"end": 6081,
"loc": {
"start": {
"line": 221,
"column": 35
},
"end": {
"line": 238,
"column": 3
}
},
"body": [
{
"type": "IfStatement",
"start": 5552,
"end": 6077,
"loc": {
"start": {
"line": 222,
"column": 4
},
"end": {
"line": 237,
"column": 5
}
},
"test": {
"type": "UnaryExpression",
"start": 5556,
"end": 5570,
"loc": {
"start": {
"line": 222,
"column": 8
},
"end": {
"line": 222,
"column": 22
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 5557,
"end": 5570,
"loc": {
"start": {
"line": 222,
"column": 9
},
"end": {
"line": 222,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 5557,
"end": 5561,
"loc": {
"start": {
"line": 222,
"column": 9
},
"end": {
"line": 222,
"column": 13
}
}
},
"property": {
"type": "Identifier",
"start": 5562,
"end": 5570,
"loc": {
"start": {
"line": 222,
"column": 14
},
"end": {
"line": 222,
"column": 22
},
"identifierName": "_deleted"
},
"name": "_deleted"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 5572,
"end": 6077,
"loc": {
"start": {
"line": 222,
"column": 24
},
"end": {
"line": 237,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5580,
"end": 5600,
"loc": {
"start": {
"line": 223,
"column": 6
},
"end": {
"line": 223,
"column": 26
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5580,
"end": 5600,
"loc": {
"start": {
"line": 223,
"column": 6
},
"end": {
"line": 223,
"column": 26
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 5580,
"end": 5593,
"loc": {
"start": {
"line": 223,
"column": 6
},
"end": {
"line": 223,
"column": 19
}
},
"object": {
"type": "ThisExpression",
"start": 5580,
"end": 5584,
"loc": {
"start": {
"line": 223,
"column": 6
},
"end": {
"line": 223,
"column": 10
}
}
},
"property": {
"type": "Identifier",
"start": 5585,
"end": 5593,
"loc": {
"start": {
"line": 223,
"column": 11
},
"end": {
"line": 223,
"column": 19
},
"identifierName": "_deleted"
},
"name": "_deleted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 5596,
"end": 5600,
"loc": {
"start": {
"line": 223,
"column": 22
},
"end": {
"line": 223,
"column": 26
}
},
"value": true
}
}
},
{
"type": "ExpressionStatement",
"start": 5607,
"end": 5647,
"loc": {
"start": {
"line": 224,
"column": 6
},
"end": {
"line": 224,
"column": 46
}
},
"expression": {
"type": "CallExpression",
"start": 5607,
"end": 5647,
"loc": {
"start": {
"line": 224,
"column": 6
},
"end": {
"line": 224,
"column": 46
}
},
"callee": {
"type": "MemberExpression",
"start": 5607,
"end": 5616,
"loc": {
"start": {
"line": 224,
"column": 6
},
"end": {
"line": 224,
"column": 15
}
},
"object": {
"type": "MemberExpression",
"start": 5607,
"end": 5611,
"loc": {
"start": {
"line": 224,
"column": 6
},
"end": {
"line": 224,
"column": 10
}
},
"object": {
"type": "Identifier",
"start": 5607,
"end": 5608,
"loc": {
"start": {
"line": 224,
"column": 6
},
"end": {
"line": 224,
"column": 7
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 5609,
"end": 5611,
"loc": {
"start": {
"line": 224,
"column": 8
},
"end": {
"line": 224,
"column": 10
},
"identifierName": "ds"
},
"name": "ds"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 5612,
"end": 5616,
"loc": {
"start": {
"line": 224,
"column": 11
},
"end": {
"line": 224,
"column": 15
},
"identifierName": "mark"
},
"name": "mark"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 5617,
"end": 5625,
"loc": {
"start": {
"line": 224,
"column": 16
},
"end": {
"line": 224,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 5617,
"end": 5621,
"loc": {
"start": {
"line": 224,
"column": 16
},
"end": {
"line": 224,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 5622,
"end": 5625,
"loc": {
"start": {
"line": 224,
"column": 21
},
"end": {
"line": 224,
"column": 24
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 5627,
"end": 5639,
"loc": {
"start": {
"line": 224,
"column": 26
},
"end": {
"line": 224,
"column": 38
}
},
"object": {
"type": "ThisExpression",
"start": 5627,
"end": 5631,
"loc": {
"start": {
"line": 224,
"column": 26
},
"end": {
"line": 224,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"start": 5632,
"end": 5639,
"loc": {
"start": {
"line": 224,
"column": 31
},
"end": {
"line": 224,
"column": 38
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
},
{
"type": "BooleanLiteral",
"start": 5641,
"end": 5646,
"loc": {
"start": {
"line": 224,
"column": 40
},
"end": {
"line": 224,
"column": 45
}
},
"value": false
}
]
}
},
{
"type": "VariableDeclaration",
"start": 5654,
"end": 5676,
"loc": {
"start": {
"line": 225,
"column": 6
},
"end": {
"line": 225,
"column": 28
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5658,
"end": 5676,
"loc": {
"start": {
"line": 225,
"column": 10
},
"end": {
"line": 225,
"column": 28
}
},
"id": {
"type": "Identifier",
"start": 5658,
"end": 5661,
"loc": {
"start": {
"line": 225,
"column": 10
},
"end": {
"line": 225,
"column": 13
},
"identifierName": "del"
},
"name": "del"
},
"init": {
"type": "NewExpression",
"start": 5664,
"end": 5676,
"loc": {
"start": {
"line": 225,
"column": 16
},
"end": {
"line": 225,
"column": 28
}
},
"callee": {
"type": "Identifier",
"start": 5668,
"end": 5674,
"loc": {
"start": {
"line": 225,
"column": 20
},
"end": {
"line": 225,
"column": 26
},
"identifierName": "Delete"
},
"name": "Delete"
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "ExpressionStatement",
"start": 5683,
"end": 5707,
"loc": {
"start": {
"line": 226,
"column": 6
},
"end": {
"line": 226,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5683,
"end": 5707,
"loc": {
"start": {
"line": 226,
"column": 6
},
"end": {
"line": 226,
"column": 30
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 5683,
"end": 5696,
"loc": {
"start": {
"line": 226,
"column": 6
},
"end": {
"line": 226,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 5683,
"end": 5686,
"loc": {
"start": {
"line": 226,
"column": 6
},
"end": {
"line": 226,
"column": 9
},
"identifierName": "del"
},
"name": "del"
},
"property": {
"type": "Identifier",
"start": 5687,
"end": 5696,
"loc": {
"start": {
"line": 226,
"column": 10
},
"end": {
"line": 226,
"column": 19
},
"identifierName": "_targetID"
},
"name": "_targetID"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 5699,
"end": 5707,
"loc": {
"start": {
"line": 226,
"column": 22
},
"end": {
"line": 226,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 5699,
"end": 5703,
"loc": {
"start": {
"line": 226,
"column": 22
},
"end": {
"line": 226,
"column": 26
}
}
},
"property": {
"type": "Identifier",
"start": 5704,
"end": 5707,
"loc": {
"start": {
"line": 226,
"column": 27
},
"end": {
"line": 226,
"column": 30
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 5714,
"end": 5740,
"loc": {
"start": {
"line": 227,
"column": 6
},
"end": {
"line": 227,
"column": 32
}
},
"expression": {
"type": "AssignmentExpression",
"start": 5714,
"end": 5740,
"loc": {
"start": {
"line": 227,
"column": 6
},
"end": {
"line": 227,
"column": 32
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 5714,
"end": 5725,
"loc": {
"start": {
"line": 227,
"column": 6
},
"end": {
"line": 227,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 5714,
"end": 5717,
"loc": {
"start": {
"line": 227,
"column": 6
},
"end": {
"line": 227,
"column": 9
},
"identifierName": "del"
},
"name": "del"
},
"property": {
"type": "Identifier",
"start": 5718,
"end": 5725,
"loc": {
"start": {
"line": 227,
"column": 10
},
"end": {
"line": 227,
"column": 17
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 5728,
"end": 5740,
"loc": {
"start": {
"line": 227,
"column": 20
},
"end": {
"line": 227,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 5728,
"end": 5732,
"loc": {
"start": {
"line": 227,
"column": 20
},
"end": {
"line": 227,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 5733,
"end": 5740,
"loc": {
"start": {
"line": 227,
"column": 25
},
"end": {
"line": 227,
"column": 32
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
}
}
},
{
"type": "IfStatement",
"start": 5747,
"end": 5962,
"loc": {
"start": {
"line": 228,
"column": 6
},
"end": {
"line": 234,
"column": 7
}
},
"test": {
"type": "Identifier",
"start": 5751,
"end": 5763,
"loc": {
"start": {
"line": 228,
"column": 10
},
"end": {
"line": 228,
"column": 22
},
"identifierName": "createDelete"
},
"name": "createDelete"
},
"consequent": {
"type": "BlockStatement",
"start": 5765,
"end": 5847,
"loc": {
"start": {
"line": 228,
"column": 24
},
"end": {
"line": 231,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5816,
"end": 5839,
"loc": {
"start": {
"line": 230,
"column": 8
},
"end": {
"line": 230,
"column": 31
}
},
"expression": {
"type": "CallExpression",
"start": 5816,
"end": 5839,
"loc": {
"start": {
"line": 230,
"column": 8
},
"end": {
"line": 230,
"column": 31
}
},
"callee": {
"type": "MemberExpression",
"start": 5816,
"end": 5830,
"loc": {
"start": {
"line": 230,
"column": 8
},
"end": {
"line": 230,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 5816,
"end": 5819,
"loc": {
"start": {
"line": 230,
"column": 8
},
"end": {
"line": 230,
"column": 11
},
"identifierName": "del"
},
"name": "del",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 5820,
"end": 5830,
"loc": {
"start": {
"line": 230,
"column": 12
},
"end": {
"line": 230,
"column": 22
},
"identifierName": "_integrate"
},
"name": "_integrate"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 5831,
"end": 5832,
"loc": {
"start": {
"line": 230,
"column": 23
},
"end": {
"line": 230,
"column": 24
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "BooleanLiteral",
"start": 5834,
"end": 5838,
"loc": {
"start": {
"line": 230,
"column": 26
},
"end": {
"line": 230,
"column": 30
}
},
"value": true
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " broadcast and persists Delete",
"start": 5775,
"end": 5807,
"loc": {
"start": {
"line": 229,
"column": 8
},
"end": {
"line": 229,
"column": 40
}
}
}
]
}
],
"directives": []
},
"alternate": {
"type": "IfStatement",
"start": 5853,
"end": 5962,
"loc": {
"start": {
"line": 231,
"column": 13
},
"end": {
"line": 234,
"column": 7
}
},
"test": {
"type": "BinaryExpression",
"start": 5857,
"end": 5879,
"loc": {
"start": {
"line": 231,
"column": 17
},
"end": {
"line": 231,
"column": 39
}
},
"left": {
"type": "MemberExpression",
"start": 5857,
"end": 5870,
"loc": {
"start": {
"line": 231,
"column": 17
},
"end": {
"line": 231,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 5857,
"end": 5858,
"loc": {
"start": {
"line": 231,
"column": 17
},
"end": {
"line": 231,
"column": 18
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 5859,
"end": 5870,
"loc": {
"start": {
"line": 231,
"column": 19
},
"end": {
"line": 231,
"column": 30
},
"identifierName": "persistence"
},
"name": "persistence"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 5875,
"end": 5879,
"loc": {
"start": {
"line": 231,
"column": 35
},
"end": {
"line": 231,
"column": 39
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 5881,
"end": 5962,
"loc": {
"start": {
"line": 231,
"column": 41
},
"end": {
"line": 234,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5922,
"end": 5954,
"loc": {
"start": {
"line": 233,
"column": 8
},
"end": {
"line": 233,
"column": 40
}
},
"expression": {
"type": "CallExpression",
"start": 5922,
"end": 5954,
"loc": {
"start": {
"line": 233,
"column": 8
},
"end": {
"line": 233,
"column": 40
}
},
"callee": {
"type": "MemberExpression",
"start": 5922,
"end": 5946,
"loc": {
"start": {
"line": 233,
"column": 8
},
"end": {
"line": 233,
"column": 32
}
},
"object": {
"type": "MemberExpression",
"start": 5922,
"end": 5935,
"loc": {
"start": {
"line": 233,
"column": 8
},
"end": {
"line": 233,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 5922,
"end": 5923,
"loc": {
"start": {
"line": 233,
"column": 8
},
"end": {
"line": 233,
"column": 9
},
"identifierName": "y"
},
"name": "y",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 5924,
"end": 5935,
"loc": {
"start": {
"line": 233,
"column": 10
},
"end": {
"line": 233,
"column": 21
},
"identifierName": "persistence"
},
"name": "persistence"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 5936,
"end": 5946,
"loc": {
"start": {
"line": 233,
"column": 22
},
"end": {
"line": 233,
"column": 32
},
"identifierName": "saveStruct"
},
"name": "saveStruct"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "Identifier",
"start": 5947,
"end": 5948,
"loc": {
"start": {
"line": 233,
"column": 33
},
"end": {
"line": 233,
"column": 34
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 5950,
"end": 5953,
"loc": {
"start": {
"line": 233,
"column": 36
},
"end": {
"line": 233,
"column": 39
},
"identifierName": "del"
},
"name": "del"
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " only persist Delete",
"start": 5891,
"end": 5913,
"loc": {
"start": {
"line": 232,
"column": 8
},
"end": {
"line": 232,
"column": 30
}
}
}
]
}
],
"directives": []
},
"alternate": null
}
},
{
"type": "ExpressionStatement",
"start": 5969,
"end": 6025,
"loc": {
"start": {
"line": 235,
"column": 6
},
"end": {
"line": 235,
"column": 62
}
},
"expression": {
"type": "CallExpression",
"start": 5969,
"end": 6025,
"loc": {
"start": {
"line": 235,
"column": 6
},
"end": {
"line": 235,
"column": 62
}
},
"callee": {
"type": "Identifier",
"start": 5969,
"end": 5991,
"loc": {
"start": {
"line": 235,
"column": 6
},
"end": {
"line": 235,
"column": 28
},
"identifierName": "transactionTypeChanged"
},
"name": "transactionTypeChanged"
},
"arguments": [
{
"type": "Identifier",
"start": 5992,
"end": 5993,
"loc": {
"start": {
"line": 235,
"column": 29
},
"end": {
"line": 235,
"column": 30
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "MemberExpression",
"start": 5995,
"end": 6007,
"loc": {
"start": {
"line": 235,
"column": 32
},
"end": {
"line": 235,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 5995,
"end": 5999,
"loc": {
"start": {
"line": 235,
"column": 32
},
"end": {
"line": 235,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 6000,
"end": 6007,
"loc": {
"start": {
"line": 235,
"column": 37
},
"end": {
"line": 235,
"column": 44
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false
},
{
"type": "MemberExpression",
"start": 6009,
"end": 6024,
"loc": {
"start": {
"line": 235,
"column": 46
},
"end": {
"line": 235,
"column": 61
}
},
"object": {
"type": "ThisExpression",
"start": 6009,
"end": 6013,
"loc": {
"start": {
"line": 235,
"column": 46
},
"end": {
"line": 235,
"column": 50
}
}
},
"property": {
"type": "Identifier",
"start": 6014,
"end": 6024,
"loc": {
"start": {
"line": 235,
"column": 51
},
"end": {
"line": 235,
"column": 61
},
"identifierName": "_parentSub"
},
"name": "_parentSub"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 6032,
"end": 6071,
"loc": {
"start": {
"line": 236,
"column": 6
},
"end": {
"line": 236,
"column": 45
}
},
"expression": {
"type": "CallExpression",
"start": 6032,
"end": 6071,
"loc": {
"start": {
"line": 236,
"column": 6
},
"end": {
"line": 236,
"column": 45
}
},
"callee": {
"type": "MemberExpression",
"start": 6032,
"end": 6065,
"loc": {
"start": {
"line": 236,
"column": 6
},
"end": {
"line": 236,
"column": 39
}
},
"object": {
"type": "MemberExpression",
"start": 6032,
"end": 6061,
"loc": {
"start": {
"line": 236,
"column": 6
},
"end": {
"line": 236,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 6032,
"end": 6046,
"loc": {
"start": {
"line": 236,
"column": 6
},
"end": {
"line": 236,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 6032,
"end": 6033,
"loc": {
"start": {
"line": 236,
"column": 6
},
"end": {
"line": 236,
"column": 7
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 6034,
"end": 6046,
"loc": {
"start": {
"line": 236,
"column": 8
},
"end": {
"line": 236,
"column": 20
},
"identifierName": "_transaction"
},
"name": "_transaction"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6047,
"end": 6061,
"loc": {
"start": {
"line": 236,
"column": 21
},
"end": {
"line": 236,
"column": 35
},
"identifierName": "deletedStructs"
},
"name": "deletedStructs"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6062,
"end": 6065,
"loc": {
"start": {
"line": 236,
"column": 36
},
"end": {
"line": 236,
"column": 39
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 6066,
"end": 6070,
"loc": {
"start": {
"line": 236,
"column": 40
},
"end": {
"line": 236,
"column": 44
}
}
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Mark this Item as deleted.\n *\n * @param {Y} y The Yjs instance\n * @param {boolean} createDelete Whether to propagate a message that this\n * Type was deleted.\n *\n * @private\n ",
"start": 5281,
"end": 5510,
"loc": {
"start": {
"line": 212,
"column": 2
},
"end": {
"line": 220,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 6085,
"end": 6103,
"loc": {
"start": {
"line": 240,
"column": 2
},
"end": {
"line": 240,
"column": 20
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6085,
"end": 6096,
"loc": {
"start": {
"line": 240,
"column": 2
},
"end": {
"line": 240,
"column": 13
},
"identifierName": "_gcChildren"
},
"name": "_gcChildren"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 6098,
"end": 6099,
"loc": {
"start": {
"line": 240,
"column": 15
},
"end": {
"line": 240,
"column": 16
},
"identifierName": "y"
},
"name": "y"
}
],
"body": {
"type": "BlockStatement",
"start": 6101,
"end": 6103,
"loc": {
"start": {
"line": 240,
"column": 18
},
"end": {
"line": 240,
"column": 20
}
},
"body": [],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 6107,
"end": 6243,
"loc": {
"start": {
"line": 242,
"column": 2
},
"end": {
"line": 248,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6107,
"end": 6110,
"loc": {
"start": {
"line": 242,
"column": 2
},
"end": {
"line": 242,
"column": 5
},
"identifierName": "_gc"
},
"name": "_gc"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 6112,
"end": 6113,
"loc": {
"start": {
"line": 242,
"column": 7
},
"end": {
"line": 242,
"column": 8
},
"identifierName": "y"
},
"name": "y"
}
],
"body": {
"type": "BlockStatement",
"start": 6115,
"end": 6243,
"loc": {
"start": {
"line": 242,
"column": 10
},
"end": {
"line": 248,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 6121,
"end": 6140,
"loc": {
"start": {
"line": 243,
"column": 4
},
"end": {
"line": 243,
"column": 23
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6127,
"end": 6140,
"loc": {
"start": {
"line": 243,
"column": 10
},
"end": {
"line": 243,
"column": 23
}
},
"id": {
"type": "Identifier",
"start": 6127,
"end": 6129,
"loc": {
"start": {
"line": 243,
"column": 10
},
"end": {
"line": 243,
"column": 12
},
"identifierName": "gc"
},
"name": "gc"
},
"init": {
"type": "NewExpression",
"start": 6132,
"end": 6140,
"loc": {
"start": {
"line": 243,
"column": 15
},
"end": {
"line": 243,
"column": 23
}
},
"callee": {
"type": "Identifier",
"start": 6136,
"end": 6138,
"loc": {
"start": {
"line": 243,
"column": 19
},
"end": {
"line": 243,
"column": 21
},
"identifierName": "GC"
},
"name": "GC"
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 6145,
"end": 6162,
"loc": {
"start": {
"line": 244,
"column": 4
},
"end": {
"line": 244,
"column": 21
}
},
"expression": {
"type": "AssignmentExpression",
"start": 6145,
"end": 6162,
"loc": {
"start": {
"line": 244,
"column": 4
},
"end": {
"line": 244,
"column": 21
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 6145,
"end": 6151,
"loc": {
"start": {
"line": 244,
"column": 4
},
"end": {
"line": 244,
"column": 10
}
},
"object": {
"type": "Identifier",
"start": 6145,
"end": 6147,
"loc": {
"start": {
"line": 244,
"column": 4
},
"end": {
"line": 244,
"column": 6
},
"identifierName": "gc"
},
"name": "gc"
},
"property": {
"type": "Identifier",
"start": 6148,
"end": 6151,
"loc": {
"start": {
"line": 244,
"column": 7
},
"end": {
"line": 244,
"column": 10
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 6154,
"end": 6162,
"loc": {
"start": {
"line": 244,
"column": 13
},
"end": {
"line": 244,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 6154,
"end": 6158,
"loc": {
"start": {
"line": 244,
"column": 13
},
"end": {
"line": 244,
"column": 17
}
}
},
"property": {
"type": "Identifier",
"start": 6159,
"end": 6162,
"loc": {
"start": {
"line": 244,
"column": 18
},
"end": {
"line": 244,
"column": 21
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 6167,
"end": 6192,
"loc": {
"start": {
"line": 245,
"column": 4
},
"end": {
"line": 245,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 6167,
"end": 6192,
"loc": {
"start": {
"line": 245,
"column": 4
},
"end": {
"line": 245,
"column": 29
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 6167,
"end": 6177,
"loc": {
"start": {
"line": 245,
"column": 4
},
"end": {
"line": 245,
"column": 14
}
},
"object": {
"type": "Identifier",
"start": 6167,
"end": 6169,
"loc": {
"start": {
"line": 245,
"column": 4
},
"end": {
"line": 245,
"column": 6
},
"identifierName": "gc"
},
"name": "gc"
},
"property": {
"type": "Identifier",
"start": 6170,
"end": 6177,
"loc": {
"start": {
"line": 245,
"column": 7
},
"end": {
"line": 245,
"column": 14
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 6180,
"end": 6192,
"loc": {
"start": {
"line": 245,
"column": 17
},
"end": {
"line": 245,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 6180,
"end": 6184,
"loc": {
"start": {
"line": 245,
"column": 17
},
"end": {
"line": 245,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 6185,
"end": 6192,
"loc": {
"start": {
"line": 245,
"column": 22
},
"end": {
"line": 245,
"column": 29
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 6197,
"end": 6218,
"loc": {
"start": {
"line": 246,
"column": 4
},
"end": {
"line": 246,
"column": 25
}
},
"expression": {
"type": "CallExpression",
"start": 6197,
"end": 6218,
"loc": {
"start": {
"line": 246,
"column": 4
},
"end": {
"line": 246,
"column": 25
}
},
"callee": {
"type": "MemberExpression",
"start": 6197,
"end": 6208,
"loc": {
"start": {
"line": 246,
"column": 4
},
"end": {
"line": 246,
"column": 15
}
},
"object": {
"type": "MemberExpression",
"start": 6197,
"end": 6201,
"loc": {
"start": {
"line": 246,
"column": 4
},
"end": {
"line": 246,
"column": 8
}
},
"object": {
"type": "Identifier",
"start": 6197,
"end": 6198,
"loc": {
"start": {
"line": 246,
"column": 4
},
"end": {
"line": 246,
"column": 5
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 6199,
"end": 6201,
"loc": {
"start": {
"line": 246,
"column": 6
},
"end": {
"line": 246,
"column": 8
},
"identifierName": "os"
},
"name": "os"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6202,
"end": 6208,
"loc": {
"start": {
"line": 246,
"column": 9
},
"end": {
"line": 246,
"column": 15
},
"identifierName": "delete"
},
"name": "delete"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 6209,
"end": 6217,
"loc": {
"start": {
"line": 246,
"column": 16
},
"end": {
"line": 246,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 6209,
"end": 6213,
"loc": {
"start": {
"line": 246,
"column": 16
},
"end": {
"line": 246,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 6214,
"end": 6217,
"loc": {
"start": {
"line": 246,
"column": 21
},
"end": {
"line": 246,
"column": 24
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 6223,
"end": 6239,
"loc": {
"start": {
"line": 247,
"column": 4
},
"end": {
"line": 247,
"column": 20
}
},
"expression": {
"type": "CallExpression",
"start": 6223,
"end": 6239,
"loc": {
"start": {
"line": 247,
"column": 4
},
"end": {
"line": 247,
"column": 20
}
},
"callee": {
"type": "MemberExpression",
"start": 6223,
"end": 6236,
"loc": {
"start": {
"line": 247,
"column": 4
},
"end": {
"line": 247,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 6223,
"end": 6225,
"loc": {
"start": {
"line": 247,
"column": 4
},
"end": {
"line": 247,
"column": 6
},
"identifierName": "gc"
},
"name": "gc"
},
"property": {
"type": "Identifier",
"start": 6226,
"end": 6236,
"loc": {
"start": {
"line": 247,
"column": 7
},
"end": {
"line": 247,
"column": 17
},
"identifierName": "_integrate"
},
"name": "_integrate"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 6237,
"end": 6238,
"loc": {
"start": {
"line": 247,
"column": 18
},
"end": {
"line": 247,
"column": 19
},
"identifierName": "y"
},
"name": "y"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * This is called right before this Item receives any children.\n * It can be overwritten to apply pending changes before applying remote changes\n *\n * @private\n ",
"start": 6247,
"end": 6424,
"loc": {
"start": {
"line": 250,
"column": 2
},
"end": {
"line": 255,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 6427,
"end": 6460,
"loc": {
"start": {
"line": 256,
"column": 2
},
"end": {
"line": 258,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6427,
"end": 6440,
"loc": {
"start": {
"line": 256,
"column": 2
},
"end": {
"line": 256,
"column": 15
},
"identifierName": "_beforeChange"
},
"name": "_beforeChange",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 6444,
"end": 6460,
"loc": {
"start": {
"line": 256,
"column": 19
},
"end": {
"line": 258,
"column": 3
}
},
"body": [],
"directives": [],
"leadingComments": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " nop",
"start": 6450,
"end": 6456,
"loc": {
"start": {
"line": 257,
"column": 4
},
"end": {
"line": 257,
"column": 10
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Integrates this Item into the shared structure.\n *\n * This method actually applies the change to the Yjs instance. In case of\n * Item it connects _left and _right to this Item and calls the\n * {@link Item#beforeChange} method.\n *\n * * Integrate the struct so that other types/structs can see it\n * * Add this struct to y.os\n * * Check if this is struct deleted\n *\n * @private\n ",
"start": 6464,
"end": 6874,
"loc": {
"start": {
"line": 260,
"column": 2
},
"end": {
"line": 272,
"column": 5
}
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * This is called right before this Item receives any children.\n * It can be overwritten to apply pending changes before applying remote changes\n *\n * @private\n ",
"start": 6247,
"end": 6424,
"loc": {
"start": {
"line": 250,
"column": 2
},
"end": {
"line": 255,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 6877,
"end": 11030,
"loc": {
"start": {
"line": 273,
"column": 2
},
"end": {
"line": 389,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 6877,
"end": 6887,
"loc": {
"start": {
"line": 273,
"column": 2
},
"end": {
"line": 273,
"column": 12
},
"identifierName": "_integrate"
},
"name": "_integrate",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 6889,
"end": 6890,
"loc": {
"start": {
"line": 273,
"column": 14
},
"end": {
"line": 273,
"column": 15
},
"identifierName": "y"
},
"name": "y"
}
],
"body": {
"type": "BlockStatement",
"start": 6892,
"end": 11030,
"loc": {
"start": {
"line": 273,
"column": 17
},
"end": {
"line": 389,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6898,
"end": 6931,
"loc": {
"start": {
"line": 274,
"column": 4
},
"end": {
"line": 274,
"column": 37
}
},
"expression": {
"type": "CallExpression",
"start": 6898,
"end": 6931,
"loc": {
"start": {
"line": 274,
"column": 4
},
"end": {
"line": 274,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 6898,
"end": 6925,
"loc": {
"start": {
"line": 274,
"column": 4
},
"end": {
"line": 274,
"column": 31
}
},
"object": {
"type": "MemberExpression",
"start": 6898,
"end": 6921,
"loc": {
"start": {
"line": 274,
"column": 4
},
"end": {
"line": 274,
"column": 27
}
},
"object": {
"type": "MemberExpression",
"start": 6898,
"end": 6912,
"loc": {
"start": {
"line": 274,
"column": 4
},
"end": {
"line": 274,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 6898,
"end": 6899,
"loc": {
"start": {
"line": 274,
"column": 4
},
"end": {
"line": 274,
"column": 5
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 6900,
"end": 6912,
"loc": {
"start": {
"line": 274,
"column": 6
},
"end": {
"line": 274,
"column": 18
},
"identifierName": "_transaction"
},
"name": "_transaction"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6913,
"end": 6921,
"loc": {
"start": {
"line": 274,
"column": 19
},
"end": {
"line": 274,
"column": 27
},
"identifierName": "newTypes"
},
"name": "newTypes"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 6922,
"end": 6925,
"loc": {
"start": {
"line": 274,
"column": 28
},
"end": {
"line": 274,
"column": 31
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 6926,
"end": 6930,
"loc": {
"start": {
"line": 274,
"column": 32
},
"end": {
"line": 274,
"column": 36
}
}
}
]
}
},
{
"type": "VariableDeclaration",
"start": 6936,
"end": 6963,
"loc": {
"start": {
"line": 275,
"column": 4
},
"end": {
"line": 275,
"column": 31
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6942,
"end": 6963,
"loc": {
"start": {
"line": 275,
"column": 10
},
"end": {
"line": 275,
"column": 31
}
},
"id": {
"type": "Identifier",
"start": 6942,
"end": 6948,
"loc": {
"start": {
"line": 275,
"column": 10
},
"end": {
"line": 275,
"column": 16
},
"identifierName": "parent"
},
"name": "parent"
},
"init": {
"type": "MemberExpression",
"start": 6951,
"end": 6963,
"loc": {
"start": {
"line": 275,
"column": 19
},
"end": {
"line": 275,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 6951,
"end": 6955,
"loc": {
"start": {
"line": 275,
"column": 19
},
"end": {
"line": 275,
"column": 23
}
}
},
"property": {
"type": "Identifier",
"start": 6956,
"end": 6963,
"loc": {
"start": {
"line": 275,
"column": 24
},
"end": {
"line": 275,
"column": 31
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6968,
"end": 6991,
"loc": {
"start": {
"line": 276,
"column": 4
},
"end": {
"line": 276,
"column": 27
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 6974,
"end": 6991,
"loc": {
"start": {
"line": 276,
"column": 10
},
"end": {
"line": 276,
"column": 27
}
},
"id": {
"type": "Identifier",
"start": 6974,
"end": 6980,
"loc": {
"start": {
"line": 276,
"column": 10
},
"end": {
"line": 276,
"column": 16
},
"identifierName": "selfID"
},
"name": "selfID"
},
"init": {
"type": "MemberExpression",
"start": 6983,
"end": 6991,
"loc": {
"start": {
"line": 276,
"column": 19
},
"end": {
"line": 276,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 6983,
"end": 6987,
"loc": {
"start": {
"line": 276,
"column": 19
},
"end": {
"line": 276,
"column": 23
}
}
},
"property": {
"type": "Identifier",
"start": 6988,
"end": 6991,
"loc": {
"start": {
"line": 276,
"column": 24
},
"end": {
"line": 276,
"column": 27
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 6996,
"end": 7049,
"loc": {
"start": {
"line": 277,
"column": 4
},
"end": {
"line": 277,
"column": 57
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7002,
"end": 7049,
"loc": {
"start": {
"line": 277,
"column": 10
},
"end": {
"line": 277,
"column": 57
}
},
"id": {
"type": "Identifier",
"start": 7002,
"end": 7006,
"loc": {
"start": {
"line": 277,
"column": 10
},
"end": {
"line": 277,
"column": 14
},
"identifierName": "user"
},
"name": "user"
},
"init": {
"type": "ConditionalExpression",
"start": 7009,
"end": 7049,
"loc": {
"start": {
"line": 277,
"column": 17
},
"end": {
"line": 277,
"column": 57
}
},
"test": {
"type": "BinaryExpression",
"start": 7009,
"end": 7024,
"loc": {
"start": {
"line": 277,
"column": 17
},
"end": {
"line": 277,
"column": 32
}
},
"left": {
"type": "Identifier",
"start": 7009,
"end": 7015,
"loc": {
"start": {
"line": 277,
"column": 17
},
"end": {
"line": 277,
"column": 23
},
"identifierName": "selfID"
},
"name": "selfID"
},
"operator": "===",
"right": {
"type": "NullLiteral",
"start": 7020,
"end": 7024,
"loc": {
"start": {
"line": 277,
"column": 28
},
"end": {
"line": 277,
"column": 32
}
}
}
},
"consequent": {
"type": "MemberExpression",
"start": 7027,
"end": 7035,
"loc": {
"start": {
"line": 277,
"column": 35
},
"end": {
"line": 277,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 7027,
"end": 7028,
"loc": {
"start": {
"line": 277,
"column": 35
},
"end": {
"line": 277,
"column": 36
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 7029,
"end": 7035,
"loc": {
"start": {
"line": 277,
"column": 37
},
"end": {
"line": 277,
"column": 43
},
"identifierName": "userID"
},
"name": "userID"
},
"computed": false
},
"alternate": {
"type": "MemberExpression",
"start": 7038,
"end": 7049,
"loc": {
"start": {
"line": 277,
"column": 46
},
"end": {
"line": 277,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 7038,
"end": 7044,
"loc": {
"start": {
"line": 277,
"column": 46
},
"end": {
"line": 277,
"column": 52
},
"identifierName": "selfID"
},
"name": "selfID"
},
"property": {
"type": "Identifier",
"start": 7045,
"end": 7049,
"loc": {
"start": {
"line": 277,
"column": 53
},
"end": {
"line": 277,
"column": 57
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
}
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 7054,
"end": 7091,
"loc": {
"start": {
"line": 278,
"column": 4
},
"end": {
"line": 278,
"column": 41
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7060,
"end": 7091,
"loc": {
"start": {
"line": 278,
"column": 10
},
"end": {
"line": 278,
"column": 41
}
},
"id": {
"type": "Identifier",
"start": 7060,
"end": 7069,
"loc": {
"start": {
"line": 278,
"column": 10
},
"end": {
"line": 278,
"column": 19
},
"identifierName": "userState"
},
"name": "userState"
},
"init": {
"type": "CallExpression",
"start": 7072,
"end": 7091,
"loc": {
"start": {
"line": 278,
"column": 22
},
"end": {
"line": 278,
"column": 41
}
},
"callee": {
"type": "MemberExpression",
"start": 7072,
"end": 7085,
"loc": {
"start": {
"line": 278,
"column": 22
},
"end": {
"line": 278,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 7072,
"end": 7076,
"loc": {
"start": {
"line": 278,
"column": 22
},
"end": {
"line": 278,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 7072,
"end": 7073,
"loc": {
"start": {
"line": 278,
"column": 22
},
"end": {
"line": 278,
"column": 23
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 7074,
"end": 7076,
"loc": {
"start": {
"line": 278,
"column": 24
},
"end": {
"line": 278,
"column": 26
},
"identifierName": "ss"
},
"name": "ss"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7077,
"end": 7085,
"loc": {
"start": {
"line": 278,
"column": 27
},
"end": {
"line": 278,
"column": 35
},
"identifierName": "getState"
},
"name": "getState"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 7086,
"end": 7090,
"loc": {
"start": {
"line": 278,
"column": 36
},
"end": {
"line": 278,
"column": 40
},
"identifierName": "user"
},
"name": "user"
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 7096,
"end": 7514,
"loc": {
"start": {
"line": 279,
"column": 4
},
"end": {
"line": 291,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 7100,
"end": 7115,
"loc": {
"start": {
"line": 279,
"column": 8
},
"end": {
"line": 279,
"column": 23
}
},
"left": {
"type": "Identifier",
"start": 7100,
"end": 7106,
"loc": {
"start": {
"line": 279,
"column": 8
},
"end": {
"line": 279,
"column": 14
},
"identifierName": "selfID"
},
"name": "selfID"
},
"operator": "===",
"right": {
"type": "NullLiteral",
"start": 7111,
"end": 7115,
"loc": {
"start": {
"line": 279,
"column": 19
},
"end": {
"line": 279,
"column": 23
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 7117,
"end": 7170,
"loc": {
"start": {
"line": 279,
"column": 25
},
"end": {
"line": 281,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 7125,
"end": 7164,
"loc": {
"start": {
"line": 280,
"column": 6
},
"end": {
"line": 280,
"column": 45
}
},
"expression": {
"type": "AssignmentExpression",
"start": 7125,
"end": 7164,
"loc": {
"start": {
"line": 280,
"column": 6
},
"end": {
"line": 280,
"column": 45
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 7125,
"end": 7133,
"loc": {
"start": {
"line": 280,
"column": 6
},
"end": {
"line": 280,
"column": 14
}
},
"object": {
"type": "ThisExpression",
"start": 7125,
"end": 7129,
"loc": {
"start": {
"line": 280,
"column": 6
},
"end": {
"line": 280,
"column": 10
}
}
},
"property": {
"type": "Identifier",
"start": 7130,
"end": 7133,
"loc": {
"start": {
"line": 280,
"column": 11
},
"end": {
"line": 280,
"column": 14
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 7136,
"end": 7164,
"loc": {
"start": {
"line": 280,
"column": 17
},
"end": {
"line": 280,
"column": 45
}
},
"callee": {
"type": "MemberExpression",
"start": 7136,
"end": 7150,
"loc": {
"start": {
"line": 280,
"column": 17
},
"end": {
"line": 280,
"column": 31
}
},
"object": {
"type": "MemberExpression",
"start": 7136,
"end": 7140,
"loc": {
"start": {
"line": 280,
"column": 17
},
"end": {
"line": 280,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 7136,
"end": 7137,
"loc": {
"start": {
"line": 280,
"column": 17
},
"end": {
"line": 280,
"column": 18
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 7138,
"end": 7140,
"loc": {
"start": {
"line": 280,
"column": 19
},
"end": {
"line": 280,
"column": 21
},
"identifierName": "ss"
},
"name": "ss"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7141,
"end": 7150,
"loc": {
"start": {
"line": 280,
"column": 22
},
"end": {
"line": 280,
"column": 31
},
"identifierName": "getNextID"
},
"name": "getNextID"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 7151,
"end": 7163,
"loc": {
"start": {
"line": 280,
"column": 32
},
"end": {
"line": 280,
"column": 44
}
},
"object": {
"type": "ThisExpression",
"start": 7151,
"end": 7155,
"loc": {
"start": {
"line": 280,
"column": 32
},
"end": {
"line": 280,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 7156,
"end": 7163,
"loc": {
"start": {
"line": 280,
"column": 37
},
"end": {
"line": 280,
"column": 44
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
}
]
}
}
}
],
"directives": []
},
"alternate": {
"type": "IfStatement",
"start": 7176,
"end": 7514,
"loc": {
"start": {
"line": 281,
"column": 11
},
"end": {
"line": 291,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 7180,
"end": 7210,
"loc": {
"start": {
"line": 281,
"column": 15
},
"end": {
"line": 281,
"column": 45
}
},
"left": {
"type": "MemberExpression",
"start": 7180,
"end": 7191,
"loc": {
"start": {
"line": 281,
"column": 15
},
"end": {
"line": 281,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 7180,
"end": 7186,
"loc": {
"start": {
"line": 281,
"column": 15
},
"end": {
"line": 281,
"column": 21
},
"identifierName": "selfID"
},
"name": "selfID"
},
"property": {
"type": "Identifier",
"start": 7187,
"end": 7191,
"loc": {
"start": {
"line": 281,
"column": 22
},
"end": {
"line": 281,
"column": 26
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 7196,
"end": 7210,
"loc": {
"start": {
"line": 281,
"column": 31
},
"end": {
"line": 281,
"column": 45
},
"identifierName": "RootFakeUserID"
},
"name": "RootFakeUserID"
}
},
"consequent": {
"type": "BlockStatement",
"start": 7212,
"end": 7232,
"loc": {
"start": {
"line": 281,
"column": 47
},
"end": {
"line": 283,
"column": 5
}
},
"body": [],
"directives": [],
"leadingComments": null,
"innerComments": [
{
"type": "CommentLine",
"value": " nop",
"start": 7220,
"end": 7226,
"loc": {
"start": {
"line": 282,
"column": 6
},
"end": {
"line": 282,
"column": 12
}
}
}
]
},
"alternate": {
"type": "IfStatement",
"start": 7238,
"end": 7514,
"loc": {
"start": {
"line": 283,
"column": 11
},
"end": {
"line": 291,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 7242,
"end": 7266,
"loc": {
"start": {
"line": 283,
"column": 15
},
"end": {
"line": 283,
"column": 39
}
},
"left": {
"type": "MemberExpression",
"start": 7242,
"end": 7254,
"loc": {
"start": {
"line": 283,
"column": 15
},
"end": {
"line": 283,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 7242,
"end": 7248,
"loc": {
"start": {
"line": 283,
"column": 15
},
"end": {
"line": 283,
"column": 21
},
"identifierName": "selfID"
},
"name": "selfID"
},
"property": {
"type": "Identifier",
"start": 7249,
"end": 7254,
"loc": {
"start": {
"line": 283,
"column": 22
},
"end": {
"line": 283,
"column": 27
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
},
"operator": "<",
"right": {
"type": "Identifier",
"start": 7257,
"end": 7266,
"loc": {
"start": {
"line": 283,
"column": 30
},
"end": {
"line": 283,
"column": 39
},
"identifierName": "userState"
},
"name": "userState"
}
},
"consequent": {
"type": "BlockStatement",
"start": 7268,
"end": 7318,
"loc": {
"start": {
"line": 283,
"column": 41
},
"end": {
"line": 286,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 7303,
"end": 7312,
"loc": {
"start": {
"line": 285,
"column": 6
},
"end": {
"line": 285,
"column": 15
}
},
"argument": {
"type": "ArrayExpression",
"start": 7310,
"end": 7312,
"loc": {
"start": {
"line": 285,
"column": 13
},
"end": {
"line": 285,
"column": 15
}
},
"elements": [],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " already applied..",
"start": 7276,
"end": 7296,
"loc": {
"start": {
"line": 284,
"column": 6
},
"end": {
"line": 284,
"column": 26
}
}
}
]
}
],
"directives": []
},
"alternate": {
"type": "IfStatement",
"start": 7324,
"end": 7514,
"loc": {
"start": {
"line": 286,
"column": 11
},
"end": {
"line": 291,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 7328,
"end": 7354,
"loc": {
"start": {
"line": 286,
"column": 15
},
"end": {
"line": 286,
"column": 41
}
},
"left": {
"type": "MemberExpression",
"start": 7328,
"end": 7340,
"loc": {
"start": {
"line": 286,
"column": 15
},
"end": {
"line": 286,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 7328,
"end": 7334,
"loc": {
"start": {
"line": 286,
"column": 15
},
"end": {
"line": 286,
"column": 21
},
"identifierName": "selfID"
},
"name": "selfID"
},
"property": {
"type": "Identifier",
"start": 7335,
"end": 7340,
"loc": {
"start": {
"line": 286,
"column": 22
},
"end": {
"line": 286,
"column": 27
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 7345,
"end": 7354,
"loc": {
"start": {
"line": 286,
"column": 32
},
"end": {
"line": 286,
"column": 41
},
"identifierName": "userState"
},
"name": "userState"
}
},
"consequent": {
"type": "BlockStatement",
"start": 7356,
"end": 7422,
"loc": {
"start": {
"line": 286,
"column": 43
},
"end": {
"line": 288,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 7364,
"end": 7416,
"loc": {
"start": {
"line": 287,
"column": 6
},
"end": {
"line": 287,
"column": 58
}
},
"expression": {
"type": "CallExpression",
"start": 7364,
"end": 7416,
"loc": {
"start": {
"line": 287,
"column": 6
},
"end": {
"line": 287,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 7364,
"end": 7377,
"loc": {
"start": {
"line": 287,
"column": 6
},
"end": {
"line": 287,
"column": 19
}
},
"object": {
"type": "MemberExpression",
"start": 7364,
"end": 7368,
"loc": {
"start": {
"line": 287,
"column": 6
},
"end": {
"line": 287,
"column": 10
}
},
"object": {
"type": "Identifier",
"start": 7364,
"end": 7365,
"loc": {
"start": {
"line": 287,
"column": 6
},
"end": {
"line": 287,
"column": 7
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 7366,
"end": 7368,
"loc": {
"start": {
"line": 287,
"column": 8
},
"end": {
"line": 287,
"column": 10
},
"identifierName": "ss"
},
"name": "ss"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7369,
"end": 7377,
"loc": {
"start": {
"line": 287,
"column": 11
},
"end": {
"line": 287,
"column": 19
},
"identifierName": "setState"
},
"name": "setState"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 7378,
"end": 7389,
"loc": {
"start": {
"line": 287,
"column": 20
},
"end": {
"line": 287,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 7378,
"end": 7384,
"loc": {
"start": {
"line": 287,
"column": 20
},
"end": {
"line": 287,
"column": 26
},
"identifierName": "selfID"
},
"name": "selfID"
},
"property": {
"type": "Identifier",
"start": 7385,
"end": 7389,
"loc": {
"start": {
"line": 287,
"column": 27
},
"end": {
"line": 287,
"column": 31
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
},
{
"type": "BinaryExpression",
"start": 7391,
"end": 7415,
"loc": {
"start": {
"line": 287,
"column": 33
},
"end": {
"line": 287,
"column": 57
}
},
"left": {
"type": "Identifier",
"start": 7391,
"end": 7400,
"loc": {
"start": {
"line": 287,
"column": 33
},
"end": {
"line": 287,
"column": 42
},
"identifierName": "userState"
},
"name": "userState"
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 7403,
"end": 7415,
"loc": {
"start": {
"line": 287,
"column": 45
},
"end": {
"line": 287,
"column": 57
}
},
"object": {
"type": "ThisExpression",
"start": 7403,
"end": 7407,
"loc": {
"start": {
"line": 287,
"column": 45
},
"end": {
"line": 287,
"column": 49
}
}
},
"property": {
"type": "Identifier",
"start": 7408,
"end": 7415,
"loc": {
"start": {
"line": 287,
"column": 50
},
"end": {
"line": 287,
"column": 57
},
"identifierName": "_length"
},
"name": "_length"
},
"computed": false
}
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 7428,
"end": 7514,
"loc": {
"start": {
"line": 288,
"column": 11
},
"end": {
"line": 291,
"column": 5
}
},
"body": [
{
"type": "ThrowStatement",
"start": 7471,
"end": 7508,
"loc": {
"start": {
"line": 290,
"column": 6
},
"end": {
"line": 290,
"column": 43
}
},
"argument": {
"type": "NewExpression",
"start": 7477,
"end": 7508,
"loc": {
"start": {
"line": 290,
"column": 12
},
"end": {
"line": 290,
"column": 43
}
},
"callee": {
"type": "Identifier",
"start": 7481,
"end": 7486,
"loc": {
"start": {
"line": 290,
"column": 16
},
"end": {
"line": 290,
"column": 21
},
"identifierName": "Error"
},
"name": "Error"
},
"arguments": [
{
"type": "StringLiteral",
"start": 7487,
"end": 7507,
"loc": {
"start": {
"line": 290,
"column": 22
},
"end": {
"line": 290,
"column": 42
}
},
"extra": {
"rawValue": "Can not apply yet!",
"raw": "'Can not apply yet!'"
},
"value": "Can not apply yet!"
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " missing content from user",
"start": 7436,
"end": 7464,
"loc": {
"start": {
"line": 289,
"column": 6
},
"end": {
"line": 289,
"column": 34
}
}
}
]
}
],
"directives": []
}
}
}
}
},
{
"type": "IfStatement",
"start": 7519,
"end": 7747,
"loc": {
"start": {
"line": 292,
"column": 4
},
"end": {
"line": 296,
"column": 5
}
},
"test": {
"type": "LogicalExpression",
"start": 7523,
"end": 7623,
"loc": {
"start": {
"line": 292,
"column": 8
},
"end": {
"line": 292,
"column": 108
}
},
"left": {
"type": "LogicalExpression",
"start": 7523,
"end": 7583,
"loc": {
"start": {
"line": 292,
"column": 8
},
"end": {
"line": 292,
"column": 68
}
},
"left": {
"type": "UnaryExpression",
"start": 7523,
"end": 7539,
"loc": {
"start": {
"line": 292,
"column": 8
},
"end": {
"line": 292,
"column": 24
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 7524,
"end": 7539,
"loc": {
"start": {
"line": 292,
"column": 9
},
"end": {
"line": 292,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 7524,
"end": 7530,
"loc": {
"start": {
"line": 292,
"column": 9
},
"end": {
"line": 292,
"column": 15
},
"identifierName": "parent"
},
"name": "parent"
},
"property": {
"type": "Identifier",
"start": 7531,
"end": 7539,
"loc": {
"start": {
"line": 292,
"column": 16
},
"end": {
"line": 292,
"column": 24
},
"identifierName": "_deleted"
},
"name": "_deleted"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "&&",
"right": {
"type": "UnaryExpression",
"start": 7543,
"end": 7583,
"loc": {
"start": {
"line": 292,
"column": 28
},
"end": {
"line": 292,
"column": 68
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 7544,
"end": 7583,
"loc": {
"start": {
"line": 292,
"column": 29
},
"end": {
"line": 292,
"column": 68
}
},
"callee": {
"type": "MemberExpression",
"start": 7544,
"end": 7575,
"loc": {
"start": {
"line": 292,
"column": 29
},
"end": {
"line": 292,
"column": 60
}
},
"object": {
"type": "MemberExpression",
"start": 7544,
"end": 7571,
"loc": {
"start": {
"line": 292,
"column": 29
},
"end": {
"line": 292,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 7544,
"end": 7558,
"loc": {
"start": {
"line": 292,
"column": 29
},
"end": {
"line": 292,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 7544,
"end": 7545,
"loc": {
"start": {
"line": 292,
"column": 29
},
"end": {
"line": 292,
"column": 30
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 7546,
"end": 7558,
"loc": {
"start": {
"line": 292,
"column": 31
},
"end": {
"line": 292,
"column": 43
},
"identifierName": "_transaction"
},
"name": "_transaction"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7559,
"end": 7571,
"loc": {
"start": {
"line": 292,
"column": 44
},
"end": {
"line": 292,
"column": 56
},
"identifierName": "changedTypes"
},
"name": "changedTypes"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7572,
"end": 7575,
"loc": {
"start": {
"line": 292,
"column": 57
},
"end": {
"line": 292,
"column": 60
},
"identifierName": "has"
},
"name": "has"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 7576,
"end": 7582,
"loc": {
"start": {
"line": 292,
"column": 61
},
"end": {
"line": 292,
"column": 67
},
"identifierName": "parent"
},
"name": "parent"
}
]
},
"extra": {
"parenthesizedArgument": false
}
}
},
"operator": "&&",
"right": {
"type": "UnaryExpression",
"start": 7587,
"end": 7623,
"loc": {
"start": {
"line": 292,
"column": 72
},
"end": {
"line": 292,
"column": 108
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 7588,
"end": 7623,
"loc": {
"start": {
"line": 292,
"column": 73
},
"end": {
"line": 292,
"column": 108
}
},
"callee": {
"type": "MemberExpression",
"start": 7588,
"end": 7615,
"loc": {
"start": {
"line": 292,
"column": 73
},
"end": {
"line": 292,
"column": 100
}
},
"object": {
"type": "MemberExpression",
"start": 7588,
"end": 7611,
"loc": {
"start": {
"line": 292,
"column": 73
},
"end": {
"line": 292,
"column": 96
}
},
"object": {
"type": "MemberExpression",
"start": 7588,
"end": 7602,
"loc": {
"start": {
"line": 292,
"column": 73
},
"end": {
"line": 292,
"column": 87
}
},
"object": {
"type": "Identifier",
"start": 7588,
"end": 7589,
"loc": {
"start": {
"line": 292,
"column": 73
},
"end": {
"line": 292,
"column": 74
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 7590,
"end": 7602,
"loc": {
"start": {
"line": 292,
"column": 75
},
"end": {
"line": 292,
"column": 87
},
"identifierName": "_transaction"
},
"name": "_transaction"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7603,
"end": 7611,
"loc": {
"start": {
"line": 292,
"column": 88
},
"end": {
"line": 292,
"column": 96
},
"identifierName": "newTypes"
},
"name": "newTypes"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7612,
"end": 7615,
"loc": {
"start": {
"line": 292,
"column": 97
},
"end": {
"line": 292,
"column": 100
},
"identifierName": "has"
},
"name": "has"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 7616,
"end": 7622,
"loc": {
"start": {
"line": 292,
"column": 101
},
"end": {
"line": 292,
"column": 107
},
"identifierName": "parent"
},
"name": "parent"
}
]
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 7625,
"end": 7747,
"loc": {
"start": {
"line": 292,
"column": 110
},
"end": {
"line": 296,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 7713,
"end": 7741,
"loc": {
"start": {
"line": 295,
"column": 6
},
"end": {
"line": 295,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 7713,
"end": 7741,
"loc": {
"start": {
"line": 295,
"column": 6
},
"end": {
"line": 295,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 7713,
"end": 7739,
"loc": {
"start": {
"line": 295,
"column": 6
},
"end": {
"line": 295,
"column": 32
}
},
"object": {
"type": "MemberExpression",
"start": 7713,
"end": 7725,
"loc": {
"start": {
"line": 295,
"column": 6
},
"end": {
"line": 295,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 7713,
"end": 7717,
"loc": {
"start": {
"line": 295,
"column": 6
},
"end": {
"line": 295,
"column": 10
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 7718,
"end": 7725,
"loc": {
"start": {
"line": 295,
"column": 11
},
"end": {
"line": 295,
"column": 18
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 7726,
"end": 7739,
"loc": {
"start": {
"line": 295,
"column": 19
},
"end": {
"line": 295,
"column": 32
},
"identifierName": "_beforeChange"
},
"name": "_beforeChange"
},
"computed": false,
"leadingComments": null
},
"arguments": [],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " this is the first time parent is updated",
"start": 7633,
"end": 7676,
"loc": {
"start": {
"line": 293,
"column": 6
},
"end": {
"line": 293,
"column": 49
}
}
},
{
"type": "CommentLine",
"value": " or this types is new",
"start": 7683,
"end": 7706,
"loc": {
"start": {
"line": 294,
"column": 6
},
"end": {
"line": 294,
"column": 29
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentBlock",
"value": "\n # $this has to find a unique position between origin and the next known character\n # case 1: $origin equals $o.origin: the $creator parameter decides if left or right\n # let $OL= [o1,o2,o3,o4], whereby $this is to be inserted between o1 and o4\n # o2,o3 and o4 origin is 1 (the position of o2)\n # there is the case that $this.creator < o2.creator, but o3.creator < $this.creator\n # then o2 knows o3. Since on another client $OL could be [o1,o3,o4] the problem is complex\n # therefore $this would be always to the right of o3\n # case 2: $origin < $o.origin\n # if current $this insert_position > $o origin: $this ins\n # else $insert_position will not change\n # (maybe we encounter case 1 later, then this will be to the right of $o)\n # case 3: $origin > $o.origin\n # $this insert_position is to the left of $o (forever!)\n ",
"start": 7753,
"end": 8692,
"loc": {
"start": {
"line": 298,
"column": 4
},
"end": {
"line": 312,
"column": 6
}
}
},
{
"type": "CommentLine",
"value": " handle conflicts",
"start": 8697,
"end": 8716,
"loc": {
"start": {
"line": 313,
"column": 4
},
"end": {
"line": 313,
"column": 23
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 8721,
"end": 8726,
"loc": {
"start": {
"line": 314,
"column": 4
},
"end": {
"line": 314,
"column": 9
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8725,
"end": 8726,
"loc": {
"start": {
"line": 314,
"column": 8
},
"end": {
"line": 314,
"column": 9
}
},
"id": {
"type": "Identifier",
"start": 8725,
"end": 8726,
"loc": {
"start": {
"line": 314,
"column": 8
},
"end": {
"line": 314,
"column": 9
},
"identifierName": "o"
},
"name": "o",
"leadingComments": null,
"trailingComments": null
},
"init": null,
"leadingComments": null,
"trailingComments": null
}
],
"kind": "let",
"leadingComments": [
{
"type": "CommentBlock",
"value": "\n # $this has to find a unique position between origin and the next known character\n # case 1: $origin equals $o.origin: the $creator parameter decides if left or right\n # let $OL= [o1,o2,o3,o4], whereby $this is to be inserted between o1 and o4\n # o2,o3 and o4 origin is 1 (the position of o2)\n # there is the case that $this.creator < o2.creator, but o3.creator < $this.creator\n # then o2 knows o3. Since on another client $OL could be [o1,o3,o4] the problem is complex\n # therefore $this would be always to the right of o3\n # case 2: $origin < $o.origin\n # if current $this insert_position > $o origin: $this ins\n # else $insert_position will not change\n # (maybe we encounter case 1 later, then this will be to the right of $o)\n # case 3: $origin > $o.origin\n # $this insert_position is to the left of $o (forever!)\n ",
"start": 7753,
"end": 8692,
"loc": {
"start": {
"line": 298,
"column": 4
},
"end": {
"line": 312,
"column": 6
}
}
},
{
"type": "CommentLine",
"value": " handle conflicts",
"start": 8697,
"end": 8716,
"loc": {
"start": {
"line": 313,
"column": 4
},
"end": {
"line": 313,
"column": 23
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " set o to the first conflicting item",
"start": 8731,
"end": 8769,
"loc": {
"start": {
"line": 315,
"column": 4
},
"end": {
"line": 315,
"column": 42
}
}
}
]
},
{
"type": "IfStatement",
"start": 8774,
"end": 8977,
"loc": {
"start": {
"line": 316,
"column": 4
},
"end": {
"line": 322,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 8778,
"end": 8797,
"loc": {
"start": {
"line": 316,
"column": 8
},
"end": {
"line": 316,
"column": 27
}
},
"left": {
"type": "MemberExpression",
"start": 8778,
"end": 8788,
"loc": {
"start": {
"line": 316,
"column": 8
},
"end": {
"line": 316,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 8778,
"end": 8782,
"loc": {
"start": {
"line": 316,
"column": 8
},
"end": {
"line": 316,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 8783,
"end": 8788,
"loc": {
"start": {
"line": 316,
"column": 13
},
"end": {
"line": 316,
"column": 18
},
"identifierName": "_left"
},
"name": "_left"
},
"computed": false,
"leadingComments": null
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 8793,
"end": 8797,
"loc": {
"start": {
"line": 316,
"column": 23
},
"end": {
"line": 316,
"column": 27
}
}
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 8799,
"end": 8834,
"loc": {
"start": {
"line": 316,
"column": 29
},
"end": {
"line": 318,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 8807,
"end": 8828,
"loc": {
"start": {
"line": 317,
"column": 6
},
"end": {
"line": 317,
"column": 27
}
},
"expression": {
"type": "AssignmentExpression",
"start": 8807,
"end": 8828,
"loc": {
"start": {
"line": 317,
"column": 6
},
"end": {
"line": 317,
"column": 27
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 8807,
"end": 8808,
"loc": {
"start": {
"line": 317,
"column": 6
},
"end": {
"line": 317,
"column": 7
},
"identifierName": "o"
},
"name": "o"
},
"right": {
"type": "MemberExpression",
"start": 8811,
"end": 8828,
"loc": {
"start": {
"line": 317,
"column": 10
},
"end": {
"line": 317,
"column": 27
}
},
"object": {
"type": "MemberExpression",
"start": 8811,
"end": 8821,
"loc": {
"start": {
"line": 317,
"column": 10
},
"end": {
"line": 317,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 8811,
"end": 8815,
"loc": {
"start": {
"line": 317,
"column": 10
},
"end": {
"line": 317,
"column": 14
}
}
},
"property": {
"type": "Identifier",
"start": 8816,
"end": 8821,
"loc": {
"start": {
"line": 317,
"column": 15
},
"end": {
"line": 317,
"column": 20
},
"identifierName": "_left"
},
"name": "_left"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8822,
"end": 8828,
"loc": {
"start": {
"line": 317,
"column": 21
},
"end": {
"line": 317,
"column": 27
},
"identifierName": "_right"
},
"name": "_right"
},
"computed": false
}
}
}
],
"directives": []
},
"alternate": {
"type": "IfStatement",
"start": 8840,
"end": 8977,
"loc": {
"start": {
"line": 318,
"column": 11
},
"end": {
"line": 322,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 8844,
"end": 8868,
"loc": {
"start": {
"line": 318,
"column": 15
},
"end": {
"line": 318,
"column": 39
}
},
"left": {
"type": "MemberExpression",
"start": 8844,
"end": 8859,
"loc": {
"start": {
"line": 318,
"column": 15
},
"end": {
"line": 318,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 8844,
"end": 8848,
"loc": {
"start": {
"line": 318,
"column": 15
},
"end": {
"line": 318,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 8849,
"end": 8859,
"loc": {
"start": {
"line": 318,
"column": 20
},
"end": {
"line": 318,
"column": 30
},
"identifierName": "_parentSub"
},
"name": "_parentSub"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 8864,
"end": 8868,
"loc": {
"start": {
"line": 318,
"column": 35
},
"end": {
"line": 318,
"column": 39
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 8870,
"end": 8934,
"loc": {
"start": {
"line": 318,
"column": 41
},
"end": {
"line": 320,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 8878,
"end": 8928,
"loc": {
"start": {
"line": 319,
"column": 6
},
"end": {
"line": 319,
"column": 56
}
},
"expression": {
"type": "AssignmentExpression",
"start": 8878,
"end": 8928,
"loc": {
"start": {
"line": 319,
"column": 6
},
"end": {
"line": 319,
"column": 56
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 8878,
"end": 8879,
"loc": {
"start": {
"line": 319,
"column": 6
},
"end": {
"line": 319,
"column": 7
},
"identifierName": "o"
},
"name": "o"
},
"right": {
"type": "LogicalExpression",
"start": 8882,
"end": 8928,
"loc": {
"start": {
"line": 319,
"column": 10
},
"end": {
"line": 319,
"column": 56
}
},
"left": {
"type": "CallExpression",
"start": 8882,
"end": 8920,
"loc": {
"start": {
"line": 319,
"column": 10
},
"end": {
"line": 319,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 8882,
"end": 8903,
"loc": {
"start": {
"line": 319,
"column": 10
},
"end": {
"line": 319,
"column": 31
}
},
"object": {
"type": "MemberExpression",
"start": 8882,
"end": 8899,
"loc": {
"start": {
"line": 319,
"column": 10
},
"end": {
"line": 319,
"column": 27
}
},
"object": {
"type": "MemberExpression",
"start": 8882,
"end": 8894,
"loc": {
"start": {
"line": 319,
"column": 10
},
"end": {
"line": 319,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 8882,
"end": 8886,
"loc": {
"start": {
"line": 319,
"column": 10
},
"end": {
"line": 319,
"column": 14
}
}
},
"property": {
"type": "Identifier",
"start": 8887,
"end": 8894,
"loc": {
"start": {
"line": 319,
"column": 15
},
"end": {
"line": 319,
"column": 22
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8895,
"end": 8899,
"loc": {
"start": {
"line": 319,
"column": 23
},
"end": {
"line": 319,
"column": 27
},
"identifierName": "_map"
},
"name": "_map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8900,
"end": 8903,
"loc": {
"start": {
"line": 319,
"column": 28
},
"end": {
"line": 319,
"column": 31
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 8904,
"end": 8919,
"loc": {
"start": {
"line": 319,
"column": 32
},
"end": {
"line": 319,
"column": 47
}
},
"object": {
"type": "ThisExpression",
"start": 8904,
"end": 8908,
"loc": {
"start": {
"line": 319,
"column": 32
},
"end": {
"line": 319,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 8909,
"end": 8919,
"loc": {
"start": {
"line": 319,
"column": 37
},
"end": {
"line": 319,
"column": 47
},
"identifierName": "_parentSub"
},
"name": "_parentSub"
},
"computed": false
}
]
},
"operator": "||",
"right": {
"type": "NullLiteral",
"start": 8924,
"end": 8928,
"loc": {
"start": {
"line": 319,
"column": 52
},
"end": {
"line": 319,
"column": 56
}
}
}
}
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 8940,
"end": 8977,
"loc": {
"start": {
"line": 320,
"column": 11
},
"end": {
"line": 322,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 8948,
"end": 8971,
"loc": {
"start": {
"line": 321,
"column": 6
},
"end": {
"line": 321,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 8948,
"end": 8971,
"loc": {
"start": {
"line": 321,
"column": 6
},
"end": {
"line": 321,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 8948,
"end": 8949,
"loc": {
"start": {
"line": 321,
"column": 6
},
"end": {
"line": 321,
"column": 7
},
"identifierName": "o"
},
"name": "o"
},
"right": {
"type": "MemberExpression",
"start": 8952,
"end": 8971,
"loc": {
"start": {
"line": 321,
"column": 10
},
"end": {
"line": 321,
"column": 29
}
},
"object": {
"type": "MemberExpression",
"start": 8952,
"end": 8964,
"loc": {
"start": {
"line": 321,
"column": 10
},
"end": {
"line": 321,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 8952,
"end": 8956,
"loc": {
"start": {
"line": 321,
"column": 10
},
"end": {
"line": 321,
"column": 14
}
}
},
"property": {
"type": "Identifier",
"start": 8957,
"end": 8964,
"loc": {
"start": {
"line": 321,
"column": 15
},
"end": {
"line": 321,
"column": 22
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 8965,
"end": 8971,
"loc": {
"start": {
"line": 321,
"column": 23
},
"end": {
"line": 321,
"column": 29
},
"identifierName": "_start"
},
"name": "_start"
},
"computed": false
}
}
}
],
"directives": []
}
},
"leadingComments": [
{
"type": "CommentLine",
"value": " set o to the first conflicting item",
"start": 8731,
"end": 8769,
"loc": {
"start": {
"line": 315,
"column": 4
},
"end": {
"line": 315,
"column": 42
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 8982,
"end": 9014,
"loc": {
"start": {
"line": 323,
"column": 4
},
"end": {
"line": 323,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8986,
"end": 9014,
"loc": {
"start": {
"line": 323,
"column": 8
},
"end": {
"line": 323,
"column": 36
}
},
"id": {
"type": "Identifier",
"start": 8986,
"end": 9002,
"loc": {
"start": {
"line": 323,
"column": 8
},
"end": {
"line": 323,
"column": 24
},
"identifierName": "conflictingItems"
},
"name": "conflictingItems"
},
"init": {
"type": "NewExpression",
"start": 9005,
"end": 9014,
"loc": {
"start": {
"line": 323,
"column": 27
},
"end": {
"line": 323,
"column": 36
}
},
"callee": {
"type": "Identifier",
"start": 9009,
"end": 9012,
"loc": {
"start": {
"line": 323,
"column": 31
},
"end": {
"line": 323,
"column": 34
},
"identifierName": "Set"
},
"name": "Set"
},
"arguments": []
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 9019,
"end": 9052,
"loc": {
"start": {
"line": 324,
"column": 4
},
"end": {
"line": 324,
"column": 37
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9023,
"end": 9052,
"loc": {
"start": {
"line": 324,
"column": 8
},
"end": {
"line": 324,
"column": 37
}
},
"id": {
"type": "Identifier",
"start": 9023,
"end": 9040,
"loc": {
"start": {
"line": 324,
"column": 8
},
"end": {
"line": 324,
"column": 25
},
"identifierName": "itemsBeforeOrigin"
},
"name": "itemsBeforeOrigin"
},
"init": {
"type": "NewExpression",
"start": 9043,
"end": 9052,
"loc": {
"start": {
"line": 324,
"column": 28
},
"end": {
"line": 324,
"column": 37
}
},
"callee": {
"type": "Identifier",
"start": 9047,
"end": 9050,
"loc": {
"start": {
"line": 324,
"column": 32
},
"end": {
"line": 324,
"column": 35
},
"identifierName": "Set"
},
"name": "Set"
},
"arguments": [],
"trailingComments": null
},
"trailingComments": null
}
],
"kind": "let",
"trailingComments": [
{
"type": "CommentLine",
"value": " Let c in conflictingItems, b in itemsBeforeOrigin",
"start": 9057,
"end": 9109,
"loc": {
"start": {
"line": 325,
"column": 4
},
"end": {
"line": 325,
"column": 56
}
}
},
{
"type": "CommentLine",
"value": " ***{origin}bbbb{this}{c,b}{c,b}{o}***",
"start": 9114,
"end": 9154,
"loc": {
"start": {
"line": 326,
"column": 4
},
"end": {
"line": 326,
"column": 44
}
}
},
{
"type": "CommentLine",
"value": " Note that conflictingItems is a subset of itemsBeforeOrigin",
"start": 9159,
"end": 9221,
"loc": {
"start": {
"line": 327,
"column": 4
},
"end": {
"line": 327,
"column": 66
}
}
}
]
},
{
"type": "WhileStatement",
"start": 9226,
"end": 9945,
"loc": {
"start": {
"line": 328,
"column": 4
},
"end": {
"line": 350,
"column": 5
}
},
"test": {
"type": "LogicalExpression",
"start": 9233,
"end": 9264,
"loc": {
"start": {
"line": 328,
"column": 11
},
"end": {
"line": 328,
"column": 42
}
},
"left": {
"type": "BinaryExpression",
"start": 9233,
"end": 9243,
"loc": {
"start": {
"line": 328,
"column": 11
},
"end": {
"line": 328,
"column": 21
}
},
"left": {
"type": "Identifier",
"start": 9233,
"end": 9234,
"loc": {
"start": {
"line": 328,
"column": 11
},
"end": {
"line": 328,
"column": 12
},
"identifierName": "o"
},
"name": "o",
"leadingComments": null
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 9239,
"end": 9243,
"loc": {
"start": {
"line": 328,
"column": 17
},
"end": {
"line": 328,
"column": 21
}
}
},
"leadingComments": null
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 9247,
"end": 9264,
"loc": {
"start": {
"line": 328,
"column": 25
},
"end": {
"line": 328,
"column": 42
}
},
"left": {
"type": "Identifier",
"start": 9247,
"end": 9248,
"loc": {
"start": {
"line": 328,
"column": 25
},
"end": {
"line": 328,
"column": 26
},
"identifierName": "o"
},
"name": "o"
},
"operator": "!==",
"right": {
"type": "MemberExpression",
"start": 9253,
"end": 9264,
"loc": {
"start": {
"line": 328,
"column": 31
},
"end": {
"line": 328,
"column": 42
}
},
"object": {
"type": "ThisExpression",
"start": 9253,
"end": 9257,
"loc": {
"start": {
"line": 328,
"column": 31
},
"end": {
"line": 328,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"start": 9258,
"end": 9264,
"loc": {
"start": {
"line": 328,
"column": 36
},
"end": {
"line": 328,
"column": 42
},
"identifierName": "_right"
},
"name": "_right"
},
"computed": false
}
},
"leadingComments": null
},
"body": {
"type": "BlockStatement",
"start": 9266,
"end": 9945,
"loc": {
"start": {
"line": 328,
"column": 44
},
"end": {
"line": 350,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 9274,
"end": 9298,
"loc": {
"start": {
"line": 329,
"column": 6
},
"end": {
"line": 329,
"column": 30
}
},
"expression": {
"type": "CallExpression",
"start": 9274,
"end": 9298,
"loc": {
"start": {
"line": 329,
"column": 6
},
"end": {
"line": 329,
"column": 30
}
},
"callee": {
"type": "MemberExpression",
"start": 9274,
"end": 9295,
"loc": {
"start": {
"line": 329,
"column": 6
},
"end": {
"line": 329,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 9274,
"end": 9291,
"loc": {
"start": {
"line": 329,
"column": 6
},
"end": {
"line": 329,
"column": 23
},
"identifierName": "itemsBeforeOrigin"
},
"name": "itemsBeforeOrigin"
},
"property": {
"type": "Identifier",
"start": 9292,
"end": 9295,
"loc": {
"start": {
"line": 329,
"column": 24
},
"end": {
"line": 329,
"column": 27
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 9296,
"end": 9297,
"loc": {
"start": {
"line": 329,
"column": 28
},
"end": {
"line": 329,
"column": 29
},
"identifierName": "o"
},
"name": "o"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 9305,
"end": 9328,
"loc": {
"start": {
"line": 330,
"column": 6
},
"end": {
"line": 330,
"column": 29
}
},
"expression": {
"type": "CallExpression",
"start": 9305,
"end": 9328,
"loc": {
"start": {
"line": 330,
"column": 6
},
"end": {
"line": 330,
"column": 29
}
},
"callee": {
"type": "MemberExpression",
"start": 9305,
"end": 9325,
"loc": {
"start": {
"line": 330,
"column": 6
},
"end": {
"line": 330,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 9305,
"end": 9321,
"loc": {
"start": {
"line": 330,
"column": 6
},
"end": {
"line": 330,
"column": 22
},
"identifierName": "conflictingItems"
},
"name": "conflictingItems"
},
"property": {
"type": "Identifier",
"start": 9322,
"end": 9325,
"loc": {
"start": {
"line": 330,
"column": 23
},
"end": {
"line": 330,
"column": 26
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 9326,
"end": 9327,
"loc": {
"start": {
"line": 330,
"column": 27
},
"end": {
"line": 330,
"column": 28
},
"identifierName": "o"
},
"name": "o"
}
]
}
},
{
"type": "IfStatement",
"start": 9335,
"end": 9724,
"loc": {
"start": {
"line": 331,
"column": 6
},
"end": {
"line": 345,
"column": 7
}
},
"test": {
"type": "BinaryExpression",
"start": 9339,
"end": 9365,
"loc": {
"start": {
"line": 331,
"column": 10
},
"end": {
"line": 331,
"column": 36
}
},
"left": {
"type": "MemberExpression",
"start": 9339,
"end": 9351,
"loc": {
"start": {
"line": 331,
"column": 10
},
"end": {
"line": 331,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 9339,
"end": 9343,
"loc": {
"start": {
"line": 331,
"column": 10
},
"end": {
"line": 331,
"column": 14
}
}
},
"property": {
"type": "Identifier",
"start": 9344,
"end": 9351,
"loc": {
"start": {
"line": 331,
"column": 15
},
"end": {
"line": 331,
"column": 22
},
"identifierName": "_origin"
},
"name": "_origin"
},
"computed": false
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 9356,
"end": 9365,
"loc": {
"start": {
"line": 331,
"column": 27
},
"end": {
"line": 331,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 9356,
"end": 9357,
"loc": {
"start": {
"line": 331,
"column": 27
},
"end": {
"line": 331,
"column": 28
},
"identifierName": "o"
},
"name": "o"
},
"property": {
"type": "Identifier",
"start": 9358,
"end": 9365,
"loc": {
"start": {
"line": 331,
"column": 29
},
"end": {
"line": 331,
"column": 36
},
"identifierName": "_origin"
},
"name": "_origin"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 9367,
"end": 9506,
"loc": {
"start": {
"line": 331,
"column": 38
},
"end": {
"line": 337,
"column": 7
}
},
"body": [
{
"type": "IfStatement",
"start": 9395,
"end": 9498,
"loc": {
"start": {
"line": 333,
"column": 8
},
"end": {
"line": 336,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 9399,
"end": 9425,
"loc": {
"start": {
"line": 333,
"column": 12
},
"end": {
"line": 333,
"column": 38
}
},
"left": {
"type": "MemberExpression",
"start": 9399,
"end": 9409,
"loc": {
"start": {
"line": 333,
"column": 12
},
"end": {
"line": 333,
"column": 22
}
},
"object": {
"type": "MemberExpression",
"start": 9399,
"end": 9404,
"loc": {
"start": {
"line": 333,
"column": 12
},
"end": {
"line": 333,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 9399,
"end": 9400,
"loc": {
"start": {
"line": 333,
"column": 12
},
"end": {
"line": 333,
"column": 13
},
"identifierName": "o"
},
"name": "o",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 9401,
"end": 9404,
"loc": {
"start": {
"line": 333,
"column": 14
},
"end": {
"line": 333,
"column": 17
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 9405,
"end": 9409,
"loc": {
"start": {
"line": 333,
"column": 18
},
"end": {
"line": 333,
"column": 22
},
"identifierName": "user"
},
"name": "user"
},
"computed": false,
"leadingComments": null
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 9412,
"end": 9425,
"loc": {
"start": {
"line": 333,
"column": 25
},
"end": {
"line": 333,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 9412,
"end": 9420,
"loc": {
"start": {
"line": 333,
"column": 25
},
"end": {
"line": 333,
"column": 33
}
},
"object": {
"type": "ThisExpression",
"start": 9412,
"end": 9416,
"loc": {
"start": {
"line": 333,
"column": 25
},
"end": {
"line": 333,
"column": 29
}
}
},
"property": {
"type": "Identifier",
"start": 9417,
"end": 9420,
"loc": {
"start": {
"line": 333,
"column": 30
},
"end": {
"line": 333,
"column": 33
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 9421,
"end": 9425,
"loc": {
"start": {
"line": 333,
"column": 34
},
"end": {
"line": 333,
"column": 38
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 9427,
"end": 9498,
"loc": {
"start": {
"line": 333,
"column": 40
},
"end": {
"line": 336,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 9439,
"end": 9453,
"loc": {
"start": {
"line": 334,
"column": 10
},
"end": {
"line": 334,
"column": 24
}
},
"expression": {
"type": "AssignmentExpression",
"start": 9439,
"end": 9453,
"loc": {
"start": {
"line": 334,
"column": 10
},
"end": {
"line": 334,
"column": 24
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 9439,
"end": 9449,
"loc": {
"start": {
"line": 334,
"column": 10
},
"end": {
"line": 334,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 9439,
"end": 9443,
"loc": {
"start": {
"line": 334,
"column": 10
},
"end": {
"line": 334,
"column": 14
}
}
},
"property": {
"type": "Identifier",
"start": 9444,
"end": 9449,
"loc": {
"start": {
"line": 334,
"column": 15
},
"end": {
"line": 334,
"column": 20
},
"identifierName": "_left"
},
"name": "_left"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 9452,
"end": 9453,
"loc": {
"start": {
"line": 334,
"column": 23
},
"end": {
"line": 334,
"column": 24
},
"identifierName": "o"
},
"name": "o"
}
}
},
{
"type": "ExpressionStatement",
"start": 9464,
"end": 9488,
"loc": {
"start": {
"line": 335,
"column": 10
},
"end": {
"line": 335,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 9464,
"end": 9488,
"loc": {
"start": {
"line": 335,
"column": 10
},
"end": {
"line": 335,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 9464,
"end": 9486,
"loc": {
"start": {
"line": 335,
"column": 10
},
"end": {
"line": 335,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 9464,
"end": 9480,
"loc": {
"start": {
"line": 335,
"column": 10
},
"end": {
"line": 335,
"column": 26
},
"identifierName": "conflictingItems"
},
"name": "conflictingItems"
},
"property": {
"type": "Identifier",
"start": 9481,
"end": 9486,
"loc": {
"start": {
"line": 335,
"column": 27
},
"end": {
"line": 335,
"column": 32
},
"identifierName": "clear"
},
"name": "clear"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " case 1",
"start": 9377,
"end": 9386,
"loc": {
"start": {
"line": 332,
"column": 8
},
"end": {
"line": 332,
"column": 17
}
}
}
]
}
],
"directives": []
},
"alternate": {
"type": "IfStatement",
"start": 9512,
"end": 9724,
"loc": {
"start": {
"line": 337,
"column": 13
},
"end": {
"line": 345,
"column": 7
}
},
"test": {
"type": "CallExpression",
"start": 9516,
"end": 9548,
"loc": {
"start": {
"line": 337,
"column": 17
},
"end": {
"line": 337,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
"start": 9516,
"end": 9537,
"loc": {
"start": {
"line": 337,
"column": 17
},
"end": {
"line": 337,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 9516,
"end": 9533,
"loc": {
"start": {
"line": 337,
"column": 17
},
"end": {
"line": 337,
"column": 34
},
"identifierName": "itemsBeforeOrigin"
},
"name": "itemsBeforeOrigin"
},
"property": {
"type": "Identifier",
"start": 9534,
"end": 9537,
"loc": {
"start": {
"line": 337,
"column": 35
},
"end": {
"line": 337,
"column": 38
},
"identifierName": "has"
},
"name": "has"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 9538,
"end": 9547,
"loc": {
"start": {
"line": 337,
"column": 39
},
"end": {
"line": 337,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 9538,
"end": 9539,
"loc": {
"start": {
"line": 337,
"column": 39
},
"end": {
"line": 337,
"column": 40
},
"identifierName": "o"
},
"name": "o"
},
"property": {
"type": "Identifier",
"start": 9540,
"end": 9547,
"loc": {
"start": {
"line": 337,
"column": 41
},
"end": {
"line": 337,
"column": 48
},
"identifierName": "_origin"
},
"name": "_origin"
},
"computed": false
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 9550,
"end": 9695,
"loc": {
"start": {
"line": 337,
"column": 51
},
"end": {
"line": 343,
"column": 7
}
},
"body": [
{
"type": "IfStatement",
"start": 9578,
"end": 9687,
"loc": {
"start": {
"line": 339,
"column": 8
},
"end": {
"line": 342,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 9582,
"end": 9614,
"loc": {
"start": {
"line": 339,
"column": 12
},
"end": {
"line": 339,
"column": 44
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 9583,
"end": 9614,
"loc": {
"start": {
"line": 339,
"column": 13
},
"end": {
"line": 339,
"column": 44
}
},
"callee": {
"type": "MemberExpression",
"start": 9583,
"end": 9603,
"loc": {
"start": {
"line": 339,
"column": 13
},
"end": {
"line": 339,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 9583,
"end": 9599,
"loc": {
"start": {
"line": 339,
"column": 13
},
"end": {
"line": 339,
"column": 29
},
"identifierName": "conflictingItems"
},
"name": "conflictingItems",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 9600,
"end": 9603,
"loc": {
"start": {
"line": 339,
"column": 30
},
"end": {
"line": 339,
"column": 33
},
"identifierName": "has"
},
"name": "has"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "MemberExpression",
"start": 9604,
"end": 9613,
"loc": {
"start": {
"line": 339,
"column": 34
},
"end": {
"line": 339,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 9604,
"end": 9605,
"loc": {
"start": {
"line": 339,
"column": 34
},
"end": {
"line": 339,
"column": 35
},
"identifierName": "o"
},
"name": "o"
},
"property": {
"type": "Identifier",
"start": 9606,
"end": 9613,
"loc": {
"start": {
"line": 339,
"column": 36
},
"end": {
"line": 339,
"column": 43
},
"identifierName": "_origin"
},
"name": "_origin"
},
"computed": false
}
],
"leadingComments": null
},
"extra": {
"parenthesizedArgument": false
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 9616,
"end": 9687,
"loc": {
"start": {
"line": 339,
"column": 46
},
"end": {
"line": 342,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 9628,
"end": 9642,
"loc": {
"start": {
"line": 340,
"column": 10
},
"end": {
"line": 340,
"column": 24
}
},
"expression": {
"type": "AssignmentExpression",
"start": 9628,
"end": 9642,
"loc": {
"start": {
"line": 340,
"column": 10
},
"end": {
"line": 340,
"column": 24
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 9628,
"end": 9638,
"loc": {
"start": {
"line": 340,
"column": 10
},
"end": {
"line": 340,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 9628,
"end": 9632,
"loc": {
"start": {
"line": 340,
"column": 10
},
"end": {
"line": 340,
"column": 14
}
}
},
"property": {
"type": "Identifier",
"start": 9633,
"end": 9638,
"loc": {
"start": {
"line": 340,
"column": 15
},
"end": {
"line": 340,
"column": 20
},
"identifierName": "_left"
},
"name": "_left"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 9641,
"end": 9642,
"loc": {
"start": {
"line": 340,
"column": 23
},
"end": {
"line": 340,
"column": 24
},
"identifierName": "o"
},
"name": "o"
}
}
},
{
"type": "ExpressionStatement",
"start": 9653,
"end": 9677,
"loc": {
"start": {
"line": 341,
"column": 10
},
"end": {
"line": 341,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 9653,
"end": 9677,
"loc": {
"start": {
"line": 341,
"column": 10
},
"end": {
"line": 341,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 9653,
"end": 9675,
"loc": {
"start": {
"line": 341,
"column": 10
},
"end": {
"line": 341,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 9653,
"end": 9669,
"loc": {
"start": {
"line": 341,
"column": 10
},
"end": {
"line": 341,
"column": 26
},
"identifierName": "conflictingItems"
},
"name": "conflictingItems"
},
"property": {
"type": "Identifier",
"start": 9670,
"end": 9675,
"loc": {
"start": {
"line": 341,
"column": 27
},
"end": {
"line": 341,
"column": 32
},
"identifierName": "clear"
},
"name": "clear"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " case 2",
"start": 9560,
"end": 9569,
"loc": {
"start": {
"line": 338,
"column": 8
},
"end": {
"line": 338,
"column": 17
}
}
}
]
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 9701,
"end": 9724,
"loc": {
"start": {
"line": 343,
"column": 13
},
"end": {
"line": 345,
"column": 7
}
},
"body": [
{
"type": "BreakStatement",
"start": 9711,
"end": 9716,
"loc": {
"start": {
"line": 344,
"column": 8
},
"end": {
"line": 344,
"column": 13
}
},
"label": null
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " TODO: try to use right_origin instead.",
"start": 9731,
"end": 9772,
"loc": {
"start": {
"line": 346,
"column": 6
},
"end": {
"line": 346,
"column": 47
}
}
},
{
"type": "CommentLine",
"value": " Then you could basically omit conflictingItems!",
"start": 9779,
"end": 9829,
"loc": {
"start": {
"line": 347,
"column": 6
},
"end": {
"line": 347,
"column": 56
}
}
},
{
"type": "CommentLine",
"value": " Note: you probably can't use right_origin in every case.. only when setting _left",
"start": 9836,
"end": 9920,
"loc": {
"start": {
"line": 348,
"column": 6
},
"end": {
"line": 348,
"column": 90
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 9927,
"end": 9939,
"loc": {
"start": {
"line": 349,
"column": 6
},
"end": {
"line": 349,
"column": 18
}
},
"expression": {
"type": "AssignmentExpression",
"start": 9927,
"end": 9939,
"loc": {
"start": {
"line": 349,
"column": 6
},
"end": {
"line": 349,
"column": 18
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 9927,
"end": 9928,
"loc": {
"start": {
"line": 349,
"column": 6
},
"end": {
"line": 349,
"column": 7
},
"identifierName": "o"
},
"name": "o",
"leadingComments": null
},
"right": {
"type": "MemberExpression",
"start": 9931,
"end": 9939,
"loc": {
"start": {
"line": 349,
"column": 10
},
"end": {
"line": 349,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 9931,
"end": 9932,
"loc": {
"start": {
"line": 349,
"column": 10
},
"end": {
"line": 349,
"column": 11
},
"identifierName": "o"
},
"name": "o"
},
"property": {
"type": "Identifier",
"start": 9933,
"end": 9939,
"loc": {
"start": {
"line": 349,
"column": 12
},
"end": {
"line": 349,
"column": 18
},
"identifierName": "_right"
},
"name": "_right"
},
"computed": false
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " TODO: try to use right_origin instead.",
"start": 9731,
"end": 9772,
"loc": {
"start": {
"line": 346,
"column": 6
},
"end": {
"line": 346,
"column": 47
}
}
},
{
"type": "CommentLine",
"value": " Then you could basically omit conflictingItems!",
"start": 9779,
"end": 9829,
"loc": {
"start": {
"line": 347,
"column": 6
},
"end": {
"line": 347,
"column": 56
}
}
},
{
"type": "CommentLine",
"value": " Note: you probably can't use right_origin in every case.. only when setting _left",
"start": 9836,
"end": 9920,
"loc": {
"start": {
"line": 348,
"column": 6
},
"end": {
"line": 348,
"column": 90
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Let c in conflictingItems, b in itemsBeforeOrigin",
"start": 9057,
"end": 9109,
"loc": {
"start": {
"line": 325,
"column": 4
},
"end": {
"line": 325,
"column": 56
}
}
},
{
"type": "CommentLine",
"value": " ***{origin}bbbb{this}{c,b}{c,b}{o}***",
"start": 9114,
"end": 9154,
"loc": {
"start": {
"line": 326,
"column": 4
},
"end": {
"line": 326,
"column": 44
}
}
},
{
"type": "CommentLine",
"value": " Note that conflictingItems is a subset of itemsBeforeOrigin",
"start": 9159,
"end": 9221,
"loc": {
"start": {
"line": 327,
"column": 4
},
"end": {
"line": 327,
"column": 66
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " reconnect left/right + update parent map/start if necessary",
"start": 9950,
"end": 10012,
"loc": {
"start": {
"line": 351,
"column": 4
},
"end": {
"line": 351,
"column": 66
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 10017,
"end": 10050,
"loc": {
"start": {
"line": 352,
"column": 4
},
"end": {
"line": 352,
"column": 37
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 10023,
"end": 10050,
"loc": {
"start": {
"line": 352,
"column": 10
},
"end": {
"line": 352,
"column": 37
}
},
"id": {
"type": "Identifier",
"start": 10023,
"end": 10032,
"loc": {
"start": {
"line": 352,
"column": 10
},
"end": {
"line": 352,
"column": 19
},
"identifierName": "parentSub"
},
"name": "parentSub",
"leadingComments": null
},
"init": {
"type": "MemberExpression",
"start": 10035,
"end": 10050,
"loc": {
"start": {
"line": 352,
"column": 22
},
"end": {
"line": 352,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 10035,
"end": 10039,
"loc": {
"start": {
"line": 352,
"column": 22
},
"end": {
"line": 352,
"column": 26
}
}
},
"property": {
"type": "Identifier",
"start": 10040,
"end": 10050,
"loc": {
"start": {
"line": 352,
"column": 27
},
"end": {
"line": 352,
"column": 37
},
"identifierName": "_parentSub"
},
"name": "_parentSub"
},
"computed": false
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " reconnect left/right + update parent map/start if necessary",
"start": 9950,
"end": 10012,
"loc": {
"start": {
"line": 351,
"column": 4
},
"end": {
"line": 351,
"column": 66
}
}
}
]
},
{
"type": "IfStatement",
"start": 10055,
"end": 10606,
"loc": {
"start": {
"line": 353,
"column": 4
},
"end": {
"line": 375,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 10059,
"end": 10078,
"loc": {
"start": {
"line": 353,
"column": 8
},
"end": {
"line": 353,
"column": 27
}
},
"left": {
"type": "MemberExpression",
"start": 10059,
"end": 10069,
"loc": {
"start": {
"line": 353,
"column": 8
},
"end": {
"line": 353,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 10059,
"end": 10063,
"loc": {
"start": {
"line": 353,
"column": 8
},
"end": {
"line": 353,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 10064,
"end": 10069,
"loc": {
"start": {
"line": 353,
"column": 13
},
"end": {
"line": 353,
"column": 18
},
"identifierName": "_left"
},
"name": "_left"
},
"computed": false
},
"operator": "===",
"right": {
"type": "NullLiteral",
"start": 10074,
"end": 10078,
"loc": {
"start": {
"line": 353,
"column": 23
},
"end": {
"line": 353,
"column": 27
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 10080,
"end": 10417,
"loc": {
"start": {
"line": 353,
"column": 29
},
"end": {
"line": 367,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 10088,
"end": 10097,
"loc": {
"start": {
"line": 354,
"column": 6
},
"end": {
"line": 354,
"column": 15
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 10092,
"end": 10097,
"loc": {
"start": {
"line": 354,
"column": 10
},
"end": {
"line": 354,
"column": 15
}
},
"id": {
"type": "Identifier",
"start": 10092,
"end": 10097,
"loc": {
"start": {
"line": 354,
"column": 10
},
"end": {
"line": 354,
"column": 15
},
"identifierName": "right"
},
"name": "right"
},
"init": null
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 10104,
"end": 10322,
"loc": {
"start": {
"line": 355,
"column": 6
},
"end": {
"line": 362,
"column": 7
}
},
"test": {
"type": "BinaryExpression",
"start": 10108,
"end": 10126,
"loc": {
"start": {
"line": 355,
"column": 10
},
"end": {
"line": 355,
"column": 28
}
},
"left": {
"type": "Identifier",
"start": 10108,
"end": 10117,
"loc": {
"start": {
"line": 355,
"column": 10
},
"end": {
"line": 355,
"column": 19
},
"identifierName": "parentSub"
},
"name": "parentSub"
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 10122,
"end": 10126,
"loc": {
"start": {
"line": 355,
"column": 24
},
"end": {
"line": 355,
"column": 28
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 10128,
"end": 10248,
"loc": {
"start": {
"line": 355,
"column": 30
},
"end": {
"line": 359,
"column": 7
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 10138,
"end": 10162,
"loc": {
"start": {
"line": 356,
"column": 8
},
"end": {
"line": 356,
"column": 32
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 10144,
"end": 10162,
"loc": {
"start": {
"line": 356,
"column": 14
},
"end": {
"line": 356,
"column": 32
}
},
"id": {
"type": "Identifier",
"start": 10144,
"end": 10148,
"loc": {
"start": {
"line": 356,
"column": 14
},
"end": {
"line": 356,
"column": 18
},
"identifierName": "pmap"
},
"name": "pmap"
},
"init": {
"type": "MemberExpression",
"start": 10151,
"end": 10162,
"loc": {
"start": {
"line": 356,
"column": 21
},
"end": {
"line": 356,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 10151,
"end": 10157,
"loc": {
"start": {
"line": 356,
"column": 21
},
"end": {
"line": 356,
"column": 27
},
"identifierName": "parent"
},
"name": "parent"
},
"property": {
"type": "Identifier",
"start": 10158,
"end": 10162,
"loc": {
"start": {
"line": 356,
"column": 28
},
"end": {
"line": 356,
"column": 32
},
"identifierName": "_map"
},
"name": "_map"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 10171,
"end": 10206,
"loc": {
"start": {
"line": 357,
"column": 8
},
"end": {
"line": 357,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10171,
"end": 10206,
"loc": {
"start": {
"line": 357,
"column": 8
},
"end": {
"line": 357,
"column": 43
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 10171,
"end": 10176,
"loc": {
"start": {
"line": 357,
"column": 8
},
"end": {
"line": 357,
"column": 13
},
"identifierName": "right"
},
"name": "right"
},
"right": {
"type": "LogicalExpression",
"start": 10179,
"end": 10206,
"loc": {
"start": {
"line": 357,
"column": 16
},
"end": {
"line": 357,
"column": 43
}
},
"left": {
"type": "CallExpression",
"start": 10179,
"end": 10198,
"loc": {
"start": {
"line": 357,
"column": 16
},
"end": {
"line": 357,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 10179,
"end": 10187,
"loc": {
"start": {
"line": 357,
"column": 16
},
"end": {
"line": 357,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 10179,
"end": 10183,
"loc": {
"start": {
"line": 357,
"column": 16
},
"end": {
"line": 357,
"column": 20
},
"identifierName": "pmap"
},
"name": "pmap"
},
"property": {
"type": "Identifier",
"start": 10184,
"end": 10187,
"loc": {
"start": {
"line": 357,
"column": 21
},
"end": {
"line": 357,
"column": 24
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 10188,
"end": 10197,
"loc": {
"start": {
"line": 357,
"column": 25
},
"end": {
"line": 357,
"column": 34
},
"identifierName": "parentSub"
},
"name": "parentSub"
}
]
},
"operator": "||",
"right": {
"type": "NullLiteral",
"start": 10202,
"end": 10206,
"loc": {
"start": {
"line": 357,
"column": 39
},
"end": {
"line": 357,
"column": 43
}
}
}
}
}
},
{
"type": "ExpressionStatement",
"start": 10215,
"end": 10240,
"loc": {
"start": {
"line": 358,
"column": 8
},
"end": {
"line": 358,
"column": 33
}
},
"expression": {
"type": "CallExpression",
"start": 10215,
"end": 10240,
"loc": {
"start": {
"line": 358,
"column": 8
},
"end": {
"line": 358,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 10215,
"end": 10223,
"loc": {
"start": {
"line": 358,
"column": 8
},
"end": {
"line": 358,
"column": 16
}
},
"object": {
"type": "Identifier",
"start": 10215,
"end": 10219,
"loc": {
"start": {
"line": 358,
"column": 8
},
"end": {
"line": 358,
"column": 12
},
"identifierName": "pmap"
},
"name": "pmap"
},
"property": {
"type": "Identifier",
"start": 10220,
"end": 10223,
"loc": {
"start": {
"line": 358,
"column": 13
},
"end": {
"line": 358,
"column": 16
},
"identifierName": "set"
},
"name": "set"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 10224,
"end": 10233,
"loc": {
"start": {
"line": 358,
"column": 17
},
"end": {
"line": 358,
"column": 26
},
"identifierName": "parentSub"
},
"name": "parentSub"
},
{
"type": "ThisExpression",
"start": 10235,
"end": 10239,
"loc": {
"start": {
"line": 358,
"column": 28
},
"end": {
"line": 358,
"column": 32
}
}
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 10254,
"end": 10322,
"loc": {
"start": {
"line": 359,
"column": 13
},
"end": {
"line": 362,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 10264,
"end": 10285,
"loc": {
"start": {
"line": 360,
"column": 8
},
"end": {
"line": 360,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10264,
"end": 10285,
"loc": {
"start": {
"line": 360,
"column": 8
},
"end": {
"line": 360,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 10264,
"end": 10269,
"loc": {
"start": {
"line": 360,
"column": 8
},
"end": {
"line": 360,
"column": 13
},
"identifierName": "right"
},
"name": "right"
},
"right": {
"type": "MemberExpression",
"start": 10272,
"end": 10285,
"loc": {
"start": {
"line": 360,
"column": 16
},
"end": {
"line": 360,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 10272,
"end": 10278,
"loc": {
"start": {
"line": 360,
"column": 16
},
"end": {
"line": 360,
"column": 22
},
"identifierName": "parent"
},
"name": "parent"
},
"property": {
"type": "Identifier",
"start": 10279,
"end": 10285,
"loc": {
"start": {
"line": 360,
"column": 23
},
"end": {
"line": 360,
"column": 29
},
"identifierName": "_start"
},
"name": "_start"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 10294,
"end": 10314,
"loc": {
"start": {
"line": 361,
"column": 8
},
"end": {
"line": 361,
"column": 28
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10294,
"end": 10314,
"loc": {
"start": {
"line": 361,
"column": 8
},
"end": {
"line": 361,
"column": 28
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10294,
"end": 10307,
"loc": {
"start": {
"line": 361,
"column": 8
},
"end": {
"line": 361,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 10294,
"end": 10300,
"loc": {
"start": {
"line": 361,
"column": 8
},
"end": {
"line": 361,
"column": 14
},
"identifierName": "parent"
},
"name": "parent"
},
"property": {
"type": "Identifier",
"start": 10301,
"end": 10307,
"loc": {
"start": {
"line": 361,
"column": 15
},
"end": {
"line": 361,
"column": 21
},
"identifierName": "_start"
},
"name": "_start"
},
"computed": false
},
"right": {
"type": "ThisExpression",
"start": 10310,
"end": 10314,
"loc": {
"start": {
"line": 361,
"column": 24
},
"end": {
"line": 361,
"column": 28
}
}
}
}
}
],
"directives": []
}
},
{
"type": "ExpressionStatement",
"start": 10329,
"end": 10348,
"loc": {
"start": {
"line": 363,
"column": 6
},
"end": {
"line": 363,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10329,
"end": 10348,
"loc": {
"start": {
"line": 363,
"column": 6
},
"end": {
"line": 363,
"column": 25
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10329,
"end": 10340,
"loc": {
"start": {
"line": 363,
"column": 6
},
"end": {
"line": 363,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 10329,
"end": 10333,
"loc": {
"start": {
"line": 363,
"column": 6
},
"end": {
"line": 363,
"column": 10
}
}
},
"property": {
"type": "Identifier",
"start": 10334,
"end": 10340,
"loc": {
"start": {
"line": 363,
"column": 11
},
"end": {
"line": 363,
"column": 17
},
"identifierName": "_right"
},
"name": "_right"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 10343,
"end": 10348,
"loc": {
"start": {
"line": 363,
"column": 20
},
"end": {
"line": 363,
"column": 25
},
"identifierName": "right"
},
"name": "right"
}
}
},
{
"type": "IfStatement",
"start": 10355,
"end": 10411,
"loc": {
"start": {
"line": 364,
"column": 6
},
"end": {
"line": 366,
"column": 7
}
},
"test": {
"type": "BinaryExpression",
"start": 10359,
"end": 10373,
"loc": {
"start": {
"line": 364,
"column": 10
},
"end": {
"line": 364,
"column": 24
}
},
"left": {
"type": "Identifier",
"start": 10359,
"end": 10364,
"loc": {
"start": {
"line": 364,
"column": 10
},
"end": {
"line": 364,
"column": 15
},
"identifierName": "right"
},
"name": "right"
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 10369,
"end": 10373,
"loc": {
"start": {
"line": 364,
"column": 20
},
"end": {
"line": 364,
"column": 24
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 10375,
"end": 10411,
"loc": {
"start": {
"line": 364,
"column": 26
},
"end": {
"line": 366,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 10385,
"end": 10403,
"loc": {
"start": {
"line": 365,
"column": 8
},
"end": {
"line": 365,
"column": 26
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10385,
"end": 10403,
"loc": {
"start": {
"line": 365,
"column": 8
},
"end": {
"line": 365,
"column": 26
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10385,
"end": 10396,
"loc": {
"start": {
"line": 365,
"column": 8
},
"end": {
"line": 365,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 10385,
"end": 10390,
"loc": {
"start": {
"line": 365,
"column": 8
},
"end": {
"line": 365,
"column": 13
},
"identifierName": "right"
},
"name": "right"
},
"property": {
"type": "Identifier",
"start": 10391,
"end": 10396,
"loc": {
"start": {
"line": 365,
"column": 14
},
"end": {
"line": 365,
"column": 19
},
"identifierName": "_left"
},
"name": "_left"
},
"computed": false
},
"right": {
"type": "ThisExpression",
"start": 10399,
"end": 10403,
"loc": {
"start": {
"line": 365,
"column": 22
},
"end": {
"line": 365,
"column": 26
}
}
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 10423,
"end": 10606,
"loc": {
"start": {
"line": 367,
"column": 11
},
"end": {
"line": 375,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 10431,
"end": 10454,
"loc": {
"start": {
"line": 368,
"column": 6
},
"end": {
"line": 368,
"column": 29
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 10437,
"end": 10454,
"loc": {
"start": {
"line": 368,
"column": 12
},
"end": {
"line": 368,
"column": 29
}
},
"id": {
"type": "Identifier",
"start": 10437,
"end": 10441,
"loc": {
"start": {
"line": 368,
"column": 12
},
"end": {
"line": 368,
"column": 16
},
"identifierName": "left"
},
"name": "left"
},
"init": {
"type": "MemberExpression",
"start": 10444,
"end": 10454,
"loc": {
"start": {
"line": 368,
"column": 19
},
"end": {
"line": 368,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 10444,
"end": 10448,
"loc": {
"start": {
"line": 368,
"column": 19
},
"end": {
"line": 368,
"column": 23
}
}
},
"property": {
"type": "Identifier",
"start": 10449,
"end": 10454,
"loc": {
"start": {
"line": 368,
"column": 24
},
"end": {
"line": 368,
"column": 29
},
"identifierName": "_left"
},
"name": "_left"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 10461,
"end": 10486,
"loc": {
"start": {
"line": 369,
"column": 6
},
"end": {
"line": 369,
"column": 31
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 10467,
"end": 10486,
"loc": {
"start": {
"line": 369,
"column": 12
},
"end": {
"line": 369,
"column": 31
}
},
"id": {
"type": "Identifier",
"start": 10467,
"end": 10472,
"loc": {
"start": {
"line": 369,
"column": 12
},
"end": {
"line": 369,
"column": 17
},
"identifierName": "right"
},
"name": "right"
},
"init": {
"type": "MemberExpression",
"start": 10475,
"end": 10486,
"loc": {
"start": {
"line": 369,
"column": 20
},
"end": {
"line": 369,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 10475,
"end": 10479,
"loc": {
"start": {
"line": 369,
"column": 20
},
"end": {
"line": 369,
"column": 24
},
"identifierName": "left"
},
"name": "left"
},
"property": {
"type": "Identifier",
"start": 10480,
"end": 10486,
"loc": {
"start": {
"line": 369,
"column": 25
},
"end": {
"line": 369,
"column": 31
},
"identifierName": "_right"
},
"name": "_right"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 10493,
"end": 10512,
"loc": {
"start": {
"line": 370,
"column": 6
},
"end": {
"line": 370,
"column": 25
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10493,
"end": 10512,
"loc": {
"start": {
"line": 370,
"column": 6
},
"end": {
"line": 370,
"column": 25
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10493,
"end": 10504,
"loc": {
"start": {
"line": 370,
"column": 6
},
"end": {
"line": 370,
"column": 17
}
},
"object": {
"type": "ThisExpression",
"start": 10493,
"end": 10497,
"loc": {
"start": {
"line": 370,
"column": 6
},
"end": {
"line": 370,
"column": 10
}
}
},
"property": {
"type": "Identifier",
"start": 10498,
"end": 10504,
"loc": {
"start": {
"line": 370,
"column": 11
},
"end": {
"line": 370,
"column": 17
},
"identifierName": "_right"
},
"name": "_right"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 10507,
"end": 10512,
"loc": {
"start": {
"line": 370,
"column": 20
},
"end": {
"line": 370,
"column": 25
},
"identifierName": "right"
},
"name": "right"
}
}
},
{
"type": "ExpressionStatement",
"start": 10519,
"end": 10537,
"loc": {
"start": {
"line": 371,
"column": 6
},
"end": {
"line": 371,
"column": 24
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10519,
"end": 10537,
"loc": {
"start": {
"line": 371,
"column": 6
},
"end": {
"line": 371,
"column": 24
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10519,
"end": 10530,
"loc": {
"start": {
"line": 371,
"column": 6
},
"end": {
"line": 371,
"column": 17
}
},
"object": {
"type": "Identifier",
"start": 10519,
"end": 10523,
"loc": {
"start": {
"line": 371,
"column": 6
},
"end": {
"line": 371,
"column": 10
},
"identifierName": "left"
},
"name": "left"
},
"property": {
"type": "Identifier",
"start": 10524,
"end": 10530,
"loc": {
"start": {
"line": 371,
"column": 11
},
"end": {
"line": 371,
"column": 17
},
"identifierName": "_right"
},
"name": "_right"
},
"computed": false
},
"right": {
"type": "ThisExpression",
"start": 10533,
"end": 10537,
"loc": {
"start": {
"line": 371,
"column": 20
},
"end": {
"line": 371,
"column": 24
}
}
}
}
},
{
"type": "IfStatement",
"start": 10544,
"end": 10600,
"loc": {
"start": {
"line": 372,
"column": 6
},
"end": {
"line": 374,
"column": 7
}
},
"test": {
"type": "BinaryExpression",
"start": 10548,
"end": 10562,
"loc": {
"start": {
"line": 372,
"column": 10
},
"end": {
"line": 372,
"column": 24
}
},
"left": {
"type": "Identifier",
"start": 10548,
"end": 10553,
"loc": {
"start": {
"line": 372,
"column": 10
},
"end": {
"line": 372,
"column": 15
},
"identifierName": "right"
},
"name": "right"
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 10558,
"end": 10562,
"loc": {
"start": {
"line": 372,
"column": 20
},
"end": {
"line": 372,
"column": 24
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 10564,
"end": 10600,
"loc": {
"start": {
"line": 372,
"column": 26
},
"end": {
"line": 374,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 10574,
"end": 10592,
"loc": {
"start": {
"line": 373,
"column": 8
},
"end": {
"line": 373,
"column": 26
}
},
"expression": {
"type": "AssignmentExpression",
"start": 10574,
"end": 10592,
"loc": {
"start": {
"line": 373,
"column": 8
},
"end": {
"line": 373,
"column": 26
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 10574,
"end": 10585,
"loc": {
"start": {
"line": 373,
"column": 8
},
"end": {
"line": 373,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 10574,
"end": 10579,
"loc": {
"start": {
"line": 373,
"column": 8
},
"end": {
"line": 373,
"column": 13
},
"identifierName": "right"
},
"name": "right"
},
"property": {
"type": "Identifier",
"start": 10580,
"end": 10585,
"loc": {
"start": {
"line": 373,
"column": 14
},
"end": {
"line": 373,
"column": 19
},
"identifierName": "_left"
},
"name": "_left"
},
"computed": false
},
"right": {
"type": "ThisExpression",
"start": 10588,
"end": 10592,
"loc": {
"start": {
"line": 373,
"column": 22
},
"end": {
"line": 373,
"column": 26
}
}
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
},
{
"type": "IfStatement",
"start": 10611,
"end": 10668,
"loc": {
"start": {
"line": 376,
"column": 4
},
"end": {
"line": 378,
"column": 5
}
},
"test": {
"type": "MemberExpression",
"start": 10615,
"end": 10630,
"loc": {
"start": {
"line": 376,
"column": 8
},
"end": {
"line": 376,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 10615,
"end": 10621,
"loc": {
"start": {
"line": 376,
"column": 8
},
"end": {
"line": 376,
"column": 14
},
"identifierName": "parent"
},
"name": "parent"
},
"property": {
"type": "Identifier",
"start": 10622,
"end": 10630,
"loc": {
"start": {
"line": 376,
"column": 15
},
"end": {
"line": 376,
"column": 23
},
"identifierName": "_deleted"
},
"name": "_deleted"
},
"computed": false
},
"consequent": {
"type": "BlockStatement",
"start": 10632,
"end": 10668,
"loc": {
"start": {
"line": 376,
"column": 25
},
"end": {
"line": 378,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 10640,
"end": 10662,
"loc": {
"start": {
"line": 377,
"column": 6
},
"end": {
"line": 377,
"column": 28
}
},
"expression": {
"type": "CallExpression",
"start": 10640,
"end": 10662,
"loc": {
"start": {
"line": 377,
"column": 6
},
"end": {
"line": 377,
"column": 28
}
},
"callee": {
"type": "MemberExpression",
"start": 10640,
"end": 10652,
"loc": {
"start": {
"line": 377,
"column": 6
},
"end": {
"line": 377,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 10640,
"end": 10644,
"loc": {
"start": {
"line": 377,
"column": 6
},
"end": {
"line": 377,
"column": 10
}
}
},
"property": {
"type": "Identifier",
"start": 10645,
"end": 10652,
"loc": {
"start": {
"line": 377,
"column": 11
},
"end": {
"line": 377,
"column": 18
},
"identifierName": "_delete"
},
"name": "_delete"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 10653,
"end": 10654,
"loc": {
"start": {
"line": 377,
"column": 19
},
"end": {
"line": 377,
"column": 20
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "BooleanLiteral",
"start": 10656,
"end": 10661,
"loc": {
"start": {
"line": 377,
"column": 22
},
"end": {
"line": 377,
"column": 27
}
},
"value": false
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 10673,
"end": 10687,
"loc": {
"start": {
"line": 379,
"column": 4
},
"end": {
"line": 379,
"column": 18
}
},
"expression": {
"type": "CallExpression",
"start": 10673,
"end": 10687,
"loc": {
"start": {
"line": 379,
"column": 4
},
"end": {
"line": 379,
"column": 18
}
},
"callee": {
"type": "MemberExpression",
"start": 10673,
"end": 10681,
"loc": {
"start": {
"line": 379,
"column": 4
},
"end": {
"line": 379,
"column": 12
}
},
"object": {
"type": "MemberExpression",
"start": 10673,
"end": 10677,
"loc": {
"start": {
"line": 379,
"column": 4
},
"end": {
"line": 379,
"column": 8
}
},
"object": {
"type": "Identifier",
"start": 10673,
"end": 10674,
"loc": {
"start": {
"line": 379,
"column": 4
},
"end": {
"line": 379,
"column": 5
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 10675,
"end": 10677,
"loc": {
"start": {
"line": 379,
"column": 6
},
"end": {
"line": 379,
"column": 8
},
"identifierName": "os"
},
"name": "os"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10678,
"end": 10681,
"loc": {
"start": {
"line": 379,
"column": 9
},
"end": {
"line": 379,
"column": 12
},
"identifierName": "put"
},
"name": "put"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 10682,
"end": 10686,
"loc": {
"start": {
"line": 379,
"column": 13
},
"end": {
"line": 379,
"column": 17
}
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 10692,
"end": 10736,
"loc": {
"start": {
"line": 380,
"column": 4
},
"end": {
"line": 380,
"column": 48
}
},
"expression": {
"type": "CallExpression",
"start": 10692,
"end": 10736,
"loc": {
"start": {
"line": 380,
"column": 4
},
"end": {
"line": 380,
"column": 48
}
},
"callee": {
"type": "Identifier",
"start": 10692,
"end": 10714,
"loc": {
"start": {
"line": 380,
"column": 4
},
"end": {
"line": 380,
"column": 26
},
"identifierName": "transactionTypeChanged"
},
"name": "transactionTypeChanged"
},
"arguments": [
{
"type": "Identifier",
"start": 10715,
"end": 10716,
"loc": {
"start": {
"line": 380,
"column": 27
},
"end": {
"line": 380,
"column": 28
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 10718,
"end": 10724,
"loc": {
"start": {
"line": 380,
"column": 30
},
"end": {
"line": 380,
"column": 36
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 10726,
"end": 10735,
"loc": {
"start": {
"line": 380,
"column": 38
},
"end": {
"line": 380,
"column": 47
},
"identifierName": "parentSub"
},
"name": "parentSub"
}
]
}
},
{
"type": "IfStatement",
"start": 10741,
"end": 11026,
"loc": {
"start": {
"line": 381,
"column": 4
},
"end": {
"line": 388,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 10745,
"end": 10777,
"loc": {
"start": {
"line": 381,
"column": 8
},
"end": {
"line": 381,
"column": 40
}
},
"left": {
"type": "MemberExpression",
"start": 10745,
"end": 10758,
"loc": {
"start": {
"line": 381,
"column": 8
},
"end": {
"line": 381,
"column": 21
}
},
"object": {
"type": "MemberExpression",
"start": 10745,
"end": 10753,
"loc": {
"start": {
"line": 381,
"column": 8
},
"end": {
"line": 381,
"column": 16
}
},
"object": {
"type": "ThisExpression",
"start": 10745,
"end": 10749,
"loc": {
"start": {
"line": 381,
"column": 8
},
"end": {
"line": 381,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 10750,
"end": 10753,
"loc": {
"start": {
"line": 381,
"column": 13
},
"end": {
"line": 381,
"column": 16
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10754,
"end": 10758,
"loc": {
"start": {
"line": 381,
"column": 17
},
"end": {
"line": 381,
"column": 21
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 10763,
"end": 10777,
"loc": {
"start": {
"line": 381,
"column": 26
},
"end": {
"line": 381,
"column": 40
},
"identifierName": "RootFakeUserID"
},
"name": "RootFakeUserID"
}
},
"consequent": {
"type": "BlockStatement",
"start": 10779,
"end": 11026,
"loc": {
"start": {
"line": 381,
"column": 42
},
"end": {
"line": 388,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 10787,
"end": 10934,
"loc": {
"start": {
"line": 382,
"column": 6
},
"end": {
"line": 384,
"column": 7
}
},
"test": {
"type": "LogicalExpression",
"start": 10791,
"end": 10881,
"loc": {
"start": {
"line": 382,
"column": 10
},
"end": {
"line": 382,
"column": 100
}
},
"left": {
"type": "BinaryExpression",
"start": 10791,
"end": 10811,
"loc": {
"start": {
"line": 382,
"column": 10
},
"end": {
"line": 382,
"column": 30
}
},
"left": {
"type": "MemberExpression",
"start": 10791,
"end": 10802,
"loc": {
"start": {
"line": 382,
"column": 10
},
"end": {
"line": 382,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 10791,
"end": 10792,
"loc": {
"start": {
"line": 382,
"column": 10
},
"end": {
"line": 382,
"column": 11
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 10793,
"end": 10802,
"loc": {
"start": {
"line": 382,
"column": 12
},
"end": {
"line": 382,
"column": 21
},
"identifierName": "connector"
},
"name": "connector"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 10807,
"end": 10811,
"loc": {
"start": {
"line": 382,
"column": 26
},
"end": {
"line": 382,
"column": 30
}
}
}
},
"operator": "&&",
"right": {
"type": "LogicalExpression",
"start": 10816,
"end": 10880,
"loc": {
"start": {
"line": 382,
"column": 35
},
"end": {
"line": 382,
"column": 99
}
},
"left": {
"type": "MemberExpression",
"start": 10816,
"end": 10850,
"loc": {
"start": {
"line": 382,
"column": 35
},
"end": {
"line": 382,
"column": 69
}
},
"object": {
"type": "MemberExpression",
"start": 10816,
"end": 10827,
"loc": {
"start": {
"line": 382,
"column": 35
},
"end": {
"line": 382,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 10816,
"end": 10817,
"loc": {
"start": {
"line": 382,
"column": 35
},
"end": {
"line": 382,
"column": 36
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 10818,
"end": 10827,
"loc": {
"start": {
"line": 382,
"column": 37
},
"end": {
"line": 382,
"column": 46
},
"identifierName": "connector"
},
"name": "connector"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10828,
"end": 10850,
"loc": {
"start": {
"line": 382,
"column": 47
},
"end": {
"line": 382,
"column": 69
},
"identifierName": "_forwardAppliedStructs"
},
"name": "_forwardAppliedStructs"
},
"computed": false
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 10854,
"end": 10880,
"loc": {
"start": {
"line": 382,
"column": 73
},
"end": {
"line": 382,
"column": 99
}
},
"left": {
"type": "MemberExpression",
"start": 10854,
"end": 10867,
"loc": {
"start": {
"line": 382,
"column": 73
},
"end": {
"line": 382,
"column": 86
}
},
"object": {
"type": "MemberExpression",
"start": 10854,
"end": 10862,
"loc": {
"start": {
"line": 382,
"column": 73
},
"end": {
"line": 382,
"column": 81
}
},
"object": {
"type": "ThisExpression",
"start": 10854,
"end": 10858,
"loc": {
"start": {
"line": 382,
"column": 73
},
"end": {
"line": 382,
"column": 77
}
}
},
"property": {
"type": "Identifier",
"start": 10859,
"end": 10862,
"loc": {
"start": {
"line": 382,
"column": 78
},
"end": {
"line": 382,
"column": 81
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10863,
"end": 10867,
"loc": {
"start": {
"line": 382,
"column": 82
},
"end": {
"line": 382,
"column": 86
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
},
"operator": "===",
"right": {
"type": "MemberExpression",
"start": 10872,
"end": 10880,
"loc": {
"start": {
"line": 382,
"column": 91
},
"end": {
"line": 382,
"column": 99
}
},
"object": {
"type": "Identifier",
"start": 10872,
"end": 10873,
"loc": {
"start": {
"line": 382,
"column": 91
},
"end": {
"line": 382,
"column": 92
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 10874,
"end": 10880,
"loc": {
"start": {
"line": 382,
"column": 93
},
"end": {
"line": 382,
"column": 99
},
"identifierName": "userID"
},
"name": "userID"
},
"computed": false
}
},
"extra": {
"parenthesized": true,
"parenStart": 10815
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 10883,
"end": 10934,
"loc": {
"start": {
"line": 382,
"column": 102
},
"end": {
"line": 384,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 10893,
"end": 10926,
"loc": {
"start": {
"line": 383,
"column": 8
},
"end": {
"line": 383,
"column": 41
}
},
"expression": {
"type": "CallExpression",
"start": 10893,
"end": 10926,
"loc": {
"start": {
"line": 383,
"column": 8
},
"end": {
"line": 383,
"column": 41
}
},
"callee": {
"type": "MemberExpression",
"start": 10893,
"end": 10920,
"loc": {
"start": {
"line": 383,
"column": 8
},
"end": {
"line": 383,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 10893,
"end": 10904,
"loc": {
"start": {
"line": 383,
"column": 8
},
"end": {
"line": 383,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 10893,
"end": 10894,
"loc": {
"start": {
"line": 383,
"column": 8
},
"end": {
"line": 383,
"column": 9
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 10895,
"end": 10904,
"loc": {
"start": {
"line": 383,
"column": 10
},
"end": {
"line": 383,
"column": 19
},
"identifierName": "connector"
},
"name": "connector"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10905,
"end": 10920,
"loc": {
"start": {
"line": 383,
"column": 20
},
"end": {
"line": 383,
"column": 35
},
"identifierName": "broadcastStruct"
},
"name": "broadcastStruct"
},
"computed": false
},
"arguments": [
{
"type": "ThisExpression",
"start": 10921,
"end": 10925,
"loc": {
"start": {
"line": 383,
"column": 36
},
"end": {
"line": 383,
"column": 40
}
}
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 10941,
"end": 11020,
"loc": {
"start": {
"line": 385,
"column": 6
},
"end": {
"line": 387,
"column": 7
}
},
"test": {
"type": "BinaryExpression",
"start": 10945,
"end": 10967,
"loc": {
"start": {
"line": 385,
"column": 10
},
"end": {
"line": 385,
"column": 32
}
},
"left": {
"type": "MemberExpression",
"start": 10945,
"end": 10958,
"loc": {
"start": {
"line": 385,
"column": 10
},
"end": {
"line": 385,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 10945,
"end": 10946,
"loc": {
"start": {
"line": 385,
"column": 10
},
"end": {
"line": 385,
"column": 11
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 10947,
"end": 10958,
"loc": {
"start": {
"line": 385,
"column": 12
},
"end": {
"line": 385,
"column": 23
},
"identifierName": "persistence"
},
"name": "persistence"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 10963,
"end": 10967,
"loc": {
"start": {
"line": 385,
"column": 28
},
"end": {
"line": 385,
"column": 32
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 10969,
"end": 11020,
"loc": {
"start": {
"line": 385,
"column": 34
},
"end": {
"line": 387,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 10979,
"end": 11012,
"loc": {
"start": {
"line": 386,
"column": 8
},
"end": {
"line": 386,
"column": 41
}
},
"expression": {
"type": "CallExpression",
"start": 10979,
"end": 11012,
"loc": {
"start": {
"line": 386,
"column": 8
},
"end": {
"line": 386,
"column": 41
}
},
"callee": {
"type": "MemberExpression",
"start": 10979,
"end": 11003,
"loc": {
"start": {
"line": 386,
"column": 8
},
"end": {
"line": 386,
"column": 32
}
},
"object": {
"type": "MemberExpression",
"start": 10979,
"end": 10992,
"loc": {
"start": {
"line": 386,
"column": 8
},
"end": {
"line": 386,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 10979,
"end": 10980,
"loc": {
"start": {
"line": 386,
"column": 8
},
"end": {
"line": 386,
"column": 9
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 10981,
"end": 10992,
"loc": {
"start": {
"line": 386,
"column": 10
},
"end": {
"line": 386,
"column": 21
},
"identifierName": "persistence"
},
"name": "persistence"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 10993,
"end": 11003,
"loc": {
"start": {
"line": 386,
"column": 22
},
"end": {
"line": 386,
"column": 32
},
"identifierName": "saveStruct"
},
"name": "saveStruct"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 11004,
"end": 11005,
"loc": {
"start": {
"line": 386,
"column": 33
},
"end": {
"line": 386,
"column": 34
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "ThisExpression",
"start": 11007,
"end": 11011,
"loc": {
"start": {
"line": 386,
"column": 36
},
"end": {
"line": 386,
"column": 40
}
}
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Integrates this Item into the shared structure.\n *\n * This method actually applies the change to the Yjs instance. In case of\n * Item it connects _left and _right to this Item and calls the\n * {@link Item#beforeChange} method.\n *\n * * Integrate the struct so that other types/structs can see it\n * * Add this struct to y.os\n * * Check if this is struct deleted\n *\n * @private\n ",
"start": 6464,
"end": 6874,
"loc": {
"start": {
"line": 260,
"column": 2
},
"end": {
"line": 272,
"column": 5
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Transform the properties of this type to binary and write it to an\n * BinaryEncoder.\n *\n * This is called when this Item is sent to a remote peer.\n *\n * @param {BinaryEncoder} encoder The encoder to write data to.\n *\n * @private\n ",
"start": 11034,
"end": 11291,
"loc": {
"start": {
"line": 391,
"column": 2
},
"end": {
"line": 400,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 11294,
"end": 12290,
"loc": {
"start": {
"line": 401,
"column": 2
},
"end": {
"line": 440,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 11294,
"end": 11303,
"loc": {
"start": {
"line": 401,
"column": 2
},
"end": {
"line": 401,
"column": 11
},
"identifierName": "_toBinary"
},
"name": "_toBinary",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 11305,
"end": 11312,
"loc": {
"start": {
"line": 401,
"column": 13
},
"end": {
"line": 401,
"column": 20
},
"identifierName": "encoder"
},
"name": "encoder"
}
],
"body": {
"type": "BlockStatement",
"start": 11314,
"end": 12290,
"loc": {
"start": {
"line": 401,
"column": 22
},
"end": {
"line": 440,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 11320,
"end": 11376,
"loc": {
"start": {
"line": 402,
"column": 4
},
"end": {
"line": 402,
"column": 60
}
},
"expression": {
"type": "CallExpression",
"start": 11320,
"end": 11376,
"loc": {
"start": {
"line": 402,
"column": 4
},
"end": {
"line": 402,
"column": 60
}
},
"callee": {
"type": "MemberExpression",
"start": 11320,
"end": 11338,
"loc": {
"start": {
"line": 402,
"column": 4
},
"end": {
"line": 402,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 11320,
"end": 11327,
"loc": {
"start": {
"line": 402,
"column": 4
},
"end": {
"line": 402,
"column": 11
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 11328,
"end": 11338,
"loc": {
"start": {
"line": 402,
"column": 12
},
"end": {
"line": 402,
"column": 22
},
"identifierName": "writeUint8"
},
"name": "writeUint8"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 11339,
"end": 11375,
"loc": {
"start": {
"line": 402,
"column": 23
},
"end": {
"line": 402,
"column": 59
}
},
"callee": {
"type": "Identifier",
"start": 11339,
"end": 11357,
"loc": {
"start": {
"line": 402,
"column": 23
},
"end": {
"line": 402,
"column": 41
},
"identifierName": "getStructReference"
},
"name": "getStructReference"
},
"arguments": [
{
"type": "MemberExpression",
"start": 11358,
"end": 11374,
"loc": {
"start": {
"line": 402,
"column": 42
},
"end": {
"line": 402,
"column": 58
}
},
"object": {
"type": "ThisExpression",
"start": 11358,
"end": 11362,
"loc": {
"start": {
"line": 402,
"column": 42
},
"end": {
"line": 402,
"column": 46
}
}
},
"property": {
"type": "Identifier",
"start": 11363,
"end": 11374,
"loc": {
"start": {
"line": 402,
"column": 47
},
"end": {
"line": 402,
"column": 58
},
"identifierName": "constructor"
},
"name": "constructor"
},
"computed": false
}
]
}
]
}
},
{
"type": "VariableDeclaration",
"start": 11381,
"end": 11393,
"loc": {
"start": {
"line": 403,
"column": 4
},
"end": {
"line": 403,
"column": 16
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 11385,
"end": 11393,
"loc": {
"start": {
"line": 403,
"column": 8
},
"end": {
"line": 403,
"column": 16
}
},
"id": {
"type": "Identifier",
"start": 11385,
"end": 11389,
"loc": {
"start": {
"line": 403,
"column": 8
},
"end": {
"line": 403,
"column": 12
},
"identifierName": "info"
},
"name": "info"
},
"init": {
"type": "NumericLiteral",
"start": 11392,
"end": 11393,
"loc": {
"start": {
"line": 403,
"column": 15
},
"end": {
"line": 403,
"column": 16
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 11398,
"end": 11471,
"loc": {
"start": {
"line": 404,
"column": 4
},
"end": {
"line": 406,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 11402,
"end": 11423,
"loc": {
"start": {
"line": 404,
"column": 8
},
"end": {
"line": 404,
"column": 29
}
},
"left": {
"type": "MemberExpression",
"start": 11402,
"end": 11414,
"loc": {
"start": {
"line": 404,
"column": 8
},
"end": {
"line": 404,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 11402,
"end": 11406,
"loc": {
"start": {
"line": 404,
"column": 8
},
"end": {
"line": 404,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 11407,
"end": 11414,
"loc": {
"start": {
"line": 404,
"column": 13
},
"end": {
"line": 404,
"column": 20
},
"identifierName": "_origin"
},
"name": "_origin"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 11419,
"end": 11423,
"loc": {
"start": {
"line": 404,
"column": 25
},
"end": {
"line": 404,
"column": 29
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 11425,
"end": 11471,
"loc": {
"start": {
"line": 404,
"column": 31
},
"end": {
"line": 406,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 11433,
"end": 11444,
"loc": {
"start": {
"line": 405,
"column": 6
},
"end": {
"line": 405,
"column": 17
}
},
"expression": {
"type": "AssignmentExpression",
"start": 11433,
"end": 11444,
"loc": {
"start": {
"line": 405,
"column": 6
},
"end": {
"line": 405,
"column": 17
}
},
"operator": "+=",
"left": {
"type": "Identifier",
"start": 11433,
"end": 11437,
"loc": {
"start": {
"line": 405,
"column": 6
},
"end": {
"line": 405,
"column": 10
},
"identifierName": "info"
},
"name": "info"
},
"right": {
"type": "NumericLiteral",
"start": 11441,
"end": 11444,
"loc": {
"start": {
"line": 405,
"column": 14
},
"end": {
"line": 405,
"column": 17
}
},
"extra": {
"rawValue": 1,
"raw": "0b1"
},
"value": 1,
"leadingComments": null,
"trailingComments": null
},
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " origin is defined",
"start": 11445,
"end": 11465,
"loc": {
"start": {
"line": 405,
"column": 18
},
"end": {
"line": 405,
"column": 38
}
}
}
]
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " TODO: remove",
"start": 11476,
"end": 11491,
"loc": {
"start": {
"line": 407,
"column": 4
},
"end": {
"line": 407,
"column": 19
}
}
},
{
"type": "CommentBlock",
"value": " no longer send _left\n if (this._left !== this._origin) {\n info += 0b10 // do not copy origin to left\n }\n ",
"start": 11496,
"end": 11620,
"loc": {
"start": {
"line": 408,
"column": 4
},
"end": {
"line": 412,
"column": 6
}
}
}
]
},
{
"type": "IfStatement",
"start": 11625,
"end": 11685,
"loc": {
"start": {
"line": 413,
"column": 4
},
"end": {
"line": 415,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 11629,
"end": 11656,
"loc": {
"start": {
"line": 413,
"column": 8
},
"end": {
"line": 413,
"column": 35
}
},
"left": {
"type": "MemberExpression",
"start": 11629,
"end": 11647,
"loc": {
"start": {
"line": 413,
"column": 8
},
"end": {
"line": 413,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 11629,
"end": 11633,
"loc": {
"start": {
"line": 413,
"column": 8
},
"end": {
"line": 413,
"column": 12
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 11634,
"end": 11647,
"loc": {
"start": {
"line": 413,
"column": 13
},
"end": {
"line": 413,
"column": 26
},
"identifierName": "_right_origin"
},
"name": "_right_origin"
},
"computed": false,
"leadingComments": null
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 11652,
"end": 11656,
"loc": {
"start": {
"line": 413,
"column": 31
},
"end": {
"line": 413,
"column": 35
}
}
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 11658,
"end": 11685,
"loc": {
"start": {
"line": 413,
"column": 37
},
"end": {
"line": 415,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 11666,
"end": 11679,
"loc": {
"start": {
"line": 414,
"column": 6
},
"end": {
"line": 414,
"column": 19
}
},
"expression": {
"type": "AssignmentExpression",
"start": 11666,
"end": 11679,
"loc": {
"start": {
"line": 414,
"column": 6
},
"end": {
"line": 414,
"column": 19
}
},
"operator": "+=",
"left": {
"type": "Identifier",
"start": 11666,
"end": 11670,
"loc": {
"start": {
"line": 414,
"column": 6
},
"end": {
"line": 414,
"column": 10
},
"identifierName": "info"
},
"name": "info"
},
"right": {
"type": "NumericLiteral",
"start": 11674,
"end": 11679,
"loc": {
"start": {
"line": 414,
"column": 14
},
"end": {
"line": 414,
"column": 19
}
},
"extra": {
"rawValue": 4,
"raw": "0b100"
},
"value": 4
}
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " TODO: remove",
"start": 11476,
"end": 11491,
"loc": {
"start": {
"line": 407,
"column": 4
},
"end": {
"line": 407,
"column": 19
}
}
},
{
"type": "CommentBlock",
"value": " no longer send _left\n if (this._left !== this._origin) {\n info += 0b10 // do not copy origin to left\n }\n ",
"start": 11496,
"end": 11620,
"loc": {
"start": {
"line": 408,
"column": 4
},
"end": {
"line": 412,
"column": 6
}
}
}
]
},
{
"type": "IfStatement",
"start": 11690,
"end": 11748,
"loc": {
"start": {
"line": 416,
"column": 4
},
"end": {
"line": 418,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 11694,
"end": 11718,
"loc": {
"start": {
"line": 416,
"column": 8
},
"end": {
"line": 416,
"column": 32
}
},
"left": {
"type": "MemberExpression",
"start": 11694,
"end": 11709,
"loc": {
"start": {
"line": 416,
"column": 8
},
"end": {
"line": 416,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 11694,
"end": 11698,
"loc": {
"start": {
"line": 416,
"column": 8
},
"end": {
"line": 416,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 11699,
"end": 11709,
"loc": {
"start": {
"line": 416,
"column": 13
},
"end": {
"line": 416,
"column": 23
},
"identifierName": "_parentSub"
},
"name": "_parentSub"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 11714,
"end": 11718,
"loc": {
"start": {
"line": 416,
"column": 28
},
"end": {
"line": 416,
"column": 32
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 11720,
"end": 11748,
"loc": {
"start": {
"line": 416,
"column": 34
},
"end": {
"line": 418,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 11728,
"end": 11742,
"loc": {
"start": {
"line": 417,
"column": 6
},
"end": {
"line": 417,
"column": 20
}
},
"expression": {
"type": "AssignmentExpression",
"start": 11728,
"end": 11742,
"loc": {
"start": {
"line": 417,
"column": 6
},
"end": {
"line": 417,
"column": 20
}
},
"operator": "+=",
"left": {
"type": "Identifier",
"start": 11728,
"end": 11732,
"loc": {
"start": {
"line": 417,
"column": 6
},
"end": {
"line": 417,
"column": 10
},
"identifierName": "info"
},
"name": "info"
},
"right": {
"type": "NumericLiteral",
"start": 11736,
"end": 11742,
"loc": {
"start": {
"line": 417,
"column": 14
},
"end": {
"line": 417,
"column": 20
}
},
"extra": {
"rawValue": 8,
"raw": "0b1000"
},
"value": 8
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 11753,
"end": 11777,
"loc": {
"start": {
"line": 419,
"column": 4
},
"end": {
"line": 419,
"column": 28
}
},
"expression": {
"type": "CallExpression",
"start": 11753,
"end": 11777,
"loc": {
"start": {
"line": 419,
"column": 4
},
"end": {
"line": 419,
"column": 28
}
},
"callee": {
"type": "MemberExpression",
"start": 11753,
"end": 11771,
"loc": {
"start": {
"line": 419,
"column": 4
},
"end": {
"line": 419,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 11753,
"end": 11760,
"loc": {
"start": {
"line": 419,
"column": 4
},
"end": {
"line": 419,
"column": 11
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 11761,
"end": 11771,
"loc": {
"start": {
"line": 419,
"column": 12
},
"end": {
"line": 419,
"column": 22
},
"identifierName": "writeUint8"
},
"name": "writeUint8"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 11772,
"end": 11776,
"loc": {
"start": {
"line": 419,
"column": 23
},
"end": {
"line": 419,
"column": 27
},
"identifierName": "info"
},
"name": "info"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 11782,
"end": 11807,
"loc": {
"start": {
"line": 420,
"column": 4
},
"end": {
"line": 420,
"column": 29
}
},
"expression": {
"type": "CallExpression",
"start": 11782,
"end": 11807,
"loc": {
"start": {
"line": 420,
"column": 4
},
"end": {
"line": 420,
"column": 29
}
},
"callee": {
"type": "MemberExpression",
"start": 11782,
"end": 11797,
"loc": {
"start": {
"line": 420,
"column": 4
},
"end": {
"line": 420,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 11782,
"end": 11789,
"loc": {
"start": {
"line": 420,
"column": 4
},
"end": {
"line": 420,
"column": 11
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 11790,
"end": 11797,
"loc": {
"start": {
"line": 420,
"column": 12
},
"end": {
"line": 420,
"column": 19
},
"identifierName": "writeID"
},
"name": "writeID"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 11798,
"end": 11806,
"loc": {
"start": {
"line": 420,
"column": 20
},
"end": {
"line": 420,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 11798,
"end": 11802,
"loc": {
"start": {
"line": 420,
"column": 20
},
"end": {
"line": 420,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 11803,
"end": 11806,
"loc": {
"start": {
"line": 420,
"column": 25
},
"end": {
"line": 420,
"column": 28
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
}
]
}
},
{
"type": "IfStatement",
"start": 11812,
"end": 11879,
"loc": {
"start": {
"line": 421,
"column": 4
},
"end": {
"line": 423,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 11816,
"end": 11826,
"loc": {
"start": {
"line": 421,
"column": 8
},
"end": {
"line": 421,
"column": 18
}
},
"left": {
"type": "Identifier",
"start": 11816,
"end": 11820,
"loc": {
"start": {
"line": 421,
"column": 8
},
"end": {
"line": 421,
"column": 12
},
"identifierName": "info"
},
"name": "info"
},
"operator": "&",
"right": {
"type": "NumericLiteral",
"start": 11823,
"end": 11826,
"loc": {
"start": {
"line": 421,
"column": 15
},
"end": {
"line": 421,
"column": 18
}
},
"extra": {
"rawValue": 1,
"raw": "0b1"
},
"value": 1
}
},
"consequent": {
"type": "BlockStatement",
"start": 11828,
"end": 11879,
"loc": {
"start": {
"line": 421,
"column": 20
},
"end": {
"line": 423,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 11836,
"end": 11873,
"loc": {
"start": {
"line": 422,
"column": 6
},
"end": {
"line": 422,
"column": 43
}
},
"expression": {
"type": "CallExpression",
"start": 11836,
"end": 11873,
"loc": {
"start": {
"line": 422,
"column": 6
},
"end": {
"line": 422,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 11836,
"end": 11851,
"loc": {
"start": {
"line": 422,
"column": 6
},
"end": {
"line": 422,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 11836,
"end": 11843,
"loc": {
"start": {
"line": 422,
"column": 6
},
"end": {
"line": 422,
"column": 13
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 11844,
"end": 11851,
"loc": {
"start": {
"line": 422,
"column": 14
},
"end": {
"line": 422,
"column": 21
},
"identifierName": "writeID"
},
"name": "writeID"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 11852,
"end": 11872,
"loc": {
"start": {
"line": 422,
"column": 22
},
"end": {
"line": 422,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 11852,
"end": 11864,
"loc": {
"start": {
"line": 422,
"column": 22
},
"end": {
"line": 422,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 11852,
"end": 11856,
"loc": {
"start": {
"line": 422,
"column": 22
},
"end": {
"line": 422,
"column": 26
}
}
},
"property": {
"type": "Identifier",
"start": 11857,
"end": 11864,
"loc": {
"start": {
"line": 422,
"column": 27
},
"end": {
"line": 422,
"column": 34
},
"identifierName": "_origin"
},
"name": "_origin"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 11865,
"end": 11872,
"loc": {
"start": {
"line": 422,
"column": 35
},
"end": {
"line": 422,
"column": 42
},
"identifierName": "_lastId"
},
"name": "_lastId"
},
"computed": false
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " TODO: remove",
"start": 11884,
"end": 11899,
"loc": {
"start": {
"line": 424,
"column": 4
},
"end": {
"line": 424,
"column": 19
}
}
},
{
"type": "CommentBlock",
"value": " see above\n if (info & 0b10) {\n encoder.writeID(this._left._lastId)\n }\n ",
"start": 11904,
"end": 11994,
"loc": {
"start": {
"line": 425,
"column": 4
},
"end": {
"line": 429,
"column": 6
}
}
}
]
},
{
"type": "IfStatement",
"start": 11999,
"end": 12070,
"loc": {
"start": {
"line": 430,
"column": 4
},
"end": {
"line": 432,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 12003,
"end": 12015,
"loc": {
"start": {
"line": 430,
"column": 8
},
"end": {
"line": 430,
"column": 20
}
},
"left": {
"type": "Identifier",
"start": 12003,
"end": 12007,
"loc": {
"start": {
"line": 430,
"column": 8
},
"end": {
"line": 430,
"column": 12
},
"identifierName": "info"
},
"name": "info",
"leadingComments": null
},
"operator": "&",
"right": {
"type": "NumericLiteral",
"start": 12010,
"end": 12015,
"loc": {
"start": {
"line": 430,
"column": 15
},
"end": {
"line": 430,
"column": 20
}
},
"extra": {
"rawValue": 4,
"raw": "0b100"
},
"value": 4
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 12017,
"end": 12070,
"loc": {
"start": {
"line": 430,
"column": 22
},
"end": {
"line": 432,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 12025,
"end": 12064,
"loc": {
"start": {
"line": 431,
"column": 6
},
"end": {
"line": 431,
"column": 45
}
},
"expression": {
"type": "CallExpression",
"start": 12025,
"end": 12064,
"loc": {
"start": {
"line": 431,
"column": 6
},
"end": {
"line": 431,
"column": 45
}
},
"callee": {
"type": "MemberExpression",
"start": 12025,
"end": 12040,
"loc": {
"start": {
"line": 431,
"column": 6
},
"end": {
"line": 431,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 12025,
"end": 12032,
"loc": {
"start": {
"line": 431,
"column": 6
},
"end": {
"line": 431,
"column": 13
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 12033,
"end": 12040,
"loc": {
"start": {
"line": 431,
"column": 14
},
"end": {
"line": 431,
"column": 21
},
"identifierName": "writeID"
},
"name": "writeID"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 12041,
"end": 12063,
"loc": {
"start": {
"line": 431,
"column": 22
},
"end": {
"line": 431,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 12041,
"end": 12059,
"loc": {
"start": {
"line": 431,
"column": 22
},
"end": {
"line": 431,
"column": 40
}
},
"object": {
"type": "ThisExpression",
"start": 12041,
"end": 12045,
"loc": {
"start": {
"line": 431,
"column": 22
},
"end": {
"line": 431,
"column": 26
}
}
},
"property": {
"type": "Identifier",
"start": 12046,
"end": 12059,
"loc": {
"start": {
"line": 431,
"column": 27
},
"end": {
"line": 431,
"column": 40
},
"identifierName": "_right_origin"
},
"name": "_right_origin"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 12060,
"end": 12063,
"loc": {
"start": {
"line": 431,
"column": 41
},
"end": {
"line": 431,
"column": 44
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
}
]
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " TODO: remove",
"start": 11884,
"end": 11899,
"loc": {
"start": {
"line": 424,
"column": 4
},
"end": {
"line": 424,
"column": 19
}
}
},
{
"type": "CommentBlock",
"value": " see above\n if (info & 0b10) {\n encoder.writeID(this._left._lastId)\n }\n ",
"start": 11904,
"end": 11994,
"loc": {
"start": {
"line": 425,
"column": 4
},
"end": {
"line": 429,
"column": 6
}
}
}
]
},
{
"type": "IfStatement",
"start": 12075,
"end": 12193,
"loc": {
"start": {
"line": 433,
"column": 4
},
"end": {
"line": 436,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 12079,
"end": 12099,
"loc": {
"start": {
"line": 433,
"column": 8
},
"end": {
"line": 433,
"column": 28
}
},
"left": {
"type": "BinaryExpression",
"start": 12080,
"end": 12092,
"loc": {
"start": {
"line": 433,
"column": 9
},
"end": {
"line": 433,
"column": 21
}
},
"left": {
"type": "Identifier",
"start": 12080,
"end": 12084,
"loc": {
"start": {
"line": 433,
"column": 9
},
"end": {
"line": 433,
"column": 13
},
"identifierName": "info"
},
"name": "info"
},
"operator": "&",
"right": {
"type": "NumericLiteral",
"start": 12087,
"end": 12092,
"loc": {
"start": {
"line": 433,
"column": 16
},
"end": {
"line": 433,
"column": 21
}
},
"extra": {
"rawValue": 5,
"raw": "0b101"
},
"value": 5
},
"extra": {
"parenthesized": true,
"parenStart": 12079
}
},
"operator": "===",
"right": {
"type": "NumericLiteral",
"start": 12098,
"end": 12099,
"loc": {
"start": {
"line": 433,
"column": 27
},
"end": {
"line": 433,
"column": 28
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
},
"consequent": {
"type": "BlockStatement",
"start": 12101,
"end": 12193,
"loc": {
"start": {
"line": 433,
"column": 30
},
"end": {
"line": 436,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 12154,
"end": 12187,
"loc": {
"start": {
"line": 435,
"column": 6
},
"end": {
"line": 435,
"column": 39
}
},
"expression": {
"type": "CallExpression",
"start": 12154,
"end": 12187,
"loc": {
"start": {
"line": 435,
"column": 6
},
"end": {
"line": 435,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 12154,
"end": 12169,
"loc": {
"start": {
"line": 435,
"column": 6
},
"end": {
"line": 435,
"column": 21
}
},
"object": {
"type": "Identifier",
"start": 12154,
"end": 12161,
"loc": {
"start": {
"line": 435,
"column": 6
},
"end": {
"line": 435,
"column": 13
},
"identifierName": "encoder"
},
"name": "encoder",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 12162,
"end": 12169,
"loc": {
"start": {
"line": 435,
"column": 14
},
"end": {
"line": 435,
"column": 21
},
"identifierName": "writeID"
},
"name": "writeID"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "MemberExpression",
"start": 12170,
"end": 12186,
"loc": {
"start": {
"line": 435,
"column": 22
},
"end": {
"line": 435,
"column": 38
}
},
"object": {
"type": "MemberExpression",
"start": 12170,
"end": 12182,
"loc": {
"start": {
"line": 435,
"column": 22
},
"end": {
"line": 435,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 12170,
"end": 12174,
"loc": {
"start": {
"line": 435,
"column": 22
},
"end": {
"line": 435,
"column": 26
}
}
},
"property": {
"type": "Identifier",
"start": 12175,
"end": 12182,
"loc": {
"start": {
"line": 435,
"column": 27
},
"end": {
"line": 435,
"column": 34
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 12183,
"end": 12186,
"loc": {
"start": {
"line": 435,
"column": 35
},
"end": {
"line": 435,
"column": 38
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " neither origin nor right is defined",
"start": 12109,
"end": 12147,
"loc": {
"start": {
"line": 434,
"column": 6
},
"end": {
"line": 434,
"column": 44
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 12198,
"end": 12286,
"loc": {
"start": {
"line": 437,
"column": 4
},
"end": {
"line": 439,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 12202,
"end": 12215,
"loc": {
"start": {
"line": 437,
"column": 8
},
"end": {
"line": 437,
"column": 21
}
},
"left": {
"type": "Identifier",
"start": 12202,
"end": 12206,
"loc": {
"start": {
"line": 437,
"column": 8
},
"end": {
"line": 437,
"column": 12
},
"identifierName": "info"
},
"name": "info"
},
"operator": "&",
"right": {
"type": "NumericLiteral",
"start": 12209,
"end": 12215,
"loc": {
"start": {
"line": 437,
"column": 15
},
"end": {
"line": 437,
"column": 21
}
},
"extra": {
"rawValue": 8,
"raw": "0b1000"
},
"value": 8
}
},
"consequent": {
"type": "BlockStatement",
"start": 12217,
"end": 12286,
"loc": {
"start": {
"line": 437,
"column": 23
},
"end": {
"line": 439,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 12225,
"end": 12280,
"loc": {
"start": {
"line": 438,
"column": 6
},
"end": {
"line": 438,
"column": 61
}
},
"expression": {
"type": "CallExpression",
"start": 12225,
"end": 12280,
"loc": {
"start": {
"line": 438,
"column": 6
},
"end": {
"line": 438,
"column": 61
}
},
"callee": {
"type": "MemberExpression",
"start": 12225,
"end": 12247,
"loc": {
"start": {
"line": 438,
"column": 6
},
"end": {
"line": 438,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 12225,
"end": 12232,
"loc": {
"start": {
"line": 438,
"column": 6
},
"end": {
"line": 438,
"column": 13
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 12233,
"end": 12247,
"loc": {
"start": {
"line": 438,
"column": 14
},
"end": {
"line": 438,
"column": 28
},
"identifierName": "writeVarString"
},
"name": "writeVarString"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 12248,
"end": 12279,
"loc": {
"start": {
"line": 438,
"column": 29
},
"end": {
"line": 438,
"column": 60
}
},
"callee": {
"type": "MemberExpression",
"start": 12248,
"end": 12262,
"loc": {
"start": {
"line": 438,
"column": 29
},
"end": {
"line": 438,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 12248,
"end": 12252,
"loc": {
"start": {
"line": 438,
"column": 29
},
"end": {
"line": 438,
"column": 33
},
"identifierName": "JSON"
},
"name": "JSON"
},
"property": {
"type": "Identifier",
"start": 12253,
"end": 12262,
"loc": {
"start": {
"line": 438,
"column": 34
},
"end": {
"line": 438,
"column": 43
},
"identifierName": "stringify"
},
"name": "stringify"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 12263,
"end": 12278,
"loc": {
"start": {
"line": 438,
"column": 44
},
"end": {
"line": 438,
"column": 59
}
},
"object": {
"type": "ThisExpression",
"start": 12263,
"end": 12267,
"loc": {
"start": {
"line": 438,
"column": 44
},
"end": {
"line": 438,
"column": 48
}
}
},
"property": {
"type": "Identifier",
"start": 12268,
"end": 12278,
"loc": {
"start": {
"line": 438,
"column": 49
},
"end": {
"line": 438,
"column": 59
},
"identifierName": "_parentSub"
},
"name": "_parentSub"
},
"computed": false
}
]
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Transform the properties of this type to binary and write it to an\n * BinaryEncoder.\n *\n * This is called when this Item is sent to a remote peer.\n *\n * @param {BinaryEncoder} encoder The encoder to write data to.\n *\n * @private\n ",
"start": 11034,
"end": 11291,
"loc": {
"start": {
"line": 391,
"column": 2
},
"end": {
"line": 400,
"column": 5
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Read the next Item in a Decoder and fill this Item with the read data.\n *\n * This is called when data is received from a remote peer.\n *\n * @param {Y} y The Yjs instance that this Item belongs to.\n * @param {BinaryDecoder} decoder The decoder object to read data from.\n *\n * @private\n ",
"start": 12294,
"end": 12606,
"loc": {
"start": {
"line": 442,
"column": 2
},
"end": {
"line": 451,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 12609,
"end": 14965,
"loc": {
"start": {
"line": 452,
"column": 2
},
"end": {
"line": 526,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 12609,
"end": 12620,
"loc": {
"start": {
"line": 452,
"column": 2
},
"end": {
"line": 452,
"column": 13
},
"identifierName": "_fromBinary"
},
"name": "_fromBinary",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 12622,
"end": 12623,
"loc": {
"start": {
"line": 452,
"column": 15
},
"end": {
"line": 452,
"column": 16
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 12625,
"end": 12632,
"loc": {
"start": {
"line": 452,
"column": 18
},
"end": {
"line": 452,
"column": 25
},
"identifierName": "decoder"
},
"name": "decoder"
}
],
"body": {
"type": "BlockStatement",
"start": 12634,
"end": 14965,
"loc": {
"start": {
"line": 452,
"column": 27
},
"end": {
"line": 526,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 12640,
"end": 12656,
"loc": {
"start": {
"line": 453,
"column": 4
},
"end": {
"line": 453,
"column": 20
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 12644,
"end": 12656,
"loc": {
"start": {
"line": 453,
"column": 8
},
"end": {
"line": 453,
"column": 20
}
},
"id": {
"type": "Identifier",
"start": 12644,
"end": 12651,
"loc": {
"start": {
"line": 453,
"column": 8
},
"end": {
"line": 453,
"column": 15
},
"identifierName": "missing"
},
"name": "missing"
},
"init": {
"type": "ArrayExpression",
"start": 12654,
"end": 12656,
"loc": {
"start": {
"line": 453,
"column": 18
},
"end": {
"line": 453,
"column": 20
}
},
"elements": []
}
}
],
"kind": "let"
},
{
"type": "VariableDeclaration",
"start": 12661,
"end": 12693,
"loc": {
"start": {
"line": 454,
"column": 4
},
"end": {
"line": 454,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 12667,
"end": 12693,
"loc": {
"start": {
"line": 454,
"column": 10
},
"end": {
"line": 454,
"column": 36
}
},
"id": {
"type": "Identifier",
"start": 12667,
"end": 12671,
"loc": {
"start": {
"line": 454,
"column": 10
},
"end": {
"line": 454,
"column": 14
},
"identifierName": "info"
},
"name": "info"
},
"init": {
"type": "CallExpression",
"start": 12674,
"end": 12693,
"loc": {
"start": {
"line": 454,
"column": 17
},
"end": {
"line": 454,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 12674,
"end": 12691,
"loc": {
"start": {
"line": 454,
"column": 17
},
"end": {
"line": 454,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 12674,
"end": 12681,
"loc": {
"start": {
"line": 454,
"column": 17
},
"end": {
"line": 454,
"column": 24
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 12682,
"end": 12691,
"loc": {
"start": {
"line": 454,
"column": 25
},
"end": {
"line": 454,
"column": 34
},
"identifierName": "readUint8"
},
"name": "readUint8"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 12698,
"end": 12725,
"loc": {
"start": {
"line": 455,
"column": 4
},
"end": {
"line": 455,
"column": 31
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 12704,
"end": 12725,
"loc": {
"start": {
"line": 455,
"column": 10
},
"end": {
"line": 455,
"column": 31
}
},
"id": {
"type": "Identifier",
"start": 12704,
"end": 12706,
"loc": {
"start": {
"line": 455,
"column": 10
},
"end": {
"line": 455,
"column": 12
},
"identifierName": "id"
},
"name": "id"
},
"init": {
"type": "CallExpression",
"start": 12709,
"end": 12725,
"loc": {
"start": {
"line": 455,
"column": 15
},
"end": {
"line": 455,
"column": 31
}
},
"callee": {
"type": "MemberExpression",
"start": 12709,
"end": 12723,
"loc": {
"start": {
"line": 455,
"column": 15
},
"end": {
"line": 455,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 12709,
"end": 12716,
"loc": {
"start": {
"line": 455,
"column": 15
},
"end": {
"line": 455,
"column": 22
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 12717,
"end": 12723,
"loc": {
"start": {
"line": 455,
"column": 23
},
"end": {
"line": 455,
"column": 29
},
"identifierName": "readID"
},
"name": "readID"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 12730,
"end": 12743,
"loc": {
"start": {
"line": 456,
"column": 4
},
"end": {
"line": 456,
"column": 17
}
},
"expression": {
"type": "AssignmentExpression",
"start": 12730,
"end": 12743,
"loc": {
"start": {
"line": 456,
"column": 4
},
"end": {
"line": 456,
"column": 17
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 12730,
"end": 12738,
"loc": {
"start": {
"line": 456,
"column": 4
},
"end": {
"line": 456,
"column": 12
}
},
"object": {
"type": "ThisExpression",
"start": 12730,
"end": 12734,
"loc": {
"start": {
"line": 456,
"column": 4
},
"end": {
"line": 456,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 12735,
"end": 12738,
"loc": {
"start": {
"line": 456,
"column": 9
},
"end": {
"line": 456,
"column": 12
},
"identifierName": "_id"
},
"name": "_id"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 12741,
"end": 12743,
"loc": {
"start": {
"line": 456,
"column": 15
},
"end": {
"line": 456,
"column": 17
},
"identifierName": "id"
},
"name": "id",
"leadingComments": null,
"trailingComments": null
},
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentLine",
"value": " read origin",
"start": 12748,
"end": 12762,
"loc": {
"start": {
"line": 457,
"column": 4
},
"end": {
"line": 457,
"column": 18
}
}
}
]
},
{
"type": "IfStatement",
"start": 12767,
"end": 13136,
"loc": {
"start": {
"line": 458,
"column": 4
},
"end": {
"line": 469,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 12771,
"end": 12781,
"loc": {
"start": {
"line": 458,
"column": 8
},
"end": {
"line": 458,
"column": 18
}
},
"left": {
"type": "Identifier",
"start": 12771,
"end": 12775,
"loc": {
"start": {
"line": 458,
"column": 8
},
"end": {
"line": 458,
"column": 12
},
"identifierName": "info"
},
"name": "info",
"leadingComments": null
},
"operator": "&",
"right": {
"type": "NumericLiteral",
"start": 12778,
"end": 12781,
"loc": {
"start": {
"line": 458,
"column": 15
},
"end": {
"line": 458,
"column": 18
}
},
"extra": {
"rawValue": 1,
"raw": "0b1"
},
"value": 1
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 12783,
"end": 13136,
"loc": {
"start": {
"line": 458,
"column": 20
},
"end": {
"line": 469,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 12815,
"end": 12848,
"loc": {
"start": {
"line": 460,
"column": 6
},
"end": {
"line": 460,
"column": 39
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 12821,
"end": 12848,
"loc": {
"start": {
"line": 460,
"column": 12
},
"end": {
"line": 460,
"column": 39
}
},
"id": {
"type": "Identifier",
"start": 12821,
"end": 12829,
"loc": {
"start": {
"line": 460,
"column": 12
},
"end": {
"line": 460,
"column": 20
},
"identifierName": "originID"
},
"name": "originID",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 12832,
"end": 12848,
"loc": {
"start": {
"line": 460,
"column": 23
},
"end": {
"line": 460,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 12832,
"end": 12846,
"loc": {
"start": {
"line": 460,
"column": 23
},
"end": {
"line": 460,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 12832,
"end": 12839,
"loc": {
"start": {
"line": 460,
"column": 23
},
"end": {
"line": 460,
"column": 30
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 12840,
"end": 12846,
"loc": {
"start": {
"line": 460,
"column": 31
},
"end": {
"line": 460,
"column": 37
},
"identifierName": "readID"
},
"name": "readID"
},
"computed": false
},
"arguments": [],
"trailingComments": null
},
"leadingComments": null,
"trailingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " origin != null",
"start": 12791,
"end": 12808,
"loc": {
"start": {
"line": 459,
"column": 6
},
"end": {
"line": 459,
"column": 23
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " we have to query for left again because it might have been split/merged..",
"start": 12855,
"end": 12931,
"loc": {
"start": {
"line": 461,
"column": 6
},
"end": {
"line": 461,
"column": 82
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 12938,
"end": 12983,
"loc": {
"start": {
"line": 462,
"column": 6
},
"end": {
"line": 462,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 12944,
"end": 12983,
"loc": {
"start": {
"line": 462,
"column": 12
},
"end": {
"line": 462,
"column": 51
}
},
"id": {
"type": "Identifier",
"start": 12944,
"end": 12950,
"loc": {
"start": {
"line": 462,
"column": 12
},
"end": {
"line": 462,
"column": 18
},
"identifierName": "origin"
},
"name": "origin",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 12953,
"end": 12983,
"loc": {
"start": {
"line": 462,
"column": 21
},
"end": {
"line": 462,
"column": 51
}
},
"callee": {
"type": "MemberExpression",
"start": 12953,
"end": 12973,
"loc": {
"start": {
"line": 462,
"column": 21
},
"end": {
"line": 462,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 12953,
"end": 12957,
"loc": {
"start": {
"line": 462,
"column": 21
},
"end": {
"line": 462,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 12953,
"end": 12954,
"loc": {
"start": {
"line": 462,
"column": 21
},
"end": {
"line": 462,
"column": 22
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 12955,
"end": 12957,
"loc": {
"start": {
"line": 462,
"column": 23
},
"end": {
"line": 462,
"column": 25
},
"identifierName": "os"
},
"name": "os"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 12958,
"end": 12973,
"loc": {
"start": {
"line": 462,
"column": 26
},
"end": {
"line": 462,
"column": 41
},
"identifierName": "getItemCleanEnd"
},
"name": "getItemCleanEnd"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 12974,
"end": 12982,
"loc": {
"start": {
"line": 462,
"column": 42
},
"end": {
"line": 462,
"column": 50
},
"identifierName": "originID"
},
"name": "originID"
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " we have to query for left again because it might have been split/merged..",
"start": 12855,
"end": 12931,
"loc": {
"start": {
"line": 461,
"column": 6
},
"end": {
"line": 461,
"column": 82
}
}
}
]
},
{
"type": "IfStatement",
"start": 12990,
"end": 13130,
"loc": {
"start": {
"line": 463,
"column": 6
},
"end": {
"line": 468,
"column": 7
}
},
"test": {
"type": "BinaryExpression",
"start": 12994,
"end": 13009,
"loc": {
"start": {
"line": 463,
"column": 10
},
"end": {
"line": 463,
"column": 25
}
},
"left": {
"type": "Identifier",
"start": 12994,
"end": 13000,
"loc": {
"start": {
"line": 463,
"column": 10
},
"end": {
"line": 463,
"column": 16
},
"identifierName": "origin"
},
"name": "origin"
},
"operator": "===",
"right": {
"type": "NullLiteral",
"start": 13005,
"end": 13009,
"loc": {
"start": {
"line": 463,
"column": 21
},
"end": {
"line": 463,
"column": 25
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 13011,
"end": 13051,
"loc": {
"start": {
"line": 463,
"column": 27
},
"end": {
"line": 465,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 13021,
"end": 13043,
"loc": {
"start": {
"line": 464,
"column": 8
},
"end": {
"line": 464,
"column": 30
}
},
"expression": {
"type": "CallExpression",
"start": 13021,
"end": 13043,
"loc": {
"start": {
"line": 464,
"column": 8
},
"end": {
"line": 464,
"column": 30
}
},
"callee": {
"type": "MemberExpression",
"start": 13021,
"end": 13033,
"loc": {
"start": {
"line": 464,
"column": 8
},
"end": {
"line": 464,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 13021,
"end": 13028,
"loc": {
"start": {
"line": 464,
"column": 8
},
"end": {
"line": 464,
"column": 15
},
"identifierName": "missing"
},
"name": "missing"
},
"property": {
"type": "Identifier",
"start": 13029,
"end": 13033,
"loc": {
"start": {
"line": 464,
"column": 16
},
"end": {
"line": 464,
"column": 20
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 13034,
"end": 13042,
"loc": {
"start": {
"line": 464,
"column": 21
},
"end": {
"line": 464,
"column": 29
},
"identifierName": "originID"
},
"name": "originID"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 13057,
"end": 13130,
"loc": {
"start": {
"line": 465,
"column": 13
},
"end": {
"line": 468,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 13067,
"end": 13088,
"loc": {
"start": {
"line": 466,
"column": 8
},
"end": {
"line": 466,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 13067,
"end": 13088,
"loc": {
"start": {
"line": 466,
"column": 8
},
"end": {
"line": 466,
"column": 29
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 13067,
"end": 13079,
"loc": {
"start": {
"line": 466,
"column": 8
},
"end": {
"line": 466,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 13067,
"end": 13071,
"loc": {
"start": {
"line": 466,
"column": 8
},
"end": {
"line": 466,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 13072,
"end": 13079,
"loc": {
"start": {
"line": 466,
"column": 13
},
"end": {
"line": 466,
"column": 20
},
"identifierName": "_origin"
},
"name": "_origin"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 13082,
"end": 13088,
"loc": {
"start": {
"line": 466,
"column": 23
},
"end": {
"line": 466,
"column": 29
},
"identifierName": "origin"
},
"name": "origin"
}
}
},
{
"type": "ExpressionStatement",
"start": 13097,
"end": 13122,
"loc": {
"start": {
"line": 467,
"column": 8
},
"end": {
"line": 467,
"column": 33
}
},
"expression": {
"type": "AssignmentExpression",
"start": 13097,
"end": 13122,
"loc": {
"start": {
"line": 467,
"column": 8
},
"end": {
"line": 467,
"column": 33
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 13097,
"end": 13107,
"loc": {
"start": {
"line": 467,
"column": 8
},
"end": {
"line": 467,
"column": 18
}
},
"object": {
"type": "ThisExpression",
"start": 13097,
"end": 13101,
"loc": {
"start": {
"line": 467,
"column": 8
},
"end": {
"line": 467,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 13102,
"end": 13107,
"loc": {
"start": {
"line": 467,
"column": 13
},
"end": {
"line": 467,
"column": 18
},
"identifierName": "_left"
},
"name": "_left"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 13110,
"end": 13122,
"loc": {
"start": {
"line": 467,
"column": 21
},
"end": {
"line": 467,
"column": 33
}
},
"object": {
"type": "ThisExpression",
"start": 13110,
"end": 13114,
"loc": {
"start": {
"line": 467,
"column": 21
},
"end": {
"line": 467,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 13115,
"end": 13122,
"loc": {
"start": {
"line": 467,
"column": 26
},
"end": {
"line": 467,
"column": 33
},
"identifierName": "_origin"
},
"name": "_origin"
},
"computed": false
}
}
}
],
"directives": []
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " read origin",
"start": 12748,
"end": 12762,
"loc": {
"start": {
"line": 457,
"column": 4
},
"end": {
"line": 457,
"column": 18
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " read right",
"start": 13141,
"end": 13154,
"loc": {
"start": {
"line": 470,
"column": 4
},
"end": {
"line": 470,
"column": 17
}
}
}
]
},
{
"type": "IfStatement",
"start": 13159,
"end": 13526,
"loc": {
"start": {
"line": 471,
"column": 4
},
"end": {
"line": 482,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 13163,
"end": 13175,
"loc": {
"start": {
"line": 471,
"column": 8
},
"end": {
"line": 471,
"column": 20
}
},
"left": {
"type": "Identifier",
"start": 13163,
"end": 13167,
"loc": {
"start": {
"line": 471,
"column": 8
},
"end": {
"line": 471,
"column": 12
},
"identifierName": "info"
},
"name": "info",
"leadingComments": null
},
"operator": "&",
"right": {
"type": "NumericLiteral",
"start": 13170,
"end": 13175,
"loc": {
"start": {
"line": 471,
"column": 15
},
"end": {
"line": 471,
"column": 20
}
},
"extra": {
"rawValue": 4,
"raw": "0b100"
},
"value": 4
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 13177,
"end": 13526,
"loc": {
"start": {
"line": 471,
"column": 22
},
"end": {
"line": 482,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 13208,
"end": 13240,
"loc": {
"start": {
"line": 473,
"column": 6
},
"end": {
"line": 473,
"column": 38
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 13214,
"end": 13240,
"loc": {
"start": {
"line": 473,
"column": 12
},
"end": {
"line": 473,
"column": 38
}
},
"id": {
"type": "Identifier",
"start": 13214,
"end": 13221,
"loc": {
"start": {
"line": 473,
"column": 12
},
"end": {
"line": 473,
"column": 19
},
"identifierName": "rightID"
},
"name": "rightID",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 13224,
"end": 13240,
"loc": {
"start": {
"line": 473,
"column": 22
},
"end": {
"line": 473,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 13224,
"end": 13238,
"loc": {
"start": {
"line": 473,
"column": 22
},
"end": {
"line": 473,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 13224,
"end": 13231,
"loc": {
"start": {
"line": 473,
"column": 22
},
"end": {
"line": 473,
"column": 29
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 13232,
"end": 13238,
"loc": {
"start": {
"line": 473,
"column": 30
},
"end": {
"line": 473,
"column": 36
},
"identifierName": "readID"
},
"name": "readID"
},
"computed": false
},
"arguments": [],
"trailingComments": null
},
"leadingComments": null,
"trailingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " right != null",
"start": 13185,
"end": 13201,
"loc": {
"start": {
"line": 472,
"column": 6
},
"end": {
"line": 472,
"column": 22
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " we have to query for right again because it might have been split/merged..",
"start": 13247,
"end": 13324,
"loc": {
"start": {
"line": 474,
"column": 6
},
"end": {
"line": 474,
"column": 83
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 13331,
"end": 13376,
"loc": {
"start": {
"line": 475,
"column": 6
},
"end": {
"line": 475,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 13337,
"end": 13376,
"loc": {
"start": {
"line": 475,
"column": 12
},
"end": {
"line": 475,
"column": 51
}
},
"id": {
"type": "Identifier",
"start": 13337,
"end": 13342,
"loc": {
"start": {
"line": 475,
"column": 12
},
"end": {
"line": 475,
"column": 17
},
"identifierName": "right"
},
"name": "right",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 13345,
"end": 13376,
"loc": {
"start": {
"line": 475,
"column": 20
},
"end": {
"line": 475,
"column": 51
}
},
"callee": {
"type": "MemberExpression",
"start": 13345,
"end": 13367,
"loc": {
"start": {
"line": 475,
"column": 20
},
"end": {
"line": 475,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 13345,
"end": 13349,
"loc": {
"start": {
"line": 475,
"column": 20
},
"end": {
"line": 475,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 13345,
"end": 13346,
"loc": {
"start": {
"line": 475,
"column": 20
},
"end": {
"line": 475,
"column": 21
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 13347,
"end": 13349,
"loc": {
"start": {
"line": 475,
"column": 22
},
"end": {
"line": 475,
"column": 24
},
"identifierName": "os"
},
"name": "os"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 13350,
"end": 13367,
"loc": {
"start": {
"line": 475,
"column": 25
},
"end": {
"line": 475,
"column": 42
},
"identifierName": "getItemCleanStart"
},
"name": "getItemCleanStart"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 13368,
"end": 13375,
"loc": {
"start": {
"line": 475,
"column": 43
},
"end": {
"line": 475,
"column": 50
},
"identifierName": "rightID"
},
"name": "rightID"
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " we have to query for right again because it might have been split/merged..",
"start": 13247,
"end": 13324,
"loc": {
"start": {
"line": 474,
"column": 6
},
"end": {
"line": 474,
"column": 83
}
}
}
]
},
{
"type": "IfStatement",
"start": 13383,
"end": 13520,
"loc": {
"start": {
"line": 476,
"column": 6
},
"end": {
"line": 481,
"column": 7
}
},
"test": {
"type": "BinaryExpression",
"start": 13387,
"end": 13401,
"loc": {
"start": {
"line": 476,
"column": 10
},
"end": {
"line": 476,
"column": 24
}
},
"left": {
"type": "Identifier",
"start": 13387,
"end": 13392,
"loc": {
"start": {
"line": 476,
"column": 10
},
"end": {
"line": 476,
"column": 15
},
"identifierName": "right"
},
"name": "right"
},
"operator": "===",
"right": {
"type": "NullLiteral",
"start": 13397,
"end": 13401,
"loc": {
"start": {
"line": 476,
"column": 20
},
"end": {
"line": 476,
"column": 24
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 13403,
"end": 13442,
"loc": {
"start": {
"line": 476,
"column": 26
},
"end": {
"line": 478,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 13413,
"end": 13434,
"loc": {
"start": {
"line": 477,
"column": 8
},
"end": {
"line": 477,
"column": 29
}
},
"expression": {
"type": "CallExpression",
"start": 13413,
"end": 13434,
"loc": {
"start": {
"line": 477,
"column": 8
},
"end": {
"line": 477,
"column": 29
}
},
"callee": {
"type": "MemberExpression",
"start": 13413,
"end": 13425,
"loc": {
"start": {
"line": 477,
"column": 8
},
"end": {
"line": 477,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 13413,
"end": 13420,
"loc": {
"start": {
"line": 477,
"column": 8
},
"end": {
"line": 477,
"column": 15
},
"identifierName": "missing"
},
"name": "missing"
},
"property": {
"type": "Identifier",
"start": 13421,
"end": 13425,
"loc": {
"start": {
"line": 477,
"column": 16
},
"end": {
"line": 477,
"column": 20
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 13426,
"end": 13433,
"loc": {
"start": {
"line": 477,
"column": 21
},
"end": {
"line": 477,
"column": 28
},
"identifierName": "rightID"
},
"name": "rightID"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 13448,
"end": 13520,
"loc": {
"start": {
"line": 478,
"column": 13
},
"end": {
"line": 481,
"column": 7
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 13458,
"end": 13477,
"loc": {
"start": {
"line": 479,
"column": 8
},
"end": {
"line": 479,
"column": 27
}
},
"expression": {
"type": "AssignmentExpression",
"start": 13458,
"end": 13477,
"loc": {
"start": {
"line": 479,
"column": 8
},
"end": {
"line": 479,
"column": 27
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 13458,
"end": 13469,
"loc": {
"start": {
"line": 479,
"column": 8
},
"end": {
"line": 479,
"column": 19
}
},
"object": {
"type": "ThisExpression",
"start": 13458,
"end": 13462,
"loc": {
"start": {
"line": 479,
"column": 8
},
"end": {
"line": 479,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 13463,
"end": 13469,
"loc": {
"start": {
"line": 479,
"column": 13
},
"end": {
"line": 479,
"column": 19
},
"identifierName": "_right"
},
"name": "_right"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 13472,
"end": 13477,
"loc": {
"start": {
"line": 479,
"column": 22
},
"end": {
"line": 479,
"column": 27
},
"identifierName": "right"
},
"name": "right"
}
}
},
{
"type": "ExpressionStatement",
"start": 13486,
"end": 13512,
"loc": {
"start": {
"line": 480,
"column": 8
},
"end": {
"line": 480,
"column": 34
}
},
"expression": {
"type": "AssignmentExpression",
"start": 13486,
"end": 13512,
"loc": {
"start": {
"line": 480,
"column": 8
},
"end": {
"line": 480,
"column": 34
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 13486,
"end": 13504,
"loc": {
"start": {
"line": 480,
"column": 8
},
"end": {
"line": 480,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 13486,
"end": 13490,
"loc": {
"start": {
"line": 480,
"column": 8
},
"end": {
"line": 480,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 13491,
"end": 13504,
"loc": {
"start": {
"line": 480,
"column": 13
},
"end": {
"line": 480,
"column": 26
},
"identifierName": "_right_origin"
},
"name": "_right_origin"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 13507,
"end": 13512,
"loc": {
"start": {
"line": 480,
"column": 29
},
"end": {
"line": 480,
"column": 34
},
"identifierName": "right"
},
"name": "right"
}
}
}
],
"directives": []
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " read right",
"start": 13141,
"end": 13154,
"loc": {
"start": {
"line": 470,
"column": 4
},
"end": {
"line": 470,
"column": 17
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " read parent",
"start": 13531,
"end": 13545,
"loc": {
"start": {
"line": 483,
"column": 4
},
"end": {
"line": 483,
"column": 18
}
}
}
]
},
{
"type": "IfStatement",
"start": 13550,
"end": 14649,
"loc": {
"start": {
"line": 484,
"column": 4
},
"end": {
"line": 517,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 13554,
"end": 13574,
"loc": {
"start": {
"line": 484,
"column": 8
},
"end": {
"line": 484,
"column": 28
}
},
"left": {
"type": "BinaryExpression",
"start": 13555,
"end": 13567,
"loc": {
"start": {
"line": 484,
"column": 9
},
"end": {
"line": 484,
"column": 21
}
},
"left": {
"type": "Identifier",
"start": 13555,
"end": 13559,
"loc": {
"start": {
"line": 484,
"column": 9
},
"end": {
"line": 484,
"column": 13
},
"identifierName": "info"
},
"name": "info",
"leadingComments": null
},
"operator": "&",
"right": {
"type": "NumericLiteral",
"start": 13562,
"end": 13567,
"loc": {
"start": {
"line": 484,
"column": 16
},
"end": {
"line": 484,
"column": 21
}
},
"extra": {
"rawValue": 5,
"raw": "0b101"
},
"value": 5
},
"leadingComments": null,
"extra": {
"parenthesized": true,
"parenStart": 13554
}
},
"operator": "===",
"right": {
"type": "NumericLiteral",
"start": 13573,
"end": 13574,
"loc": {
"start": {
"line": 484,
"column": 27
},
"end": {
"line": 484,
"column": 28
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 13576,
"end": 14080,
"loc": {
"start": {
"line": 484,
"column": 30
},
"end": {
"line": 501,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 13629,
"end": 13662,
"loc": {
"start": {
"line": 486,
"column": 6
},
"end": {
"line": 486,
"column": 39
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 13635,
"end": 13662,
"loc": {
"start": {
"line": 486,
"column": 12
},
"end": {
"line": 486,
"column": 39
}
},
"id": {
"type": "Identifier",
"start": 13635,
"end": 13643,
"loc": {
"start": {
"line": 486,
"column": 12
},
"end": {
"line": 486,
"column": 20
},
"identifierName": "parentID"
},
"name": "parentID",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 13646,
"end": 13662,
"loc": {
"start": {
"line": 486,
"column": 23
},
"end": {
"line": 486,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 13646,
"end": 13660,
"loc": {
"start": {
"line": 486,
"column": 23
},
"end": {
"line": 486,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 13646,
"end": 13653,
"loc": {
"start": {
"line": 486,
"column": 23
},
"end": {
"line": 486,
"column": 30
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 13654,
"end": 13660,
"loc": {
"start": {
"line": 486,
"column": 31
},
"end": {
"line": 486,
"column": 37
},
"identifierName": "readID"
},
"name": "readID"
},
"computed": false
},
"arguments": [],
"trailingComments": null
},
"leadingComments": null,
"trailingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " neither origin nor right is defined",
"start": 13584,
"end": 13622,
"loc": {
"start": {
"line": 485,
"column": 6
},
"end": {
"line": 485,
"column": 44
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " parent does not change, so we don't have to search for it again",
"start": 13669,
"end": 13735,
"loc": {
"start": {
"line": 487,
"column": 6
},
"end": {
"line": 487,
"column": 72
}
}
}
]
},
{
"type": "IfStatement",
"start": 13742,
"end": 14074,
"loc": {
"start": {
"line": 488,
"column": 6
},
"end": {
"line": 500,
"column": 7
}
},
"test": {
"type": "BinaryExpression",
"start": 13746,
"end": 13767,
"loc": {
"start": {
"line": 488,
"column": 10
},
"end": {
"line": 488,
"column": 31
}
},
"left": {
"type": "MemberExpression",
"start": 13746,
"end": 13758,
"loc": {
"start": {
"line": 488,
"column": 10
},
"end": {
"line": 488,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 13746,
"end": 13750,
"loc": {
"start": {
"line": 488,
"column": 10
},
"end": {
"line": 488,
"column": 14
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 13751,
"end": 13758,
"loc": {
"start": {
"line": 488,
"column": 15
},
"end": {
"line": 488,
"column": 22
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false,
"leadingComments": null
},
"operator": "===",
"right": {
"type": "NullLiteral",
"start": 13763,
"end": 13767,
"loc": {
"start": {
"line": 488,
"column": 27
},
"end": {
"line": 488,
"column": 31
}
}
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 13769,
"end": 14074,
"loc": {
"start": {
"line": 488,
"column": 33
},
"end": {
"line": 500,
"column": 7
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 13779,
"end": 13789,
"loc": {
"start": {
"line": 489,
"column": 8
},
"end": {
"line": 489,
"column": 18
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 13783,
"end": 13789,
"loc": {
"start": {
"line": 489,
"column": 12
},
"end": {
"line": 489,
"column": 18
}
},
"id": {
"type": "Identifier",
"start": 13783,
"end": 13789,
"loc": {
"start": {
"line": 489,
"column": 12
},
"end": {
"line": 489,
"column": 18
},
"identifierName": "parent"
},
"name": "parent"
},
"init": null
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 13798,
"end": 13943,
"loc": {
"start": {
"line": 490,
"column": 8
},
"end": {
"line": 494,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 13802,
"end": 13833,
"loc": {
"start": {
"line": 490,
"column": 12
},
"end": {
"line": 490,
"column": 43
}
},
"left": {
"type": "MemberExpression",
"start": 13802,
"end": 13822,
"loc": {
"start": {
"line": 490,
"column": 12
},
"end": {
"line": 490,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 13802,
"end": 13810,
"loc": {
"start": {
"line": 490,
"column": 12
},
"end": {
"line": 490,
"column": 20
},
"identifierName": "parentID"
},
"name": "parentID"
},
"property": {
"type": "Identifier",
"start": 13811,
"end": 13822,
"loc": {
"start": {
"line": 490,
"column": 21
},
"end": {
"line": 490,
"column": 32
},
"identifierName": "constructor"
},
"name": "constructor"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 13827,
"end": 13833,
"loc": {
"start": {
"line": 490,
"column": 37
},
"end": {
"line": 490,
"column": 43
},
"identifierName": "RootID"
},
"name": "RootID"
}
},
"consequent": {
"type": "BlockStatement",
"start": 13835,
"end": 13884,
"loc": {
"start": {
"line": 490,
"column": 45
},
"end": {
"line": 492,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 13847,
"end": 13874,
"loc": {
"start": {
"line": 491,
"column": 10
},
"end": {
"line": 491,
"column": 37
}
},
"expression": {
"type": "AssignmentExpression",
"start": 13847,
"end": 13874,
"loc": {
"start": {
"line": 491,
"column": 10
},
"end": {
"line": 491,
"column": 37
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 13847,
"end": 13853,
"loc": {
"start": {
"line": 491,
"column": 10
},
"end": {
"line": 491,
"column": 16
},
"identifierName": "parent"
},
"name": "parent"
},
"right": {
"type": "CallExpression",
"start": 13856,
"end": 13874,
"loc": {
"start": {
"line": 491,
"column": 19
},
"end": {
"line": 491,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 13856,
"end": 13864,
"loc": {
"start": {
"line": 491,
"column": 19
},
"end": {
"line": 491,
"column": 27
}
},
"object": {
"type": "MemberExpression",
"start": 13856,
"end": 13860,
"loc": {
"start": {
"line": 491,
"column": 19
},
"end": {
"line": 491,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 13856,
"end": 13857,
"loc": {
"start": {
"line": 491,
"column": 19
},
"end": {
"line": 491,
"column": 20
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 13858,
"end": 13860,
"loc": {
"start": {
"line": 491,
"column": 21
},
"end": {
"line": 491,
"column": 23
},
"identifierName": "os"
},
"name": "os"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 13861,
"end": 13864,
"loc": {
"start": {
"line": 491,
"column": 24
},
"end": {
"line": 491,
"column": 27
},
"identifierName": "get"
},
"name": "get"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 13865,
"end": 13873,
"loc": {
"start": {
"line": 491,
"column": 28
},
"end": {
"line": 491,
"column": 36
},
"identifierName": "parentID"
},
"name": "parentID"
}
]
}
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 13890,
"end": 13943,
"loc": {
"start": {
"line": 492,
"column": 15
},
"end": {
"line": 494,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 13902,
"end": 13933,
"loc": {
"start": {
"line": 493,
"column": 10
},
"end": {
"line": 493,
"column": 41
}
},
"expression": {
"type": "AssignmentExpression",
"start": 13902,
"end": 13933,
"loc": {
"start": {
"line": 493,
"column": 10
},
"end": {
"line": 493,
"column": 41
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 13902,
"end": 13908,
"loc": {
"start": {
"line": 493,
"column": 10
},
"end": {
"line": 493,
"column": 16
},
"identifierName": "parent"
},
"name": "parent"
},
"right": {
"type": "CallExpression",
"start": 13911,
"end": 13933,
"loc": {
"start": {
"line": 493,
"column": 19
},
"end": {
"line": 493,
"column": 41
}
},
"callee": {
"type": "MemberExpression",
"start": 13911,
"end": 13923,
"loc": {
"start": {
"line": 493,
"column": 19
},
"end": {
"line": 493,
"column": 31
}
},
"object": {
"type": "MemberExpression",
"start": 13911,
"end": 13915,
"loc": {
"start": {
"line": 493,
"column": 19
},
"end": {
"line": 493,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 13911,
"end": 13912,
"loc": {
"start": {
"line": 493,
"column": 19
},
"end": {
"line": 493,
"column": 20
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 13913,
"end": 13915,
"loc": {
"start": {
"line": 493,
"column": 21
},
"end": {
"line": 493,
"column": 23
},
"identifierName": "os"
},
"name": "os"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 13916,
"end": 13923,
"loc": {
"start": {
"line": 493,
"column": 24
},
"end": {
"line": 493,
"column": 31
},
"identifierName": "getItem"
},
"name": "getItem"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 13924,
"end": 13932,
"loc": {
"start": {
"line": 493,
"column": 32
},
"end": {
"line": 493,
"column": 40
},
"identifierName": "parentID"
},
"name": "parentID"
}
]
}
}
}
],
"directives": []
}
},
{
"type": "IfStatement",
"start": 13952,
"end": 14066,
"loc": {
"start": {
"line": 495,
"column": 8
},
"end": {
"line": 499,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 13956,
"end": 13971,
"loc": {
"start": {
"line": 495,
"column": 12
},
"end": {
"line": 495,
"column": 27
}
},
"left": {
"type": "Identifier",
"start": 13956,
"end": 13962,
"loc": {
"start": {
"line": 495,
"column": 12
},
"end": {
"line": 495,
"column": 18
},
"identifierName": "parent"
},
"name": "parent"
},
"operator": "===",
"right": {
"type": "NullLiteral",
"start": 13967,
"end": 13971,
"loc": {
"start": {
"line": 495,
"column": 23
},
"end": {
"line": 495,
"column": 27
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 13973,
"end": 14017,
"loc": {
"start": {
"line": 495,
"column": 29
},
"end": {
"line": 497,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 13985,
"end": 14007,
"loc": {
"start": {
"line": 496,
"column": 10
},
"end": {
"line": 496,
"column": 32
}
},
"expression": {
"type": "CallExpression",
"start": 13985,
"end": 14007,
"loc": {
"start": {
"line": 496,
"column": 10
},
"end": {
"line": 496,
"column": 32
}
},
"callee": {
"type": "MemberExpression",
"start": 13985,
"end": 13997,
"loc": {
"start": {
"line": 496,
"column": 10
},
"end": {
"line": 496,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 13985,
"end": 13992,
"loc": {
"start": {
"line": 496,
"column": 10
},
"end": {
"line": 496,
"column": 17
},
"identifierName": "missing"
},
"name": "missing"
},
"property": {
"type": "Identifier",
"start": 13993,
"end": 13997,
"loc": {
"start": {
"line": 496,
"column": 18
},
"end": {
"line": 496,
"column": 22
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 13998,
"end": 14006,
"loc": {
"start": {
"line": 496,
"column": 23
},
"end": {
"line": 496,
"column": 31
},
"identifierName": "parentID"
},
"name": "parentID"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 14023,
"end": 14066,
"loc": {
"start": {
"line": 497,
"column": 15
},
"end": {
"line": 499,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 14035,
"end": 14056,
"loc": {
"start": {
"line": 498,
"column": 10
},
"end": {
"line": 498,
"column": 31
}
},
"expression": {
"type": "AssignmentExpression",
"start": 14035,
"end": 14056,
"loc": {
"start": {
"line": 498,
"column": 10
},
"end": {
"line": 498,
"column": 31
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 14035,
"end": 14047,
"loc": {
"start": {
"line": 498,
"column": 10
},
"end": {
"line": 498,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 14035,
"end": 14039,
"loc": {
"start": {
"line": 498,
"column": 10
},
"end": {
"line": 498,
"column": 14
}
}
},
"property": {
"type": "Identifier",
"start": 14040,
"end": 14047,
"loc": {
"start": {
"line": 498,
"column": 15
},
"end": {
"line": 498,
"column": 22
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 14050,
"end": 14056,
"loc": {
"start": {
"line": 498,
"column": 25
},
"end": {
"line": 498,
"column": 31
},
"identifierName": "parent"
},
"name": "parent"
}
}
}
],
"directives": []
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " parent does not change, so we don't have to search for it again",
"start": 13669,
"end": 13735,
"loc": {
"start": {
"line": 487,
"column": 6
},
"end": {
"line": 487,
"column": 72
}
}
}
]
}
],
"directives": []
},
"alternate": {
"type": "IfStatement",
"start": 14086,
"end": 14649,
"loc": {
"start": {
"line": 501,
"column": 11
},
"end": {
"line": 517,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 14090,
"end": 14111,
"loc": {
"start": {
"line": 501,
"column": 15
},
"end": {
"line": 501,
"column": 36
}
},
"left": {
"type": "MemberExpression",
"start": 14090,
"end": 14102,
"loc": {
"start": {
"line": 501,
"column": 15
},
"end": {
"line": 501,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 14090,
"end": 14094,
"loc": {
"start": {
"line": 501,
"column": 15
},
"end": {
"line": 501,
"column": 19
}
}
},
"property": {
"type": "Identifier",
"start": 14095,
"end": 14102,
"loc": {
"start": {
"line": 501,
"column": 20
},
"end": {
"line": 501,
"column": 27
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false
},
"operator": "===",
"right": {
"type": "NullLiteral",
"start": 14107,
"end": 14111,
"loc": {
"start": {
"line": 501,
"column": 32
},
"end": {
"line": 501,
"column": 36
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 14113,
"end": 14649,
"loc": {
"start": {
"line": 501,
"column": 38
},
"end": {
"line": 517,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 14121,
"end": 14643,
"loc": {
"start": {
"line": 502,
"column": 6
},
"end": {
"line": 516,
"column": 7
}
},
"test": {
"type": "BinaryExpression",
"start": 14125,
"end": 14146,
"loc": {
"start": {
"line": 502,
"column": 10
},
"end": {
"line": 502,
"column": 31
}
},
"left": {
"type": "MemberExpression",
"start": 14125,
"end": 14137,
"loc": {
"start": {
"line": 502,
"column": 10
},
"end": {
"line": 502,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 14125,
"end": 14129,
"loc": {
"start": {
"line": 502,
"column": 10
},
"end": {
"line": 502,
"column": 14
}
}
},
"property": {
"type": "Identifier",
"start": 14130,
"end": 14137,
"loc": {
"start": {
"line": 502,
"column": 15
},
"end": {
"line": 502,
"column": 22
},
"identifierName": "_origin"
},
"name": "_origin"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 14142,
"end": 14146,
"loc": {
"start": {
"line": 502,
"column": 27
},
"end": {
"line": 502,
"column": 31
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 14148,
"end": 14368,
"loc": {
"start": {
"line": 502,
"column": 33
},
"end": {
"line": 509,
"column": 7
}
},
"body": [
{
"type": "IfStatement",
"start": 14158,
"end": 14360,
"loc": {
"start": {
"line": 503,
"column": 8
},
"end": {
"line": 508,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 14162,
"end": 14193,
"loc": {
"start": {
"line": 503,
"column": 12
},
"end": {
"line": 503,
"column": 43
}
},
"left": {
"type": "MemberExpression",
"start": 14162,
"end": 14186,
"loc": {
"start": {
"line": 503,
"column": 12
},
"end": {
"line": 503,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 14162,
"end": 14174,
"loc": {
"start": {
"line": 503,
"column": 12
},
"end": {
"line": 503,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 14162,
"end": 14166,
"loc": {
"start": {
"line": 503,
"column": 12
},
"end": {
"line": 503,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 14167,
"end": 14174,
"loc": {
"start": {
"line": 503,
"column": 17
},
"end": {
"line": 503,
"column": 24
},
"identifierName": "_origin"
},
"name": "_origin"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 14175,
"end": 14186,
"loc": {
"start": {
"line": 503,
"column": 25
},
"end": {
"line": 503,
"column": 36
},
"identifierName": "constructor"
},
"name": "constructor"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 14191,
"end": 14193,
"loc": {
"start": {
"line": 503,
"column": 41
},
"end": {
"line": 503,
"column": 43
},
"identifierName": "GC"
},
"name": "GC"
}
},
"consequent": {
"type": "BlockStatement",
"start": 14195,
"end": 14297,
"loc": {
"start": {
"line": 503,
"column": 45
},
"end": {
"line": 506,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 14260,
"end": 14287,
"loc": {
"start": {
"line": 505,
"column": 10
},
"end": {
"line": 505,
"column": 37
}
},
"expression": {
"type": "AssignmentExpression",
"start": 14260,
"end": 14287,
"loc": {
"start": {
"line": 505,
"column": 10
},
"end": {
"line": 505,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 14260,
"end": 14272,
"loc": {
"start": {
"line": 505,
"column": 10
},
"end": {
"line": 505,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 14260,
"end": 14264,
"loc": {
"start": {
"line": 505,
"column": 10
},
"end": {
"line": 505,
"column": 14
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 14265,
"end": 14272,
"loc": {
"start": {
"line": 505,
"column": 15
},
"end": {
"line": 505,
"column": 22
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "MemberExpression",
"start": 14275,
"end": 14287,
"loc": {
"start": {
"line": 505,
"column": 25
},
"end": {
"line": 505,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 14275,
"end": 14279,
"loc": {
"start": {
"line": 505,
"column": 25
},
"end": {
"line": 505,
"column": 29
}
}
},
"property": {
"type": "Identifier",
"start": 14280,
"end": 14287,
"loc": {
"start": {
"line": 505,
"column": 30
},
"end": {
"line": 505,
"column": 37
},
"identifierName": "_origin"
},
"name": "_origin"
},
"computed": false
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " if origin is a gc, set parent also gc'd",
"start": 14207,
"end": 14249,
"loc": {
"start": {
"line": 504,
"column": 10
},
"end": {
"line": 504,
"column": 52
}
}
}
]
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 14303,
"end": 14360,
"loc": {
"start": {
"line": 506,
"column": 15
},
"end": {
"line": 508,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 14315,
"end": 14350,
"loc": {
"start": {
"line": 507,
"column": 10
},
"end": {
"line": 507,
"column": 45
}
},
"expression": {
"type": "AssignmentExpression",
"start": 14315,
"end": 14350,
"loc": {
"start": {
"line": 507,
"column": 10
},
"end": {
"line": 507,
"column": 45
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 14315,
"end": 14327,
"loc": {
"start": {
"line": 507,
"column": 10
},
"end": {
"line": 507,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 14315,
"end": 14319,
"loc": {
"start": {
"line": 507,
"column": 10
},
"end": {
"line": 507,
"column": 14
}
}
},
"property": {
"type": "Identifier",
"start": 14320,
"end": 14327,
"loc": {
"start": {
"line": 507,
"column": 15
},
"end": {
"line": 507,
"column": 22
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 14330,
"end": 14350,
"loc": {
"start": {
"line": 507,
"column": 25
},
"end": {
"line": 507,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 14330,
"end": 14342,
"loc": {
"start": {
"line": 507,
"column": 25
},
"end": {
"line": 507,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 14330,
"end": 14334,
"loc": {
"start": {
"line": 507,
"column": 25
},
"end": {
"line": 507,
"column": 29
}
}
},
"property": {
"type": "Identifier",
"start": 14335,
"end": 14342,
"loc": {
"start": {
"line": 507,
"column": 30
},
"end": {
"line": 507,
"column": 37
},
"identifierName": "_origin"
},
"name": "_origin"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 14343,
"end": 14350,
"loc": {
"start": {
"line": 507,
"column": 38
},
"end": {
"line": 507,
"column": 45
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false
}
}
}
],
"directives": []
}
}
],
"directives": []
},
"alternate": {
"type": "IfStatement",
"start": 14374,
"end": 14643,
"loc": {
"start": {
"line": 509,
"column": 13
},
"end": {
"line": 516,
"column": 7
}
},
"test": {
"type": "BinaryExpression",
"start": 14378,
"end": 14405,
"loc": {
"start": {
"line": 509,
"column": 17
},
"end": {
"line": 509,
"column": 44
}
},
"left": {
"type": "MemberExpression",
"start": 14378,
"end": 14396,
"loc": {
"start": {
"line": 509,
"column": 17
},
"end": {
"line": 509,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 14378,
"end": 14382,
"loc": {
"start": {
"line": 509,
"column": 17
},
"end": {
"line": 509,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 14383,
"end": 14396,
"loc": {
"start": {
"line": 509,
"column": 22
},
"end": {
"line": 509,
"column": 35
},
"identifierName": "_right_origin"
},
"name": "_right_origin"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "NullLiteral",
"start": 14401,
"end": 14405,
"loc": {
"start": {
"line": 509,
"column": 40
},
"end": {
"line": 509,
"column": 44
}
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 14407,
"end": 14643,
"loc": {
"start": {
"line": 509,
"column": 46
},
"end": {
"line": 516,
"column": 7
}
},
"body": [
{
"type": "IfStatement",
"start": 14468,
"end": 14635,
"loc": {
"start": {
"line": 511,
"column": 8
},
"end": {
"line": 515,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 14472,
"end": 14509,
"loc": {
"start": {
"line": 511,
"column": 12
},
"end": {
"line": 511,
"column": 49
}
},
"left": {
"type": "MemberExpression",
"start": 14472,
"end": 14502,
"loc": {
"start": {
"line": 511,
"column": 12
},
"end": {
"line": 511,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 14472,
"end": 14490,
"loc": {
"start": {
"line": 511,
"column": 12
},
"end": {
"line": 511,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 14472,
"end": 14476,
"loc": {
"start": {
"line": 511,
"column": 12
},
"end": {
"line": 511,
"column": 16
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 14477,
"end": 14490,
"loc": {
"start": {
"line": 511,
"column": 17
},
"end": {
"line": 511,
"column": 30
},
"identifierName": "_right_origin"
},
"name": "_right_origin"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 14491,
"end": 14502,
"loc": {
"start": {
"line": 511,
"column": 31
},
"end": {
"line": 511,
"column": 42
},
"identifierName": "constructor"
},
"name": "constructor"
},
"computed": false,
"leadingComments": null
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 14507,
"end": 14509,
"loc": {
"start": {
"line": 511,
"column": 47
},
"end": {
"line": 511,
"column": 49
},
"identifierName": "GC"
},
"name": "GC"
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 14511,
"end": 14566,
"loc": {
"start": {
"line": 511,
"column": 51
},
"end": {
"line": 513,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 14523,
"end": 14556,
"loc": {
"start": {
"line": 512,
"column": 10
},
"end": {
"line": 512,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 14523,
"end": 14556,
"loc": {
"start": {
"line": 512,
"column": 10
},
"end": {
"line": 512,
"column": 43
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 14523,
"end": 14535,
"loc": {
"start": {
"line": 512,
"column": 10
},
"end": {
"line": 512,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 14523,
"end": 14527,
"loc": {
"start": {
"line": 512,
"column": 10
},
"end": {
"line": 512,
"column": 14
}
}
},
"property": {
"type": "Identifier",
"start": 14528,
"end": 14535,
"loc": {
"start": {
"line": 512,
"column": 15
},
"end": {
"line": 512,
"column": 22
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 14538,
"end": 14556,
"loc": {
"start": {
"line": 512,
"column": 25
},
"end": {
"line": 512,
"column": 43
}
},
"object": {
"type": "ThisExpression",
"start": 14538,
"end": 14542,
"loc": {
"start": {
"line": 512,
"column": 25
},
"end": {
"line": 512,
"column": 29
}
}
},
"property": {
"type": "Identifier",
"start": 14543,
"end": 14556,
"loc": {
"start": {
"line": 512,
"column": 30
},
"end": {
"line": 512,
"column": 43
},
"identifierName": "_right_origin"
},
"name": "_right_origin"
},
"computed": false
}
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 14572,
"end": 14635,
"loc": {
"start": {
"line": 513,
"column": 15
},
"end": {
"line": 515,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 14584,
"end": 14625,
"loc": {
"start": {
"line": 514,
"column": 10
},
"end": {
"line": 514,
"column": 51
}
},
"expression": {
"type": "AssignmentExpression",
"start": 14584,
"end": 14625,
"loc": {
"start": {
"line": 514,
"column": 10
},
"end": {
"line": 514,
"column": 51
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 14584,
"end": 14596,
"loc": {
"start": {
"line": 514,
"column": 10
},
"end": {
"line": 514,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 14584,
"end": 14588,
"loc": {
"start": {
"line": 514,
"column": 10
},
"end": {
"line": 514,
"column": 14
}
}
},
"property": {
"type": "Identifier",
"start": 14589,
"end": 14596,
"loc": {
"start": {
"line": 514,
"column": 15
},
"end": {
"line": 514,
"column": 22
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 14599,
"end": 14625,
"loc": {
"start": {
"line": 514,
"column": 25
},
"end": {
"line": 514,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 14599,
"end": 14617,
"loc": {
"start": {
"line": 514,
"column": 25
},
"end": {
"line": 514,
"column": 43
}
},
"object": {
"type": "ThisExpression",
"start": 14599,
"end": 14603,
"loc": {
"start": {
"line": 514,
"column": 25
},
"end": {
"line": 514,
"column": 29
}
}
},
"property": {
"type": "Identifier",
"start": 14604,
"end": 14617,
"loc": {
"start": {
"line": 514,
"column": 30
},
"end": {
"line": 514,
"column": 43
},
"identifierName": "_right_origin"
},
"name": "_right_origin"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 14618,
"end": 14625,
"loc": {
"start": {
"line": 514,
"column": 44
},
"end": {
"line": 514,
"column": 51
},
"identifierName": "_parent"
},
"name": "_parent"
},
"computed": false
}
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " if origin is a gc, set parent also gc'd",
"start": 14417,
"end": 14459,
"loc": {
"start": {
"line": 510,
"column": 8
},
"end": {
"line": 510,
"column": 50
}
}
}
]
}
],
"directives": []
},
"alternate": null
}
}
],
"directives": []
},
"alternate": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " read parent",
"start": 13531,
"end": 13545,
"loc": {
"start": {
"line": 483,
"column": 4
},
"end": {
"line": 483,
"column": 18
}
}
}
]
},
{
"type": "IfStatement",
"start": 14654,
"end": 14841,
"loc": {
"start": {
"line": 518,
"column": 4
},
"end": {
"line": 521,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 14658,
"end": 14671,
"loc": {
"start": {
"line": 518,
"column": 8
},
"end": {
"line": 518,
"column": 21
}
},
"left": {
"type": "Identifier",
"start": 14658,
"end": 14662,
"loc": {
"start": {
"line": 518,
"column": 8
},
"end": {
"line": 518,
"column": 12
},
"identifierName": "info"
},
"name": "info"
},
"operator": "&",
"right": {
"type": "NumericLiteral",
"start": 14665,
"end": 14671,
"loc": {
"start": {
"line": 518,
"column": 15
},
"end": {
"line": 518,
"column": 21
}
},
"extra": {
"rawValue": 8,
"raw": "0b1000"
},
"value": 8
}
},
"consequent": {
"type": "BlockStatement",
"start": 14673,
"end": 14841,
"loc": {
"start": {
"line": 518,
"column": 23
},
"end": {
"line": 521,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 14782,
"end": 14835,
"loc": {
"start": {
"line": 520,
"column": 6
},
"end": {
"line": 520,
"column": 59
}
},
"expression": {
"type": "AssignmentExpression",
"start": 14782,
"end": 14835,
"loc": {
"start": {
"line": 520,
"column": 6
},
"end": {
"line": 520,
"column": 59
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 14782,
"end": 14797,
"loc": {
"start": {
"line": 520,
"column": 6
},
"end": {
"line": 520,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 14782,
"end": 14786,
"loc": {
"start": {
"line": 520,
"column": 6
},
"end": {
"line": 520,
"column": 10
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 14787,
"end": 14797,
"loc": {
"start": {
"line": 520,
"column": 11
},
"end": {
"line": 520,
"column": 21
},
"identifierName": "_parentSub"
},
"name": "_parentSub"
},
"computed": false,
"leadingComments": null
},
"right": {
"type": "CallExpression",
"start": 14800,
"end": 14835,
"loc": {
"start": {
"line": 520,
"column": 24
},
"end": {
"line": 520,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
"start": 14800,
"end": 14810,
"loc": {
"start": {
"line": 520,
"column": 24
},
"end": {
"line": 520,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 14800,
"end": 14804,
"loc": {
"start": {
"line": 520,
"column": 24
},
"end": {
"line": 520,
"column": 28
},
"identifierName": "JSON"
},
"name": "JSON"
},
"property": {
"type": "Identifier",
"start": 14805,
"end": 14810,
"loc": {
"start": {
"line": 520,
"column": 29
},
"end": {
"line": 520,
"column": 34
},
"identifierName": "parse"
},
"name": "parse"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 14811,
"end": 14834,
"loc": {
"start": {
"line": 520,
"column": 35
},
"end": {
"line": 520,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 14811,
"end": 14832,
"loc": {
"start": {
"line": 520,
"column": 35
},
"end": {
"line": 520,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 14811,
"end": 14818,
"loc": {
"start": {
"line": 520,
"column": 35
},
"end": {
"line": 520,
"column": 42
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 14819,
"end": 14832,
"loc": {
"start": {
"line": 520,
"column": 43
},
"end": {
"line": 520,
"column": 56
},
"identifierName": "readVarString"
},
"name": "readVarString"
},
"computed": false
},
"arguments": []
}
]
},
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " TODO: maybe put this in read parent condition (you can also read parentsub from left/right)",
"start": 14681,
"end": 14775,
"loc": {
"start": {
"line": 519,
"column": 6
},
"end": {
"line": 519,
"column": 100
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 14846,
"end": 14942,
"loc": {
"start": {
"line": 522,
"column": 4
},
"end": {
"line": 524,
"column": 5
}
},
"test": {
"type": "BinaryExpression",
"start": 14850,
"end": 14883,
"loc": {
"start": {
"line": 522,
"column": 8
},
"end": {
"line": 522,
"column": 41
}
},
"left": {
"type": "CallExpression",
"start": 14850,
"end": 14872,
"loc": {
"start": {
"line": 522,
"column": 8
},
"end": {
"line": 522,
"column": 30
}
},
"callee": {
"type": "MemberExpression",
"start": 14850,
"end": 14863,
"loc": {
"start": {
"line": 522,
"column": 8
},
"end": {
"line": 522,
"column": 21
}
},
"object": {
"type": "MemberExpression",
"start": 14850,
"end": 14854,
"loc": {
"start": {
"line": 522,
"column": 8
},
"end": {
"line": 522,
"column": 12
}
},
"object": {
"type": "Identifier",
"start": 14850,
"end": 14851,
"loc": {
"start": {
"line": 522,
"column": 8
},
"end": {
"line": 522,
"column": 9
},
"identifierName": "y"
},
"name": "y"
},
"property": {
"type": "Identifier",
"start": 14852,
"end": 14854,
"loc": {
"start": {
"line": 522,
"column": 10
},
"end": {
"line": 522,
"column": 12
},
"identifierName": "ss"
},
"name": "ss"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 14855,
"end": 14863,
"loc": {
"start": {
"line": 522,
"column": 13
},
"end": {
"line": 522,
"column": 21
},
"identifierName": "getState"
},
"name": "getState"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 14864,
"end": 14871,
"loc": {
"start": {
"line": 522,
"column": 22
},
"end": {
"line": 522,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 14864,
"end": 14866,
"loc": {
"start": {
"line": 522,
"column": 22
},
"end": {
"line": 522,
"column": 24
},
"identifierName": "id"
},
"name": "id"
},
"property": {
"type": "Identifier",
"start": 14867,
"end": 14871,
"loc": {
"start": {
"line": 522,
"column": 25
},
"end": {
"line": 522,
"column": 29
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
}
]
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 14875,
"end": 14883,
"loc": {
"start": {
"line": 522,
"column": 33
},
"end": {
"line": 522,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 14875,
"end": 14877,
"loc": {
"start": {
"line": 522,
"column": 33
},
"end": {
"line": 522,
"column": 35
},
"identifierName": "id"
},
"name": "id"
},
"property": {
"type": "Identifier",
"start": 14878,
"end": 14883,
"loc": {
"start": {
"line": 522,
"column": 36
},
"end": {
"line": 522,
"column": 41
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 14885,
"end": 14942,
"loc": {
"start": {
"line": 522,
"column": 43
},
"end": {
"line": 524,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 14893,
"end": 14936,
"loc": {
"start": {
"line": 523,
"column": 6
},
"end": {
"line": 523,
"column": 49
}
},
"expression": {
"type": "CallExpression",
"start": 14893,
"end": 14936,
"loc": {
"start": {
"line": 523,
"column": 6
},
"end": {
"line": 523,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
"start": 14893,
"end": 14905,
"loc": {
"start": {
"line": 523,
"column": 6
},
"end": {
"line": 523,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 14893,
"end": 14900,
"loc": {
"start": {
"line": 523,
"column": 6
},
"end": {
"line": 523,
"column": 13
},
"identifierName": "missing"
},
"name": "missing"
},
"property": {
"type": "Identifier",
"start": 14901,
"end": 14905,
"loc": {
"start": {
"line": 523,
"column": 14
},
"end": {
"line": 523,
"column": 18
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "NewExpression",
"start": 14906,
"end": 14935,
"loc": {
"start": {
"line": 523,
"column": 19
},
"end": {
"line": 523,
"column": 48
}
},
"callee": {
"type": "Identifier",
"start": 14910,
"end": 14912,
"loc": {
"start": {
"line": 523,
"column": 23
},
"end": {
"line": 523,
"column": 25
},
"identifierName": "ID"
},
"name": "ID"
},
"arguments": [
{
"type": "MemberExpression",
"start": 14913,
"end": 14920,
"loc": {
"start": {
"line": 523,
"column": 26
},
"end": {
"line": 523,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 14913,
"end": 14915,
"loc": {
"start": {
"line": 523,
"column": 26
},
"end": {
"line": 523,
"column": 28
},
"identifierName": "id"
},
"name": "id"
},
"property": {
"type": "Identifier",
"start": 14916,
"end": 14920,
"loc": {
"start": {
"line": 523,
"column": 29
},
"end": {
"line": 523,
"column": 33
},
"identifierName": "user"
},
"name": "user"
},
"computed": false
},
{
"type": "BinaryExpression",
"start": 14922,
"end": 14934,
"loc": {
"start": {
"line": 523,
"column": 35
},
"end": {
"line": 523,
"column": 47
}
},
"left": {
"type": "MemberExpression",
"start": 14922,
"end": 14930,
"loc": {
"start": {
"line": 523,
"column": 35
},
"end": {
"line": 523,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 14922,
"end": 14924,
"loc": {
"start": {
"line": 523,
"column": 35
},
"end": {
"line": 523,
"column": 37
},
"identifierName": "id"
},
"name": "id"
},
"property": {
"type": "Identifier",
"start": 14925,
"end": 14930,
"loc": {
"start": {
"line": 523,
"column": 38
},
"end": {
"line": 523,
"column": 43
},
"identifierName": "clock"
},
"name": "clock"
},
"computed": false
},
"operator": "-",
"right": {
"type": "NumericLiteral",
"start": 14933,
"end": 14934,
"loc": {
"start": {
"line": 523,
"column": 46
},
"end": {
"line": 523,
"column": 47
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
]
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ReturnStatement",
"start": 14947,
"end": 14961,
"loc": {
"start": {
"line": 525,
"column": 4
},
"end": {
"line": 525,
"column": 18
}
},
"argument": {
"type": "Identifier",
"start": 14954,
"end": 14961,
"loc": {
"start": {
"line": 525,
"column": 11
},
"end": {
"line": 525,
"column": 18
},
"identifierName": "missing"
},
"name": "missing"
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Read the next Item in a Decoder and fill this Item with the read data.\n *\n * This is called when data is received from a remote peer.\n *\n * @param {Y} y The Yjs instance that this Item belongs to.\n * @param {BinaryDecoder} decoder The decoder object to read data from.\n *\n * @private\n ",
"start": 12294,
"end": 12606,
"loc": {
"start": {
"line": 442,
"column": 2
},
"end": {
"line": 451,
"column": 5
}
}
}
]
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Abstract class that represents any content.\n ",
"start": 1459,
"end": 1513,
"loc": {
"start": {
"line": 51,
"column": 0
},
"end": {
"line": 53,
"column": 3
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Abstract class that represents any content.\n ",
"start": 1459,
"end": 1513,
"loc": {
"start": {
"line": 51,
"column": 0
},
"end": {
"line": 53,
"column": 3
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\n * @private\n * Helper utility to split an Item (see {@link Item#_splitAt})\n * - copies all properties from a to b\n * - connects a to b\n * - assigns the correct _id\n * - saves b to os\n ",
"start": 290,
"end": 480,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 15,
"column": 3
}
}
},
{
"type": "CommentLine",
"value": " do not set a._right_origin, as this will lead to problems when syncing",
"start": 736,
"end": 809,
"loc": {
"start": {
"line": 26,
"column": 2
},
"end": {
"line": 26,
"column": 75
}
}
},
{
"type": "CommentLine",
"value": " now search all relevant items to the right and update origin",
"start": 907,
"end": 970,
"loc": {
"start": {
"line": 31,
"column": 2
},
"end": {
"line": 31,
"column": 65
}
}
},
{
"type": "CommentLine",
"value": " if origin is not it foundOrigins, we don't have to search any longer",
"start": 973,
"end": 1044,
"loc": {
"start": {
"line": 32,
"column": 2
},
"end": {
"line": 32,
"column": 73
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Abstract class that represents any content.\n ",
"start": 1459,
"end": 1513,
"loc": {
"start": {
"line": 51,
"column": 0
},
"end": {
"line": 53,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * The uniqe identifier of this type.\n * @type {ID}\n ",
"start": 1565,
"end": 1636,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 59,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\n * The item that was originally to the left of this item.\n * @type {Item}\n ",
"start": 1661,
"end": 1754,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\n * The item that is currently to the left of this item.\n * @type {Item}\n ",
"start": 1783,
"end": 1874,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 69,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\n * The item that is currently to the right of this item.\n * @type {Item}\n ",
"start": 1901,
"end": 1993,
"loc": {
"start": {
"line": 71,
"column": 4
},
"end": {
"line": 74,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\n * The item that was originally to the right of this item.\n * @type {Item}\n ",
"start": 2021,
"end": 2115,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 79,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\n * The parent type.\n * @type {Y|YType}\n ",
"start": 2150,
"end": 2208,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 84,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\n * If the parent refers to this item with some kind of key (e.g. YMap, the\n * key is specified here. The key is then used to refer to the list in which\n * to insert this item. If `parentSub = null` type._start is the list in\n * which to insert to. Otherwise it is `parent._start`.\n * @type {String}\n ",
"start": 2237,
"end": 2567,
"loc": {
"start": {
"line": 86,
"column": 4
},
"end": {
"line": 92,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Whether this item was deleted or not.\n * @type {Boolean}\n ",
"start": 2599,
"end": 2678,
"loc": {
"start": {
"line": 94,
"column": 4
},
"end": {
"line": 97,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\n * If this type's effect is reundone this type refers to the type that undid\n * this operation.\n * @type {Item}\n ",
"start": 2709,
"end": 2844,
"loc": {
"start": {
"line": 99,
"column": 4
},
"end": {
"line": 103,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Creates an Item with the same effect as this Item (without position effect)\n *\n * @private\n ",
"start": 2876,
"end": 2985,
"loc": {
"start": {
"line": 107,
"column": 2
},
"end": {
"line": 111,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Redoes the effect of this operation.\n *\n * @param {Y} y The Yjs instance.\n *\n * @private\n ",
"start": 3040,
"end": 3151,
"loc": {
"start": {
"line": 116,
"column": 2
},
"end": {
"line": 122,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " make sure that parent is redone",
"start": 3342,
"end": 3376,
"loc": {
"start": {
"line": 131,
"column": 4
},
"end": {
"line": 131,
"column": 38
}
}
},
{
"type": "CommentLine",
"value": " find next cloned items",
"start": 3539,
"end": 3564,
"loc": {
"start": {
"line": 137,
"column": 6
},
"end": {
"line": 137,
"column": 31
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Computes the last content address of this Item.\n *\n * @private\n ",
"start": 4200,
"end": 4281,
"loc": {
"start": {
"line": 163,
"column": 2
},
"end": {
"line": 167,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Computes the length of this Item.\n *\n * @private\n ",
"start": 4376,
"end": 4443,
"loc": {
"start": {
"line": 172,
"column": 2
},
"end": {
"line": 176,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Should return false if this Item is some kind of meta information\n * (e.g. format information).\n *\n * * Whether this Item should be addressable via `yarray.get(i)`\n * * Whether this Item should be counted when computing yarray.length\n *\n * @private\n ",
"start": 4483,
"end": 4758,
"loc": {
"start": {
"line": 181,
"column": 2
},
"end": {
"line": 189,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Splits this Item so that another Items can be inserted in-between.\n * This must be overwritten if _length > 1\n * Returns right part after split\n * * diff === 0 => this\n * * diff === length => this._right\n * * otherwise => split _content and return right part of split\n * (see {@link ItemJSON}/{@link ItemString} for implementation)\n *\n * @private\n ",
"start": 4804,
"end": 5181,
"loc": {
"start": {
"line": 194,
"column": 2
},
"end": {
"line": 204,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Mark this Item as deleted.\n *\n * @param {Y} y The Yjs instance\n * @param {boolean} createDelete Whether to propagate a message that this\n * Type was deleted.\n *\n * @private\n ",
"start": 5281,
"end": 5510,
"loc": {
"start": {
"line": 212,
"column": 2
},
"end": {
"line": 220,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " broadcast and persists Delete",
"start": 5775,
"end": 5807,
"loc": {
"start": {
"line": 229,
"column": 8
},
"end": {
"line": 229,
"column": 40
}
}
},
{
"type": "CommentLine",
"value": " only persist Delete",
"start": 5891,
"end": 5913,
"loc": {
"start": {
"line": 232,
"column": 8
},
"end": {
"line": 232,
"column": 30
}
}
},
{
"type": "CommentBlock",
"value": "*\n * This is called right before this Item receives any children.\n * It can be overwritten to apply pending changes before applying remote changes\n *\n * @private\n ",
"start": 6247,
"end": 6424,
"loc": {
"start": {
"line": 250,
"column": 2
},
"end": {
"line": 255,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " nop",
"start": 6450,
"end": 6456,
"loc": {
"start": {
"line": 257,
"column": 4
},
"end": {
"line": 257,
"column": 10
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Integrates this Item into the shared structure.\n *\n * This method actually applies the change to the Yjs instance. In case of\n * Item it connects _left and _right to this Item and calls the\n * {@link Item#beforeChange} method.\n *\n * * Integrate the struct so that other types/structs can see it\n * * Add this struct to y.os\n * * Check if this is struct deleted\n *\n * @private\n ",
"start": 6464,
"end": 6874,
"loc": {
"start": {
"line": 260,
"column": 2
},
"end": {
"line": 272,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " nop",
"start": 7220,
"end": 7226,
"loc": {
"start": {
"line": 282,
"column": 6
},
"end": {
"line": 282,
"column": 12
}
}
},
{
"type": "CommentLine",
"value": " already applied..",
"start": 7276,
"end": 7296,
"loc": {
"start": {
"line": 284,
"column": 6
},
"end": {
"line": 284,
"column": 26
}
}
},
{
"type": "CommentLine",
"value": " missing content from user",
"start": 7436,
"end": 7464,
"loc": {
"start": {
"line": 289,
"column": 6
},
"end": {
"line": 289,
"column": 34
}
}
},
{
"type": "CommentLine",
"value": " this is the first time parent is updated",
"start": 7633,
"end": 7676,
"loc": {
"start": {
"line": 293,
"column": 6
},
"end": {
"line": 293,
"column": 49
}
}
},
{
"type": "CommentLine",
"value": " or this types is new",
"start": 7683,
"end": 7706,
"loc": {
"start": {
"line": 294,
"column": 6
},
"end": {
"line": 294,
"column": 29
}
}
},
{
"type": "CommentBlock",
"value": "\n # $this has to find a unique position between origin and the next known character\n # case 1: $origin equals $o.origin: the $creator parameter decides if left or right\n # let $OL= [o1,o2,o3,o4], whereby $this is to be inserted between o1 and o4\n # o2,o3 and o4 origin is 1 (the position of o2)\n # there is the case that $this.creator < o2.creator, but o3.creator < $this.creator\n # then o2 knows o3. Since on another client $OL could be [o1,o3,o4] the problem is complex\n # therefore $this would be always to the right of o3\n # case 2: $origin < $o.origin\n # if current $this insert_position > $o origin: $this ins\n # else $insert_position will not change\n # (maybe we encounter case 1 later, then this will be to the right of $o)\n # case 3: $origin > $o.origin\n # $this insert_position is to the left of $o (forever!)\n ",
"start": 7753,
"end": 8692,
"loc": {
"start": {
"line": 298,
"column": 4
},
"end": {
"line": 312,
"column": 6
}
}
},
{
"type": "CommentLine",
"value": " handle conflicts",
"start": 8697,
"end": 8716,
"loc": {
"start": {
"line": 313,
"column": 4
},
"end": {
"line": 313,
"column": 23
}
}
},
{
"type": "CommentLine",
"value": " set o to the first conflicting item",
"start": 8731,
"end": 8769,
"loc": {
"start": {
"line": 315,
"column": 4
},
"end": {
"line": 315,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " Let c in conflictingItems, b in itemsBeforeOrigin",
"start": 9057,
"end": 9109,
"loc": {
"start": {
"line": 325,
"column": 4
},
"end": {
"line": 325,
"column": 56
}
}
},
{
"type": "CommentLine",
"value": " ***{origin}bbbb{this}{c,b}{c,b}{o}***",
"start": 9114,
"end": 9154,
"loc": {
"start": {
"line": 326,
"column": 4
},
"end": {
"line": 326,
"column": 44
}
}
},
{
"type": "CommentLine",
"value": " Note that conflictingItems is a subset of itemsBeforeOrigin",
"start": 9159,
"end": 9221,
"loc": {
"start": {
"line": 327,
"column": 4
},
"end": {
"line": 327,
"column": 66
}
}
},
{
"type": "CommentLine",
"value": " case 1",
"start": 9377,
"end": 9386,
"loc": {
"start": {
"line": 332,
"column": 8
},
"end": {
"line": 332,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " case 2",
"start": 9560,
"end": 9569,
"loc": {
"start": {
"line": 338,
"column": 8
},
"end": {
"line": 338,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " TODO: try to use right_origin instead.",
"start": 9731,
"end": 9772,
"loc": {
"start": {
"line": 346,
"column": 6
},
"end": {
"line": 346,
"column": 47
}
}
},
{
"type": "CommentLine",
"value": " Then you could basically omit conflictingItems!",
"start": 9779,
"end": 9829,
"loc": {
"start": {
"line": 347,
"column": 6
},
"end": {
"line": 347,
"column": 56
}
}
},
{
"type": "CommentLine",
"value": " Note: you probably can't use right_origin in every case.. only when setting _left",
"start": 9836,
"end": 9920,
"loc": {
"start": {
"line": 348,
"column": 6
},
"end": {
"line": 348,
"column": 90
}
}
},
{
"type": "CommentLine",
"value": " reconnect left/right + update parent map/start if necessary",
"start": 9950,
"end": 10012,
"loc": {
"start": {
"line": 351,
"column": 4
},
"end": {
"line": 351,
"column": 66
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Transform the properties of this type to binary and write it to an\n * BinaryEncoder.\n *\n * This is called when this Item is sent to a remote peer.\n *\n * @param {BinaryEncoder} encoder The encoder to write data to.\n *\n * @private\n ",
"start": 11034,
"end": 11291,
"loc": {
"start": {
"line": 391,
"column": 2
},
"end": {
"line": 400,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " origin is defined",
"start": 11445,
"end": 11465,
"loc": {
"start": {
"line": 405,
"column": 18
},
"end": {
"line": 405,
"column": 38
}
}
},
{
"type": "CommentLine",
"value": " TODO: remove",
"start": 11476,
"end": 11491,
"loc": {
"start": {
"line": 407,
"column": 4
},
"end": {
"line": 407,
"column": 19
}
}
},
{
"type": "CommentBlock",
"value": " no longer send _left\n if (this._left !== this._origin) {\n info += 0b10 // do not copy origin to left\n }\n ",
"start": 11496,
"end": 11620,
"loc": {
"start": {
"line": 408,
"column": 4
},
"end": {
"line": 412,
"column": 6
}
}
},
{
"type": "CommentLine",
"value": " TODO: remove",
"start": 11884,
"end": 11899,
"loc": {
"start": {
"line": 424,
"column": 4
},
"end": {
"line": 424,
"column": 19
}
}
},
{
"type": "CommentBlock",
"value": " see above\n if (info & 0b10) {\n encoder.writeID(this._left._lastId)\n }\n ",
"start": 11904,
"end": 11994,
"loc": {
"start": {
"line": 425,
"column": 4
},
"end": {
"line": 429,
"column": 6
}
}
},
{
"type": "CommentLine",
"value": " neither origin nor right is defined",
"start": 12109,
"end": 12147,
"loc": {
"start": {
"line": 434,
"column": 6
},
"end": {
"line": 434,
"column": 44
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Read the next Item in a Decoder and fill this Item with the read data.\n *\n * This is called when data is received from a remote peer.\n *\n * @param {Y} y The Yjs instance that this Item belongs to.\n * @param {BinaryDecoder} decoder The decoder object to read data from.\n *\n * @private\n ",
"start": 12294,
"end": 12606,
"loc": {
"start": {
"line": 442,
"column": 2
},
"end": {
"line": 451,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " read origin",
"start": 12748,
"end": 12762,
"loc": {
"start": {
"line": 457,
"column": 4
},
"end": {
"line": 457,
"column": 18
}
}
},
{
"type": "CommentLine",
"value": " origin != null",
"start": 12791,
"end": 12808,
"loc": {
"start": {
"line": 459,
"column": 6
},
"end": {
"line": 459,
"column": 23
}
}
},
{
"type": "CommentLine",
"value": " we have to query for left again because it might have been split/merged..",
"start": 12855,
"end": 12931,
"loc": {
"start": {
"line": 461,
"column": 6
},
"end": {
"line": 461,
"column": 82
}
}
},
{
"type": "CommentLine",
"value": " read right",
"start": 13141,
"end": 13154,
"loc": {
"start": {
"line": 470,
"column": 4
},
"end": {
"line": 470,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " right != null",
"start": 13185,
"end": 13201,
"loc": {
"start": {
"line": 472,
"column": 6
},
"end": {
"line": 472,
"column": 22
}
}
},
{
"type": "CommentLine",
"value": " we have to query for right again because it might have been split/merged..",
"start": 13247,
"end": 13324,
"loc": {
"start": {
"line": 474,
"column": 6
},
"end": {
"line": 474,
"column": 83
}
}
},
{
"type": "CommentLine",
"value": " read parent",
"start": 13531,
"end": 13545,
"loc": {
"start": {
"line": 483,
"column": 4
},
"end": {
"line": 483,
"column": 18
}
}
},
{
"type": "CommentLine",
"value": " neither origin nor right is defined",
"start": 13584,
"end": 13622,
"loc": {
"start": {
"line": 485,
"column": 6
},
"end": {
"line": 485,
"column": 44
}
}
},
{
"type": "CommentLine",
"value": " parent does not change, so we don't have to search for it again",
"start": 13669,
"end": 13735,
"loc": {
"start": {
"line": 487,
"column": 6
},
"end": {
"line": 487,
"column": 72
}
}
},
{
"type": "CommentLine",
"value": " if origin is a gc, set parent also gc'd",
"start": 14207,
"end": 14249,
"loc": {
"start": {
"line": 504,
"column": 10
},
"end": {
"line": 504,
"column": 52
}
}
},
{
"type": "CommentLine",
"value": " if origin is a gc, set parent also gc'd",
"start": 14417,
"end": 14459,
"loc": {
"start": {
"line": 510,
"column": 8
},
"end": {
"line": 510,
"column": 50
}
}
},
{
"type": "CommentLine",
"value": " TODO: maybe put this in read parent condition (you can also read parentsub from left/right)",
"start": 14681,
"end": 14775,
"loc": {
"start": {
"line": 519,
"column": 6
},
"end": {
"line": 519,
"column": 100
}
}
}
],
"tokens": [
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getStructReference",
"start": 9,
"end": 27,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 28,
"end": 29,
"loc": {
"start": {
"line": 1,
"column": 28
},
"end": {
"line": 1,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 30,
"end": 34,
"loc": {
"start": {
"line": 1,
"column": 30
},
"end": {
"line": 1,
"column": 34
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../Util/structReferences.js",
"start": 35,
"end": 64,
"loc": {
"start": {
"line": 1,
"column": 35
},
"end": {
"line": 1,
"column": 64
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 65,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ID",
"start": 72,
"end": 74,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 75,
"end": 79,
"loc": {
"start": {
"line": 2,
"column": 10
},
"end": {
"line": 2,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../Util/ID/ID.js",
"start": 80,
"end": 98,
"loc": {
"start": {
"line": 2,
"column": 15
},
"end": {
"line": 2,
"column": 33
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 99,
"end": 105,
"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": 106,
"end": 107,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 8
}
}
},
{
"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": 108,
"end": 115,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "as",
"start": 116,
"end": 118,
"loc": {
"start": {
"line": 3,
"column": 17
},
"end": {
"line": 3,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "RootID",
"start": 119,
"end": 125,
"loc": {
"start": {
"line": 3,
"column": 20
},
"end": {
"line": 3,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 125,
"end": 126,
"loc": {
"start": {
"line": 3,
"column": 26
},
"end": {
"line": 3,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "RootFakeUserID",
"start": 127,
"end": 141,
"loc": {
"start": {
"line": 3,
"column": 28
},
"end": {
"line": 3,
"column": 42
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 142,
"end": 143,
"loc": {
"start": {
"line": 3,
"column": 43
},
"end": {
"line": 3,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 144,
"end": 148,
"loc": {
"start": {
"line": 3,
"column": 45
},
"end": {
"line": 3,
"column": 49
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../Util/ID/RootID.js",
"start": 149,
"end": 171,
"loc": {
"start": {
"line": 3,
"column": 50
},
"end": {
"line": 3,
"column": 72
}
}
},
{
"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": 172,
"end": 178,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Delete",
"start": 179,
"end": 185,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 186,
"end": 190,
"loc": {
"start": {
"line": 4,
"column": 14
},
"end": {
"line": 4,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./Delete.js",
"start": 191,
"end": 204,
"loc": {
"start": {
"line": 4,
"column": 19
},
"end": {
"line": 4,
"column": 32
}
}
},
{
"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": 205,
"end": 211,
"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": 212,
"end": 213,
"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": "transactionTypeChanged",
"start": 214,
"end": 236,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 237,
"end": 238,
"loc": {
"start": {
"line": 5,
"column": 32
},
"end": {
"line": 5,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 239,
"end": 243,
"loc": {
"start": {
"line": 5,
"column": 34
},
"end": {
"line": 5,
"column": 38
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../Transaction.js",
"start": 244,
"end": 263,
"loc": {
"start": {
"line": 5,
"column": 39
},
"end": {
"line": 5,
"column": 58
}
}
},
{
"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": 264,
"end": 270,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GC",
"start": 271,
"end": 273,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 274,
"end": 278,
"loc": {
"start": {
"line": 6,
"column": 10
},
"end": {
"line": 6,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./GC.js",
"start": 279,
"end": 288,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 24
}
}
},
{
"type": "CommentBlock",
"value": "*\n * @private\n * Helper utility to split an Item (see {@link Item#_splitAt})\n * - copies all properties from a to b\n * - connects a to b\n * - assigns the correct _id\n * - saves b to os\n ",
"start": 290,
"end": 480,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 15,
"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": 481,
"end": 487,
"loc": {
"start": {
"line": 16,
"column": 0
},
"end": {
"line": 16,
"column": 6
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 488,
"end": 496,
"loc": {
"start": {
"line": 16,
"column": 7
},
"end": {
"line": 16,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "splitHelper",
"start": 497,
"end": 508,
"loc": {
"start": {
"line": 16,
"column": 16
},
"end": {
"line": 16,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 509,
"end": 510,
"loc": {
"start": {
"line": 16,
"column": 28
},
"end": {
"line": 16,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 510,
"end": 511,
"loc": {
"start": {
"line": 16,
"column": 29
},
"end": {
"line": 16,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 511,
"end": 512,
"loc": {
"start": {
"line": 16,
"column": 30
},
"end": {
"line": 16,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "a",
"start": 513,
"end": 514,
"loc": {
"start": {
"line": 16,
"column": 32
},
"end": {
"line": 16,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 514,
"end": 515,
"loc": {
"start": {
"line": 16,
"column": 33
},
"end": {
"line": 16,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "b",
"start": 516,
"end": 517,
"loc": {
"start": {
"line": 16,
"column": 35
},
"end": {
"line": 16,
"column": 36
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 517,
"end": 518,
"loc": {
"start": {
"line": 16,
"column": 36
},
"end": {
"line": 16,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "diff",
"start": 519,
"end": 523,
"loc": {
"start": {
"line": 16,
"column": 38
},
"end": {
"line": 16,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 523,
"end": 524,
"loc": {
"start": {
"line": 16,
"column": 42
},
"end": {
"line": 16,
"column": 43
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 525,
"end": 526,
"loc": {
"start": {
"line": 16,
"column": 44
},
"end": {
"line": 16,
"column": 45
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 529,
"end": 534,
"loc": {
"start": {
"line": 17,
"column": 2
},
"end": {
"line": 17,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aID",
"start": 535,
"end": 538,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 11
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 539,
"end": 540,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "a",
"start": 541,
"end": 542,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 542,
"end": 543,
"loc": {
"start": {
"line": 17,
"column": 15
},
"end": {
"line": 17,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 543,
"end": 546,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "b",
"start": 549,
"end": 550,
"loc": {
"start": {
"line": 18,
"column": 2
},
"end": {
"line": 18,
"column": 3
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 550,
"end": 551,
"loc": {
"start": {
"line": 18,
"column": 3
},
"end": {
"line": 18,
"column": 4
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 551,
"end": 554,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 7
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 555,
"end": 556,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 9
}
}
},
{
"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": 557,
"end": 560,
"loc": {
"start": {
"line": 18,
"column": 10
},
"end": {
"line": 18,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ID",
"start": 561,
"end": 563,
"loc": {
"start": {
"line": 18,
"column": 14
},
"end": {
"line": 18,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 563,
"end": 564,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aID",
"start": 564,
"end": 567,
"loc": {
"start": {
"line": 18,
"column": 17
},
"end": {
"line": 18,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 567,
"end": 568,
"loc": {
"start": {
"line": 18,
"column": 20
},
"end": {
"line": 18,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 568,
"end": 572,
"loc": {
"start": {
"line": 18,
"column": 21
},
"end": {
"line": 18,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 572,
"end": 573,
"loc": {
"start": {
"line": 18,
"column": 25
},
"end": {
"line": 18,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "aID",
"start": 574,
"end": 577,
"loc": {
"start": {
"line": 18,
"column": 27
},
"end": {
"line": 18,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 577,
"end": 578,
"loc": {
"start": {
"line": 18,
"column": 30
},
"end": {
"line": 18,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 578,
"end": 583,
"loc": {
"start": {
"line": 18,
"column": 31
},
"end": {
"line": 18,
"column": 36
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 584,
"end": 585,
"loc": {
"start": {
"line": 18,
"column": 37
},
"end": {
"line": 18,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "diff",
"start": 586,
"end": 590,
"loc": {
"start": {
"line": 18,
"column": 39
},
"end": {
"line": 18,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 590,
"end": 591,
"loc": {
"start": {
"line": 18,
"column": 43
},
"end": {
"line": 18,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "b",
"start": 594,
"end": 595,
"loc": {
"start": {
"line": 19,
"column": 2
},
"end": {
"line": 19,
"column": 3
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 595,
"end": 596,
"loc": {
"start": {
"line": 19,
"column": 3
},
"end": {
"line": 19,
"column": 4
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_origin",
"start": 596,
"end": 603,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 11
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 604,
"end": 605,
"loc": {
"start": {
"line": 19,
"column": 12
},
"end": {
"line": 19,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "a",
"start": 606,
"end": 607,
"loc": {
"start": {
"line": 19,
"column": 14
},
"end": {
"line": 19,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "b",
"start": 610,
"end": 611,
"loc": {
"start": {
"line": 20,
"column": 2
},
"end": {
"line": 20,
"column": 3
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 611,
"end": 612,
"loc": {
"start": {
"line": 20,
"column": 3
},
"end": {
"line": 20,
"column": 4
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_left",
"start": 612,
"end": 617,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 9
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 618,
"end": 619,
"loc": {
"start": {
"line": 20,
"column": 10
},
"end": {
"line": 20,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "a",
"start": 620,
"end": 621,
"loc": {
"start": {
"line": 20,
"column": 12
},
"end": {
"line": 20,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "b",
"start": 624,
"end": 625,
"loc": {
"start": {
"line": 21,
"column": 2
},
"end": {
"line": 21,
"column": 3
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 625,
"end": 626,
"loc": {
"start": {
"line": 21,
"column": 3
},
"end": {
"line": 21,
"column": 4
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right",
"start": 626,
"end": 632,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 10
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 633,
"end": 634,
"loc": {
"start": {
"line": 21,
"column": 11
},
"end": {
"line": 21,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "a",
"start": 635,
"end": 636,
"loc": {
"start": {
"line": 21,
"column": 13
},
"end": {
"line": 21,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 636,
"end": 637,
"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": "_right",
"start": 637,
"end": 643,
"loc": {
"start": {
"line": 21,
"column": 15
},
"end": {
"line": 21,
"column": 21
}
}
},
{
"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": 646,
"end": 648,
"loc": {
"start": {
"line": 22,
"column": 2
},
"end": {
"line": 22,
"column": 4
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 649,
"end": 650,
"loc": {
"start": {
"line": 22,
"column": 5
},
"end": {
"line": 22,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "b",
"start": 650,
"end": 651,
"loc": {
"start": {
"line": 22,
"column": 6
},
"end": {
"line": 22,
"column": 7
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 651,
"end": 652,
"loc": {
"start": {
"line": 22,
"column": 7
},
"end": {
"line": 22,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right",
"start": 652,
"end": 658,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 14
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 659,
"end": 662,
"loc": {
"start": {
"line": 22,
"column": 15
},
"end": {
"line": 22,
"column": 18
}
}
},
{
"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": 663,
"end": 667,
"loc": {
"start": {
"line": 22,
"column": 19
},
"end": {
"line": 22,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 667,
"end": 668,
"loc": {
"start": {
"line": 22,
"column": 23
},
"end": {
"line": 22,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 669,
"end": 670,
"loc": {
"start": {
"line": 22,
"column": 25
},
"end": {
"line": 22,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "b",
"start": 675,
"end": 676,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 5
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 676,
"end": 677,
"loc": {
"start": {
"line": 23,
"column": 5
},
"end": {
"line": 23,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right",
"start": 677,
"end": 683,
"loc": {
"start": {
"line": 23,
"column": 6
},
"end": {
"line": 23,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 683,
"end": 684,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_left",
"start": 684,
"end": 689,
"loc": {
"start": {
"line": 23,
"column": 13
},
"end": {
"line": 23,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 690,
"end": 691,
"loc": {
"start": {
"line": 23,
"column": 19
},
"end": {
"line": 23,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "b",
"start": 692,
"end": 693,
"loc": {
"start": {
"line": 23,
"column": 21
},
"end": {
"line": 23,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 696,
"end": 697,
"loc": {
"start": {
"line": 24,
"column": 2
},
"end": {
"line": 24,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "b",
"start": 700,
"end": 701,
"loc": {
"start": {
"line": 25,
"column": 2
},
"end": {
"line": 25,
"column": 3
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 701,
"end": 702,
"loc": {
"start": {
"line": 25,
"column": 3
},
"end": {
"line": 25,
"column": 4
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right_origin",
"start": 702,
"end": 715,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 716,
"end": 717,
"loc": {
"start": {
"line": 25,
"column": 18
},
"end": {
"line": 25,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "a",
"start": 718,
"end": 719,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 719,
"end": 720,
"loc": {
"start": {
"line": 25,
"column": 21
},
"end": {
"line": 25,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right_origin",
"start": 720,
"end": 733,
"loc": {
"start": {
"line": 25,
"column": 22
},
"end": {
"line": 25,
"column": 35
}
}
},
{
"type": "CommentLine",
"value": " do not set a._right_origin, as this will lead to problems when syncing",
"start": 736,
"end": 809,
"loc": {
"start": {
"line": 26,
"column": 2
},
"end": {
"line": 26,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "a",
"start": 812,
"end": 813,
"loc": {
"start": {
"line": 27,
"column": 2
},
"end": {
"line": 27,
"column": 3
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 813,
"end": 814,
"loc": {
"start": {
"line": 27,
"column": 3
},
"end": {
"line": 27,
"column": 4
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right",
"start": 814,
"end": 820,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 27,
"column": 10
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 821,
"end": 822,
"loc": {
"start": {
"line": 27,
"column": 11
},
"end": {
"line": 27,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "b",
"start": 823,
"end": 824,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "b",
"start": 827,
"end": 828,
"loc": {
"start": {
"line": 28,
"column": 2
},
"end": {
"line": 28,
"column": 3
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 828,
"end": 829,
"loc": {
"start": {
"line": 28,
"column": 3
},
"end": {
"line": 28,
"column": 4
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 829,
"end": 836,
"loc": {
"start": {
"line": 28,
"column": 4
},
"end": {
"line": 28,
"column": 11
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 837,
"end": 838,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "a",
"start": 839,
"end": 840,
"loc": {
"start": {
"line": 28,
"column": 14
},
"end": {
"line": 28,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 840,
"end": 841,
"loc": {
"start": {
"line": 28,
"column": 15
},
"end": {
"line": 28,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 841,
"end": 848,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "b",
"start": 851,
"end": 852,
"loc": {
"start": {
"line": 29,
"column": 2
},
"end": {
"line": 29,
"column": 3
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 852,
"end": 853,
"loc": {
"start": {
"line": 29,
"column": 3
},
"end": {
"line": 29,
"column": 4
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parentSub",
"start": 853,
"end": 863,
"loc": {
"start": {
"line": 29,
"column": 4
},
"end": {
"line": 29,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 864,
"end": 865,
"loc": {
"start": {
"line": 29,
"column": 15
},
"end": {
"line": 29,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "a",
"start": 866,
"end": 867,
"loc": {
"start": {
"line": 29,
"column": 17
},
"end": {
"line": 29,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 867,
"end": 868,
"loc": {
"start": {
"line": 29,
"column": 18
},
"end": {
"line": 29,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parentSub",
"start": 868,
"end": 878,
"loc": {
"start": {
"line": 29,
"column": 19
},
"end": {
"line": 29,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "b",
"start": 881,
"end": 882,
"loc": {
"start": {
"line": 30,
"column": 2
},
"end": {
"line": 30,
"column": 3
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 882,
"end": 883,
"loc": {
"start": {
"line": 30,
"column": 3
},
"end": {
"line": 30,
"column": 4
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_deleted",
"start": 883,
"end": 891,
"loc": {
"start": {
"line": 30,
"column": 4
},
"end": {
"line": 30,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 892,
"end": 893,
"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": "a",
"start": 894,
"end": 895,
"loc": {
"start": {
"line": 30,
"column": 15
},
"end": {
"line": 30,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 895,
"end": 896,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_deleted",
"start": 896,
"end": 904,
"loc": {
"start": {
"line": 30,
"column": 17
},
"end": {
"line": 30,
"column": 25
}
}
},
{
"type": "CommentLine",
"value": " now search all relevant items to the right and update origin",
"start": 907,
"end": 970,
"loc": {
"start": {
"line": 31,
"column": 2
},
"end": {
"line": 31,
"column": 65
}
}
},
{
"type": "CommentLine",
"value": " if origin is not it foundOrigins, we don't have to search any longer",
"start": 973,
"end": 1044,
"loc": {
"start": {
"line": 32,
"column": 2
},
"end": {
"line": 32,
"column": 73
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 1047,
"end": 1050,
"loc": {
"start": {
"line": 33,
"column": 2
},
"end": {
"line": 33,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "foundOrigins",
"start": 1051,
"end": 1063,
"loc": {
"start": {
"line": 33,
"column": 6
},
"end": {
"line": 33,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1064,
"end": 1065,
"loc": {
"start": {
"line": 33,
"column": 19
},
"end": {
"line": 33,
"column": 20
}
}
},
{
"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": 1066,
"end": 1069,
"loc": {
"start": {
"line": 33,
"column": 21
},
"end": {
"line": 33,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Set",
"start": 1070,
"end": 1073,
"loc": {
"start": {
"line": 33,
"column": 25
},
"end": {
"line": 33,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1073,
"end": 1074,
"loc": {
"start": {
"line": 33,
"column": 28
},
"end": {
"line": 33,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1074,
"end": 1075,
"loc": {
"start": {
"line": 33,
"column": 29
},
"end": {
"line": 33,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "foundOrigins",
"start": 1078,
"end": 1090,
"loc": {
"start": {
"line": 34,
"column": 2
},
"end": {
"line": 34,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1090,
"end": 1091,
"loc": {
"start": {
"line": 34,
"column": 14
},
"end": {
"line": 34,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 1091,
"end": 1094,
"loc": {
"start": {
"line": 34,
"column": 15
},
"end": {
"line": 34,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1094,
"end": 1095,
"loc": {
"start": {
"line": 34,
"column": 18
},
"end": {
"line": 34,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "a",
"start": 1095,
"end": 1096,
"loc": {
"start": {
"line": 34,
"column": 19
},
"end": {
"line": 34,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1096,
"end": 1097,
"loc": {
"start": {
"line": 34,
"column": 20
},
"end": {
"line": 34,
"column": 21
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 1100,
"end": 1103,
"loc": {
"start": {
"line": 35,
"column": 2
},
"end": {
"line": 35,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 1104,
"end": 1105,
"loc": {
"start": {
"line": 35,
"column": 6
},
"end": {
"line": 35,
"column": 7
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1106,
"end": 1107,
"loc": {
"start": {
"line": 35,
"column": 8
},
"end": {
"line": 35,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "b",
"start": 1108,
"end": 1109,
"loc": {
"start": {
"line": 35,
"column": 10
},
"end": {
"line": 35,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1109,
"end": 1110,
"loc": {
"start": {
"line": 35,
"column": 11
},
"end": {
"line": 35,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right",
"start": 1110,
"end": 1116,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 18
}
}
},
{
"type": {
"label": "while",
"keyword": "while",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "while",
"start": 1119,
"end": 1124,
"loc": {
"start": {
"line": 36,
"column": 2
},
"end": {
"line": 36,
"column": 7
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1125,
"end": 1126,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 1126,
"end": 1127,
"loc": {
"start": {
"line": 36,
"column": 9
},
"end": {
"line": 36,
"column": 10
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 1128,
"end": 1131,
"loc": {
"start": {
"line": 36,
"column": 11
},
"end": {
"line": 36,
"column": 14
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1132,
"end": 1136,
"loc": {
"start": {
"line": 36,
"column": 15
},
"end": {
"line": 36,
"column": 19
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 1137,
"end": 1139,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "foundOrigins",
"start": 1140,
"end": 1152,
"loc": {
"start": {
"line": 36,
"column": 23
},
"end": {
"line": 36,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1152,
"end": 1153,
"loc": {
"start": {
"line": 36,
"column": 35
},
"end": {
"line": 36,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "has",
"start": 1153,
"end": 1156,
"loc": {
"start": {
"line": 36,
"column": 36
},
"end": {
"line": 36,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1156,
"end": 1157,
"loc": {
"start": {
"line": 36,
"column": 39
},
"end": {
"line": 36,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 1157,
"end": 1158,
"loc": {
"start": {
"line": 36,
"column": 40
},
"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": 1158,
"end": 1159,
"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": "_origin",
"start": 1159,
"end": 1166,
"loc": {
"start": {
"line": 36,
"column": 42
},
"end": {
"line": 36,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1166,
"end": 1167,
"loc": {
"start": {
"line": 36,
"column": 49
},
"end": {
"line": 36,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1167,
"end": 1168,
"loc": {
"start": {
"line": 36,
"column": 50
},
"end": {
"line": 36,
"column": 51
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1169,
"end": 1170,
"loc": {
"start": {
"line": 36,
"column": 52
},
"end": {
"line": 36,
"column": 53
}
}
},
{
"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": 1175,
"end": 1177,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1178,
"end": 1179,
"loc": {
"start": {
"line": 37,
"column": 7
},
"end": {
"line": 37,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 1179,
"end": 1180,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1180,
"end": 1181,
"loc": {
"start": {
"line": 37,
"column": 9
},
"end": {
"line": 37,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_origin",
"start": 1181,
"end": 1188,
"loc": {
"start": {
"line": 37,
"column": 10
},
"end": {
"line": 37,
"column": 17
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 1189,
"end": 1192,
"loc": {
"start": {
"line": 37,
"column": 18
},
"end": {
"line": 37,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "a",
"start": 1193,
"end": 1194,
"loc": {
"start": {
"line": 37,
"column": 22
},
"end": {
"line": 37,
"column": 23
}
}
},
{
"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": 37,
"column": 23
},
"end": {
"line": 37,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1196,
"end": 1197,
"loc": {
"start": {
"line": 37,
"column": 25
},
"end": {
"line": 37,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 1204,
"end": 1205,
"loc": {
"start": {
"line": 38,
"column": 6
},
"end": {
"line": 38,
"column": 7
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1205,
"end": 1206,
"loc": {
"start": {
"line": 38,
"column": 7
},
"end": {
"line": 38,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_origin",
"start": 1206,
"end": 1213,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 15
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1214,
"end": 1215,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "b",
"start": 1216,
"end": 1217,
"loc": {
"start": {
"line": 38,
"column": 18
},
"end": {
"line": 38,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1222,
"end": 1223,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "foundOrigins",
"start": 1228,
"end": 1240,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1240,
"end": 1241,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 1241,
"end": 1244,
"loc": {
"start": {
"line": 40,
"column": 17
},
"end": {
"line": 40,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1244,
"end": 1245,
"loc": {
"start": {
"line": 40,
"column": 20
},
"end": {
"line": 40,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 1245,
"end": 1246,
"loc": {
"start": {
"line": 40,
"column": 21
},
"end": {
"line": 40,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1246,
"end": 1247,
"loc": {
"start": {
"line": 40,
"column": 22
},
"end": {
"line": 40,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 1252,
"end": 1253,
"loc": {
"start": {
"line": 41,
"column": 4
},
"end": {
"line": 41,
"column": 5
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1254,
"end": 1255,
"loc": {
"start": {
"line": 41,
"column": 6
},
"end": {
"line": 41,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 1256,
"end": 1257,
"loc": {
"start": {
"line": 41,
"column": 8
},
"end": {
"line": 41,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1257,
"end": 1258,
"loc": {
"start": {
"line": 41,
"column": 9
},
"end": {
"line": 41,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right",
"start": 1258,
"end": 1264,
"loc": {
"start": {
"line": 41,
"column": 10
},
"end": {
"line": 41,
"column": 16
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1267,
"end": 1268,
"loc": {
"start": {
"line": 42,
"column": 2
},
"end": {
"line": 42,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1271,
"end": 1272,
"loc": {
"start": {
"line": 43,
"column": 2
},
"end": {
"line": 43,
"column": 3
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1272,
"end": 1273,
"loc": {
"start": {
"line": 43,
"column": 3
},
"end": {
"line": 43,
"column": 4
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "os",
"start": 1273,
"end": 1275,
"loc": {
"start": {
"line": 43,
"column": 4
},
"end": {
"line": 43,
"column": 6
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1275,
"end": 1276,
"loc": {
"start": {
"line": 43,
"column": 6
},
"end": {
"line": 43,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "put",
"start": 1276,
"end": 1279,
"loc": {
"start": {
"line": 43,
"column": 7
},
"end": {
"line": 43,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1279,
"end": 1280,
"loc": {
"start": {
"line": 43,
"column": 10
},
"end": {
"line": 43,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "b",
"start": 1280,
"end": 1281,
"loc": {
"start": {
"line": 43,
"column": 11
},
"end": {
"line": 43,
"column": 12
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1281,
"end": 1282,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 13
}
}
},
{
"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": 1285,
"end": 1287,
"loc": {
"start": {
"line": 44,
"column": 2
},
"end": {
"line": 44,
"column": 4
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1288,
"end": 1289,
"loc": {
"start": {
"line": 44,
"column": 5
},
"end": {
"line": 44,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1289,
"end": 1290,
"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,
"updateContext": null
},
"start": 1290,
"end": 1291,
"loc": {
"start": {
"line": 44,
"column": 7
},
"end": {
"line": 44,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_transaction",
"start": 1291,
"end": 1303,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1303,
"end": 1304,
"loc": {
"start": {
"line": 44,
"column": 20
},
"end": {
"line": 44,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newTypes",
"start": 1304,
"end": 1312,
"loc": {
"start": {
"line": 44,
"column": 21
},
"end": {
"line": 44,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1312,
"end": 1313,
"loc": {
"start": {
"line": 44,
"column": 29
},
"end": {
"line": 44,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "has",
"start": 1313,
"end": 1316,
"loc": {
"start": {
"line": 44,
"column": 30
},
"end": {
"line": 44,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1316,
"end": 1317,
"loc": {
"start": {
"line": 44,
"column": 33
},
"end": {
"line": 44,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "a",
"start": 1317,
"end": 1318,
"loc": {
"start": {
"line": 44,
"column": 34
},
"end": {
"line": 44,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1318,
"end": 1319,
"loc": {
"start": {
"line": 44,
"column": 35
},
"end": {
"line": 44,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1319,
"end": 1320,
"loc": {
"start": {
"line": 44,
"column": 36
},
"end": {
"line": 44,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1321,
"end": 1322,
"loc": {
"start": {
"line": 44,
"column": 38
},
"end": {
"line": 44,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1327,
"end": 1328,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 5
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1328,
"end": 1329,
"loc": {
"start": {
"line": 45,
"column": 5
},
"end": {
"line": 45,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_transaction",
"start": 1329,
"end": 1341,
"loc": {
"start": {
"line": 45,
"column": 6
},
"end": {
"line": 45,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1341,
"end": 1342,
"loc": {
"start": {
"line": 45,
"column": 18
},
"end": {
"line": 45,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newTypes",
"start": 1342,
"end": 1350,
"loc": {
"start": {
"line": 45,
"column": 19
},
"end": {
"line": 45,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1350,
"end": 1351,
"loc": {
"start": {
"line": 45,
"column": 27
},
"end": {
"line": 45,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 1351,
"end": 1354,
"loc": {
"start": {
"line": 45,
"column": 28
},
"end": {
"line": 45,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1354,
"end": 1355,
"loc": {
"start": {
"line": 45,
"column": 31
},
"end": {
"line": 45,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "b",
"start": 1355,
"end": 1356,
"loc": {
"start": {
"line": 45,
"column": 32
},
"end": {
"line": 45,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1356,
"end": 1357,
"loc": {
"start": {
"line": 45,
"column": 33
},
"end": {
"line": 45,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1360,
"end": 1361,
"loc": {
"start": {
"line": 46,
"column": 2
},
"end": {
"line": 46,
"column": 3
}
}
},
{
"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": 1362,
"end": 1366,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 8
}
}
},
{
"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": 1367,
"end": 1369,
"loc": {
"start": {
"line": 46,
"column": 9
},
"end": {
"line": 46,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1370,
"end": 1371,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1371,
"end": 1372,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1372,
"end": 1373,
"loc": {
"start": {
"line": 46,
"column": 14
},
"end": {
"line": 46,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_transaction",
"start": 1373,
"end": 1385,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 46,
"column": 27
}
}
},
{
"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": 46,
"column": 27
},
"end": {
"line": 46,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deletedStructs",
"start": 1386,
"end": 1400,
"loc": {
"start": {
"line": 46,
"column": 28
},
"end": {
"line": 46,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1400,
"end": 1401,
"loc": {
"start": {
"line": 46,
"column": 42
},
"end": {
"line": 46,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "has",
"start": 1401,
"end": 1404,
"loc": {
"start": {
"line": 46,
"column": 43
},
"end": {
"line": 46,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1404,
"end": 1405,
"loc": {
"start": {
"line": 46,
"column": 46
},
"end": {
"line": 46,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "a",
"start": 1405,
"end": 1406,
"loc": {
"start": {
"line": 46,
"column": 47
},
"end": {
"line": 46,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1406,
"end": 1407,
"loc": {
"start": {
"line": 46,
"column": 48
},
"end": {
"line": 46,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1407,
"end": 1408,
"loc": {
"start": {
"line": 46,
"column": 49
},
"end": {
"line": 46,
"column": 50
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1409,
"end": 1410,
"loc": {
"start": {
"line": 46,
"column": 51
},
"end": {
"line": 46,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 1415,
"end": 1416,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 5
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1416,
"end": 1417,
"loc": {
"start": {
"line": 47,
"column": 5
},
"end": {
"line": 47,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_transaction",
"start": 1417,
"end": 1429,
"loc": {
"start": {
"line": 47,
"column": 6
},
"end": {
"line": 47,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1429,
"end": 1430,
"loc": {
"start": {
"line": 47,
"column": 18
},
"end": {
"line": 47,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deletedStructs",
"start": 1430,
"end": 1444,
"loc": {
"start": {
"line": 47,
"column": 19
},
"end": {
"line": 47,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1444,
"end": 1445,
"loc": {
"start": {
"line": 47,
"column": 33
},
"end": {
"line": 47,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 1445,
"end": 1448,
"loc": {
"start": {
"line": 47,
"column": 34
},
"end": {
"line": 47,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1448,
"end": 1449,
"loc": {
"start": {
"line": 47,
"column": 37
},
"end": {
"line": 47,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "b",
"start": 1449,
"end": 1450,
"loc": {
"start": {
"line": 47,
"column": 38
},
"end": {
"line": 47,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1450,
"end": 1451,
"loc": {
"start": {
"line": 47,
"column": 39
},
"end": {
"line": 47,
"column": 40
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1454,
"end": 1455,
"loc": {
"start": {
"line": 48,
"column": 2
},
"end": {
"line": 48,
"column": 3
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1456,
"end": 1457,
"loc": {
"start": {
"line": 49,
"column": 0
},
"end": {
"line": 49,
"column": 1
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Abstract class that represents any content.\n ",
"start": 1459,
"end": 1513,
"loc": {
"start": {
"line": 51,
"column": 0
},
"end": {
"line": 53,
"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": 1514,
"end": 1520,
"loc": {
"start": {
"line": 54,
"column": 0
},
"end": {
"line": 54,
"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": 1521,
"end": 1528,
"loc": {
"start": {
"line": 54,
"column": 7
},
"end": {
"line": 54,
"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": 1529,
"end": 1534,
"loc": {
"start": {
"line": 54,
"column": 15
},
"end": {
"line": 54,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Item",
"start": 1535,
"end": 1539,
"loc": {
"start": {
"line": 54,
"column": 21
},
"end": {
"line": 54,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1540,
"end": 1541,
"loc": {
"start": {
"line": 54,
"column": 26
},
"end": {
"line": 54,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 1544,
"end": 1555,
"loc": {
"start": {
"line": 55,
"column": 2
},
"end": {
"line": 55,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1556,
"end": 1557,
"loc": {
"start": {
"line": 55,
"column": 14
},
"end": {
"line": 55,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1557,
"end": 1558,
"loc": {
"start": {
"line": 55,
"column": 15
},
"end": {
"line": 55,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1559,
"end": 1560,
"loc": {
"start": {
"line": 55,
"column": 17
},
"end": {
"line": 55,
"column": 18
}
}
},
{
"type": "CommentBlock",
"value": "*\n * The uniqe identifier of this type.\n * @type {ID}\n ",
"start": 1565,
"end": 1636,
"loc": {
"start": {
"line": 56,
"column": 4
},
"end": {
"line": 59,
"column": 7
}
}
},
{
"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": 1641,
"end": 1645,
"loc": {
"start": {
"line": 60,
"column": 4
},
"end": {
"line": 60,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1645,
"end": 1646,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 1646,
"end": 1649,
"loc": {
"start": {
"line": 60,
"column": 9
},
"end": {
"line": 60,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1650,
"end": 1651,
"loc": {
"start": {
"line": 60,
"column": 13
},
"end": {
"line": 60,
"column": 14
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1652,
"end": 1656,
"loc": {
"start": {
"line": 60,
"column": 15
},
"end": {
"line": 60,
"column": 19
}
}
},
{
"type": "CommentBlock",
"value": "*\n * The item that was originally to the left of this item.\n * @type {Item}\n ",
"start": 1661,
"end": 1754,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 64,
"column": 7
}
}
},
{
"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": 1759,
"end": 1763,
"loc": {
"start": {
"line": 65,
"column": 4
},
"end": {
"line": 65,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1763,
"end": 1764,
"loc": {
"start": {
"line": 65,
"column": 8
},
"end": {
"line": 65,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_origin",
"start": 1764,
"end": 1771,
"loc": {
"start": {
"line": 65,
"column": 9
},
"end": {
"line": 65,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1772,
"end": 1773,
"loc": {
"start": {
"line": 65,
"column": 17
},
"end": {
"line": 65,
"column": 18
}
}
},
{
"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": 1774,
"end": 1778,
"loc": {
"start": {
"line": 65,
"column": 19
},
"end": {
"line": 65,
"column": 23
}
}
},
{
"type": "CommentBlock",
"value": "*\n * The item that is currently to the left of this item.\n * @type {Item}\n ",
"start": 1783,
"end": 1874,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 69,
"column": 7
}
}
},
{
"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": 1879,
"end": 1883,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 70,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1883,
"end": 1884,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_left",
"start": 1884,
"end": 1889,
"loc": {
"start": {
"line": 70,
"column": 9
},
"end": {
"line": 70,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1890,
"end": 1891,
"loc": {
"start": {
"line": 70,
"column": 15
},
"end": {
"line": 70,
"column": 16
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1892,
"end": 1896,
"loc": {
"start": {
"line": 70,
"column": 17
},
"end": {
"line": 70,
"column": 21
}
}
},
{
"type": "CommentBlock",
"value": "*\n * The item that is currently to the right of this item.\n * @type {Item}\n ",
"start": 1901,
"end": 1993,
"loc": {
"start": {
"line": 71,
"column": 4
},
"end": {
"line": 74,
"column": 7
}
}
},
{
"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": 1998,
"end": 2002,
"loc": {
"start": {
"line": 75,
"column": 4
},
"end": {
"line": 75,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2002,
"end": 2003,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right",
"start": 2003,
"end": 2009,
"loc": {
"start": {
"line": 75,
"column": 9
},
"end": {
"line": 75,
"column": 15
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2010,
"end": 2011,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 17
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 2012,
"end": 2016,
"loc": {
"start": {
"line": 75,
"column": 18
},
"end": {
"line": 75,
"column": 22
}
}
},
{
"type": "CommentBlock",
"value": "*\n * The item that was originally to the right of this item.\n * @type {Item}\n ",
"start": 2021,
"end": 2115,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 79,
"column": 7
}
}
},
{
"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": 2120,
"end": 2124,
"loc": {
"start": {
"line": 80,
"column": 4
},
"end": {
"line": 80,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2124,
"end": 2125,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right_origin",
"start": 2125,
"end": 2138,
"loc": {
"start": {
"line": 80,
"column": 9
},
"end": {
"line": 80,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2139,
"end": 2140,
"loc": {
"start": {
"line": 80,
"column": 23
},
"end": {
"line": 80,
"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": 2141,
"end": 2145,
"loc": {
"start": {
"line": 80,
"column": 25
},
"end": {
"line": 80,
"column": 29
}
}
},
{
"type": "CommentBlock",
"value": "*\n * The parent type.\n * @type {Y|YType}\n ",
"start": 2150,
"end": 2208,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 84,
"column": 7
}
}
},
{
"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": 2213,
"end": 2217,
"loc": {
"start": {
"line": 85,
"column": 4
},
"end": {
"line": 85,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2217,
"end": 2218,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 2218,
"end": 2225,
"loc": {
"start": {
"line": 85,
"column": 9
},
"end": {
"line": 85,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2226,
"end": 2227,
"loc": {
"start": {
"line": 85,
"column": 17
},
"end": {
"line": 85,
"column": 18
}
}
},
{
"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": 2228,
"end": 2232,
"loc": {
"start": {
"line": 85,
"column": 19
},
"end": {
"line": 85,
"column": 23
}
}
},
{
"type": "CommentBlock",
"value": "*\n * If the parent refers to this item with some kind of key (e.g. YMap, the\n * key is specified here. The key is then used to refer to the list in which\n * to insert this item. If `parentSub = null` type._start is the list in\n * which to insert to. Otherwise it is `parent._start`.\n * @type {String}\n ",
"start": 2237,
"end": 2567,
"loc": {
"start": {
"line": 86,
"column": 4
},
"end": {
"line": 92,
"column": 7
}
}
},
{
"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": 2572,
"end": 2576,
"loc": {
"start": {
"line": 93,
"column": 4
},
"end": {
"line": 93,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2576,
"end": 2577,
"loc": {
"start": {
"line": 93,
"column": 8
},
"end": {
"line": 93,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parentSub",
"start": 2577,
"end": 2587,
"loc": {
"start": {
"line": 93,
"column": 9
},
"end": {
"line": 93,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2588,
"end": 2589,
"loc": {
"start": {
"line": 93,
"column": 20
},
"end": {
"line": 93,
"column": 21
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 2590,
"end": 2594,
"loc": {
"start": {
"line": 93,
"column": 22
},
"end": {
"line": 93,
"column": 26
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Whether this item was deleted or not.\n * @type {Boolean}\n ",
"start": 2599,
"end": 2678,
"loc": {
"start": {
"line": 94,
"column": 4
},
"end": {
"line": 97,
"column": 7
}
}
},
{
"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": 2683,
"end": 2687,
"loc": {
"start": {
"line": 98,
"column": 4
},
"end": {
"line": 98,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2687,
"end": 2688,
"loc": {
"start": {
"line": 98,
"column": 8
},
"end": {
"line": 98,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_deleted",
"start": 2688,
"end": 2696,
"loc": {
"start": {
"line": 98,
"column": 9
},
"end": {
"line": 98,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2697,
"end": 2698,
"loc": {
"start": {
"line": 98,
"column": 18
},
"end": {
"line": 98,
"column": 19
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 2699,
"end": 2704,
"loc": {
"start": {
"line": 98,
"column": 20
},
"end": {
"line": 98,
"column": 25
}
}
},
{
"type": "CommentBlock",
"value": "*\n * If this type's effect is reundone this type refers to the type that undid\n * this operation.\n * @type {Item}\n ",
"start": 2709,
"end": 2844,
"loc": {
"start": {
"line": 99,
"column": 4
},
"end": {
"line": 103,
"column": 7
}
}
},
{
"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": 2849,
"end": 2853,
"loc": {
"start": {
"line": 104,
"column": 4
},
"end": {
"line": 104,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2853,
"end": 2854,
"loc": {
"start": {
"line": 104,
"column": 8
},
"end": {
"line": 104,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_redone",
"start": 2854,
"end": 2861,
"loc": {
"start": {
"line": 104,
"column": 9
},
"end": {
"line": 104,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2862,
"end": 2863,
"loc": {
"start": {
"line": 104,
"column": 17
},
"end": {
"line": 104,
"column": 18
}
}
},
{
"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": 2864,
"end": 2868,
"loc": {
"start": {
"line": 104,
"column": 19
},
"end": {
"line": 104,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2871,
"end": 2872,
"loc": {
"start": {
"line": 105,
"column": 2
},
"end": {
"line": 105,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Creates an Item with the same effect as this Item (without position effect)\n *\n * @private\n ",
"start": 2876,
"end": 2985,
"loc": {
"start": {
"line": 107,
"column": 2
},
"end": {
"line": 111,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_copy",
"start": 2988,
"end": 2993,
"loc": {
"start": {
"line": 112,
"column": 2
},
"end": {
"line": 112,
"column": 7
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2994,
"end": 2995,
"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": 2995,
"end": 2996,
"loc": {
"start": {
"line": 112,
"column": 9
},
"end": {
"line": 112,
"column": 10
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2997,
"end": 2998,
"loc": {
"start": {
"line": 112,
"column": 11
},
"end": {
"line": 112,
"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": 3003,
"end": 3009,
"loc": {
"start": {
"line": 113,
"column": 4
},
"end": {
"line": 113,
"column": 10
}
}
},
{
"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": 3010,
"end": 3013,
"loc": {
"start": {
"line": 113,
"column": 11
},
"end": {
"line": 113,
"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": 3014,
"end": 3018,
"loc": {
"start": {
"line": 113,
"column": 15
},
"end": {
"line": 113,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3018,
"end": 3019,
"loc": {
"start": {
"line": 113,
"column": 19
},
"end": {
"line": 113,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 3019,
"end": 3030,
"loc": {
"start": {
"line": 113,
"column": 20
},
"end": {
"line": 113,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3030,
"end": 3031,
"loc": {
"start": {
"line": 113,
"column": 31
},
"end": {
"line": 113,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3031,
"end": 3032,
"loc": {
"start": {
"line": 113,
"column": 32
},
"end": {
"line": 113,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3035,
"end": 3036,
"loc": {
"start": {
"line": 114,
"column": 2
},
"end": {
"line": 114,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Redoes the effect of this operation.\n *\n * @param {Y} y The Yjs instance.\n *\n * @private\n ",
"start": 3040,
"end": 3151,
"loc": {
"start": {
"line": 116,
"column": 2
},
"end": {
"line": 122,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_redo",
"start": 3154,
"end": 3159,
"loc": {
"start": {
"line": 123,
"column": 2
},
"end": {
"line": 123,
"column": 7
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3160,
"end": 3161,
"loc": {
"start": {
"line": 123,
"column": 8
},
"end": {
"line": 123,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3161,
"end": 3162,
"loc": {
"start": {
"line": 123,
"column": 9
},
"end": {
"line": 123,
"column": 10
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3162,
"end": 3163,
"loc": {
"start": {
"line": 123,
"column": 10
},
"end": {
"line": 123,
"column": 11
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3164,
"end": 3165,
"loc": {
"start": {
"line": 123,
"column": 12
},
"end": {
"line": 123,
"column": 13
}
}
},
{
"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": 3170,
"end": 3172,
"loc": {
"start": {
"line": 124,
"column": 4
},
"end": {
"line": 124,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3173,
"end": 3174,
"loc": {
"start": {
"line": 124,
"column": 7
},
"end": {
"line": 124,
"column": 8
}
}
},
{
"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": 3174,
"end": 3178,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3178,
"end": 3179,
"loc": {
"start": {
"line": 124,
"column": 12
},
"end": {
"line": 124,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_redone",
"start": 3179,
"end": 3186,
"loc": {
"start": {
"line": 124,
"column": 13
},
"end": {
"line": 124,
"column": 20
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 3187,
"end": 3190,
"loc": {
"start": {
"line": 124,
"column": 21
},
"end": {
"line": 124,
"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": 3191,
"end": 3195,
"loc": {
"start": {
"line": 124,
"column": 25
},
"end": {
"line": 124,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3195,
"end": 3196,
"loc": {
"start": {
"line": 124,
"column": 29
},
"end": {
"line": 124,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3197,
"end": 3198,
"loc": {
"start": {
"line": 124,
"column": 31
},
"end": {
"line": 124,
"column": 32
}
}
},
{
"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": 3205,
"end": 3211,
"loc": {
"start": {
"line": 125,
"column": 6
},
"end": {
"line": 125,
"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": 3212,
"end": 3216,
"loc": {
"start": {
"line": 125,
"column": 13
},
"end": {
"line": 125,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3216,
"end": 3217,
"loc": {
"start": {
"line": 125,
"column": 17
},
"end": {
"line": 125,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_redone",
"start": 3217,
"end": 3224,
"loc": {
"start": {
"line": 125,
"column": 18
},
"end": {
"line": 125,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3229,
"end": 3230,
"loc": {
"start": {
"line": 126,
"column": 4
},
"end": {
"line": 126,
"column": 5
}
}
},
{
"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": 3235,
"end": 3238,
"loc": {
"start": {
"line": 127,
"column": 4
},
"end": {
"line": 127,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 3239,
"end": 3245,
"loc": {
"start": {
"line": 127,
"column": 8
},
"end": {
"line": 127,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3246,
"end": 3247,
"loc": {
"start": {
"line": 127,
"column": 15
},
"end": {
"line": 127,
"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": 3248,
"end": 3252,
"loc": {
"start": {
"line": 127,
"column": 17
},
"end": {
"line": 127,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3252,
"end": 3253,
"loc": {
"start": {
"line": 127,
"column": 21
},
"end": {
"line": 127,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_copy",
"start": 3253,
"end": 3258,
"loc": {
"start": {
"line": 127,
"column": 22
},
"end": {
"line": 127,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3258,
"end": 3259,
"loc": {
"start": {
"line": 127,
"column": 27
},
"end": {
"line": 127,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3259,
"end": 3260,
"loc": {
"start": {
"line": 127,
"column": 28
},
"end": {
"line": 127,
"column": 29
}
}
},
{
"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": 3265,
"end": 3268,
"loc": {
"start": {
"line": 128,
"column": 4
},
"end": {
"line": 128,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 3269,
"end": 3273,
"loc": {
"start": {
"line": 128,
"column": 8
},
"end": {
"line": 128,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3274,
"end": 3275,
"loc": {
"start": {
"line": 128,
"column": 13
},
"end": {
"line": 128,
"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": 3276,
"end": 3280,
"loc": {
"start": {
"line": 128,
"column": 15
},
"end": {
"line": 128,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3280,
"end": 3281,
"loc": {
"start": {
"line": 128,
"column": 19
},
"end": {
"line": 128,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_left",
"start": 3281,
"end": 3286,
"loc": {
"start": {
"line": 128,
"column": 20
},
"end": {
"line": 128,
"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": 3291,
"end": 3294,
"loc": {
"start": {
"line": 129,
"column": 4
},
"end": {
"line": 129,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 3295,
"end": 3300,
"loc": {
"start": {
"line": 129,
"column": 8
},
"end": {
"line": 129,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3301,
"end": 3302,
"loc": {
"start": {
"line": 129,
"column": 14
},
"end": {
"line": 129,
"column": 15
}
}
},
{
"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": 3303,
"end": 3307,
"loc": {
"start": {
"line": 129,
"column": 16
},
"end": {
"line": 129,
"column": 20
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 3312,
"end": 3315,
"loc": {
"start": {
"line": 130,
"column": 4
},
"end": {
"line": 130,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 3316,
"end": 3322,
"loc": {
"start": {
"line": 130,
"column": 8
},
"end": {
"line": 130,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3323,
"end": 3324,
"loc": {
"start": {
"line": 130,
"column": 15
},
"end": {
"line": 130,
"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": 3325,
"end": 3329,
"loc": {
"start": {
"line": 130,
"column": 17
},
"end": {
"line": 130,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3329,
"end": 3330,
"loc": {
"start": {
"line": 130,
"column": 21
},
"end": {
"line": 130,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 3330,
"end": 3337,
"loc": {
"start": {
"line": 130,
"column": 22
},
"end": {
"line": 130,
"column": 29
}
}
},
{
"type": "CommentLine",
"value": " make sure that parent is redone",
"start": 3342,
"end": 3376,
"loc": {
"start": {
"line": 131,
"column": 4
},
"end": {
"line": 131,
"column": 38
}
}
},
{
"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": 3381,
"end": 3383,
"loc": {
"start": {
"line": 132,
"column": 4
},
"end": {
"line": 132,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3384,
"end": 3385,
"loc": {
"start": {
"line": 132,
"column": 7
},
"end": {
"line": 132,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 3385,
"end": 3391,
"loc": {
"start": {
"line": 132,
"column": 8
},
"end": {
"line": 132,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3391,
"end": 3392,
"loc": {
"start": {
"line": 132,
"column": 14
},
"end": {
"line": 132,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_deleted",
"start": 3392,
"end": 3400,
"loc": {
"start": {
"line": 132,
"column": 15
},
"end": {
"line": 132,
"column": 23
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 3401,
"end": 3404,
"loc": {
"start": {
"line": 132,
"column": 24
},
"end": {
"line": 132,
"column": 27
}
}
},
{
"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": 3405,
"end": 3409,
"loc": {
"start": {
"line": 132,
"column": 28
},
"end": {
"line": 132,
"column": 32
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 3410,
"end": 3412,
"loc": {
"start": {
"line": 132,
"column": 33
},
"end": {
"line": 132,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 3413,
"end": 3419,
"loc": {
"start": {
"line": 132,
"column": 36
},
"end": {
"line": 132,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3419,
"end": 3420,
"loc": {
"start": {
"line": 132,
"column": 42
},
"end": {
"line": 132,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_redone",
"start": 3420,
"end": 3427,
"loc": {
"start": {
"line": 132,
"column": 43
},
"end": {
"line": 132,
"column": 50
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 3428,
"end": 3431,
"loc": {
"start": {
"line": 132,
"column": 51
},
"end": {
"line": 132,
"column": 54
}
}
},
{
"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": 3432,
"end": 3436,
"loc": {
"start": {
"line": 132,
"column": 55
},
"end": {
"line": 132,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3436,
"end": 3437,
"loc": {
"start": {
"line": 132,
"column": 59
},
"end": {
"line": 132,
"column": 60
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3438,
"end": 3439,
"loc": {
"start": {
"line": 132,
"column": 61
},
"end": {
"line": 132,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 3446,
"end": 3452,
"loc": {
"start": {
"line": 133,
"column": 6
},
"end": {
"line": 133,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3452,
"end": 3453,
"loc": {
"start": {
"line": 133,
"column": 12
},
"end": {
"line": 133,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_redo",
"start": 3453,
"end": 3458,
"loc": {
"start": {
"line": 133,
"column": 13
},
"end": {
"line": 133,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3458,
"end": 3459,
"loc": {
"start": {
"line": 133,
"column": 18
},
"end": {
"line": 133,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 3459,
"end": 3460,
"loc": {
"start": {
"line": 133,
"column": 19
},
"end": {
"line": 133,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3460,
"end": 3461,
"loc": {
"start": {
"line": 133,
"column": 20
},
"end": {
"line": 133,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3466,
"end": 3467,
"loc": {
"start": {
"line": 134,
"column": 4
},
"end": {
"line": 134,
"column": 5
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 3472,
"end": 3474,
"loc": {
"start": {
"line": 135,
"column": 4
},
"end": {
"line": 135,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3475,
"end": 3476,
"loc": {
"start": {
"line": 135,
"column": 7
},
"end": {
"line": 135,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 3476,
"end": 3482,
"loc": {
"start": {
"line": 135,
"column": 8
},
"end": {
"line": 135,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3482,
"end": 3483,
"loc": {
"start": {
"line": 135,
"column": 14
},
"end": {
"line": 135,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_redone",
"start": 3483,
"end": 3490,
"loc": {
"start": {
"line": 135,
"column": 15
},
"end": {
"line": 135,
"column": 22
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 3491,
"end": 3494,
"loc": {
"start": {
"line": 135,
"column": 23
},
"end": {
"line": 135,
"column": 26
}
}
},
{
"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": 3495,
"end": 3499,
"loc": {
"start": {
"line": 135,
"column": 27
},
"end": {
"line": 135,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3499,
"end": 3500,
"loc": {
"start": {
"line": 135,
"column": 31
},
"end": {
"line": 135,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3501,
"end": 3502,
"loc": {
"start": {
"line": 135,
"column": 33
},
"end": {
"line": 135,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 3509,
"end": 3515,
"loc": {
"start": {
"line": 136,
"column": 6
},
"end": {
"line": 136,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3516,
"end": 3517,
"loc": {
"start": {
"line": 136,
"column": 13
},
"end": {
"line": 136,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 3518,
"end": 3524,
"loc": {
"start": {
"line": 136,
"column": 15
},
"end": {
"line": 136,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3524,
"end": 3525,
"loc": {
"start": {
"line": 136,
"column": 21
},
"end": {
"line": 136,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_redone",
"start": 3525,
"end": 3532,
"loc": {
"start": {
"line": 136,
"column": 22
},
"end": {
"line": 136,
"column": 29
}
}
},
{
"type": "CommentLine",
"value": " find next cloned items",
"start": 3539,
"end": 3564,
"loc": {
"start": {
"line": 137,
"column": 6
},
"end": {
"line": 137,
"column": 31
}
}
},
{
"type": {
"label": "while",
"keyword": "while",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "while",
"start": 3571,
"end": 3576,
"loc": {
"start": {
"line": 138,
"column": 6
},
"end": {
"line": 138,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3577,
"end": 3578,
"loc": {
"start": {
"line": 138,
"column": 12
},
"end": {
"line": 138,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 3578,
"end": 3582,
"loc": {
"start": {
"line": 138,
"column": 13
},
"end": {
"line": 138,
"column": 17
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 3583,
"end": 3586,
"loc": {
"start": {
"line": 138,
"column": 18
},
"end": {
"line": 138,
"column": 21
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 3587,
"end": 3591,
"loc": {
"start": {
"line": 138,
"column": 22
},
"end": {
"line": 138,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3591,
"end": 3592,
"loc": {
"start": {
"line": 138,
"column": 26
},
"end": {
"line": 138,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3593,
"end": 3594,
"loc": {
"start": {
"line": 138,
"column": 28
},
"end": {
"line": 138,
"column": 29
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 3603,
"end": 3605,
"loc": {
"start": {
"line": 139,
"column": 8
},
"end": {
"line": 139,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3606,
"end": 3607,
"loc": {
"start": {
"line": 139,
"column": 11
},
"end": {
"line": 139,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 3607,
"end": 3611,
"loc": {
"start": {
"line": 139,
"column": 12
},
"end": {
"line": 139,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3611,
"end": 3612,
"loc": {
"start": {
"line": 139,
"column": 16
},
"end": {
"line": 139,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_redone",
"start": 3612,
"end": 3619,
"loc": {
"start": {
"line": 139,
"column": 17
},
"end": {
"line": 139,
"column": 24
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 3620,
"end": 3623,
"loc": {
"start": {
"line": 139,
"column": 25
},
"end": {
"line": 139,
"column": 28
}
}
},
{
"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": 3624,
"end": 3628,
"loc": {
"start": {
"line": 139,
"column": 29
},
"end": {
"line": 139,
"column": 33
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 3629,
"end": 3631,
"loc": {
"start": {
"line": 139,
"column": 34
},
"end": {
"line": 139,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 3632,
"end": 3636,
"loc": {
"start": {
"line": 139,
"column": 37
},
"end": {
"line": 139,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3636,
"end": 3637,
"loc": {
"start": {
"line": 139,
"column": 41
},
"end": {
"line": 139,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_redone",
"start": 3637,
"end": 3644,
"loc": {
"start": {
"line": 139,
"column": 42
},
"end": {
"line": 139,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3644,
"end": 3645,
"loc": {
"start": {
"line": 139,
"column": 49
},
"end": {
"line": 139,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 3645,
"end": 3652,
"loc": {
"start": {
"line": 139,
"column": 50
},
"end": {
"line": 139,
"column": 57
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 3653,
"end": 3656,
"loc": {
"start": {
"line": 139,
"column": 58
},
"end": {
"line": 139,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 3657,
"end": 3663,
"loc": {
"start": {
"line": 139,
"column": 62
},
"end": {
"line": 139,
"column": 68
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3663,
"end": 3664,
"loc": {
"start": {
"line": 139,
"column": 68
},
"end": {
"line": 139,
"column": 69
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3665,
"end": 3666,
"loc": {
"start": {
"line": 139,
"column": 70
},
"end": {
"line": 139,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 3677,
"end": 3681,
"loc": {
"start": {
"line": 140,
"column": 10
},
"end": {
"line": 140,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3682,
"end": 3683,
"loc": {
"start": {
"line": 140,
"column": 15
},
"end": {
"line": 140,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 3684,
"end": 3688,
"loc": {
"start": {
"line": 140,
"column": 17
},
"end": {
"line": 140,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3688,
"end": 3689,
"loc": {
"start": {
"line": 140,
"column": 21
},
"end": {
"line": 140,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_redone",
"start": 3689,
"end": 3696,
"loc": {
"start": {
"line": 140,
"column": 22
},
"end": {
"line": 140,
"column": 29
}
}
},
{
"type": {
"label": "break",
"keyword": "break",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "break",
"start": 3707,
"end": 3712,
"loc": {
"start": {
"line": 141,
"column": 10
},
"end": {
"line": 141,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3721,
"end": 3722,
"loc": {
"start": {
"line": 142,
"column": 8
},
"end": {
"line": 142,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 3731,
"end": 3735,
"loc": {
"start": {
"line": 143,
"column": 8
},
"end": {
"line": 143,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3736,
"end": 3737,
"loc": {
"start": {
"line": 143,
"column": 13
},
"end": {
"line": 143,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 3738,
"end": 3742,
"loc": {
"start": {
"line": 143,
"column": 15
},
"end": {
"line": 143,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3742,
"end": 3743,
"loc": {
"start": {
"line": 143,
"column": 19
},
"end": {
"line": 143,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_left",
"start": 3743,
"end": 3748,
"loc": {
"start": {
"line": 143,
"column": 20
},
"end": {
"line": 143,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3755,
"end": 3756,
"loc": {
"start": {
"line": 144,
"column": 6
},
"end": {
"line": 144,
"column": 7
}
}
},
{
"type": {
"label": "while",
"keyword": "while",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "while",
"start": 3763,
"end": 3768,
"loc": {
"start": {
"line": 145,
"column": 6
},
"end": {
"line": 145,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3769,
"end": 3770,
"loc": {
"start": {
"line": 145,
"column": 12
},
"end": {
"line": 145,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 3770,
"end": 3775,
"loc": {
"start": {
"line": 145,
"column": 13
},
"end": {
"line": 145,
"column": 18
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 3776,
"end": 3779,
"loc": {
"start": {
"line": 145,
"column": 19
},
"end": {
"line": 145,
"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": 3780,
"end": 3784,
"loc": {
"start": {
"line": 145,
"column": 23
},
"end": {
"line": 145,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3784,
"end": 3785,
"loc": {
"start": {
"line": 145,
"column": 27
},
"end": {
"line": 145,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3786,
"end": 3787,
"loc": {
"start": {
"line": 145,
"column": 29
},
"end": {
"line": 145,
"column": 30
}
}
},
{
"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": 3796,
"end": 3798,
"loc": {
"start": {
"line": 146,
"column": 8
},
"end": {
"line": 146,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3799,
"end": 3800,
"loc": {
"start": {
"line": 146,
"column": 11
},
"end": {
"line": 146,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 3800,
"end": 3805,
"loc": {
"start": {
"line": 146,
"column": 12
},
"end": {
"line": 146,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3805,
"end": 3806,
"loc": {
"start": {
"line": 146,
"column": 17
},
"end": {
"line": 146,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_redone",
"start": 3806,
"end": 3813,
"loc": {
"start": {
"line": 146,
"column": 18
},
"end": {
"line": 146,
"column": 25
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 3814,
"end": 3817,
"loc": {
"start": {
"line": 146,
"column": 26
},
"end": {
"line": 146,
"column": 29
}
}
},
{
"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": 3818,
"end": 3822,
"loc": {
"start": {
"line": 146,
"column": 30
},
"end": {
"line": 146,
"column": 34
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 3823,
"end": 3825,
"loc": {
"start": {
"line": 146,
"column": 35
},
"end": {
"line": 146,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 3826,
"end": 3831,
"loc": {
"start": {
"line": 146,
"column": 38
},
"end": {
"line": 146,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3831,
"end": 3832,
"loc": {
"start": {
"line": 146,
"column": 43
},
"end": {
"line": 146,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_redone",
"start": 3832,
"end": 3839,
"loc": {
"start": {
"line": 146,
"column": 44
},
"end": {
"line": 146,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3839,
"end": 3840,
"loc": {
"start": {
"line": 146,
"column": 51
},
"end": {
"line": 146,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 3840,
"end": 3847,
"loc": {
"start": {
"line": 146,
"column": 52
},
"end": {
"line": 146,
"column": 59
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 3848,
"end": 3851,
"loc": {
"start": {
"line": 146,
"column": 60
},
"end": {
"line": 146,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 3852,
"end": 3858,
"loc": {
"start": {
"line": 146,
"column": 64
},
"end": {
"line": 146,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3858,
"end": 3859,
"loc": {
"start": {
"line": 146,
"column": 70
},
"end": {
"line": 146,
"column": 71
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3860,
"end": 3861,
"loc": {
"start": {
"line": 146,
"column": 72
},
"end": {
"line": 146,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 3872,
"end": 3877,
"loc": {
"start": {
"line": 147,
"column": 10
},
"end": {
"line": 147,
"column": 15
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3878,
"end": 3879,
"loc": {
"start": {
"line": 147,
"column": 16
},
"end": {
"line": 147,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 3880,
"end": 3885,
"loc": {
"start": {
"line": 147,
"column": 18
},
"end": {
"line": 147,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3885,
"end": 3886,
"loc": {
"start": {
"line": 147,
"column": 23
},
"end": {
"line": 147,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_redone",
"start": 3886,
"end": 3893,
"loc": {
"start": {
"line": 147,
"column": 24
},
"end": {
"line": 147,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3902,
"end": 3903,
"loc": {
"start": {
"line": 148,
"column": 8
},
"end": {
"line": 148,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 3912,
"end": 3917,
"loc": {
"start": {
"line": 149,
"column": 8
},
"end": {
"line": 149,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3918,
"end": 3919,
"loc": {
"start": {
"line": 149,
"column": 14
},
"end": {
"line": 149,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 3920,
"end": 3925,
"loc": {
"start": {
"line": 149,
"column": 16
},
"end": {
"line": 149,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3925,
"end": 3926,
"loc": {
"start": {
"line": 149,
"column": 21
},
"end": {
"line": 149,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right",
"start": 3926,
"end": 3932,
"loc": {
"start": {
"line": 149,
"column": 22
},
"end": {
"line": 149,
"column": 28
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3939,
"end": 3940,
"loc": {
"start": {
"line": 150,
"column": 6
},
"end": {
"line": 150,
"column": 7
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3945,
"end": 3946,
"loc": {
"start": {
"line": 151,
"column": 4
},
"end": {
"line": 151,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 3951,
"end": 3957,
"loc": {
"start": {
"line": 152,
"column": 4
},
"end": {
"line": 152,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3957,
"end": 3958,
"loc": {
"start": {
"line": 152,
"column": 10
},
"end": {
"line": 152,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_origin",
"start": 3958,
"end": 3965,
"loc": {
"start": {
"line": 152,
"column": 11
},
"end": {
"line": 152,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3966,
"end": 3967,
"loc": {
"start": {
"line": 152,
"column": 19
},
"end": {
"line": 152,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 3968,
"end": 3972,
"loc": {
"start": {
"line": 152,
"column": 21
},
"end": {
"line": 152,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 3977,
"end": 3983,
"loc": {
"start": {
"line": 153,
"column": 4
},
"end": {
"line": 153,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3983,
"end": 3984,
"loc": {
"start": {
"line": 153,
"column": 10
},
"end": {
"line": 153,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_left",
"start": 3984,
"end": 3989,
"loc": {
"start": {
"line": 153,
"column": 11
},
"end": {
"line": 153,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3990,
"end": 3991,
"loc": {
"start": {
"line": 153,
"column": 17
},
"end": {
"line": 153,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 3992,
"end": 3996,
"loc": {
"start": {
"line": 153,
"column": 19
},
"end": {
"line": 153,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 4001,
"end": 4007,
"loc": {
"start": {
"line": 154,
"column": 4
},
"end": {
"line": 154,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4007,
"end": 4008,
"loc": {
"start": {
"line": 154,
"column": 10
},
"end": {
"line": 154,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right",
"start": 4008,
"end": 4014,
"loc": {
"start": {
"line": 154,
"column": 11
},
"end": {
"line": 154,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4015,
"end": 4016,
"loc": {
"start": {
"line": 154,
"column": 18
},
"end": {
"line": 154,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 4017,
"end": 4022,
"loc": {
"start": {
"line": 154,
"column": 20
},
"end": {
"line": 154,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 4027,
"end": 4033,
"loc": {
"start": {
"line": 155,
"column": 4
},
"end": {
"line": 155,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4033,
"end": 4034,
"loc": {
"start": {
"line": 155,
"column": 10
},
"end": {
"line": 155,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right_origin",
"start": 4034,
"end": 4047,
"loc": {
"start": {
"line": 155,
"column": 11
},
"end": {
"line": 155,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4048,
"end": 4049,
"loc": {
"start": {
"line": 155,
"column": 25
},
"end": {
"line": 155,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 4050,
"end": 4055,
"loc": {
"start": {
"line": 155,
"column": 27
},
"end": {
"line": 155,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 4060,
"end": 4066,
"loc": {
"start": {
"line": 156,
"column": 4
},
"end": {
"line": 156,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4066,
"end": 4067,
"loc": {
"start": {
"line": 156,
"column": 10
},
"end": {
"line": 156,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 4067,
"end": 4074,
"loc": {
"start": {
"line": 156,
"column": 11
},
"end": {
"line": 156,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4075,
"end": 4076,
"loc": {
"start": {
"line": 156,
"column": 19
},
"end": {
"line": 156,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 4077,
"end": 4083,
"loc": {
"start": {
"line": 156,
"column": 21
},
"end": {
"line": 156,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 4088,
"end": 4094,
"loc": {
"start": {
"line": 157,
"column": 4
},
"end": {
"line": 157,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4094,
"end": 4095,
"loc": {
"start": {
"line": 157,
"column": 10
},
"end": {
"line": 157,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parentSub",
"start": 4095,
"end": 4105,
"loc": {
"start": {
"line": 157,
"column": 11
},
"end": {
"line": 157,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4106,
"end": 4107,
"loc": {
"start": {
"line": 157,
"column": 22
},
"end": {
"line": 157,
"column": 23
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4108,
"end": 4112,
"loc": {
"start": {
"line": 157,
"column": 24
},
"end": {
"line": 157,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4112,
"end": 4113,
"loc": {
"start": {
"line": 157,
"column": 28
},
"end": {
"line": 157,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parentSub",
"start": 4113,
"end": 4123,
"loc": {
"start": {
"line": 157,
"column": 29
},
"end": {
"line": 157,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 4128,
"end": 4134,
"loc": {
"start": {
"line": 158,
"column": 4
},
"end": {
"line": 158,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4134,
"end": 4135,
"loc": {
"start": {
"line": 158,
"column": 10
},
"end": {
"line": 158,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_integrate",
"start": 4135,
"end": 4145,
"loc": {
"start": {
"line": 158,
"column": 11
},
"end": {
"line": 158,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4145,
"end": 4146,
"loc": {
"start": {
"line": 158,
"column": 21
},
"end": {
"line": 158,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 4146,
"end": 4147,
"loc": {
"start": {
"line": 158,
"column": 22
},
"end": {
"line": 158,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4147,
"end": 4148,
"loc": {
"start": {
"line": 158,
"column": 23
},
"end": {
"line": 158,
"column": 24
}
}
},
{
"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": 4153,
"end": 4157,
"loc": {
"start": {
"line": 159,
"column": 4
},
"end": {
"line": 159,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4157,
"end": 4158,
"loc": {
"start": {
"line": 159,
"column": 8
},
"end": {
"line": 159,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_redone",
"start": 4158,
"end": 4165,
"loc": {
"start": {
"line": 159,
"column": 9
},
"end": {
"line": 159,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4166,
"end": 4167,
"loc": {
"start": {
"line": 159,
"column": 17
},
"end": {
"line": 159,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 4168,
"end": 4174,
"loc": {
"start": {
"line": 159,
"column": 19
},
"end": {
"line": 159,
"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": 4179,
"end": 4185,
"loc": {
"start": {
"line": 160,
"column": 4
},
"end": {
"line": 160,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 4186,
"end": 4192,
"loc": {
"start": {
"line": 160,
"column": 11
},
"end": {
"line": 160,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4195,
"end": 4196,
"loc": {
"start": {
"line": 161,
"column": 2
},
"end": {
"line": 161,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Computes the last content address of this Item.\n *\n * @private\n ",
"start": 4200,
"end": 4281,
"loc": {
"start": {
"line": 163,
"column": 2
},
"end": {
"line": 167,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 4284,
"end": 4287,
"loc": {
"start": {
"line": 168,
"column": 2
},
"end": {
"line": 168,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_lastId",
"start": 4288,
"end": 4295,
"loc": {
"start": {
"line": 168,
"column": 6
},
"end": {
"line": 168,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4296,
"end": 4297,
"loc": {
"start": {
"line": 168,
"column": 14
},
"end": {
"line": 168,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4297,
"end": 4298,
"loc": {
"start": {
"line": 168,
"column": 15
},
"end": {
"line": 168,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4299,
"end": 4300,
"loc": {
"start": {
"line": 168,
"column": 17
},
"end": {
"line": 168,
"column": 18
}
}
},
{
"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": 4305,
"end": 4311,
"loc": {
"start": {
"line": 169,
"column": 4
},
"end": {
"line": 169,
"column": 10
}
}
},
{
"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": 4312,
"end": 4315,
"loc": {
"start": {
"line": 169,
"column": 11
},
"end": {
"line": 169,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ID",
"start": 4316,
"end": 4318,
"loc": {
"start": {
"line": 169,
"column": 15
},
"end": {
"line": 169,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4318,
"end": 4319,
"loc": {
"start": {
"line": 169,
"column": 17
},
"end": {
"line": 169,
"column": 18
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4319,
"end": 4323,
"loc": {
"start": {
"line": 169,
"column": 18
},
"end": {
"line": 169,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4323,
"end": 4324,
"loc": {
"start": {
"line": 169,
"column": 22
},
"end": {
"line": 169,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 4324,
"end": 4327,
"loc": {
"start": {
"line": 169,
"column": 23
},
"end": {
"line": 169,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4327,
"end": 4328,
"loc": {
"start": {
"line": 169,
"column": 26
},
"end": {
"line": 169,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 4328,
"end": 4332,
"loc": {
"start": {
"line": 169,
"column": 27
},
"end": {
"line": 169,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4332,
"end": 4333,
"loc": {
"start": {
"line": 169,
"column": 31
},
"end": {
"line": 169,
"column": 32
}
}
},
{
"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": 4334,
"end": 4338,
"loc": {
"start": {
"line": 169,
"column": 33
},
"end": {
"line": 169,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4338,
"end": 4339,
"loc": {
"start": {
"line": 169,
"column": 37
},
"end": {
"line": 169,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 4339,
"end": 4342,
"loc": {
"start": {
"line": 169,
"column": 38
},
"end": {
"line": 169,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4342,
"end": 4343,
"loc": {
"start": {
"line": 169,
"column": 41
},
"end": {
"line": 169,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 4343,
"end": 4348,
"loc": {
"start": {
"line": 169,
"column": 42
},
"end": {
"line": 169,
"column": 47
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 4349,
"end": 4350,
"loc": {
"start": {
"line": 169,
"column": 48
},
"end": {
"line": 169,
"column": 49
}
}
},
{
"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": 4351,
"end": 4355,
"loc": {
"start": {
"line": 169,
"column": 50
},
"end": {
"line": 169,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4355,
"end": 4356,
"loc": {
"start": {
"line": 169,
"column": 54
},
"end": {
"line": 169,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 4356,
"end": 4363,
"loc": {
"start": {
"line": 169,
"column": 55
},
"end": {
"line": 169,
"column": 62
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 4364,
"end": 4365,
"loc": {
"start": {
"line": 169,
"column": 63
},
"end": {
"line": 169,
"column": 64
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 4366,
"end": 4367,
"loc": {
"start": {
"line": 169,
"column": 65
},
"end": {
"line": 169,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4367,
"end": 4368,
"loc": {
"start": {
"line": 169,
"column": 66
},
"end": {
"line": 169,
"column": 67
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4371,
"end": 4372,
"loc": {
"start": {
"line": 170,
"column": 2
},
"end": {
"line": 170,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Computes the length of this Item.\n *\n * @private\n ",
"start": 4376,
"end": 4443,
"loc": {
"start": {
"line": 172,
"column": 2
},
"end": {
"line": 176,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 4446,
"end": 4449,
"loc": {
"start": {
"line": 177,
"column": 2
},
"end": {
"line": 177,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 4450,
"end": 4457,
"loc": {
"start": {
"line": 177,
"column": 6
},
"end": {
"line": 177,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4458,
"end": 4459,
"loc": {
"start": {
"line": 177,
"column": 14
},
"end": {
"line": 177,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4459,
"end": 4460,
"loc": {
"start": {
"line": 177,
"column": 15
},
"end": {
"line": 177,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4461,
"end": 4462,
"loc": {
"start": {
"line": 177,
"column": 17
},
"end": {
"line": 177,
"column": 18
}
}
},
{
"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": 4467,
"end": 4473,
"loc": {
"start": {
"line": 178,
"column": 4
},
"end": {
"line": 178,
"column": 10
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 4474,
"end": 4475,
"loc": {
"start": {
"line": 178,
"column": 11
},
"end": {
"line": 178,
"column": 12
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4478,
"end": 4479,
"loc": {
"start": {
"line": 179,
"column": 2
},
"end": {
"line": 179,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Should return false if this Item is some kind of meta information\n * (e.g. format information).\n *\n * * Whether this Item should be addressable via `yarray.get(i)`\n * * Whether this Item should be counted when computing yarray.length\n *\n * @private\n ",
"start": 4483,
"end": 4758,
"loc": {
"start": {
"line": 181,
"column": 2
},
"end": {
"line": 189,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 4761,
"end": 4764,
"loc": {
"start": {
"line": 190,
"column": 2
},
"end": {
"line": 190,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_countable",
"start": 4765,
"end": 4775,
"loc": {
"start": {
"line": 190,
"column": 6
},
"end": {
"line": 190,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4776,
"end": 4777,
"loc": {
"start": {
"line": 190,
"column": 17
},
"end": {
"line": 190,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4777,
"end": 4778,
"loc": {
"start": {
"line": 190,
"column": 18
},
"end": {
"line": 190,
"column": 19
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4779,
"end": 4780,
"loc": {
"start": {
"line": 190,
"column": 20
},
"end": {
"line": 190,
"column": 21
}
}
},
{
"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": 4785,
"end": 4791,
"loc": {
"start": {
"line": 191,
"column": 4
},
"end": {
"line": 191,
"column": 10
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 4792,
"end": 4796,
"loc": {
"start": {
"line": 191,
"column": 11
},
"end": {
"line": 191,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4799,
"end": 4800,
"loc": {
"start": {
"line": 192,
"column": 2
},
"end": {
"line": 192,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Splits this Item so that another Items can be inserted in-between.\n * This must be overwritten if _length > 1\n * Returns right part after split\n * * diff === 0 => this\n * * diff === length => this._right\n * * otherwise => split _content and return right part of split\n * (see {@link ItemJSON}/{@link ItemString} for implementation)\n *\n * @private\n ",
"start": 4804,
"end": 5181,
"loc": {
"start": {
"line": 194,
"column": 2
},
"end": {
"line": 204,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_splitAt",
"start": 5184,
"end": 5192,
"loc": {
"start": {
"line": 205,
"column": 2
},
"end": {
"line": 205,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5193,
"end": 5194,
"loc": {
"start": {
"line": 205,
"column": 11
},
"end": {
"line": 205,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 5194,
"end": 5195,
"loc": {
"start": {
"line": 205,
"column": 12
},
"end": {
"line": 205,
"column": 13
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5195,
"end": 5196,
"loc": {
"start": {
"line": 205,
"column": 13
},
"end": {
"line": 205,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "diff",
"start": 5197,
"end": 5201,
"loc": {
"start": {
"line": 205,
"column": 15
},
"end": {
"line": 205,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5201,
"end": 5202,
"loc": {
"start": {
"line": 205,
"column": 19
},
"end": {
"line": 205,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5203,
"end": 5204,
"loc": {
"start": {
"line": 205,
"column": 21
},
"end": {
"line": 205,
"column": 22
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 5209,
"end": 5211,
"loc": {
"start": {
"line": 206,
"column": 4
},
"end": {
"line": 206,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5212,
"end": 5213,
"loc": {
"start": {
"line": 206,
"column": 7
},
"end": {
"line": 206,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "diff",
"start": 5213,
"end": 5217,
"loc": {
"start": {
"line": 206,
"column": 8
},
"end": {
"line": 206,
"column": 12
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 5218,
"end": 5221,
"loc": {
"start": {
"line": 206,
"column": 13
},
"end": {
"line": 206,
"column": 16
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 5222,
"end": 5223,
"loc": {
"start": {
"line": 206,
"column": 17
},
"end": {
"line": 206,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5223,
"end": 5224,
"loc": {
"start": {
"line": 206,
"column": 18
},
"end": {
"line": 206,
"column": 19
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5225,
"end": 5226,
"loc": {
"start": {
"line": 206,
"column": 20
},
"end": {
"line": 206,
"column": 21
}
}
},
{
"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": 5233,
"end": 5239,
"loc": {
"start": {
"line": 207,
"column": 6
},
"end": {
"line": 207,
"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": 5240,
"end": 5244,
"loc": {
"start": {
"line": 207,
"column": 13
},
"end": {
"line": 207,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5249,
"end": 5250,
"loc": {
"start": {
"line": 208,
"column": 4
},
"end": {
"line": 208,
"column": 5
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 5255,
"end": 5261,
"loc": {
"start": {
"line": 209,
"column": 4
},
"end": {
"line": 209,
"column": 10
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5262,
"end": 5266,
"loc": {
"start": {
"line": 209,
"column": 11
},
"end": {
"line": 209,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5266,
"end": 5267,
"loc": {
"start": {
"line": 209,
"column": 15
},
"end": {
"line": 209,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right",
"start": 5267,
"end": 5273,
"loc": {
"start": {
"line": 209,
"column": 16
},
"end": {
"line": 209,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5276,
"end": 5277,
"loc": {
"start": {
"line": 210,
"column": 2
},
"end": {
"line": 210,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Mark this Item as deleted.\n *\n * @param {Y} y The Yjs instance\n * @param {boolean} createDelete Whether to propagate a message that this\n * Type was deleted.\n *\n * @private\n ",
"start": 5281,
"end": 5510,
"loc": {
"start": {
"line": 212,
"column": 2
},
"end": {
"line": 220,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_delete",
"start": 5513,
"end": 5520,
"loc": {
"start": {
"line": 221,
"column": 2
},
"end": {
"line": 221,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5521,
"end": 5522,
"loc": {
"start": {
"line": 221,
"column": 10
},
"end": {
"line": 221,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 5522,
"end": 5523,
"loc": {
"start": {
"line": 221,
"column": 11
},
"end": {
"line": 221,
"column": 12
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5523,
"end": 5524,
"loc": {
"start": {
"line": 221,
"column": 12
},
"end": {
"line": 221,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createDelete",
"start": 5525,
"end": 5537,
"loc": {
"start": {
"line": 221,
"column": 14
},
"end": {
"line": 221,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5538,
"end": 5539,
"loc": {
"start": {
"line": 221,
"column": 27
},
"end": {
"line": 221,
"column": 28
}
}
},
{
"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": 5540,
"end": 5544,
"loc": {
"start": {
"line": 221,
"column": 29
},
"end": {
"line": 221,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5544,
"end": 5545,
"loc": {
"start": {
"line": 221,
"column": 33
},
"end": {
"line": 221,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5546,
"end": 5547,
"loc": {
"start": {
"line": 221,
"column": 35
},
"end": {
"line": 221,
"column": 36
}
}
},
{
"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": 5552,
"end": 5554,
"loc": {
"start": {
"line": 222,
"column": 4
},
"end": {
"line": 222,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5555,
"end": 5556,
"loc": {
"start": {
"line": 222,
"column": 7
},
"end": {
"line": 222,
"column": 8
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 5556,
"end": 5557,
"loc": {
"start": {
"line": 222,
"column": 8
},
"end": {
"line": 222,
"column": 9
}
}
},
{
"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": 5557,
"end": 5561,
"loc": {
"start": {
"line": 222,
"column": 9
},
"end": {
"line": 222,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5561,
"end": 5562,
"loc": {
"start": {
"line": 222,
"column": 13
},
"end": {
"line": 222,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_deleted",
"start": 5562,
"end": 5570,
"loc": {
"start": {
"line": 222,
"column": 14
},
"end": {
"line": 222,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5570,
"end": 5571,
"loc": {
"start": {
"line": 222,
"column": 22
},
"end": {
"line": 222,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5572,
"end": 5573,
"loc": {
"start": {
"line": 222,
"column": 24
},
"end": {
"line": 222,
"column": 25
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5580,
"end": 5584,
"loc": {
"start": {
"line": 223,
"column": 6
},
"end": {
"line": 223,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5584,
"end": 5585,
"loc": {
"start": {
"line": 223,
"column": 10
},
"end": {
"line": 223,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_deleted",
"start": 5585,
"end": 5593,
"loc": {
"start": {
"line": 223,
"column": 11
},
"end": {
"line": 223,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5594,
"end": 5595,
"loc": {
"start": {
"line": 223,
"column": 20
},
"end": {
"line": 223,
"column": 21
}
}
},
{
"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": 5596,
"end": 5600,
"loc": {
"start": {
"line": 223,
"column": 22
},
"end": {
"line": 223,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 5607,
"end": 5608,
"loc": {
"start": {
"line": 224,
"column": 6
},
"end": {
"line": 224,
"column": 7
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5608,
"end": 5609,
"loc": {
"start": {
"line": 224,
"column": 7
},
"end": {
"line": 224,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ds",
"start": 5609,
"end": 5611,
"loc": {
"start": {
"line": 224,
"column": 8
},
"end": {
"line": 224,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5611,
"end": 5612,
"loc": {
"start": {
"line": 224,
"column": 10
},
"end": {
"line": 224,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mark",
"start": 5612,
"end": 5616,
"loc": {
"start": {
"line": 224,
"column": 11
},
"end": {
"line": 224,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5616,
"end": 5617,
"loc": {
"start": {
"line": 224,
"column": 15
},
"end": {
"line": 224,
"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": 5617,
"end": 5621,
"loc": {
"start": {
"line": 224,
"column": 16
},
"end": {
"line": 224,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5621,
"end": 5622,
"loc": {
"start": {
"line": 224,
"column": 20
},
"end": {
"line": 224,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 5622,
"end": 5625,
"loc": {
"start": {
"line": 224,
"column": 21
},
"end": {
"line": 224,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5625,
"end": 5626,
"loc": {
"start": {
"line": 224,
"column": 24
},
"end": {
"line": 224,
"column": 25
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5627,
"end": 5631,
"loc": {
"start": {
"line": 224,
"column": 26
},
"end": {
"line": 224,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5631,
"end": 5632,
"loc": {
"start": {
"line": 224,
"column": 30
},
"end": {
"line": 224,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 5632,
"end": 5639,
"loc": {
"start": {
"line": 224,
"column": 31
},
"end": {
"line": 224,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5639,
"end": 5640,
"loc": {
"start": {
"line": 224,
"column": 38
},
"end": {
"line": 224,
"column": 39
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 5641,
"end": 5646,
"loc": {
"start": {
"line": 224,
"column": 40
},
"end": {
"line": 224,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5646,
"end": 5647,
"loc": {
"start": {
"line": 224,
"column": 45
},
"end": {
"line": 224,
"column": 46
}
}
},
{
"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": 5654,
"end": 5657,
"loc": {
"start": {
"line": 225,
"column": 6
},
"end": {
"line": 225,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "del",
"start": 5658,
"end": 5661,
"loc": {
"start": {
"line": 225,
"column": 10
},
"end": {
"line": 225,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5662,
"end": 5663,
"loc": {
"start": {
"line": 225,
"column": 14
},
"end": {
"line": 225,
"column": 15
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 5664,
"end": 5667,
"loc": {
"start": {
"line": 225,
"column": 16
},
"end": {
"line": 225,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Delete",
"start": 5668,
"end": 5674,
"loc": {
"start": {
"line": 225,
"column": 20
},
"end": {
"line": 225,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5674,
"end": 5675,
"loc": {
"start": {
"line": 225,
"column": 26
},
"end": {
"line": 225,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5675,
"end": 5676,
"loc": {
"start": {
"line": 225,
"column": 27
},
"end": {
"line": 225,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "del",
"start": 5683,
"end": 5686,
"loc": {
"start": {
"line": 226,
"column": 6
},
"end": {
"line": 226,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5686,
"end": 5687,
"loc": {
"start": {
"line": 226,
"column": 9
},
"end": {
"line": 226,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_targetID",
"start": 5687,
"end": 5696,
"loc": {
"start": {
"line": 226,
"column": 10
},
"end": {
"line": 226,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5697,
"end": 5698,
"loc": {
"start": {
"line": 226,
"column": 20
},
"end": {
"line": 226,
"column": 21
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5699,
"end": 5703,
"loc": {
"start": {
"line": 226,
"column": 22
},
"end": {
"line": 226,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5703,
"end": 5704,
"loc": {
"start": {
"line": 226,
"column": 26
},
"end": {
"line": 226,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 5704,
"end": 5707,
"loc": {
"start": {
"line": 226,
"column": 27
},
"end": {
"line": 226,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "del",
"start": 5714,
"end": 5717,
"loc": {
"start": {
"line": 227,
"column": 6
},
"end": {
"line": 227,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5717,
"end": 5718,
"loc": {
"start": {
"line": 227,
"column": 9
},
"end": {
"line": 227,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 5718,
"end": 5725,
"loc": {
"start": {
"line": 227,
"column": 10
},
"end": {
"line": 227,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5726,
"end": 5727,
"loc": {
"start": {
"line": 227,
"column": 18
},
"end": {
"line": 227,
"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": 5728,
"end": 5732,
"loc": {
"start": {
"line": 227,
"column": 20
},
"end": {
"line": 227,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5732,
"end": 5733,
"loc": {
"start": {
"line": 227,
"column": 24
},
"end": {
"line": 227,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 5733,
"end": 5740,
"loc": {
"start": {
"line": 227,
"column": 25
},
"end": {
"line": 227,
"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": 5747,
"end": 5749,
"loc": {
"start": {
"line": 228,
"column": 6
},
"end": {
"line": 228,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5750,
"end": 5751,
"loc": {
"start": {
"line": 228,
"column": 9
},
"end": {
"line": 228,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createDelete",
"start": 5751,
"end": 5763,
"loc": {
"start": {
"line": 228,
"column": 10
},
"end": {
"line": 228,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5763,
"end": 5764,
"loc": {
"start": {
"line": 228,
"column": 22
},
"end": {
"line": 228,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5765,
"end": 5766,
"loc": {
"start": {
"line": 228,
"column": 24
},
"end": {
"line": 228,
"column": 25
}
}
},
{
"type": "CommentLine",
"value": " broadcast and persists Delete",
"start": 5775,
"end": 5807,
"loc": {
"start": {
"line": 229,
"column": 8
},
"end": {
"line": 229,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "del",
"start": 5816,
"end": 5819,
"loc": {
"start": {
"line": 230,
"column": 8
},
"end": {
"line": 230,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5819,
"end": 5820,
"loc": {
"start": {
"line": 230,
"column": 11
},
"end": {
"line": 230,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_integrate",
"start": 5820,
"end": 5830,
"loc": {
"start": {
"line": 230,
"column": 12
},
"end": {
"line": 230,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5830,
"end": 5831,
"loc": {
"start": {
"line": 230,
"column": 22
},
"end": {
"line": 230,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 5831,
"end": 5832,
"loc": {
"start": {
"line": 230,
"column": 23
},
"end": {
"line": 230,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5832,
"end": 5833,
"loc": {
"start": {
"line": 230,
"column": 24
},
"end": {
"line": 230,
"column": 25
}
}
},
{
"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": 5834,
"end": 5838,
"loc": {
"start": {
"line": 230,
"column": 26
},
"end": {
"line": 230,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5838,
"end": 5839,
"loc": {
"start": {
"line": 230,
"column": 30
},
"end": {
"line": 230,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5846,
"end": 5847,
"loc": {
"start": {
"line": 231,
"column": 6
},
"end": {
"line": 231,
"column": 7
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 5848,
"end": 5852,
"loc": {
"start": {
"line": 231,
"column": 8
},
"end": {
"line": 231,
"column": 12
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 5853,
"end": 5855,
"loc": {
"start": {
"line": 231,
"column": 13
},
"end": {
"line": 231,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5856,
"end": 5857,
"loc": {
"start": {
"line": 231,
"column": 16
},
"end": {
"line": 231,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 5857,
"end": 5858,
"loc": {
"start": {
"line": 231,
"column": 17
},
"end": {
"line": 231,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5858,
"end": 5859,
"loc": {
"start": {
"line": 231,
"column": 18
},
"end": {
"line": 231,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "persistence",
"start": 5859,
"end": 5870,
"loc": {
"start": {
"line": 231,
"column": 19
},
"end": {
"line": 231,
"column": 30
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 5871,
"end": 5874,
"loc": {
"start": {
"line": 231,
"column": 31
},
"end": {
"line": 231,
"column": 34
}
}
},
{
"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": 5875,
"end": 5879,
"loc": {
"start": {
"line": 231,
"column": 35
},
"end": {
"line": 231,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5879,
"end": 5880,
"loc": {
"start": {
"line": 231,
"column": 39
},
"end": {
"line": 231,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5881,
"end": 5882,
"loc": {
"start": {
"line": 231,
"column": 41
},
"end": {
"line": 231,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " only persist Delete",
"start": 5891,
"end": 5913,
"loc": {
"start": {
"line": 232,
"column": 8
},
"end": {
"line": 232,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 5922,
"end": 5923,
"loc": {
"start": {
"line": 233,
"column": 8
},
"end": {
"line": 233,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5923,
"end": 5924,
"loc": {
"start": {
"line": 233,
"column": 9
},
"end": {
"line": 233,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "persistence",
"start": 5924,
"end": 5935,
"loc": {
"start": {
"line": 233,
"column": 10
},
"end": {
"line": 233,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5935,
"end": 5936,
"loc": {
"start": {
"line": 233,
"column": 21
},
"end": {
"line": 233,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "saveStruct",
"start": 5936,
"end": 5946,
"loc": {
"start": {
"line": 233,
"column": 22
},
"end": {
"line": 233,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5946,
"end": 5947,
"loc": {
"start": {
"line": 233,
"column": 32
},
"end": {
"line": 233,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 5947,
"end": 5948,
"loc": {
"start": {
"line": 233,
"column": 33
},
"end": {
"line": 233,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5948,
"end": 5949,
"loc": {
"start": {
"line": 233,
"column": 34
},
"end": {
"line": 233,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "del",
"start": 5950,
"end": 5953,
"loc": {
"start": {
"line": 233,
"column": 36
},
"end": {
"line": 233,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5953,
"end": 5954,
"loc": {
"start": {
"line": 233,
"column": 39
},
"end": {
"line": 233,
"column": 40
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5961,
"end": 5962,
"loc": {
"start": {
"line": 234,
"column": 6
},
"end": {
"line": 234,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "transactionTypeChanged",
"start": 5969,
"end": 5991,
"loc": {
"start": {
"line": 235,
"column": 6
},
"end": {
"line": 235,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5991,
"end": 5992,
"loc": {
"start": {
"line": 235,
"column": 28
},
"end": {
"line": 235,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 5992,
"end": 5993,
"loc": {
"start": {
"line": 235,
"column": 29
},
"end": {
"line": 235,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5993,
"end": 5994,
"loc": {
"start": {
"line": 235,
"column": 30
},
"end": {
"line": 235,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 5995,
"end": 5999,
"loc": {
"start": {
"line": 235,
"column": 32
},
"end": {
"line": 235,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5999,
"end": 6000,
"loc": {
"start": {
"line": 235,
"column": 36
},
"end": {
"line": 235,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 6000,
"end": 6007,
"loc": {
"start": {
"line": 235,
"column": 37
},
"end": {
"line": 235,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6007,
"end": 6008,
"loc": {
"start": {
"line": 235,
"column": 44
},
"end": {
"line": 235,
"column": 45
}
}
},
{
"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": 6009,
"end": 6013,
"loc": {
"start": {
"line": 235,
"column": 46
},
"end": {
"line": 235,
"column": 50
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6013,
"end": 6014,
"loc": {
"start": {
"line": 235,
"column": 50
},
"end": {
"line": 235,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parentSub",
"start": 6014,
"end": 6024,
"loc": {
"start": {
"line": 235,
"column": 51
},
"end": {
"line": 235,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6024,
"end": 6025,
"loc": {
"start": {
"line": 235,
"column": 61
},
"end": {
"line": 235,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 6032,
"end": 6033,
"loc": {
"start": {
"line": 236,
"column": 6
},
"end": {
"line": 236,
"column": 7
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6033,
"end": 6034,
"loc": {
"start": {
"line": 236,
"column": 7
},
"end": {
"line": 236,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_transaction",
"start": 6034,
"end": 6046,
"loc": {
"start": {
"line": 236,
"column": 8
},
"end": {
"line": 236,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6046,
"end": 6047,
"loc": {
"start": {
"line": 236,
"column": 20
},
"end": {
"line": 236,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deletedStructs",
"start": 6047,
"end": 6061,
"loc": {
"start": {
"line": 236,
"column": 21
},
"end": {
"line": 236,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6061,
"end": 6062,
"loc": {
"start": {
"line": 236,
"column": 35
},
"end": {
"line": 236,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 6062,
"end": 6065,
"loc": {
"start": {
"line": 236,
"column": 36
},
"end": {
"line": 236,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6065,
"end": 6066,
"loc": {
"start": {
"line": 236,
"column": 39
},
"end": {
"line": 236,
"column": 40
}
}
},
{
"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": 6066,
"end": 6070,
"loc": {
"start": {
"line": 236,
"column": 40
},
"end": {
"line": 236,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6070,
"end": 6071,
"loc": {
"start": {
"line": 236,
"column": 44
},
"end": {
"line": 236,
"column": 45
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6076,
"end": 6077,
"loc": {
"start": {
"line": 237,
"column": 4
},
"end": {
"line": 237,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6080,
"end": 6081,
"loc": {
"start": {
"line": 238,
"column": 2
},
"end": {
"line": 238,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_gcChildren",
"start": 6085,
"end": 6096,
"loc": {
"start": {
"line": 240,
"column": 2
},
"end": {
"line": 240,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6097,
"end": 6098,
"loc": {
"start": {
"line": 240,
"column": 14
},
"end": {
"line": 240,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 6098,
"end": 6099,
"loc": {
"start": {
"line": 240,
"column": 15
},
"end": {
"line": 240,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6099,
"end": 6100,
"loc": {
"start": {
"line": 240,
"column": 16
},
"end": {
"line": 240,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6101,
"end": 6102,
"loc": {
"start": {
"line": 240,
"column": 18
},
"end": {
"line": 240,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6102,
"end": 6103,
"loc": {
"start": {
"line": 240,
"column": 19
},
"end": {
"line": 240,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_gc",
"start": 6107,
"end": 6110,
"loc": {
"start": {
"line": 242,
"column": 2
},
"end": {
"line": 242,
"column": 5
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6111,
"end": 6112,
"loc": {
"start": {
"line": 242,
"column": 6
},
"end": {
"line": 242,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 6112,
"end": 6113,
"loc": {
"start": {
"line": 242,
"column": 7
},
"end": {
"line": 242,
"column": 8
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6113,
"end": 6114,
"loc": {
"start": {
"line": 242,
"column": 8
},
"end": {
"line": 242,
"column": 9
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6115,
"end": 6116,
"loc": {
"start": {
"line": 242,
"column": 10
},
"end": {
"line": 242,
"column": 11
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6121,
"end": 6126,
"loc": {
"start": {
"line": 243,
"column": 4
},
"end": {
"line": 243,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gc",
"start": 6127,
"end": 6129,
"loc": {
"start": {
"line": 243,
"column": 10
},
"end": {
"line": 243,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6130,
"end": 6131,
"loc": {
"start": {
"line": 243,
"column": 13
},
"end": {
"line": 243,
"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": 6132,
"end": 6135,
"loc": {
"start": {
"line": 243,
"column": 15
},
"end": {
"line": 243,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GC",
"start": 6136,
"end": 6138,
"loc": {
"start": {
"line": 243,
"column": 19
},
"end": {
"line": 243,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6138,
"end": 6139,
"loc": {
"start": {
"line": 243,
"column": 21
},
"end": {
"line": 243,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6139,
"end": 6140,
"loc": {
"start": {
"line": 243,
"column": 22
},
"end": {
"line": 243,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gc",
"start": 6145,
"end": 6147,
"loc": {
"start": {
"line": 244,
"column": 4
},
"end": {
"line": 244,
"column": 6
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6147,
"end": 6148,
"loc": {
"start": {
"line": 244,
"column": 6
},
"end": {
"line": 244,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 6148,
"end": 6151,
"loc": {
"start": {
"line": 244,
"column": 7
},
"end": {
"line": 244,
"column": 10
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6152,
"end": 6153,
"loc": {
"start": {
"line": 244,
"column": 11
},
"end": {
"line": 244,
"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": 6154,
"end": 6158,
"loc": {
"start": {
"line": 244,
"column": 13
},
"end": {
"line": 244,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6158,
"end": 6159,
"loc": {
"start": {
"line": 244,
"column": 17
},
"end": {
"line": 244,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 6159,
"end": 6162,
"loc": {
"start": {
"line": 244,
"column": 18
},
"end": {
"line": 244,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gc",
"start": 6167,
"end": 6169,
"loc": {
"start": {
"line": 245,
"column": 4
},
"end": {
"line": 245,
"column": 6
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6169,
"end": 6170,
"loc": {
"start": {
"line": 245,
"column": 6
},
"end": {
"line": 245,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 6170,
"end": 6177,
"loc": {
"start": {
"line": 245,
"column": 7
},
"end": {
"line": 245,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6178,
"end": 6179,
"loc": {
"start": {
"line": 245,
"column": 15
},
"end": {
"line": 245,
"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": 6180,
"end": 6184,
"loc": {
"start": {
"line": 245,
"column": 17
},
"end": {
"line": 245,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6184,
"end": 6185,
"loc": {
"start": {
"line": 245,
"column": 21
},
"end": {
"line": 245,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 6185,
"end": 6192,
"loc": {
"start": {
"line": 245,
"column": 22
},
"end": {
"line": 245,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 6197,
"end": 6198,
"loc": {
"start": {
"line": 246,
"column": 4
},
"end": {
"line": 246,
"column": 5
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6198,
"end": 6199,
"loc": {
"start": {
"line": 246,
"column": 5
},
"end": {
"line": 246,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "os",
"start": 6199,
"end": 6201,
"loc": {
"start": {
"line": 246,
"column": 6
},
"end": {
"line": 246,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6201,
"end": 6202,
"loc": {
"start": {
"line": 246,
"column": 8
},
"end": {
"line": 246,
"column": 9
}
}
},
{
"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": 6202,
"end": 6208,
"loc": {
"start": {
"line": 246,
"column": 9
},
"end": {
"line": 246,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6208,
"end": 6209,
"loc": {
"start": {
"line": 246,
"column": 15
},
"end": {
"line": 246,
"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": 6209,
"end": 6213,
"loc": {
"start": {
"line": 246,
"column": 16
},
"end": {
"line": 246,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6213,
"end": 6214,
"loc": {
"start": {
"line": 246,
"column": 20
},
"end": {
"line": 246,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 6214,
"end": 6217,
"loc": {
"start": {
"line": 246,
"column": 21
},
"end": {
"line": 246,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6217,
"end": 6218,
"loc": {
"start": {
"line": 246,
"column": 24
},
"end": {
"line": 246,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "gc",
"start": 6223,
"end": 6225,
"loc": {
"start": {
"line": 247,
"column": 4
},
"end": {
"line": 247,
"column": 6
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6225,
"end": 6226,
"loc": {
"start": {
"line": 247,
"column": 6
},
"end": {
"line": 247,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_integrate",
"start": 6226,
"end": 6236,
"loc": {
"start": {
"line": 247,
"column": 7
},
"end": {
"line": 247,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6236,
"end": 6237,
"loc": {
"start": {
"line": 247,
"column": 17
},
"end": {
"line": 247,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 6237,
"end": 6238,
"loc": {
"start": {
"line": 247,
"column": 18
},
"end": {
"line": 247,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6238,
"end": 6239,
"loc": {
"start": {
"line": 247,
"column": 19
},
"end": {
"line": 247,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6242,
"end": 6243,
"loc": {
"start": {
"line": 248,
"column": 2
},
"end": {
"line": 248,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * This is called right before this Item receives any children.\n * It can be overwritten to apply pending changes before applying remote changes\n *\n * @private\n ",
"start": 6247,
"end": 6424,
"loc": {
"start": {
"line": 250,
"column": 2
},
"end": {
"line": 255,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_beforeChange",
"start": 6427,
"end": 6440,
"loc": {
"start": {
"line": 256,
"column": 2
},
"end": {
"line": 256,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6441,
"end": 6442,
"loc": {
"start": {
"line": 256,
"column": 16
},
"end": {
"line": 256,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6442,
"end": 6443,
"loc": {
"start": {
"line": 256,
"column": 17
},
"end": {
"line": 256,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6444,
"end": 6445,
"loc": {
"start": {
"line": 256,
"column": 19
},
"end": {
"line": 256,
"column": 20
}
}
},
{
"type": "CommentLine",
"value": " nop",
"start": 6450,
"end": 6456,
"loc": {
"start": {
"line": 257,
"column": 4
},
"end": {
"line": 257,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6459,
"end": 6460,
"loc": {
"start": {
"line": 258,
"column": 2
},
"end": {
"line": 258,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Integrates this Item into the shared structure.\n *\n * This method actually applies the change to the Yjs instance. In case of\n * Item it connects _left and _right to this Item and calls the\n * {@link Item#beforeChange} method.\n *\n * * Integrate the struct so that other types/structs can see it\n * * Add this struct to y.os\n * * Check if this is struct deleted\n *\n * @private\n ",
"start": 6464,
"end": 6874,
"loc": {
"start": {
"line": 260,
"column": 2
},
"end": {
"line": 272,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_integrate",
"start": 6877,
"end": 6887,
"loc": {
"start": {
"line": 273,
"column": 2
},
"end": {
"line": 273,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6888,
"end": 6889,
"loc": {
"start": {
"line": 273,
"column": 13
},
"end": {
"line": 273,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 6889,
"end": 6890,
"loc": {
"start": {
"line": 273,
"column": 14
},
"end": {
"line": 273,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6890,
"end": 6891,
"loc": {
"start": {
"line": 273,
"column": 15
},
"end": {
"line": 273,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6892,
"end": 6893,
"loc": {
"start": {
"line": 273,
"column": 17
},
"end": {
"line": 273,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 6898,
"end": 6899,
"loc": {
"start": {
"line": 274,
"column": 4
},
"end": {
"line": 274,
"column": 5
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6899,
"end": 6900,
"loc": {
"start": {
"line": 274,
"column": 5
},
"end": {
"line": 274,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_transaction",
"start": 6900,
"end": 6912,
"loc": {
"start": {
"line": 274,
"column": 6
},
"end": {
"line": 274,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6912,
"end": 6913,
"loc": {
"start": {
"line": 274,
"column": 18
},
"end": {
"line": 274,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newTypes",
"start": 6913,
"end": 6921,
"loc": {
"start": {
"line": 274,
"column": 19
},
"end": {
"line": 274,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6921,
"end": 6922,
"loc": {
"start": {
"line": 274,
"column": 27
},
"end": {
"line": 274,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 6922,
"end": 6925,
"loc": {
"start": {
"line": 274,
"column": 28
},
"end": {
"line": 274,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6925,
"end": 6926,
"loc": {
"start": {
"line": 274,
"column": 31
},
"end": {
"line": 274,
"column": 32
}
}
},
{
"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": 6926,
"end": 6930,
"loc": {
"start": {
"line": 274,
"column": 32
},
"end": {
"line": 274,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6930,
"end": 6931,
"loc": {
"start": {
"line": 274,
"column": 36
},
"end": {
"line": 274,
"column": 37
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6936,
"end": 6941,
"loc": {
"start": {
"line": 275,
"column": 4
},
"end": {
"line": 275,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 6942,
"end": 6948,
"loc": {
"start": {
"line": 275,
"column": 10
},
"end": {
"line": 275,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6949,
"end": 6950,
"loc": {
"start": {
"line": 275,
"column": 17
},
"end": {
"line": 275,
"column": 18
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6951,
"end": 6955,
"loc": {
"start": {
"line": 275,
"column": 19
},
"end": {
"line": 275,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6955,
"end": 6956,
"loc": {
"start": {
"line": 275,
"column": 23
},
"end": {
"line": 275,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 6956,
"end": 6963,
"loc": {
"start": {
"line": 275,
"column": 24
},
"end": {
"line": 275,
"column": 31
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6968,
"end": 6973,
"loc": {
"start": {
"line": 276,
"column": 4
},
"end": {
"line": 276,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selfID",
"start": 6974,
"end": 6980,
"loc": {
"start": {
"line": 276,
"column": 10
},
"end": {
"line": 276,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6981,
"end": 6982,
"loc": {
"start": {
"line": 276,
"column": 17
},
"end": {
"line": 276,
"column": 18
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 6983,
"end": 6987,
"loc": {
"start": {
"line": 276,
"column": 19
},
"end": {
"line": 276,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6987,
"end": 6988,
"loc": {
"start": {
"line": 276,
"column": 23
},
"end": {
"line": 276,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 6988,
"end": 6991,
"loc": {
"start": {
"line": 276,
"column": 24
},
"end": {
"line": 276,
"column": 27
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 6996,
"end": 7001,
"loc": {
"start": {
"line": 277,
"column": 4
},
"end": {
"line": 277,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 7002,
"end": 7006,
"loc": {
"start": {
"line": 277,
"column": 10
},
"end": {
"line": 277,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7007,
"end": 7008,
"loc": {
"start": {
"line": 277,
"column": 15
},
"end": {
"line": 277,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selfID",
"start": 7009,
"end": 7015,
"loc": {
"start": {
"line": 277,
"column": 17
},
"end": {
"line": 277,
"column": 23
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 7016,
"end": 7019,
"loc": {
"start": {
"line": 277,
"column": 24
},
"end": {
"line": 277,
"column": 27
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 7020,
"end": 7024,
"loc": {
"start": {
"line": 277,
"column": 28
},
"end": {
"line": 277,
"column": 32
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7025,
"end": 7026,
"loc": {
"start": {
"line": 277,
"column": 33
},
"end": {
"line": 277,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 7027,
"end": 7028,
"loc": {
"start": {
"line": 277,
"column": 35
},
"end": {
"line": 277,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7028,
"end": 7029,
"loc": {
"start": {
"line": 277,
"column": 36
},
"end": {
"line": 277,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "userID",
"start": 7029,
"end": 7035,
"loc": {
"start": {
"line": 277,
"column": 37
},
"end": {
"line": 277,
"column": 43
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7036,
"end": 7037,
"loc": {
"start": {
"line": 277,
"column": 44
},
"end": {
"line": 277,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selfID",
"start": 7038,
"end": 7044,
"loc": {
"start": {
"line": 277,
"column": 46
},
"end": {
"line": 277,
"column": 52
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7044,
"end": 7045,
"loc": {
"start": {
"line": 277,
"column": 52
},
"end": {
"line": 277,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 7045,
"end": 7049,
"loc": {
"start": {
"line": 277,
"column": 53
},
"end": {
"line": 277,
"column": 57
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 7054,
"end": 7059,
"loc": {
"start": {
"line": 278,
"column": 4
},
"end": {
"line": 278,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "userState",
"start": 7060,
"end": 7069,
"loc": {
"start": {
"line": 278,
"column": 10
},
"end": {
"line": 278,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7070,
"end": 7071,
"loc": {
"start": {
"line": 278,
"column": 20
},
"end": {
"line": 278,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 7072,
"end": 7073,
"loc": {
"start": {
"line": 278,
"column": 22
},
"end": {
"line": 278,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7073,
"end": 7074,
"loc": {
"start": {
"line": 278,
"column": 23
},
"end": {
"line": 278,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ss",
"start": 7074,
"end": 7076,
"loc": {
"start": {
"line": 278,
"column": 24
},
"end": {
"line": 278,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7076,
"end": 7077,
"loc": {
"start": {
"line": 278,
"column": 26
},
"end": {
"line": 278,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getState",
"start": 7077,
"end": 7085,
"loc": {
"start": {
"line": 278,
"column": 27
},
"end": {
"line": 278,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7085,
"end": 7086,
"loc": {
"start": {
"line": 278,
"column": 35
},
"end": {
"line": 278,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 7086,
"end": 7090,
"loc": {
"start": {
"line": 278,
"column": 36
},
"end": {
"line": 278,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7090,
"end": 7091,
"loc": {
"start": {
"line": 278,
"column": 40
},
"end": {
"line": 278,
"column": 41
}
}
},
{
"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": 7096,
"end": 7098,
"loc": {
"start": {
"line": 279,
"column": 4
},
"end": {
"line": 279,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7099,
"end": 7100,
"loc": {
"start": {
"line": 279,
"column": 7
},
"end": {
"line": 279,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selfID",
"start": 7100,
"end": 7106,
"loc": {
"start": {
"line": 279,
"column": 8
},
"end": {
"line": 279,
"column": 14
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 7107,
"end": 7110,
"loc": {
"start": {
"line": 279,
"column": 15
},
"end": {
"line": 279,
"column": 18
}
}
},
{
"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": 7111,
"end": 7115,
"loc": {
"start": {
"line": 279,
"column": 19
},
"end": {
"line": 279,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7115,
"end": 7116,
"loc": {
"start": {
"line": 279,
"column": 23
},
"end": {
"line": 279,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7117,
"end": 7118,
"loc": {
"start": {
"line": 279,
"column": 25
},
"end": {
"line": 279,
"column": 26
}
}
},
{
"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": 7125,
"end": 7129,
"loc": {
"start": {
"line": 280,
"column": 6
},
"end": {
"line": 280,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7129,
"end": 7130,
"loc": {
"start": {
"line": 280,
"column": 10
},
"end": {
"line": 280,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 7130,
"end": 7133,
"loc": {
"start": {
"line": 280,
"column": 11
},
"end": {
"line": 280,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7134,
"end": 7135,
"loc": {
"start": {
"line": 280,
"column": 15
},
"end": {
"line": 280,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 7136,
"end": 7137,
"loc": {
"start": {
"line": 280,
"column": 17
},
"end": {
"line": 280,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7137,
"end": 7138,
"loc": {
"start": {
"line": 280,
"column": 18
},
"end": {
"line": 280,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ss",
"start": 7138,
"end": 7140,
"loc": {
"start": {
"line": 280,
"column": 19
},
"end": {
"line": 280,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7140,
"end": 7141,
"loc": {
"start": {
"line": 280,
"column": 21
},
"end": {
"line": 280,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getNextID",
"start": 7141,
"end": 7150,
"loc": {
"start": {
"line": 280,
"column": 22
},
"end": {
"line": 280,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7150,
"end": 7151,
"loc": {
"start": {
"line": 280,
"column": 31
},
"end": {
"line": 280,
"column": 32
}
}
},
{
"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": 7151,
"end": 7155,
"loc": {
"start": {
"line": 280,
"column": 32
},
"end": {
"line": 280,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7155,
"end": 7156,
"loc": {
"start": {
"line": 280,
"column": 36
},
"end": {
"line": 280,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 7156,
"end": 7163,
"loc": {
"start": {
"line": 280,
"column": 37
},
"end": {
"line": 280,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7163,
"end": 7164,
"loc": {
"start": {
"line": 280,
"column": 44
},
"end": {
"line": 280,
"column": 45
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7169,
"end": 7170,
"loc": {
"start": {
"line": 281,
"column": 4
},
"end": {
"line": 281,
"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": 7171,
"end": 7175,
"loc": {
"start": {
"line": 281,
"column": 6
},
"end": {
"line": 281,
"column": 10
}
}
},
{
"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": 7176,
"end": 7178,
"loc": {
"start": {
"line": 281,
"column": 11
},
"end": {
"line": 281,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7179,
"end": 7180,
"loc": {
"start": {
"line": 281,
"column": 14
},
"end": {
"line": 281,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selfID",
"start": 7180,
"end": 7186,
"loc": {
"start": {
"line": 281,
"column": 15
},
"end": {
"line": 281,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7186,
"end": 7187,
"loc": {
"start": {
"line": 281,
"column": 21
},
"end": {
"line": 281,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 7187,
"end": 7191,
"loc": {
"start": {
"line": 281,
"column": 22
},
"end": {
"line": 281,
"column": 26
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 7192,
"end": 7195,
"loc": {
"start": {
"line": 281,
"column": 27
},
"end": {
"line": 281,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "RootFakeUserID",
"start": 7196,
"end": 7210,
"loc": {
"start": {
"line": 281,
"column": 31
},
"end": {
"line": 281,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7210,
"end": 7211,
"loc": {
"start": {
"line": 281,
"column": 45
},
"end": {
"line": 281,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7212,
"end": 7213,
"loc": {
"start": {
"line": 281,
"column": 47
},
"end": {
"line": 281,
"column": 48
}
}
},
{
"type": "CommentLine",
"value": " nop",
"start": 7220,
"end": 7226,
"loc": {
"start": {
"line": 282,
"column": 6
},
"end": {
"line": 282,
"column": 12
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7231,
"end": 7232,
"loc": {
"start": {
"line": 283,
"column": 4
},
"end": {
"line": 283,
"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": 7233,
"end": 7237,
"loc": {
"start": {
"line": 283,
"column": 6
},
"end": {
"line": 283,
"column": 10
}
}
},
{
"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": 7238,
"end": 7240,
"loc": {
"start": {
"line": 283,
"column": 11
},
"end": {
"line": 283,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7241,
"end": 7242,
"loc": {
"start": {
"line": 283,
"column": 14
},
"end": {
"line": 283,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selfID",
"start": 7242,
"end": 7248,
"loc": {
"start": {
"line": 283,
"column": 15
},
"end": {
"line": 283,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7248,
"end": 7249,
"loc": {
"start": {
"line": 283,
"column": 21
},
"end": {
"line": 283,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 7249,
"end": 7254,
"loc": {
"start": {
"line": 283,
"column": 22
},
"end": {
"line": 283,
"column": 27
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 7255,
"end": 7256,
"loc": {
"start": {
"line": 283,
"column": 28
},
"end": {
"line": 283,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "userState",
"start": 7257,
"end": 7266,
"loc": {
"start": {
"line": 283,
"column": 30
},
"end": {
"line": 283,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7266,
"end": 7267,
"loc": {
"start": {
"line": 283,
"column": 39
},
"end": {
"line": 283,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7268,
"end": 7269,
"loc": {
"start": {
"line": 283,
"column": 41
},
"end": {
"line": 283,
"column": 42
}
}
},
{
"type": "CommentLine",
"value": " already applied..",
"start": 7276,
"end": 7296,
"loc": {
"start": {
"line": 284,
"column": 6
},
"end": {
"line": 284,
"column": 26
}
}
},
{
"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": 7303,
"end": 7309,
"loc": {
"start": {
"line": 285,
"column": 6
},
"end": {
"line": 285,
"column": 12
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7310,
"end": 7311,
"loc": {
"start": {
"line": 285,
"column": 13
},
"end": {
"line": 285,
"column": 14
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7311,
"end": 7312,
"loc": {
"start": {
"line": 285,
"column": 14
},
"end": {
"line": 285,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7317,
"end": 7318,
"loc": {
"start": {
"line": 286,
"column": 4
},
"end": {
"line": 286,
"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": 7319,
"end": 7323,
"loc": {
"start": {
"line": 286,
"column": 6
},
"end": {
"line": 286,
"column": 10
}
}
},
{
"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": 7324,
"end": 7326,
"loc": {
"start": {
"line": 286,
"column": 11
},
"end": {
"line": 286,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7327,
"end": 7328,
"loc": {
"start": {
"line": 286,
"column": 14
},
"end": {
"line": 286,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selfID",
"start": 7328,
"end": 7334,
"loc": {
"start": {
"line": 286,
"column": 15
},
"end": {
"line": 286,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7334,
"end": 7335,
"loc": {
"start": {
"line": 286,
"column": 21
},
"end": {
"line": 286,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 7335,
"end": 7340,
"loc": {
"start": {
"line": 286,
"column": 22
},
"end": {
"line": 286,
"column": 27
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 7341,
"end": 7344,
"loc": {
"start": {
"line": 286,
"column": 28
},
"end": {
"line": 286,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "userState",
"start": 7345,
"end": 7354,
"loc": {
"start": {
"line": 286,
"column": 32
},
"end": {
"line": 286,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7354,
"end": 7355,
"loc": {
"start": {
"line": 286,
"column": 41
},
"end": {
"line": 286,
"column": 42
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7356,
"end": 7357,
"loc": {
"start": {
"line": 286,
"column": 43
},
"end": {
"line": 286,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 7364,
"end": 7365,
"loc": {
"start": {
"line": 287,
"column": 6
},
"end": {
"line": 287,
"column": 7
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7365,
"end": 7366,
"loc": {
"start": {
"line": 287,
"column": 7
},
"end": {
"line": 287,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ss",
"start": 7366,
"end": 7368,
"loc": {
"start": {
"line": 287,
"column": 8
},
"end": {
"line": 287,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7368,
"end": 7369,
"loc": {
"start": {
"line": 287,
"column": 10
},
"end": {
"line": 287,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setState",
"start": 7369,
"end": 7377,
"loc": {
"start": {
"line": 287,
"column": 11
},
"end": {
"line": 287,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7377,
"end": 7378,
"loc": {
"start": {
"line": 287,
"column": 19
},
"end": {
"line": 287,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selfID",
"start": 7378,
"end": 7384,
"loc": {
"start": {
"line": 287,
"column": 20
},
"end": {
"line": 287,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7384,
"end": 7385,
"loc": {
"start": {
"line": 287,
"column": 26
},
"end": {
"line": 287,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 7385,
"end": 7389,
"loc": {
"start": {
"line": 287,
"column": 27
},
"end": {
"line": 287,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7389,
"end": 7390,
"loc": {
"start": {
"line": 287,
"column": 31
},
"end": {
"line": 287,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "userState",
"start": 7391,
"end": 7400,
"loc": {
"start": {
"line": 287,
"column": 33
},
"end": {
"line": 287,
"column": 42
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 7401,
"end": 7402,
"loc": {
"start": {
"line": 287,
"column": 43
},
"end": {
"line": 287,
"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": 7403,
"end": 7407,
"loc": {
"start": {
"line": 287,
"column": 45
},
"end": {
"line": 287,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7407,
"end": 7408,
"loc": {
"start": {
"line": 287,
"column": 49
},
"end": {
"line": 287,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 7408,
"end": 7415,
"loc": {
"start": {
"line": 287,
"column": 50
},
"end": {
"line": 287,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7415,
"end": 7416,
"loc": {
"start": {
"line": 287,
"column": 57
},
"end": {
"line": 287,
"column": 58
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7421,
"end": 7422,
"loc": {
"start": {
"line": 288,
"column": 4
},
"end": {
"line": 288,
"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": 7423,
"end": 7427,
"loc": {
"start": {
"line": 288,
"column": 6
},
"end": {
"line": 288,
"column": 10
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7428,
"end": 7429,
"loc": {
"start": {
"line": 288,
"column": 11
},
"end": {
"line": 288,
"column": 12
}
}
},
{
"type": "CommentLine",
"value": " missing content from user",
"start": 7436,
"end": 7464,
"loc": {
"start": {
"line": 289,
"column": 6
},
"end": {
"line": 289,
"column": 34
}
}
},
{
"type": {
"label": "throw",
"keyword": "throw",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "throw",
"start": 7471,
"end": 7476,
"loc": {
"start": {
"line": 290,
"column": 6
},
"end": {
"line": 290,
"column": 11
}
}
},
{
"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": 7477,
"end": 7480,
"loc": {
"start": {
"line": 290,
"column": 12
},
"end": {
"line": 290,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Error",
"start": 7481,
"end": 7486,
"loc": {
"start": {
"line": 290,
"column": 16
},
"end": {
"line": 290,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7486,
"end": 7487,
"loc": {
"start": {
"line": 290,
"column": 21
},
"end": {
"line": 290,
"column": 22
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Can not apply yet!",
"start": 7487,
"end": 7507,
"loc": {
"start": {
"line": 290,
"column": 22
},
"end": {
"line": 290,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7507,
"end": 7508,
"loc": {
"start": {
"line": 290,
"column": 42
},
"end": {
"line": 290,
"column": 43
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7513,
"end": 7514,
"loc": {
"start": {
"line": 291,
"column": 4
},
"end": {
"line": 291,
"column": 5
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 7519,
"end": 7521,
"loc": {
"start": {
"line": 292,
"column": 4
},
"end": {
"line": 292,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7522,
"end": 7523,
"loc": {
"start": {
"line": 292,
"column": 7
},
"end": {
"line": 292,
"column": 8
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 7523,
"end": 7524,
"loc": {
"start": {
"line": 292,
"column": 8
},
"end": {
"line": 292,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 7524,
"end": 7530,
"loc": {
"start": {
"line": 292,
"column": 9
},
"end": {
"line": 292,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7530,
"end": 7531,
"loc": {
"start": {
"line": 292,
"column": 15
},
"end": {
"line": 292,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_deleted",
"start": 7531,
"end": 7539,
"loc": {
"start": {
"line": 292,
"column": 16
},
"end": {
"line": 292,
"column": 24
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 7540,
"end": 7542,
"loc": {
"start": {
"line": 292,
"column": 25
},
"end": {
"line": 292,
"column": 27
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 7543,
"end": 7544,
"loc": {
"start": {
"line": 292,
"column": 28
},
"end": {
"line": 292,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 7544,
"end": 7545,
"loc": {
"start": {
"line": 292,
"column": 29
},
"end": {
"line": 292,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7545,
"end": 7546,
"loc": {
"start": {
"line": 292,
"column": 30
},
"end": {
"line": 292,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_transaction",
"start": 7546,
"end": 7558,
"loc": {
"start": {
"line": 292,
"column": 31
},
"end": {
"line": 292,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7558,
"end": 7559,
"loc": {
"start": {
"line": 292,
"column": 43
},
"end": {
"line": 292,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "changedTypes",
"start": 7559,
"end": 7571,
"loc": {
"start": {
"line": 292,
"column": 44
},
"end": {
"line": 292,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7571,
"end": 7572,
"loc": {
"start": {
"line": 292,
"column": 56
},
"end": {
"line": 292,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "has",
"start": 7572,
"end": 7575,
"loc": {
"start": {
"line": 292,
"column": 57
},
"end": {
"line": 292,
"column": 60
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7575,
"end": 7576,
"loc": {
"start": {
"line": 292,
"column": 60
},
"end": {
"line": 292,
"column": 61
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 7576,
"end": 7582,
"loc": {
"start": {
"line": 292,
"column": 61
},
"end": {
"line": 292,
"column": 67
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7582,
"end": 7583,
"loc": {
"start": {
"line": 292,
"column": 67
},
"end": {
"line": 292,
"column": 68
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 7584,
"end": 7586,
"loc": {
"start": {
"line": 292,
"column": 69
},
"end": {
"line": 292,
"column": 71
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 7587,
"end": 7588,
"loc": {
"start": {
"line": 292,
"column": 72
},
"end": {
"line": 292,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 7588,
"end": 7589,
"loc": {
"start": {
"line": 292,
"column": 73
},
"end": {
"line": 292,
"column": 74
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7589,
"end": 7590,
"loc": {
"start": {
"line": 292,
"column": 74
},
"end": {
"line": 292,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_transaction",
"start": 7590,
"end": 7602,
"loc": {
"start": {
"line": 292,
"column": 75
},
"end": {
"line": 292,
"column": 87
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7602,
"end": 7603,
"loc": {
"start": {
"line": 292,
"column": 87
},
"end": {
"line": 292,
"column": 88
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newTypes",
"start": 7603,
"end": 7611,
"loc": {
"start": {
"line": 292,
"column": 88
},
"end": {
"line": 292,
"column": 96
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7611,
"end": 7612,
"loc": {
"start": {
"line": 292,
"column": 96
},
"end": {
"line": 292,
"column": 97
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "has",
"start": 7612,
"end": 7615,
"loc": {
"start": {
"line": 292,
"column": 97
},
"end": {
"line": 292,
"column": 100
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7615,
"end": 7616,
"loc": {
"start": {
"line": 292,
"column": 100
},
"end": {
"line": 292,
"column": 101
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 7616,
"end": 7622,
"loc": {
"start": {
"line": 292,
"column": 101
},
"end": {
"line": 292,
"column": 107
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7622,
"end": 7623,
"loc": {
"start": {
"line": 292,
"column": 107
},
"end": {
"line": 292,
"column": 108
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7623,
"end": 7624,
"loc": {
"start": {
"line": 292,
"column": 108
},
"end": {
"line": 292,
"column": 109
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7625,
"end": 7626,
"loc": {
"start": {
"line": 292,
"column": 110
},
"end": {
"line": 292,
"column": 111
}
}
},
{
"type": "CommentLine",
"value": " this is the first time parent is updated",
"start": 7633,
"end": 7676,
"loc": {
"start": {
"line": 293,
"column": 6
},
"end": {
"line": 293,
"column": 49
}
}
},
{
"type": "CommentLine",
"value": " or this types is new",
"start": 7683,
"end": 7706,
"loc": {
"start": {
"line": 294,
"column": 6
},
"end": {
"line": 294,
"column": 29
}
}
},
{
"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": 7713,
"end": 7717,
"loc": {
"start": {
"line": 295,
"column": 6
},
"end": {
"line": 295,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7717,
"end": 7718,
"loc": {
"start": {
"line": 295,
"column": 10
},
"end": {
"line": 295,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 7718,
"end": 7725,
"loc": {
"start": {
"line": 295,
"column": 11
},
"end": {
"line": 295,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7725,
"end": 7726,
"loc": {
"start": {
"line": 295,
"column": 18
},
"end": {
"line": 295,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_beforeChange",
"start": 7726,
"end": 7739,
"loc": {
"start": {
"line": 295,
"column": 19
},
"end": {
"line": 295,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7739,
"end": 7740,
"loc": {
"start": {
"line": 295,
"column": 32
},
"end": {
"line": 295,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7740,
"end": 7741,
"loc": {
"start": {
"line": 295,
"column": 33
},
"end": {
"line": 295,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7746,
"end": 7747,
"loc": {
"start": {
"line": 296,
"column": 4
},
"end": {
"line": 296,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "\n # $this has to find a unique position between origin and the next known character\n # case 1: $origin equals $o.origin: the $creator parameter decides if left or right\n # let $OL= [o1,o2,o3,o4], whereby $this is to be inserted between o1 and o4\n # o2,o3 and o4 origin is 1 (the position of o2)\n # there is the case that $this.creator < o2.creator, but o3.creator < $this.creator\n # then o2 knows o3. Since on another client $OL could be [o1,o3,o4] the problem is complex\n # therefore $this would be always to the right of o3\n # case 2: $origin < $o.origin\n # if current $this insert_position > $o origin: $this ins\n # else $insert_position will not change\n # (maybe we encounter case 1 later, then this will be to the right of $o)\n # case 3: $origin > $o.origin\n # $this insert_position is to the left of $o (forever!)\n ",
"start": 7753,
"end": 8692,
"loc": {
"start": {
"line": 298,
"column": 4
},
"end": {
"line": 312,
"column": 6
}
}
},
{
"type": "CommentLine",
"value": " handle conflicts",
"start": 8697,
"end": 8716,
"loc": {
"start": {
"line": 313,
"column": 4
},
"end": {
"line": 313,
"column": 23
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 8721,
"end": 8724,
"loc": {
"start": {
"line": 314,
"column": 4
},
"end": {
"line": 314,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 8725,
"end": 8726,
"loc": {
"start": {
"line": 314,
"column": 8
},
"end": {
"line": 314,
"column": 9
}
}
},
{
"type": "CommentLine",
"value": " set o to the first conflicting item",
"start": 8731,
"end": 8769,
"loc": {
"start": {
"line": 315,
"column": 4
},
"end": {
"line": 315,
"column": 42
}
}
},
{
"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": 8774,
"end": 8776,
"loc": {
"start": {
"line": 316,
"column": 4
},
"end": {
"line": 316,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8777,
"end": 8778,
"loc": {
"start": {
"line": 316,
"column": 7
},
"end": {
"line": 316,
"column": 8
}
}
},
{
"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": 8778,
"end": 8782,
"loc": {
"start": {
"line": 316,
"column": 8
},
"end": {
"line": 316,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8782,
"end": 8783,
"loc": {
"start": {
"line": 316,
"column": 12
},
"end": {
"line": 316,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_left",
"start": 8783,
"end": 8788,
"loc": {
"start": {
"line": 316,
"column": 13
},
"end": {
"line": 316,
"column": 18
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 8789,
"end": 8792,
"loc": {
"start": {
"line": 316,
"column": 19
},
"end": {
"line": 316,
"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": 8793,
"end": 8797,
"loc": {
"start": {
"line": 316,
"column": 23
},
"end": {
"line": 316,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8797,
"end": 8798,
"loc": {
"start": {
"line": 316,
"column": 27
},
"end": {
"line": 316,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8799,
"end": 8800,
"loc": {
"start": {
"line": 316,
"column": 29
},
"end": {
"line": 316,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 8807,
"end": 8808,
"loc": {
"start": {
"line": 317,
"column": 6
},
"end": {
"line": 317,
"column": 7
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8809,
"end": 8810,
"loc": {
"start": {
"line": 317,
"column": 8
},
"end": {
"line": 317,
"column": 9
}
}
},
{
"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": 8811,
"end": 8815,
"loc": {
"start": {
"line": 317,
"column": 10
},
"end": {
"line": 317,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8815,
"end": 8816,
"loc": {
"start": {
"line": 317,
"column": 14
},
"end": {
"line": 317,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_left",
"start": 8816,
"end": 8821,
"loc": {
"start": {
"line": 317,
"column": 15
},
"end": {
"line": 317,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8821,
"end": 8822,
"loc": {
"start": {
"line": 317,
"column": 20
},
"end": {
"line": 317,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right",
"start": 8822,
"end": 8828,
"loc": {
"start": {
"line": 317,
"column": 21
},
"end": {
"line": 317,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8833,
"end": 8834,
"loc": {
"start": {
"line": 318,
"column": 4
},
"end": {
"line": 318,
"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": 8835,
"end": 8839,
"loc": {
"start": {
"line": 318,
"column": 6
},
"end": {
"line": 318,
"column": 10
}
}
},
{
"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": 8840,
"end": 8842,
"loc": {
"start": {
"line": 318,
"column": 11
},
"end": {
"line": 318,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8843,
"end": 8844,
"loc": {
"start": {
"line": 318,
"column": 14
},
"end": {
"line": 318,
"column": 15
}
}
},
{
"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": 8844,
"end": 8848,
"loc": {
"start": {
"line": 318,
"column": 15
},
"end": {
"line": 318,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8848,
"end": 8849,
"loc": {
"start": {
"line": 318,
"column": 19
},
"end": {
"line": 318,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parentSub",
"start": 8849,
"end": 8859,
"loc": {
"start": {
"line": 318,
"column": 20
},
"end": {
"line": 318,
"column": 30
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 8860,
"end": 8863,
"loc": {
"start": {
"line": 318,
"column": 31
},
"end": {
"line": 318,
"column": 34
}
}
},
{
"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": 8864,
"end": 8868,
"loc": {
"start": {
"line": 318,
"column": 35
},
"end": {
"line": 318,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8868,
"end": 8869,
"loc": {
"start": {
"line": 318,
"column": 39
},
"end": {
"line": 318,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8870,
"end": 8871,
"loc": {
"start": {
"line": 318,
"column": 41
},
"end": {
"line": 318,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 8878,
"end": 8879,
"loc": {
"start": {
"line": 319,
"column": 6
},
"end": {
"line": 319,
"column": 7
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8880,
"end": 8881,
"loc": {
"start": {
"line": 319,
"column": 8
},
"end": {
"line": 319,
"column": 9
}
}
},
{
"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": 8882,
"end": 8886,
"loc": {
"start": {
"line": 319,
"column": 10
},
"end": {
"line": 319,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8886,
"end": 8887,
"loc": {
"start": {
"line": 319,
"column": 14
},
"end": {
"line": 319,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 8887,
"end": 8894,
"loc": {
"start": {
"line": 319,
"column": 15
},
"end": {
"line": 319,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8894,
"end": 8895,
"loc": {
"start": {
"line": 319,
"column": 22
},
"end": {
"line": 319,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_map",
"start": 8895,
"end": 8899,
"loc": {
"start": {
"line": 319,
"column": 23
},
"end": {
"line": 319,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8899,
"end": 8900,
"loc": {
"start": {
"line": 319,
"column": 27
},
"end": {
"line": 319,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 8900,
"end": 8903,
"loc": {
"start": {
"line": 319,
"column": 28
},
"end": {
"line": 319,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8903,
"end": 8904,
"loc": {
"start": {
"line": 319,
"column": 31
},
"end": {
"line": 319,
"column": 32
}
}
},
{
"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": 8904,
"end": 8908,
"loc": {
"start": {
"line": 319,
"column": 32
},
"end": {
"line": 319,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8908,
"end": 8909,
"loc": {
"start": {
"line": 319,
"column": 36
},
"end": {
"line": 319,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parentSub",
"start": 8909,
"end": 8919,
"loc": {
"start": {
"line": 319,
"column": 37
},
"end": {
"line": 319,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8919,
"end": 8920,
"loc": {
"start": {
"line": 319,
"column": 47
},
"end": {
"line": 319,
"column": 48
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 8921,
"end": 8923,
"loc": {
"start": {
"line": 319,
"column": 49
},
"end": {
"line": 319,
"column": 51
}
}
},
{
"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": 8924,
"end": 8928,
"loc": {
"start": {
"line": 319,
"column": 52
},
"end": {
"line": 319,
"column": 56
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8933,
"end": 8934,
"loc": {
"start": {
"line": 320,
"column": 4
},
"end": {
"line": 320,
"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": 8935,
"end": 8939,
"loc": {
"start": {
"line": 320,
"column": 6
},
"end": {
"line": 320,
"column": 10
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8940,
"end": 8941,
"loc": {
"start": {
"line": 320,
"column": 11
},
"end": {
"line": 320,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 8948,
"end": 8949,
"loc": {
"start": {
"line": 321,
"column": 6
},
"end": {
"line": 321,
"column": 7
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8950,
"end": 8951,
"loc": {
"start": {
"line": 321,
"column": 8
},
"end": {
"line": 321,
"column": 9
}
}
},
{
"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": 8952,
"end": 8956,
"loc": {
"start": {
"line": 321,
"column": 10
},
"end": {
"line": 321,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8956,
"end": 8957,
"loc": {
"start": {
"line": 321,
"column": 14
},
"end": {
"line": 321,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 8957,
"end": 8964,
"loc": {
"start": {
"line": 321,
"column": 15
},
"end": {
"line": 321,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8964,
"end": 8965,
"loc": {
"start": {
"line": 321,
"column": 22
},
"end": {
"line": 321,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_start",
"start": 8965,
"end": 8971,
"loc": {
"start": {
"line": 321,
"column": 23
},
"end": {
"line": 321,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8976,
"end": 8977,
"loc": {
"start": {
"line": 322,
"column": 4
},
"end": {
"line": 322,
"column": 5
}
}
},
{
"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": 8982,
"end": 8985,
"loc": {
"start": {
"line": 323,
"column": 4
},
"end": {
"line": 323,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "conflictingItems",
"start": 8986,
"end": 9002,
"loc": {
"start": {
"line": 323,
"column": 8
},
"end": {
"line": 323,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9003,
"end": 9004,
"loc": {
"start": {
"line": 323,
"column": 25
},
"end": {
"line": 323,
"column": 26
}
}
},
{
"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": 9005,
"end": 9008,
"loc": {
"start": {
"line": 323,
"column": 27
},
"end": {
"line": 323,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Set",
"start": 9009,
"end": 9012,
"loc": {
"start": {
"line": 323,
"column": 31
},
"end": {
"line": 323,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9012,
"end": 9013,
"loc": {
"start": {
"line": 323,
"column": 34
},
"end": {
"line": 323,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9013,
"end": 9014,
"loc": {
"start": {
"line": 323,
"column": 35
},
"end": {
"line": 323,
"column": 36
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 9019,
"end": 9022,
"loc": {
"start": {
"line": 324,
"column": 4
},
"end": {
"line": 324,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemsBeforeOrigin",
"start": 9023,
"end": 9040,
"loc": {
"start": {
"line": 324,
"column": 8
},
"end": {
"line": 324,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9041,
"end": 9042,
"loc": {
"start": {
"line": 324,
"column": 26
},
"end": {
"line": 324,
"column": 27
}
}
},
{
"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": 9043,
"end": 9046,
"loc": {
"start": {
"line": 324,
"column": 28
},
"end": {
"line": 324,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Set",
"start": 9047,
"end": 9050,
"loc": {
"start": {
"line": 324,
"column": 32
},
"end": {
"line": 324,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9050,
"end": 9051,
"loc": {
"start": {
"line": 324,
"column": 35
},
"end": {
"line": 324,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9051,
"end": 9052,
"loc": {
"start": {
"line": 324,
"column": 36
},
"end": {
"line": 324,
"column": 37
}
}
},
{
"type": "CommentLine",
"value": " Let c in conflictingItems, b in itemsBeforeOrigin",
"start": 9057,
"end": 9109,
"loc": {
"start": {
"line": 325,
"column": 4
},
"end": {
"line": 325,
"column": 56
}
}
},
{
"type": "CommentLine",
"value": " ***{origin}bbbb{this}{c,b}{c,b}{o}***",
"start": 9114,
"end": 9154,
"loc": {
"start": {
"line": 326,
"column": 4
},
"end": {
"line": 326,
"column": 44
}
}
},
{
"type": "CommentLine",
"value": " Note that conflictingItems is a subset of itemsBeforeOrigin",
"start": 9159,
"end": 9221,
"loc": {
"start": {
"line": 327,
"column": 4
},
"end": {
"line": 327,
"column": 66
}
}
},
{
"type": {
"label": "while",
"keyword": "while",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "while",
"start": 9226,
"end": 9231,
"loc": {
"start": {
"line": 328,
"column": 4
},
"end": {
"line": 328,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9232,
"end": 9233,
"loc": {
"start": {
"line": 328,
"column": 10
},
"end": {
"line": 328,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 9233,
"end": 9234,
"loc": {
"start": {
"line": 328,
"column": 11
},
"end": {
"line": 328,
"column": 12
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 9235,
"end": 9238,
"loc": {
"start": {
"line": 328,
"column": 13
},
"end": {
"line": 328,
"column": 16
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 9239,
"end": 9243,
"loc": {
"start": {
"line": 328,
"column": 17
},
"end": {
"line": 328,
"column": 21
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 9244,
"end": 9246,
"loc": {
"start": {
"line": 328,
"column": 22
},
"end": {
"line": 328,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 9247,
"end": 9248,
"loc": {
"start": {
"line": 328,
"column": 25
},
"end": {
"line": 328,
"column": 26
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 9249,
"end": 9252,
"loc": {
"start": {
"line": 328,
"column": 27
},
"end": {
"line": 328,
"column": 30
}
}
},
{
"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": 9253,
"end": 9257,
"loc": {
"start": {
"line": 328,
"column": 31
},
"end": {
"line": 328,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9257,
"end": 9258,
"loc": {
"start": {
"line": 328,
"column": 35
},
"end": {
"line": 328,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right",
"start": 9258,
"end": 9264,
"loc": {
"start": {
"line": 328,
"column": 36
},
"end": {
"line": 328,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9264,
"end": 9265,
"loc": {
"start": {
"line": 328,
"column": 42
},
"end": {
"line": 328,
"column": 43
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9266,
"end": 9267,
"loc": {
"start": {
"line": 328,
"column": 44
},
"end": {
"line": 328,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemsBeforeOrigin",
"start": 9274,
"end": 9291,
"loc": {
"start": {
"line": 329,
"column": 6
},
"end": {
"line": 329,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9291,
"end": 9292,
"loc": {
"start": {
"line": 329,
"column": 23
},
"end": {
"line": 329,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 9292,
"end": 9295,
"loc": {
"start": {
"line": 329,
"column": 24
},
"end": {
"line": 329,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9295,
"end": 9296,
"loc": {
"start": {
"line": 329,
"column": 27
},
"end": {
"line": 329,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 9296,
"end": 9297,
"loc": {
"start": {
"line": 329,
"column": 28
},
"end": {
"line": 329,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9297,
"end": 9298,
"loc": {
"start": {
"line": 329,
"column": 29
},
"end": {
"line": 329,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "conflictingItems",
"start": 9305,
"end": 9321,
"loc": {
"start": {
"line": 330,
"column": 6
},
"end": {
"line": 330,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9321,
"end": 9322,
"loc": {
"start": {
"line": 330,
"column": 22
},
"end": {
"line": 330,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 9322,
"end": 9325,
"loc": {
"start": {
"line": 330,
"column": 23
},
"end": {
"line": 330,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9325,
"end": 9326,
"loc": {
"start": {
"line": 330,
"column": 26
},
"end": {
"line": 330,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 9326,
"end": 9327,
"loc": {
"start": {
"line": 330,
"column": 27
},
"end": {
"line": 330,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9327,
"end": 9328,
"loc": {
"start": {
"line": 330,
"column": 28
},
"end": {
"line": 330,
"column": 29
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 9335,
"end": 9337,
"loc": {
"start": {
"line": 331,
"column": 6
},
"end": {
"line": 331,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9338,
"end": 9339,
"loc": {
"start": {
"line": 331,
"column": 9
},
"end": {
"line": 331,
"column": 10
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 9339,
"end": 9343,
"loc": {
"start": {
"line": 331,
"column": 10
},
"end": {
"line": 331,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9343,
"end": 9344,
"loc": {
"start": {
"line": 331,
"column": 14
},
"end": {
"line": 331,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_origin",
"start": 9344,
"end": 9351,
"loc": {
"start": {
"line": 331,
"column": 15
},
"end": {
"line": 331,
"column": 22
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 9352,
"end": 9355,
"loc": {
"start": {
"line": 331,
"column": 23
},
"end": {
"line": 331,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 9356,
"end": 9357,
"loc": {
"start": {
"line": 331,
"column": 27
},
"end": {
"line": 331,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9357,
"end": 9358,
"loc": {
"start": {
"line": 331,
"column": 28
},
"end": {
"line": 331,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_origin",
"start": 9358,
"end": 9365,
"loc": {
"start": {
"line": 331,
"column": 29
},
"end": {
"line": 331,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9365,
"end": 9366,
"loc": {
"start": {
"line": 331,
"column": 36
},
"end": {
"line": 331,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9367,
"end": 9368,
"loc": {
"start": {
"line": 331,
"column": 38
},
"end": {
"line": 331,
"column": 39
}
}
},
{
"type": "CommentLine",
"value": " case 1",
"start": 9377,
"end": 9386,
"loc": {
"start": {
"line": 332,
"column": 8
},
"end": {
"line": 332,
"column": 17
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 9395,
"end": 9397,
"loc": {
"start": {
"line": 333,
"column": 8
},
"end": {
"line": 333,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9398,
"end": 9399,
"loc": {
"start": {
"line": 333,
"column": 11
},
"end": {
"line": 333,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 9399,
"end": 9400,
"loc": {
"start": {
"line": 333,
"column": 12
},
"end": {
"line": 333,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9400,
"end": 9401,
"loc": {
"start": {
"line": 333,
"column": 13
},
"end": {
"line": 333,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 9401,
"end": 9404,
"loc": {
"start": {
"line": 333,
"column": 14
},
"end": {
"line": 333,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9404,
"end": 9405,
"loc": {
"start": {
"line": 333,
"column": 17
},
"end": {
"line": 333,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 9405,
"end": 9409,
"loc": {
"start": {
"line": 333,
"column": 18
},
"end": {
"line": 333,
"column": 22
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 9410,
"end": 9411,
"loc": {
"start": {
"line": 333,
"column": 23
},
"end": {
"line": 333,
"column": 24
}
}
},
{
"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": 9412,
"end": 9416,
"loc": {
"start": {
"line": 333,
"column": 25
},
"end": {
"line": 333,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9416,
"end": 9417,
"loc": {
"start": {
"line": 333,
"column": 29
},
"end": {
"line": 333,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 9417,
"end": 9420,
"loc": {
"start": {
"line": 333,
"column": 30
},
"end": {
"line": 333,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9420,
"end": 9421,
"loc": {
"start": {
"line": 333,
"column": 33
},
"end": {
"line": 333,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 9421,
"end": 9425,
"loc": {
"start": {
"line": 333,
"column": 34
},
"end": {
"line": 333,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9425,
"end": 9426,
"loc": {
"start": {
"line": 333,
"column": 38
},
"end": {
"line": 333,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9427,
"end": 9428,
"loc": {
"start": {
"line": 333,
"column": 40
},
"end": {
"line": 333,
"column": 41
}
}
},
{
"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": 9439,
"end": 9443,
"loc": {
"start": {
"line": 334,
"column": 10
},
"end": {
"line": 334,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9443,
"end": 9444,
"loc": {
"start": {
"line": 334,
"column": 14
},
"end": {
"line": 334,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_left",
"start": 9444,
"end": 9449,
"loc": {
"start": {
"line": 334,
"column": 15
},
"end": {
"line": 334,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9450,
"end": 9451,
"loc": {
"start": {
"line": 334,
"column": 21
},
"end": {
"line": 334,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 9452,
"end": 9453,
"loc": {
"start": {
"line": 334,
"column": 23
},
"end": {
"line": 334,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "conflictingItems",
"start": 9464,
"end": 9480,
"loc": {
"start": {
"line": 335,
"column": 10
},
"end": {
"line": 335,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9480,
"end": 9481,
"loc": {
"start": {
"line": 335,
"column": 26
},
"end": {
"line": 335,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clear",
"start": 9481,
"end": 9486,
"loc": {
"start": {
"line": 335,
"column": 27
},
"end": {
"line": 335,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9486,
"end": 9487,
"loc": {
"start": {
"line": 335,
"column": 32
},
"end": {
"line": 335,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9487,
"end": 9488,
"loc": {
"start": {
"line": 335,
"column": 33
},
"end": {
"line": 335,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9497,
"end": 9498,
"loc": {
"start": {
"line": 336,
"column": 8
},
"end": {
"line": 336,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9505,
"end": 9506,
"loc": {
"start": {
"line": 337,
"column": 6
},
"end": {
"line": 337,
"column": 7
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 9507,
"end": 9511,
"loc": {
"start": {
"line": 337,
"column": 8
},
"end": {
"line": 337,
"column": 12
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 9512,
"end": 9514,
"loc": {
"start": {
"line": 337,
"column": 13
},
"end": {
"line": 337,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9515,
"end": 9516,
"loc": {
"start": {
"line": 337,
"column": 16
},
"end": {
"line": 337,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "itemsBeforeOrigin",
"start": 9516,
"end": 9533,
"loc": {
"start": {
"line": 337,
"column": 17
},
"end": {
"line": 337,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9533,
"end": 9534,
"loc": {
"start": {
"line": 337,
"column": 34
},
"end": {
"line": 337,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "has",
"start": 9534,
"end": 9537,
"loc": {
"start": {
"line": 337,
"column": 35
},
"end": {
"line": 337,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9537,
"end": 9538,
"loc": {
"start": {
"line": 337,
"column": 38
},
"end": {
"line": 337,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 9538,
"end": 9539,
"loc": {
"start": {
"line": 337,
"column": 39
},
"end": {
"line": 337,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9539,
"end": 9540,
"loc": {
"start": {
"line": 337,
"column": 40
},
"end": {
"line": 337,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_origin",
"start": 9540,
"end": 9547,
"loc": {
"start": {
"line": 337,
"column": 41
},
"end": {
"line": 337,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9547,
"end": 9548,
"loc": {
"start": {
"line": 337,
"column": 48
},
"end": {
"line": 337,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9548,
"end": 9549,
"loc": {
"start": {
"line": 337,
"column": 49
},
"end": {
"line": 337,
"column": 50
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9550,
"end": 9551,
"loc": {
"start": {
"line": 337,
"column": 51
},
"end": {
"line": 337,
"column": 52
}
}
},
{
"type": "CommentLine",
"value": " case 2",
"start": 9560,
"end": 9569,
"loc": {
"start": {
"line": 338,
"column": 8
},
"end": {
"line": 338,
"column": 17
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 9578,
"end": 9580,
"loc": {
"start": {
"line": 339,
"column": 8
},
"end": {
"line": 339,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9581,
"end": 9582,
"loc": {
"start": {
"line": 339,
"column": 11
},
"end": {
"line": 339,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 9582,
"end": 9583,
"loc": {
"start": {
"line": 339,
"column": 12
},
"end": {
"line": 339,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "conflictingItems",
"start": 9583,
"end": 9599,
"loc": {
"start": {
"line": 339,
"column": 13
},
"end": {
"line": 339,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9599,
"end": 9600,
"loc": {
"start": {
"line": 339,
"column": 29
},
"end": {
"line": 339,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "has",
"start": 9600,
"end": 9603,
"loc": {
"start": {
"line": 339,
"column": 30
},
"end": {
"line": 339,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9603,
"end": 9604,
"loc": {
"start": {
"line": 339,
"column": 33
},
"end": {
"line": 339,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 9604,
"end": 9605,
"loc": {
"start": {
"line": 339,
"column": 34
},
"end": {
"line": 339,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9605,
"end": 9606,
"loc": {
"start": {
"line": 339,
"column": 35
},
"end": {
"line": 339,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_origin",
"start": 9606,
"end": 9613,
"loc": {
"start": {
"line": 339,
"column": 36
},
"end": {
"line": 339,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9613,
"end": 9614,
"loc": {
"start": {
"line": 339,
"column": 43
},
"end": {
"line": 339,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9614,
"end": 9615,
"loc": {
"start": {
"line": 339,
"column": 44
},
"end": {
"line": 339,
"column": 45
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9616,
"end": 9617,
"loc": {
"start": {
"line": 339,
"column": 46
},
"end": {
"line": 339,
"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": 9628,
"end": 9632,
"loc": {
"start": {
"line": 340,
"column": 10
},
"end": {
"line": 340,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9632,
"end": 9633,
"loc": {
"start": {
"line": 340,
"column": 14
},
"end": {
"line": 340,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_left",
"start": 9633,
"end": 9638,
"loc": {
"start": {
"line": 340,
"column": 15
},
"end": {
"line": 340,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9639,
"end": 9640,
"loc": {
"start": {
"line": 340,
"column": 21
},
"end": {
"line": 340,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 9641,
"end": 9642,
"loc": {
"start": {
"line": 340,
"column": 23
},
"end": {
"line": 340,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "conflictingItems",
"start": 9653,
"end": 9669,
"loc": {
"start": {
"line": 341,
"column": 10
},
"end": {
"line": 341,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9669,
"end": 9670,
"loc": {
"start": {
"line": 341,
"column": 26
},
"end": {
"line": 341,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clear",
"start": 9670,
"end": 9675,
"loc": {
"start": {
"line": 341,
"column": 27
},
"end": {
"line": 341,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9675,
"end": 9676,
"loc": {
"start": {
"line": 341,
"column": 32
},
"end": {
"line": 341,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9676,
"end": 9677,
"loc": {
"start": {
"line": 341,
"column": 33
},
"end": {
"line": 341,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9686,
"end": 9687,
"loc": {
"start": {
"line": 342,
"column": 8
},
"end": {
"line": 342,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9694,
"end": 9695,
"loc": {
"start": {
"line": 343,
"column": 6
},
"end": {
"line": 343,
"column": 7
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 9696,
"end": 9700,
"loc": {
"start": {
"line": 343,
"column": 8
},
"end": {
"line": 343,
"column": 12
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9701,
"end": 9702,
"loc": {
"start": {
"line": 343,
"column": 13
},
"end": {
"line": 343,
"column": 14
}
}
},
{
"type": {
"label": "break",
"keyword": "break",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "break",
"start": 9711,
"end": 9716,
"loc": {
"start": {
"line": 344,
"column": 8
},
"end": {
"line": 344,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9723,
"end": 9724,
"loc": {
"start": {
"line": 345,
"column": 6
},
"end": {
"line": 345,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " TODO: try to use right_origin instead.",
"start": 9731,
"end": 9772,
"loc": {
"start": {
"line": 346,
"column": 6
},
"end": {
"line": 346,
"column": 47
}
}
},
{
"type": "CommentLine",
"value": " Then you could basically omit conflictingItems!",
"start": 9779,
"end": 9829,
"loc": {
"start": {
"line": 347,
"column": 6
},
"end": {
"line": 347,
"column": 56
}
}
},
{
"type": "CommentLine",
"value": " Note: you probably can't use right_origin in every case.. only when setting _left",
"start": 9836,
"end": 9920,
"loc": {
"start": {
"line": 348,
"column": 6
},
"end": {
"line": 348,
"column": 90
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 9927,
"end": 9928,
"loc": {
"start": {
"line": 349,
"column": 6
},
"end": {
"line": 349,
"column": 7
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9929,
"end": 9930,
"loc": {
"start": {
"line": 349,
"column": 8
},
"end": {
"line": 349,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "o",
"start": 9931,
"end": 9932,
"loc": {
"start": {
"line": 349,
"column": 10
},
"end": {
"line": 349,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9932,
"end": 9933,
"loc": {
"start": {
"line": 349,
"column": 11
},
"end": {
"line": 349,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right",
"start": 9933,
"end": 9939,
"loc": {
"start": {
"line": 349,
"column": 12
},
"end": {
"line": 349,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9944,
"end": 9945,
"loc": {
"start": {
"line": 350,
"column": 4
},
"end": {
"line": 350,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " reconnect left/right + update parent map/start if necessary",
"start": 9950,
"end": 10012,
"loc": {
"start": {
"line": 351,
"column": 4
},
"end": {
"line": 351,
"column": 66
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 10017,
"end": 10022,
"loc": {
"start": {
"line": 352,
"column": 4
},
"end": {
"line": 352,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parentSub",
"start": 10023,
"end": 10032,
"loc": {
"start": {
"line": 352,
"column": 10
},
"end": {
"line": 352,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10033,
"end": 10034,
"loc": {
"start": {
"line": 352,
"column": 20
},
"end": {
"line": 352,
"column": 21
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10035,
"end": 10039,
"loc": {
"start": {
"line": 352,
"column": 22
},
"end": {
"line": 352,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10039,
"end": 10040,
"loc": {
"start": {
"line": 352,
"column": 26
},
"end": {
"line": 352,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parentSub",
"start": 10040,
"end": 10050,
"loc": {
"start": {
"line": 352,
"column": 27
},
"end": {
"line": 352,
"column": 37
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 10055,
"end": 10057,
"loc": {
"start": {
"line": 353,
"column": 4
},
"end": {
"line": 353,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10058,
"end": 10059,
"loc": {
"start": {
"line": 353,
"column": 7
},
"end": {
"line": 353,
"column": 8
}
}
},
{
"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": 10059,
"end": 10063,
"loc": {
"start": {
"line": 353,
"column": 8
},
"end": {
"line": 353,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10063,
"end": 10064,
"loc": {
"start": {
"line": 353,
"column": 12
},
"end": {
"line": 353,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_left",
"start": 10064,
"end": 10069,
"loc": {
"start": {
"line": 353,
"column": 13
},
"end": {
"line": 353,
"column": 18
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 10070,
"end": 10073,
"loc": {
"start": {
"line": 353,
"column": 19
},
"end": {
"line": 353,
"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": 10074,
"end": 10078,
"loc": {
"start": {
"line": 353,
"column": 23
},
"end": {
"line": 353,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10078,
"end": 10079,
"loc": {
"start": {
"line": 353,
"column": 27
},
"end": {
"line": 353,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10080,
"end": 10081,
"loc": {
"start": {
"line": 353,
"column": 29
},
"end": {
"line": 353,
"column": 30
}
}
},
{
"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": 10088,
"end": 10091,
"loc": {
"start": {
"line": 354,
"column": 6
},
"end": {
"line": 354,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 10092,
"end": 10097,
"loc": {
"start": {
"line": 354,
"column": 10
},
"end": {
"line": 354,
"column": 15
}
}
},
{
"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": 10104,
"end": 10106,
"loc": {
"start": {
"line": 355,
"column": 6
},
"end": {
"line": 355,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10107,
"end": 10108,
"loc": {
"start": {
"line": 355,
"column": 9
},
"end": {
"line": 355,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parentSub",
"start": 10108,
"end": 10117,
"loc": {
"start": {
"line": 355,
"column": 10
},
"end": {
"line": 355,
"column": 19
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 10118,
"end": 10121,
"loc": {
"start": {
"line": 355,
"column": 20
},
"end": {
"line": 355,
"column": 23
}
}
},
{
"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": 10122,
"end": 10126,
"loc": {
"start": {
"line": 355,
"column": 24
},
"end": {
"line": 355,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10126,
"end": 10127,
"loc": {
"start": {
"line": 355,
"column": 28
},
"end": {
"line": 355,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10128,
"end": 10129,
"loc": {
"start": {
"line": 355,
"column": 30
},
"end": {
"line": 355,
"column": 31
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 10138,
"end": 10143,
"loc": {
"start": {
"line": 356,
"column": 8
},
"end": {
"line": 356,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pmap",
"start": 10144,
"end": 10148,
"loc": {
"start": {
"line": 356,
"column": 14
},
"end": {
"line": 356,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10149,
"end": 10150,
"loc": {
"start": {
"line": 356,
"column": 19
},
"end": {
"line": 356,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 10151,
"end": 10157,
"loc": {
"start": {
"line": 356,
"column": 21
},
"end": {
"line": 356,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10157,
"end": 10158,
"loc": {
"start": {
"line": 356,
"column": 27
},
"end": {
"line": 356,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_map",
"start": 10158,
"end": 10162,
"loc": {
"start": {
"line": 356,
"column": 28
},
"end": {
"line": 356,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 10171,
"end": 10176,
"loc": {
"start": {
"line": 357,
"column": 8
},
"end": {
"line": 357,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10177,
"end": 10178,
"loc": {
"start": {
"line": 357,
"column": 14
},
"end": {
"line": 357,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pmap",
"start": 10179,
"end": 10183,
"loc": {
"start": {
"line": 357,
"column": 16
},
"end": {
"line": 357,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10183,
"end": 10184,
"loc": {
"start": {
"line": 357,
"column": 20
},
"end": {
"line": 357,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 10184,
"end": 10187,
"loc": {
"start": {
"line": 357,
"column": 21
},
"end": {
"line": 357,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10187,
"end": 10188,
"loc": {
"start": {
"line": 357,
"column": 24
},
"end": {
"line": 357,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parentSub",
"start": 10188,
"end": 10197,
"loc": {
"start": {
"line": 357,
"column": 25
},
"end": {
"line": 357,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10197,
"end": 10198,
"loc": {
"start": {
"line": 357,
"column": 34
},
"end": {
"line": 357,
"column": 35
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 10199,
"end": 10201,
"loc": {
"start": {
"line": 357,
"column": 36
},
"end": {
"line": 357,
"column": 38
}
}
},
{
"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": 10202,
"end": 10206,
"loc": {
"start": {
"line": 357,
"column": 39
},
"end": {
"line": 357,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pmap",
"start": 10215,
"end": 10219,
"loc": {
"start": {
"line": 358,
"column": 8
},
"end": {
"line": 358,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10219,
"end": 10220,
"loc": {
"start": {
"line": 358,
"column": 12
},
"end": {
"line": 358,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "set",
"start": 10220,
"end": 10223,
"loc": {
"start": {
"line": 358,
"column": 13
},
"end": {
"line": 358,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10223,
"end": 10224,
"loc": {
"start": {
"line": 358,
"column": 16
},
"end": {
"line": 358,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parentSub",
"start": 10224,
"end": 10233,
"loc": {
"start": {
"line": 358,
"column": 17
},
"end": {
"line": 358,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10233,
"end": 10234,
"loc": {
"start": {
"line": 358,
"column": 26
},
"end": {
"line": 358,
"column": 27
}
}
},
{
"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": 10235,
"end": 10239,
"loc": {
"start": {
"line": 358,
"column": 28
},
"end": {
"line": 358,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10239,
"end": 10240,
"loc": {
"start": {
"line": 358,
"column": 32
},
"end": {
"line": 358,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10247,
"end": 10248,
"loc": {
"start": {
"line": 359,
"column": 6
},
"end": {
"line": 359,
"column": 7
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 10249,
"end": 10253,
"loc": {
"start": {
"line": 359,
"column": 8
},
"end": {
"line": 359,
"column": 12
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10254,
"end": 10255,
"loc": {
"start": {
"line": 359,
"column": 13
},
"end": {
"line": 359,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 10264,
"end": 10269,
"loc": {
"start": {
"line": 360,
"column": 8
},
"end": {
"line": 360,
"column": 13
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10270,
"end": 10271,
"loc": {
"start": {
"line": 360,
"column": 14
},
"end": {
"line": 360,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 10272,
"end": 10278,
"loc": {
"start": {
"line": 360,
"column": 16
},
"end": {
"line": 360,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10278,
"end": 10279,
"loc": {
"start": {
"line": 360,
"column": 22
},
"end": {
"line": 360,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_start",
"start": 10279,
"end": 10285,
"loc": {
"start": {
"line": 360,
"column": 23
},
"end": {
"line": 360,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 10294,
"end": 10300,
"loc": {
"start": {
"line": 361,
"column": 8
},
"end": {
"line": 361,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10300,
"end": 10301,
"loc": {
"start": {
"line": 361,
"column": 14
},
"end": {
"line": 361,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_start",
"start": 10301,
"end": 10307,
"loc": {
"start": {
"line": 361,
"column": 15
},
"end": {
"line": 361,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10308,
"end": 10309,
"loc": {
"start": {
"line": 361,
"column": 22
},
"end": {
"line": 361,
"column": 23
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10310,
"end": 10314,
"loc": {
"start": {
"line": 361,
"column": 24
},
"end": {
"line": 361,
"column": 28
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10321,
"end": 10322,
"loc": {
"start": {
"line": 362,
"column": 6
},
"end": {
"line": 362,
"column": 7
}
}
},
{
"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": 10329,
"end": 10333,
"loc": {
"start": {
"line": 363,
"column": 6
},
"end": {
"line": 363,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10333,
"end": 10334,
"loc": {
"start": {
"line": 363,
"column": 10
},
"end": {
"line": 363,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right",
"start": 10334,
"end": 10340,
"loc": {
"start": {
"line": 363,
"column": 11
},
"end": {
"line": 363,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10341,
"end": 10342,
"loc": {
"start": {
"line": 363,
"column": 18
},
"end": {
"line": 363,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 10343,
"end": 10348,
"loc": {
"start": {
"line": 363,
"column": 20
},
"end": {
"line": 363,
"column": 25
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 10355,
"end": 10357,
"loc": {
"start": {
"line": 364,
"column": 6
},
"end": {
"line": 364,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10358,
"end": 10359,
"loc": {
"start": {
"line": 364,
"column": 9
},
"end": {
"line": 364,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 10359,
"end": 10364,
"loc": {
"start": {
"line": 364,
"column": 10
},
"end": {
"line": 364,
"column": 15
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 10365,
"end": 10368,
"loc": {
"start": {
"line": 364,
"column": 16
},
"end": {
"line": 364,
"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": 10369,
"end": 10373,
"loc": {
"start": {
"line": 364,
"column": 20
},
"end": {
"line": 364,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10373,
"end": 10374,
"loc": {
"start": {
"line": 364,
"column": 24
},
"end": {
"line": 364,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10375,
"end": 10376,
"loc": {
"start": {
"line": 364,
"column": 26
},
"end": {
"line": 364,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 10385,
"end": 10390,
"loc": {
"start": {
"line": 365,
"column": 8
},
"end": {
"line": 365,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10390,
"end": 10391,
"loc": {
"start": {
"line": 365,
"column": 13
},
"end": {
"line": 365,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_left",
"start": 10391,
"end": 10396,
"loc": {
"start": {
"line": 365,
"column": 14
},
"end": {
"line": 365,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10397,
"end": 10398,
"loc": {
"start": {
"line": 365,
"column": 20
},
"end": {
"line": 365,
"column": 21
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10399,
"end": 10403,
"loc": {
"start": {
"line": 365,
"column": 22
},
"end": {
"line": 365,
"column": 26
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10410,
"end": 10411,
"loc": {
"start": {
"line": 366,
"column": 6
},
"end": {
"line": 366,
"column": 7
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10416,
"end": 10417,
"loc": {
"start": {
"line": 367,
"column": 4
},
"end": {
"line": 367,
"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": 10418,
"end": 10422,
"loc": {
"start": {
"line": 367,
"column": 6
},
"end": {
"line": 367,
"column": 10
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10423,
"end": 10424,
"loc": {
"start": {
"line": 367,
"column": 11
},
"end": {
"line": 367,
"column": 12
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 10431,
"end": 10436,
"loc": {
"start": {
"line": 368,
"column": 6
},
"end": {
"line": 368,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 10437,
"end": 10441,
"loc": {
"start": {
"line": 368,
"column": 12
},
"end": {
"line": 368,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10442,
"end": 10443,
"loc": {
"start": {
"line": 368,
"column": 17
},
"end": {
"line": 368,
"column": 18
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10444,
"end": 10448,
"loc": {
"start": {
"line": 368,
"column": 19
},
"end": {
"line": 368,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10448,
"end": 10449,
"loc": {
"start": {
"line": 368,
"column": 23
},
"end": {
"line": 368,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_left",
"start": 10449,
"end": 10454,
"loc": {
"start": {
"line": 368,
"column": 24
},
"end": {
"line": 368,
"column": 29
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 10461,
"end": 10466,
"loc": {
"start": {
"line": 369,
"column": 6
},
"end": {
"line": 369,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 10467,
"end": 10472,
"loc": {
"start": {
"line": 369,
"column": 12
},
"end": {
"line": 369,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10473,
"end": 10474,
"loc": {
"start": {
"line": 369,
"column": 18
},
"end": {
"line": 369,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 10475,
"end": 10479,
"loc": {
"start": {
"line": 369,
"column": 20
},
"end": {
"line": 369,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10479,
"end": 10480,
"loc": {
"start": {
"line": 369,
"column": 24
},
"end": {
"line": 369,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right",
"start": 10480,
"end": 10486,
"loc": {
"start": {
"line": 369,
"column": 25
},
"end": {
"line": 369,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10493,
"end": 10497,
"loc": {
"start": {
"line": 370,
"column": 6
},
"end": {
"line": 370,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10497,
"end": 10498,
"loc": {
"start": {
"line": 370,
"column": 10
},
"end": {
"line": 370,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right",
"start": 10498,
"end": 10504,
"loc": {
"start": {
"line": 370,
"column": 11
},
"end": {
"line": 370,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10505,
"end": 10506,
"loc": {
"start": {
"line": 370,
"column": 18
},
"end": {
"line": 370,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 10507,
"end": 10512,
"loc": {
"start": {
"line": 370,
"column": 20
},
"end": {
"line": 370,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "left",
"start": 10519,
"end": 10523,
"loc": {
"start": {
"line": 371,
"column": 6
},
"end": {
"line": 371,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10523,
"end": 10524,
"loc": {
"start": {
"line": 371,
"column": 10
},
"end": {
"line": 371,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right",
"start": 10524,
"end": 10530,
"loc": {
"start": {
"line": 371,
"column": 11
},
"end": {
"line": 371,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10531,
"end": 10532,
"loc": {
"start": {
"line": 371,
"column": 18
},
"end": {
"line": 371,
"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": 10533,
"end": 10537,
"loc": {
"start": {
"line": 371,
"column": 20
},
"end": {
"line": 371,
"column": 24
}
}
},
{
"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": 10544,
"end": 10546,
"loc": {
"start": {
"line": 372,
"column": 6
},
"end": {
"line": 372,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10547,
"end": 10548,
"loc": {
"start": {
"line": 372,
"column": 9
},
"end": {
"line": 372,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 10548,
"end": 10553,
"loc": {
"start": {
"line": 372,
"column": 10
},
"end": {
"line": 372,
"column": 15
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 10554,
"end": 10557,
"loc": {
"start": {
"line": 372,
"column": 16
},
"end": {
"line": 372,
"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": 10558,
"end": 10562,
"loc": {
"start": {
"line": 372,
"column": 20
},
"end": {
"line": 372,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10562,
"end": 10563,
"loc": {
"start": {
"line": 372,
"column": 24
},
"end": {
"line": 372,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10564,
"end": 10565,
"loc": {
"start": {
"line": 372,
"column": 26
},
"end": {
"line": 372,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 10574,
"end": 10579,
"loc": {
"start": {
"line": 373,
"column": 8
},
"end": {
"line": 373,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10579,
"end": 10580,
"loc": {
"start": {
"line": 373,
"column": 13
},
"end": {
"line": 373,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_left",
"start": 10580,
"end": 10585,
"loc": {
"start": {
"line": 373,
"column": 14
},
"end": {
"line": 373,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 10586,
"end": 10587,
"loc": {
"start": {
"line": 373,
"column": 20
},
"end": {
"line": 373,
"column": 21
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10588,
"end": 10592,
"loc": {
"start": {
"line": 373,
"column": 22
},
"end": {
"line": 373,
"column": 26
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10599,
"end": 10600,
"loc": {
"start": {
"line": 374,
"column": 6
},
"end": {
"line": 374,
"column": 7
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10605,
"end": 10606,
"loc": {
"start": {
"line": 375,
"column": 4
},
"end": {
"line": 375,
"column": 5
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 10611,
"end": 10613,
"loc": {
"start": {
"line": 376,
"column": 4
},
"end": {
"line": 376,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10614,
"end": 10615,
"loc": {
"start": {
"line": 376,
"column": 7
},
"end": {
"line": 376,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 10615,
"end": 10621,
"loc": {
"start": {
"line": 376,
"column": 8
},
"end": {
"line": 376,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10621,
"end": 10622,
"loc": {
"start": {
"line": 376,
"column": 14
},
"end": {
"line": 376,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_deleted",
"start": 10622,
"end": 10630,
"loc": {
"start": {
"line": 376,
"column": 15
},
"end": {
"line": 376,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10630,
"end": 10631,
"loc": {
"start": {
"line": 376,
"column": 23
},
"end": {
"line": 376,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10632,
"end": 10633,
"loc": {
"start": {
"line": 376,
"column": 25
},
"end": {
"line": 376,
"column": 26
}
}
},
{
"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": 10640,
"end": 10644,
"loc": {
"start": {
"line": 377,
"column": 6
},
"end": {
"line": 377,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10644,
"end": 10645,
"loc": {
"start": {
"line": 377,
"column": 10
},
"end": {
"line": 377,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_delete",
"start": 10645,
"end": 10652,
"loc": {
"start": {
"line": 377,
"column": 11
},
"end": {
"line": 377,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10652,
"end": 10653,
"loc": {
"start": {
"line": 377,
"column": 18
},
"end": {
"line": 377,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 10653,
"end": 10654,
"loc": {
"start": {
"line": 377,
"column": 19
},
"end": {
"line": 377,
"column": 20
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10654,
"end": 10655,
"loc": {
"start": {
"line": 377,
"column": 20
},
"end": {
"line": 377,
"column": 21
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 10656,
"end": 10661,
"loc": {
"start": {
"line": 377,
"column": 22
},
"end": {
"line": 377,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10661,
"end": 10662,
"loc": {
"start": {
"line": 377,
"column": 27
},
"end": {
"line": 377,
"column": 28
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10667,
"end": 10668,
"loc": {
"start": {
"line": 378,
"column": 4
},
"end": {
"line": 378,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 10673,
"end": 10674,
"loc": {
"start": {
"line": 379,
"column": 4
},
"end": {
"line": 379,
"column": 5
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10674,
"end": 10675,
"loc": {
"start": {
"line": 379,
"column": 5
},
"end": {
"line": 379,
"column": 6
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "os",
"start": 10675,
"end": 10677,
"loc": {
"start": {
"line": 379,
"column": 6
},
"end": {
"line": 379,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10677,
"end": 10678,
"loc": {
"start": {
"line": 379,
"column": 8
},
"end": {
"line": 379,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "put",
"start": 10678,
"end": 10681,
"loc": {
"start": {
"line": 379,
"column": 9
},
"end": {
"line": 379,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10681,
"end": 10682,
"loc": {
"start": {
"line": 379,
"column": 12
},
"end": {
"line": 379,
"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": 10682,
"end": 10686,
"loc": {
"start": {
"line": 379,
"column": 13
},
"end": {
"line": 379,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10686,
"end": 10687,
"loc": {
"start": {
"line": 379,
"column": 17
},
"end": {
"line": 379,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "transactionTypeChanged",
"start": 10692,
"end": 10714,
"loc": {
"start": {
"line": 380,
"column": 4
},
"end": {
"line": 380,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10714,
"end": 10715,
"loc": {
"start": {
"line": 380,
"column": 26
},
"end": {
"line": 380,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 10715,
"end": 10716,
"loc": {
"start": {
"line": 380,
"column": 27
},
"end": {
"line": 380,
"column": 28
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10716,
"end": 10717,
"loc": {
"start": {
"line": 380,
"column": 28
},
"end": {
"line": 380,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 10718,
"end": 10724,
"loc": {
"start": {
"line": 380,
"column": 30
},
"end": {
"line": 380,
"column": 36
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10724,
"end": 10725,
"loc": {
"start": {
"line": 380,
"column": 36
},
"end": {
"line": 380,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parentSub",
"start": 10726,
"end": 10735,
"loc": {
"start": {
"line": 380,
"column": 38
},
"end": {
"line": 380,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10735,
"end": 10736,
"loc": {
"start": {
"line": 380,
"column": 47
},
"end": {
"line": 380,
"column": 48
}
}
},
{
"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": 10741,
"end": 10743,
"loc": {
"start": {
"line": 381,
"column": 4
},
"end": {
"line": 381,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10744,
"end": 10745,
"loc": {
"start": {
"line": 381,
"column": 7
},
"end": {
"line": 381,
"column": 8
}
}
},
{
"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": 10745,
"end": 10749,
"loc": {
"start": {
"line": 381,
"column": 8
},
"end": {
"line": 381,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10749,
"end": 10750,
"loc": {
"start": {
"line": 381,
"column": 12
},
"end": {
"line": 381,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 10750,
"end": 10753,
"loc": {
"start": {
"line": 381,
"column": 13
},
"end": {
"line": 381,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10753,
"end": 10754,
"loc": {
"start": {
"line": 381,
"column": 16
},
"end": {
"line": 381,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 10754,
"end": 10758,
"loc": {
"start": {
"line": 381,
"column": 17
},
"end": {
"line": 381,
"column": 21
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 10759,
"end": 10762,
"loc": {
"start": {
"line": 381,
"column": 22
},
"end": {
"line": 381,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "RootFakeUserID",
"start": 10763,
"end": 10777,
"loc": {
"start": {
"line": 381,
"column": 26
},
"end": {
"line": 381,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10777,
"end": 10778,
"loc": {
"start": {
"line": 381,
"column": 40
},
"end": {
"line": 381,
"column": 41
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10779,
"end": 10780,
"loc": {
"start": {
"line": 381,
"column": 42
},
"end": {
"line": 381,
"column": 43
}
}
},
{
"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": 10787,
"end": 10789,
"loc": {
"start": {
"line": 382,
"column": 6
},
"end": {
"line": 382,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10790,
"end": 10791,
"loc": {
"start": {
"line": 382,
"column": 9
},
"end": {
"line": 382,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 10791,
"end": 10792,
"loc": {
"start": {
"line": 382,
"column": 10
},
"end": {
"line": 382,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10792,
"end": 10793,
"loc": {
"start": {
"line": 382,
"column": 11
},
"end": {
"line": 382,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connector",
"start": 10793,
"end": 10802,
"loc": {
"start": {
"line": 382,
"column": 12
},
"end": {
"line": 382,
"column": 21
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 10803,
"end": 10806,
"loc": {
"start": {
"line": 382,
"column": 22
},
"end": {
"line": 382,
"column": 25
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 10807,
"end": 10811,
"loc": {
"start": {
"line": 382,
"column": 26
},
"end": {
"line": 382,
"column": 30
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 10812,
"end": 10814,
"loc": {
"start": {
"line": 382,
"column": 31
},
"end": {
"line": 382,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10815,
"end": 10816,
"loc": {
"start": {
"line": 382,
"column": 34
},
"end": {
"line": 382,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 10816,
"end": 10817,
"loc": {
"start": {
"line": 382,
"column": 35
},
"end": {
"line": 382,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10817,
"end": 10818,
"loc": {
"start": {
"line": 382,
"column": 36
},
"end": {
"line": 382,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connector",
"start": 10818,
"end": 10827,
"loc": {
"start": {
"line": 382,
"column": 37
},
"end": {
"line": 382,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10827,
"end": 10828,
"loc": {
"start": {
"line": 382,
"column": 46
},
"end": {
"line": 382,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_forwardAppliedStructs",
"start": 10828,
"end": 10850,
"loc": {
"start": {
"line": 382,
"column": 47
},
"end": {
"line": 382,
"column": 69
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 10851,
"end": 10853,
"loc": {
"start": {
"line": 382,
"column": 70
},
"end": {
"line": 382,
"column": 72
}
}
},
{
"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": 10854,
"end": 10858,
"loc": {
"start": {
"line": 382,
"column": 73
},
"end": {
"line": 382,
"column": 77
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10858,
"end": 10859,
"loc": {
"start": {
"line": 382,
"column": 77
},
"end": {
"line": 382,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 10859,
"end": 10862,
"loc": {
"start": {
"line": 382,
"column": 78
},
"end": {
"line": 382,
"column": 81
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10862,
"end": 10863,
"loc": {
"start": {
"line": 382,
"column": 81
},
"end": {
"line": 382,
"column": 82
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 10863,
"end": 10867,
"loc": {
"start": {
"line": 382,
"column": 82
},
"end": {
"line": 382,
"column": 86
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 10868,
"end": 10871,
"loc": {
"start": {
"line": 382,
"column": 87
},
"end": {
"line": 382,
"column": 90
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 10872,
"end": 10873,
"loc": {
"start": {
"line": 382,
"column": 91
},
"end": {
"line": 382,
"column": 92
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10873,
"end": 10874,
"loc": {
"start": {
"line": 382,
"column": 92
},
"end": {
"line": 382,
"column": 93
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "userID",
"start": 10874,
"end": 10880,
"loc": {
"start": {
"line": 382,
"column": 93
},
"end": {
"line": 382,
"column": 99
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10880,
"end": 10881,
"loc": {
"start": {
"line": 382,
"column": 99
},
"end": {
"line": 382,
"column": 100
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10881,
"end": 10882,
"loc": {
"start": {
"line": 382,
"column": 100
},
"end": {
"line": 382,
"column": 101
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10883,
"end": 10884,
"loc": {
"start": {
"line": 382,
"column": 102
},
"end": {
"line": 382,
"column": 103
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 10893,
"end": 10894,
"loc": {
"start": {
"line": 383,
"column": 8
},
"end": {
"line": 383,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10894,
"end": 10895,
"loc": {
"start": {
"line": 383,
"column": 9
},
"end": {
"line": 383,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "connector",
"start": 10895,
"end": 10904,
"loc": {
"start": {
"line": 383,
"column": 10
},
"end": {
"line": 383,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10904,
"end": 10905,
"loc": {
"start": {
"line": 383,
"column": 19
},
"end": {
"line": 383,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "broadcastStruct",
"start": 10905,
"end": 10920,
"loc": {
"start": {
"line": 383,
"column": 20
},
"end": {
"line": 383,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10920,
"end": 10921,
"loc": {
"start": {
"line": 383,
"column": 35
},
"end": {
"line": 383,
"column": 36
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 10921,
"end": 10925,
"loc": {
"start": {
"line": 383,
"column": 36
},
"end": {
"line": 383,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10925,
"end": 10926,
"loc": {
"start": {
"line": 383,
"column": 40
},
"end": {
"line": 383,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10933,
"end": 10934,
"loc": {
"start": {
"line": 384,
"column": 6
},
"end": {
"line": 384,
"column": 7
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 10941,
"end": 10943,
"loc": {
"start": {
"line": 385,
"column": 6
},
"end": {
"line": 385,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10944,
"end": 10945,
"loc": {
"start": {
"line": 385,
"column": 9
},
"end": {
"line": 385,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 10945,
"end": 10946,
"loc": {
"start": {
"line": 385,
"column": 10
},
"end": {
"line": 385,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10946,
"end": 10947,
"loc": {
"start": {
"line": 385,
"column": 11
},
"end": {
"line": 385,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "persistence",
"start": 10947,
"end": 10958,
"loc": {
"start": {
"line": 385,
"column": 12
},
"end": {
"line": 385,
"column": 23
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 10959,
"end": 10962,
"loc": {
"start": {
"line": 385,
"column": 24
},
"end": {
"line": 385,
"column": 27
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 10963,
"end": 10967,
"loc": {
"start": {
"line": 385,
"column": 28
},
"end": {
"line": 385,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10967,
"end": 10968,
"loc": {
"start": {
"line": 385,
"column": 32
},
"end": {
"line": 385,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10969,
"end": 10970,
"loc": {
"start": {
"line": 385,
"column": 34
},
"end": {
"line": 385,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 10979,
"end": 10980,
"loc": {
"start": {
"line": 386,
"column": 8
},
"end": {
"line": 386,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10980,
"end": 10981,
"loc": {
"start": {
"line": 386,
"column": 9
},
"end": {
"line": 386,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "persistence",
"start": 10981,
"end": 10992,
"loc": {
"start": {
"line": 386,
"column": 10
},
"end": {
"line": 386,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10992,
"end": 10993,
"loc": {
"start": {
"line": 386,
"column": 21
},
"end": {
"line": 386,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "saveStruct",
"start": 10993,
"end": 11003,
"loc": {
"start": {
"line": 386,
"column": 22
},
"end": {
"line": 386,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11003,
"end": 11004,
"loc": {
"start": {
"line": 386,
"column": 32
},
"end": {
"line": 386,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 11004,
"end": 11005,
"loc": {
"start": {
"line": 386,
"column": 33
},
"end": {
"line": 386,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11005,
"end": 11006,
"loc": {
"start": {
"line": 386,
"column": 34
},
"end": {
"line": 386,
"column": 35
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 11007,
"end": 11011,
"loc": {
"start": {
"line": 386,
"column": 36
},
"end": {
"line": 386,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11011,
"end": 11012,
"loc": {
"start": {
"line": 386,
"column": 40
},
"end": {
"line": 386,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11019,
"end": 11020,
"loc": {
"start": {
"line": 387,
"column": 6
},
"end": {
"line": 387,
"column": 7
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11025,
"end": 11026,
"loc": {
"start": {
"line": 388,
"column": 4
},
"end": {
"line": 388,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11029,
"end": 11030,
"loc": {
"start": {
"line": 389,
"column": 2
},
"end": {
"line": 389,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Transform the properties of this type to binary and write it to an\n * BinaryEncoder.\n *\n * This is called when this Item is sent to a remote peer.\n *\n * @param {BinaryEncoder} encoder The encoder to write data to.\n *\n * @private\n ",
"start": 11034,
"end": 11291,
"loc": {
"start": {
"line": 391,
"column": 2
},
"end": {
"line": 400,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_toBinary",
"start": 11294,
"end": 11303,
"loc": {
"start": {
"line": 401,
"column": 2
},
"end": {
"line": 401,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11304,
"end": 11305,
"loc": {
"start": {
"line": 401,
"column": 12
},
"end": {
"line": 401,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 11305,
"end": 11312,
"loc": {
"start": {
"line": 401,
"column": 13
},
"end": {
"line": 401,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11312,
"end": 11313,
"loc": {
"start": {
"line": 401,
"column": 20
},
"end": {
"line": 401,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11314,
"end": 11315,
"loc": {
"start": {
"line": 401,
"column": 22
},
"end": {
"line": 401,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 11320,
"end": 11327,
"loc": {
"start": {
"line": 402,
"column": 4
},
"end": {
"line": 402,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11327,
"end": 11328,
"loc": {
"start": {
"line": 402,
"column": 11
},
"end": {
"line": 402,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeUint8",
"start": 11328,
"end": 11338,
"loc": {
"start": {
"line": 402,
"column": 12
},
"end": {
"line": 402,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11338,
"end": 11339,
"loc": {
"start": {
"line": 402,
"column": 22
},
"end": {
"line": 402,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getStructReference",
"start": 11339,
"end": 11357,
"loc": {
"start": {
"line": 402,
"column": 23
},
"end": {
"line": 402,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11357,
"end": 11358,
"loc": {
"start": {
"line": 402,
"column": 41
},
"end": {
"line": 402,
"column": 42
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 11358,
"end": 11362,
"loc": {
"start": {
"line": 402,
"column": 42
},
"end": {
"line": 402,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11362,
"end": 11363,
"loc": {
"start": {
"line": 402,
"column": 46
},
"end": {
"line": 402,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 11363,
"end": 11374,
"loc": {
"start": {
"line": 402,
"column": 47
},
"end": {
"line": 402,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11374,
"end": 11375,
"loc": {
"start": {
"line": 402,
"column": 58
},
"end": {
"line": 402,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11375,
"end": 11376,
"loc": {
"start": {
"line": 402,
"column": 59
},
"end": {
"line": 402,
"column": 60
}
}
},
{
"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": 11381,
"end": 11384,
"loc": {
"start": {
"line": 403,
"column": 4
},
"end": {
"line": 403,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "info",
"start": 11385,
"end": 11389,
"loc": {
"start": {
"line": 403,
"column": 8
},
"end": {
"line": 403,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 11390,
"end": 11391,
"loc": {
"start": {
"line": 403,
"column": 13
},
"end": {
"line": 403,
"column": 14
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 11392,
"end": 11393,
"loc": {
"start": {
"line": 403,
"column": 15
},
"end": {
"line": 403,
"column": 16
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 11398,
"end": 11400,
"loc": {
"start": {
"line": 404,
"column": 4
},
"end": {
"line": 404,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11401,
"end": 11402,
"loc": {
"start": {
"line": 404,
"column": 7
},
"end": {
"line": 404,
"column": 8
}
}
},
{
"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": 11402,
"end": 11406,
"loc": {
"start": {
"line": 404,
"column": 8
},
"end": {
"line": 404,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11406,
"end": 11407,
"loc": {
"start": {
"line": 404,
"column": 12
},
"end": {
"line": 404,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_origin",
"start": 11407,
"end": 11414,
"loc": {
"start": {
"line": 404,
"column": 13
},
"end": {
"line": 404,
"column": 20
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 11415,
"end": 11418,
"loc": {
"start": {
"line": 404,
"column": 21
},
"end": {
"line": 404,
"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": 11419,
"end": 11423,
"loc": {
"start": {
"line": 404,
"column": 25
},
"end": {
"line": 404,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11423,
"end": 11424,
"loc": {
"start": {
"line": 404,
"column": 29
},
"end": {
"line": 404,
"column": 30
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11425,
"end": 11426,
"loc": {
"start": {
"line": 404,
"column": 31
},
"end": {
"line": 404,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "info",
"start": 11433,
"end": 11437,
"loc": {
"start": {
"line": 405,
"column": 6
},
"end": {
"line": 405,
"column": 10
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "+=",
"start": 11438,
"end": 11440,
"loc": {
"start": {
"line": 405,
"column": 11
},
"end": {
"line": 405,
"column": 13
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 11441,
"end": 11444,
"loc": {
"start": {
"line": 405,
"column": 14
},
"end": {
"line": 405,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " origin is defined",
"start": 11445,
"end": 11465,
"loc": {
"start": {
"line": 405,
"column": 18
},
"end": {
"line": 405,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11470,
"end": 11471,
"loc": {
"start": {
"line": 406,
"column": 4
},
"end": {
"line": 406,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " TODO: remove",
"start": 11476,
"end": 11491,
"loc": {
"start": {
"line": 407,
"column": 4
},
"end": {
"line": 407,
"column": 19
}
}
},
{
"type": "CommentBlock",
"value": " no longer send _left\n if (this._left !== this._origin) {\n info += 0b10 // do not copy origin to left\n }\n ",
"start": 11496,
"end": 11620,
"loc": {
"start": {
"line": 408,
"column": 4
},
"end": {
"line": 412,
"column": 6
}
}
},
{
"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": 11625,
"end": 11627,
"loc": {
"start": {
"line": 413,
"column": 4
},
"end": {
"line": 413,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11628,
"end": 11629,
"loc": {
"start": {
"line": 413,
"column": 7
},
"end": {
"line": 413,
"column": 8
}
}
},
{
"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": 11629,
"end": 11633,
"loc": {
"start": {
"line": 413,
"column": 8
},
"end": {
"line": 413,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11633,
"end": 11634,
"loc": {
"start": {
"line": 413,
"column": 12
},
"end": {
"line": 413,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right_origin",
"start": 11634,
"end": 11647,
"loc": {
"start": {
"line": 413,
"column": 13
},
"end": {
"line": 413,
"column": 26
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 11648,
"end": 11651,
"loc": {
"start": {
"line": 413,
"column": 27
},
"end": {
"line": 413,
"column": 30
}
}
},
{
"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": 11652,
"end": 11656,
"loc": {
"start": {
"line": 413,
"column": 31
},
"end": {
"line": 413,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11656,
"end": 11657,
"loc": {
"start": {
"line": 413,
"column": 35
},
"end": {
"line": 413,
"column": 36
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11658,
"end": 11659,
"loc": {
"start": {
"line": 413,
"column": 37
},
"end": {
"line": 413,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "info",
"start": 11666,
"end": 11670,
"loc": {
"start": {
"line": 414,
"column": 6
},
"end": {
"line": 414,
"column": 10
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "+=",
"start": 11671,
"end": 11673,
"loc": {
"start": {
"line": 414,
"column": 11
},
"end": {
"line": 414,
"column": 13
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 4,
"start": 11674,
"end": 11679,
"loc": {
"start": {
"line": 414,
"column": 14
},
"end": {
"line": 414,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11684,
"end": 11685,
"loc": {
"start": {
"line": 415,
"column": 4
},
"end": {
"line": 415,
"column": 5
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 11690,
"end": 11692,
"loc": {
"start": {
"line": 416,
"column": 4
},
"end": {
"line": 416,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11693,
"end": 11694,
"loc": {
"start": {
"line": 416,
"column": 7
},
"end": {
"line": 416,
"column": 8
}
}
},
{
"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": 11694,
"end": 11698,
"loc": {
"start": {
"line": 416,
"column": 8
},
"end": {
"line": 416,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11698,
"end": 11699,
"loc": {
"start": {
"line": 416,
"column": 12
},
"end": {
"line": 416,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parentSub",
"start": 11699,
"end": 11709,
"loc": {
"start": {
"line": 416,
"column": 13
},
"end": {
"line": 416,
"column": 23
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 11710,
"end": 11713,
"loc": {
"start": {
"line": 416,
"column": 24
},
"end": {
"line": 416,
"column": 27
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 11714,
"end": 11718,
"loc": {
"start": {
"line": 416,
"column": 28
},
"end": {
"line": 416,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11718,
"end": 11719,
"loc": {
"start": {
"line": 416,
"column": 32
},
"end": {
"line": 416,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11720,
"end": 11721,
"loc": {
"start": {
"line": 416,
"column": 34
},
"end": {
"line": 416,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "info",
"start": 11728,
"end": 11732,
"loc": {
"start": {
"line": 417,
"column": 6
},
"end": {
"line": 417,
"column": 10
}
}
},
{
"type": {
"label": "_=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "+=",
"start": 11733,
"end": 11735,
"loc": {
"start": {
"line": 417,
"column": 11
},
"end": {
"line": 417,
"column": 13
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 8,
"start": 11736,
"end": 11742,
"loc": {
"start": {
"line": 417,
"column": 14
},
"end": {
"line": 417,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11747,
"end": 11748,
"loc": {
"start": {
"line": 418,
"column": 4
},
"end": {
"line": 418,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 11753,
"end": 11760,
"loc": {
"start": {
"line": 419,
"column": 4
},
"end": {
"line": 419,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11760,
"end": 11761,
"loc": {
"start": {
"line": 419,
"column": 11
},
"end": {
"line": 419,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeUint8",
"start": 11761,
"end": 11771,
"loc": {
"start": {
"line": 419,
"column": 12
},
"end": {
"line": 419,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11771,
"end": 11772,
"loc": {
"start": {
"line": 419,
"column": 22
},
"end": {
"line": 419,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "info",
"start": 11772,
"end": 11776,
"loc": {
"start": {
"line": 419,
"column": 23
},
"end": {
"line": 419,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11776,
"end": 11777,
"loc": {
"start": {
"line": 419,
"column": 27
},
"end": {
"line": 419,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 11782,
"end": 11789,
"loc": {
"start": {
"line": 420,
"column": 4
},
"end": {
"line": 420,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11789,
"end": 11790,
"loc": {
"start": {
"line": 420,
"column": 11
},
"end": {
"line": 420,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeID",
"start": 11790,
"end": 11797,
"loc": {
"start": {
"line": 420,
"column": 12
},
"end": {
"line": 420,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11797,
"end": 11798,
"loc": {
"start": {
"line": 420,
"column": 19
},
"end": {
"line": 420,
"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": 11798,
"end": 11802,
"loc": {
"start": {
"line": 420,
"column": 20
},
"end": {
"line": 420,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11802,
"end": 11803,
"loc": {
"start": {
"line": 420,
"column": 24
},
"end": {
"line": 420,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 11803,
"end": 11806,
"loc": {
"start": {
"line": 420,
"column": 25
},
"end": {
"line": 420,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11806,
"end": 11807,
"loc": {
"start": {
"line": 420,
"column": 28
},
"end": {
"line": 420,
"column": 29
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 11812,
"end": 11814,
"loc": {
"start": {
"line": 421,
"column": 4
},
"end": {
"line": 421,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11815,
"end": 11816,
"loc": {
"start": {
"line": 421,
"column": 7
},
"end": {
"line": 421,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "info",
"start": 11816,
"end": 11820,
"loc": {
"start": {
"line": 421,
"column": 8
},
"end": {
"line": 421,
"column": 12
}
}
},
{
"type": {
"label": "&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 5,
"updateContext": null
},
"value": "&",
"start": 11821,
"end": 11822,
"loc": {
"start": {
"line": 421,
"column": 13
},
"end": {
"line": 421,
"column": 14
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 11823,
"end": 11826,
"loc": {
"start": {
"line": 421,
"column": 15
},
"end": {
"line": 421,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11826,
"end": 11827,
"loc": {
"start": {
"line": 421,
"column": 18
},
"end": {
"line": 421,
"column": 19
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11828,
"end": 11829,
"loc": {
"start": {
"line": 421,
"column": 20
},
"end": {
"line": 421,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 11836,
"end": 11843,
"loc": {
"start": {
"line": 422,
"column": 6
},
"end": {
"line": 422,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11843,
"end": 11844,
"loc": {
"start": {
"line": 422,
"column": 13
},
"end": {
"line": 422,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeID",
"start": 11844,
"end": 11851,
"loc": {
"start": {
"line": 422,
"column": 14
},
"end": {
"line": 422,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11851,
"end": 11852,
"loc": {
"start": {
"line": 422,
"column": 21
},
"end": {
"line": 422,
"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": 11852,
"end": 11856,
"loc": {
"start": {
"line": 422,
"column": 22
},
"end": {
"line": 422,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11856,
"end": 11857,
"loc": {
"start": {
"line": 422,
"column": 26
},
"end": {
"line": 422,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_origin",
"start": 11857,
"end": 11864,
"loc": {
"start": {
"line": 422,
"column": 27
},
"end": {
"line": 422,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 11864,
"end": 11865,
"loc": {
"start": {
"line": 422,
"column": 34
},
"end": {
"line": 422,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_lastId",
"start": 11865,
"end": 11872,
"loc": {
"start": {
"line": 422,
"column": 35
},
"end": {
"line": 422,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11872,
"end": 11873,
"loc": {
"start": {
"line": 422,
"column": 42
},
"end": {
"line": 422,
"column": 43
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 11878,
"end": 11879,
"loc": {
"start": {
"line": 423,
"column": 4
},
"end": {
"line": 423,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " TODO: remove",
"start": 11884,
"end": 11899,
"loc": {
"start": {
"line": 424,
"column": 4
},
"end": {
"line": 424,
"column": 19
}
}
},
{
"type": "CommentBlock",
"value": " see above\n if (info & 0b10) {\n encoder.writeID(this._left._lastId)\n }\n ",
"start": 11904,
"end": 11994,
"loc": {
"start": {
"line": 425,
"column": 4
},
"end": {
"line": 429,
"column": 6
}
}
},
{
"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": 11999,
"end": 12001,
"loc": {
"start": {
"line": 430,
"column": 4
},
"end": {
"line": 430,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12002,
"end": 12003,
"loc": {
"start": {
"line": 430,
"column": 7
},
"end": {
"line": 430,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "info",
"start": 12003,
"end": 12007,
"loc": {
"start": {
"line": 430,
"column": 8
},
"end": {
"line": 430,
"column": 12
}
}
},
{
"type": {
"label": "&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 5,
"updateContext": null
},
"value": "&",
"start": 12008,
"end": 12009,
"loc": {
"start": {
"line": 430,
"column": 13
},
"end": {
"line": 430,
"column": 14
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 4,
"start": 12010,
"end": 12015,
"loc": {
"start": {
"line": 430,
"column": 15
},
"end": {
"line": 430,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12015,
"end": 12016,
"loc": {
"start": {
"line": 430,
"column": 20
},
"end": {
"line": 430,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12017,
"end": 12018,
"loc": {
"start": {
"line": 430,
"column": 22
},
"end": {
"line": 430,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 12025,
"end": 12032,
"loc": {
"start": {
"line": 431,
"column": 6
},
"end": {
"line": 431,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12032,
"end": 12033,
"loc": {
"start": {
"line": 431,
"column": 13
},
"end": {
"line": 431,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeID",
"start": 12033,
"end": 12040,
"loc": {
"start": {
"line": 431,
"column": 14
},
"end": {
"line": 431,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12040,
"end": 12041,
"loc": {
"start": {
"line": 431,
"column": 21
},
"end": {
"line": 431,
"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": 12041,
"end": 12045,
"loc": {
"start": {
"line": 431,
"column": 22
},
"end": {
"line": 431,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12045,
"end": 12046,
"loc": {
"start": {
"line": 431,
"column": 26
},
"end": {
"line": 431,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right_origin",
"start": 12046,
"end": 12059,
"loc": {
"start": {
"line": 431,
"column": 27
},
"end": {
"line": 431,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12059,
"end": 12060,
"loc": {
"start": {
"line": 431,
"column": 40
},
"end": {
"line": 431,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 12060,
"end": 12063,
"loc": {
"start": {
"line": 431,
"column": 41
},
"end": {
"line": 431,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12063,
"end": 12064,
"loc": {
"start": {
"line": 431,
"column": 44
},
"end": {
"line": 431,
"column": 45
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12069,
"end": 12070,
"loc": {
"start": {
"line": 432,
"column": 4
},
"end": {
"line": 432,
"column": 5
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 12075,
"end": 12077,
"loc": {
"start": {
"line": 433,
"column": 4
},
"end": {
"line": 433,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12078,
"end": 12079,
"loc": {
"start": {
"line": 433,
"column": 7
},
"end": {
"line": 433,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12079,
"end": 12080,
"loc": {
"start": {
"line": 433,
"column": 8
},
"end": {
"line": 433,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "info",
"start": 12080,
"end": 12084,
"loc": {
"start": {
"line": 433,
"column": 9
},
"end": {
"line": 433,
"column": 13
}
}
},
{
"type": {
"label": "&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 5,
"updateContext": null
},
"value": "&",
"start": 12085,
"end": 12086,
"loc": {
"start": {
"line": 433,
"column": 14
},
"end": {
"line": 433,
"column": 15
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 5,
"start": 12087,
"end": 12092,
"loc": {
"start": {
"line": 433,
"column": 16
},
"end": {
"line": 433,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12092,
"end": 12093,
"loc": {
"start": {
"line": 433,
"column": 21
},
"end": {
"line": 433,
"column": 22
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 12094,
"end": 12097,
"loc": {
"start": {
"line": 433,
"column": 23
},
"end": {
"line": 433,
"column": 26
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 12098,
"end": 12099,
"loc": {
"start": {
"line": 433,
"column": 27
},
"end": {
"line": 433,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12099,
"end": 12100,
"loc": {
"start": {
"line": 433,
"column": 28
},
"end": {
"line": 433,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12101,
"end": 12102,
"loc": {
"start": {
"line": 433,
"column": 30
},
"end": {
"line": 433,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " neither origin nor right is defined",
"start": 12109,
"end": 12147,
"loc": {
"start": {
"line": 434,
"column": 6
},
"end": {
"line": 434,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 12154,
"end": 12161,
"loc": {
"start": {
"line": 435,
"column": 6
},
"end": {
"line": 435,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12161,
"end": 12162,
"loc": {
"start": {
"line": 435,
"column": 13
},
"end": {
"line": 435,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeID",
"start": 12162,
"end": 12169,
"loc": {
"start": {
"line": 435,
"column": 14
},
"end": {
"line": 435,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12169,
"end": 12170,
"loc": {
"start": {
"line": 435,
"column": 21
},
"end": {
"line": 435,
"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": 12170,
"end": 12174,
"loc": {
"start": {
"line": 435,
"column": 22
},
"end": {
"line": 435,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12174,
"end": 12175,
"loc": {
"start": {
"line": 435,
"column": 26
},
"end": {
"line": 435,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 12175,
"end": 12182,
"loc": {
"start": {
"line": 435,
"column": 27
},
"end": {
"line": 435,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12182,
"end": 12183,
"loc": {
"start": {
"line": 435,
"column": 34
},
"end": {
"line": 435,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 12183,
"end": 12186,
"loc": {
"start": {
"line": 435,
"column": 35
},
"end": {
"line": 435,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12186,
"end": 12187,
"loc": {
"start": {
"line": 435,
"column": 38
},
"end": {
"line": 435,
"column": 39
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12192,
"end": 12193,
"loc": {
"start": {
"line": 436,
"column": 4
},
"end": {
"line": 436,
"column": 5
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 12198,
"end": 12200,
"loc": {
"start": {
"line": 437,
"column": 4
},
"end": {
"line": 437,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12201,
"end": 12202,
"loc": {
"start": {
"line": 437,
"column": 7
},
"end": {
"line": 437,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "info",
"start": 12202,
"end": 12206,
"loc": {
"start": {
"line": 437,
"column": 8
},
"end": {
"line": 437,
"column": 12
}
}
},
{
"type": {
"label": "&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 5,
"updateContext": null
},
"value": "&",
"start": 12207,
"end": 12208,
"loc": {
"start": {
"line": 437,
"column": 13
},
"end": {
"line": 437,
"column": 14
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 8,
"start": 12209,
"end": 12215,
"loc": {
"start": {
"line": 437,
"column": 15
},
"end": {
"line": 437,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12215,
"end": 12216,
"loc": {
"start": {
"line": 437,
"column": 21
},
"end": {
"line": 437,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12217,
"end": 12218,
"loc": {
"start": {
"line": 437,
"column": 23
},
"end": {
"line": 437,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 12225,
"end": 12232,
"loc": {
"start": {
"line": 438,
"column": 6
},
"end": {
"line": 438,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12232,
"end": 12233,
"loc": {
"start": {
"line": 438,
"column": 13
},
"end": {
"line": 438,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeVarString",
"start": 12233,
"end": 12247,
"loc": {
"start": {
"line": 438,
"column": 14
},
"end": {
"line": 438,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12247,
"end": 12248,
"loc": {
"start": {
"line": 438,
"column": 28
},
"end": {
"line": 438,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "JSON",
"start": 12248,
"end": 12252,
"loc": {
"start": {
"line": 438,
"column": 29
},
"end": {
"line": 438,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12252,
"end": 12253,
"loc": {
"start": {
"line": 438,
"column": 33
},
"end": {
"line": 438,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stringify",
"start": 12253,
"end": 12262,
"loc": {
"start": {
"line": 438,
"column": 34
},
"end": {
"line": 438,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12262,
"end": 12263,
"loc": {
"start": {
"line": 438,
"column": 43
},
"end": {
"line": 438,
"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": 12263,
"end": 12267,
"loc": {
"start": {
"line": 438,
"column": 44
},
"end": {
"line": 438,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12267,
"end": 12268,
"loc": {
"start": {
"line": 438,
"column": 48
},
"end": {
"line": 438,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parentSub",
"start": 12268,
"end": 12278,
"loc": {
"start": {
"line": 438,
"column": 49
},
"end": {
"line": 438,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12278,
"end": 12279,
"loc": {
"start": {
"line": 438,
"column": 59
},
"end": {
"line": 438,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12279,
"end": 12280,
"loc": {
"start": {
"line": 438,
"column": 60
},
"end": {
"line": 438,
"column": 61
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12285,
"end": 12286,
"loc": {
"start": {
"line": 439,
"column": 4
},
"end": {
"line": 439,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12289,
"end": 12290,
"loc": {
"start": {
"line": 440,
"column": 2
},
"end": {
"line": 440,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Read the next Item in a Decoder and fill this Item with the read data.\n *\n * This is called when data is received from a remote peer.\n *\n * @param {Y} y The Yjs instance that this Item belongs to.\n * @param {BinaryDecoder} decoder The decoder object to read data from.\n *\n * @private\n ",
"start": 12294,
"end": 12606,
"loc": {
"start": {
"line": 442,
"column": 2
},
"end": {
"line": 451,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_fromBinary",
"start": 12609,
"end": 12620,
"loc": {
"start": {
"line": 452,
"column": 2
},
"end": {
"line": 452,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12621,
"end": 12622,
"loc": {
"start": {
"line": 452,
"column": 14
},
"end": {
"line": 452,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 12622,
"end": 12623,
"loc": {
"start": {
"line": 452,
"column": 15
},
"end": {
"line": 452,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12623,
"end": 12624,
"loc": {
"start": {
"line": 452,
"column": 16
},
"end": {
"line": 452,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 12625,
"end": 12632,
"loc": {
"start": {
"line": 452,
"column": 18
},
"end": {
"line": 452,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12632,
"end": 12633,
"loc": {
"start": {
"line": 452,
"column": 25
},
"end": {
"line": 452,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12634,
"end": 12635,
"loc": {
"start": {
"line": 452,
"column": 27
},
"end": {
"line": 452,
"column": 28
}
}
},
{
"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": 12640,
"end": 12643,
"loc": {
"start": {
"line": 453,
"column": 4
},
"end": {
"line": 453,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "missing",
"start": 12644,
"end": 12651,
"loc": {
"start": {
"line": 453,
"column": 8
},
"end": {
"line": 453,
"column": 15
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 12652,
"end": 12653,
"loc": {
"start": {
"line": 453,
"column": 16
},
"end": {
"line": 453,
"column": 17
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12654,
"end": 12655,
"loc": {
"start": {
"line": 453,
"column": 18
},
"end": {
"line": 453,
"column": 19
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12655,
"end": 12656,
"loc": {
"start": {
"line": 453,
"column": 19
},
"end": {
"line": 453,
"column": 20
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 12661,
"end": 12666,
"loc": {
"start": {
"line": 454,
"column": 4
},
"end": {
"line": 454,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "info",
"start": 12667,
"end": 12671,
"loc": {
"start": {
"line": 454,
"column": 10
},
"end": {
"line": 454,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 12672,
"end": 12673,
"loc": {
"start": {
"line": 454,
"column": 15
},
"end": {
"line": 454,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 12674,
"end": 12681,
"loc": {
"start": {
"line": 454,
"column": 17
},
"end": {
"line": 454,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12681,
"end": 12682,
"loc": {
"start": {
"line": 454,
"column": 24
},
"end": {
"line": 454,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readUint8",
"start": 12682,
"end": 12691,
"loc": {
"start": {
"line": 454,
"column": 25
},
"end": {
"line": 454,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12691,
"end": 12692,
"loc": {
"start": {
"line": 454,
"column": 34
},
"end": {
"line": 454,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12692,
"end": 12693,
"loc": {
"start": {
"line": 454,
"column": 35
},
"end": {
"line": 454,
"column": 36
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 12698,
"end": 12703,
"loc": {
"start": {
"line": 455,
"column": 4
},
"end": {
"line": 455,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 12704,
"end": 12706,
"loc": {
"start": {
"line": 455,
"column": 10
},
"end": {
"line": 455,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 12707,
"end": 12708,
"loc": {
"start": {
"line": 455,
"column": 13
},
"end": {
"line": 455,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 12709,
"end": 12716,
"loc": {
"start": {
"line": 455,
"column": 15
},
"end": {
"line": 455,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12716,
"end": 12717,
"loc": {
"start": {
"line": 455,
"column": 22
},
"end": {
"line": 455,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readID",
"start": 12717,
"end": 12723,
"loc": {
"start": {
"line": 455,
"column": 23
},
"end": {
"line": 455,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12723,
"end": 12724,
"loc": {
"start": {
"line": 455,
"column": 29
},
"end": {
"line": 455,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12724,
"end": 12725,
"loc": {
"start": {
"line": 455,
"column": 30
},
"end": {
"line": 455,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 12730,
"end": 12734,
"loc": {
"start": {
"line": 456,
"column": 4
},
"end": {
"line": 456,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12734,
"end": 12735,
"loc": {
"start": {
"line": 456,
"column": 8
},
"end": {
"line": 456,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_id",
"start": 12735,
"end": 12738,
"loc": {
"start": {
"line": 456,
"column": 9
},
"end": {
"line": 456,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 12739,
"end": 12740,
"loc": {
"start": {
"line": 456,
"column": 13
},
"end": {
"line": 456,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 12741,
"end": 12743,
"loc": {
"start": {
"line": 456,
"column": 15
},
"end": {
"line": 456,
"column": 17
}
}
},
{
"type": "CommentLine",
"value": " read origin",
"start": 12748,
"end": 12762,
"loc": {
"start": {
"line": 457,
"column": 4
},
"end": {
"line": 457,
"column": 18
}
}
},
{
"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": 12767,
"end": 12769,
"loc": {
"start": {
"line": 458,
"column": 4
},
"end": {
"line": 458,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12770,
"end": 12771,
"loc": {
"start": {
"line": 458,
"column": 7
},
"end": {
"line": 458,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "info",
"start": 12771,
"end": 12775,
"loc": {
"start": {
"line": 458,
"column": 8
},
"end": {
"line": 458,
"column": 12
}
}
},
{
"type": {
"label": "&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 5,
"updateContext": null
},
"value": "&",
"start": 12776,
"end": 12777,
"loc": {
"start": {
"line": 458,
"column": 13
},
"end": {
"line": 458,
"column": 14
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 12778,
"end": 12781,
"loc": {
"start": {
"line": 458,
"column": 15
},
"end": {
"line": 458,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12781,
"end": 12782,
"loc": {
"start": {
"line": 458,
"column": 18
},
"end": {
"line": 458,
"column": 19
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12783,
"end": 12784,
"loc": {
"start": {
"line": 458,
"column": 20
},
"end": {
"line": 458,
"column": 21
}
}
},
{
"type": "CommentLine",
"value": " origin != null",
"start": 12791,
"end": 12808,
"loc": {
"start": {
"line": 459,
"column": 6
},
"end": {
"line": 459,
"column": 23
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 12815,
"end": 12820,
"loc": {
"start": {
"line": 460,
"column": 6
},
"end": {
"line": 460,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "originID",
"start": 12821,
"end": 12829,
"loc": {
"start": {
"line": 460,
"column": 12
},
"end": {
"line": 460,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 12830,
"end": 12831,
"loc": {
"start": {
"line": 460,
"column": 21
},
"end": {
"line": 460,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 12832,
"end": 12839,
"loc": {
"start": {
"line": 460,
"column": 23
},
"end": {
"line": 460,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12839,
"end": 12840,
"loc": {
"start": {
"line": 460,
"column": 30
},
"end": {
"line": 460,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readID",
"start": 12840,
"end": 12846,
"loc": {
"start": {
"line": 460,
"column": 31
},
"end": {
"line": 460,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12846,
"end": 12847,
"loc": {
"start": {
"line": 460,
"column": 37
},
"end": {
"line": 460,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12847,
"end": 12848,
"loc": {
"start": {
"line": 460,
"column": 38
},
"end": {
"line": 460,
"column": 39
}
}
},
{
"type": "CommentLine",
"value": " we have to query for left again because it might have been split/merged..",
"start": 12855,
"end": 12931,
"loc": {
"start": {
"line": 461,
"column": 6
},
"end": {
"line": 461,
"column": 82
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 12938,
"end": 12943,
"loc": {
"start": {
"line": 462,
"column": 6
},
"end": {
"line": 462,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 12944,
"end": 12950,
"loc": {
"start": {
"line": 462,
"column": 12
},
"end": {
"line": 462,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 12951,
"end": 12952,
"loc": {
"start": {
"line": 462,
"column": 19
},
"end": {
"line": 462,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 12953,
"end": 12954,
"loc": {
"start": {
"line": 462,
"column": 21
},
"end": {
"line": 462,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12954,
"end": 12955,
"loc": {
"start": {
"line": 462,
"column": 22
},
"end": {
"line": 462,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "os",
"start": 12955,
"end": 12957,
"loc": {
"start": {
"line": 462,
"column": 23
},
"end": {
"line": 462,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 12957,
"end": 12958,
"loc": {
"start": {
"line": 462,
"column": 25
},
"end": {
"line": 462,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getItemCleanEnd",
"start": 12958,
"end": 12973,
"loc": {
"start": {
"line": 462,
"column": 26
},
"end": {
"line": 462,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12973,
"end": 12974,
"loc": {
"start": {
"line": 462,
"column": 41
},
"end": {
"line": 462,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "originID",
"start": 12974,
"end": 12982,
"loc": {
"start": {
"line": 462,
"column": 42
},
"end": {
"line": 462,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12982,
"end": 12983,
"loc": {
"start": {
"line": 462,
"column": 50
},
"end": {
"line": 462,
"column": 51
}
}
},
{
"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": 12990,
"end": 12992,
"loc": {
"start": {
"line": 463,
"column": 6
},
"end": {
"line": 463,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 12993,
"end": 12994,
"loc": {
"start": {
"line": 463,
"column": 9
},
"end": {
"line": 463,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 12994,
"end": 13000,
"loc": {
"start": {
"line": 463,
"column": 10
},
"end": {
"line": 463,
"column": 16
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 13001,
"end": 13004,
"loc": {
"start": {
"line": 463,
"column": 17
},
"end": {
"line": 463,
"column": 20
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 13005,
"end": 13009,
"loc": {
"start": {
"line": 463,
"column": 21
},
"end": {
"line": 463,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13009,
"end": 13010,
"loc": {
"start": {
"line": 463,
"column": 25
},
"end": {
"line": 463,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13011,
"end": 13012,
"loc": {
"start": {
"line": 463,
"column": 27
},
"end": {
"line": 463,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "missing",
"start": 13021,
"end": 13028,
"loc": {
"start": {
"line": 464,
"column": 8
},
"end": {
"line": 464,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13028,
"end": 13029,
"loc": {
"start": {
"line": 464,
"column": 15
},
"end": {
"line": 464,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 13029,
"end": 13033,
"loc": {
"start": {
"line": 464,
"column": 16
},
"end": {
"line": 464,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13033,
"end": 13034,
"loc": {
"start": {
"line": 464,
"column": 20
},
"end": {
"line": 464,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "originID",
"start": 13034,
"end": 13042,
"loc": {
"start": {
"line": 464,
"column": 21
},
"end": {
"line": 464,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13042,
"end": 13043,
"loc": {
"start": {
"line": 464,
"column": 29
},
"end": {
"line": 464,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13050,
"end": 13051,
"loc": {
"start": {
"line": 465,
"column": 6
},
"end": {
"line": 465,
"column": 7
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 13052,
"end": 13056,
"loc": {
"start": {
"line": 465,
"column": 8
},
"end": {
"line": 465,
"column": 12
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13057,
"end": 13058,
"loc": {
"start": {
"line": 465,
"column": 13
},
"end": {
"line": 465,
"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": 13067,
"end": 13071,
"loc": {
"start": {
"line": 466,
"column": 8
},
"end": {
"line": 466,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13071,
"end": 13072,
"loc": {
"start": {
"line": 466,
"column": 12
},
"end": {
"line": 466,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_origin",
"start": 13072,
"end": 13079,
"loc": {
"start": {
"line": 466,
"column": 13
},
"end": {
"line": 466,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 13080,
"end": 13081,
"loc": {
"start": {
"line": 466,
"column": 21
},
"end": {
"line": 466,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 13082,
"end": 13088,
"loc": {
"start": {
"line": 466,
"column": 23
},
"end": {
"line": 466,
"column": 29
}
}
},
{
"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": 13097,
"end": 13101,
"loc": {
"start": {
"line": 467,
"column": 8
},
"end": {
"line": 467,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13101,
"end": 13102,
"loc": {
"start": {
"line": 467,
"column": 12
},
"end": {
"line": 467,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_left",
"start": 13102,
"end": 13107,
"loc": {
"start": {
"line": 467,
"column": 13
},
"end": {
"line": 467,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 13108,
"end": 13109,
"loc": {
"start": {
"line": 467,
"column": 19
},
"end": {
"line": 467,
"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": 13110,
"end": 13114,
"loc": {
"start": {
"line": 467,
"column": 21
},
"end": {
"line": 467,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13114,
"end": 13115,
"loc": {
"start": {
"line": 467,
"column": 25
},
"end": {
"line": 467,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_origin",
"start": 13115,
"end": 13122,
"loc": {
"start": {
"line": 467,
"column": 26
},
"end": {
"line": 467,
"column": 33
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13129,
"end": 13130,
"loc": {
"start": {
"line": 468,
"column": 6
},
"end": {
"line": 468,
"column": 7
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13135,
"end": 13136,
"loc": {
"start": {
"line": 469,
"column": 4
},
"end": {
"line": 469,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " read right",
"start": 13141,
"end": 13154,
"loc": {
"start": {
"line": 470,
"column": 4
},
"end": {
"line": 470,
"column": 17
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 13159,
"end": 13161,
"loc": {
"start": {
"line": 471,
"column": 4
},
"end": {
"line": 471,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13162,
"end": 13163,
"loc": {
"start": {
"line": 471,
"column": 7
},
"end": {
"line": 471,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "info",
"start": 13163,
"end": 13167,
"loc": {
"start": {
"line": 471,
"column": 8
},
"end": {
"line": 471,
"column": 12
}
}
},
{
"type": {
"label": "&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 5,
"updateContext": null
},
"value": "&",
"start": 13168,
"end": 13169,
"loc": {
"start": {
"line": 471,
"column": 13
},
"end": {
"line": 471,
"column": 14
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 4,
"start": 13170,
"end": 13175,
"loc": {
"start": {
"line": 471,
"column": 15
},
"end": {
"line": 471,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13175,
"end": 13176,
"loc": {
"start": {
"line": 471,
"column": 20
},
"end": {
"line": 471,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13177,
"end": 13178,
"loc": {
"start": {
"line": 471,
"column": 22
},
"end": {
"line": 471,
"column": 23
}
}
},
{
"type": "CommentLine",
"value": " right != null",
"start": 13185,
"end": 13201,
"loc": {
"start": {
"line": 472,
"column": 6
},
"end": {
"line": 472,
"column": 22
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 13208,
"end": 13213,
"loc": {
"start": {
"line": 473,
"column": 6
},
"end": {
"line": 473,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rightID",
"start": 13214,
"end": 13221,
"loc": {
"start": {
"line": 473,
"column": 12
},
"end": {
"line": 473,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 13222,
"end": 13223,
"loc": {
"start": {
"line": 473,
"column": 20
},
"end": {
"line": 473,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 13224,
"end": 13231,
"loc": {
"start": {
"line": 473,
"column": 22
},
"end": {
"line": 473,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13231,
"end": 13232,
"loc": {
"start": {
"line": 473,
"column": 29
},
"end": {
"line": 473,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readID",
"start": 13232,
"end": 13238,
"loc": {
"start": {
"line": 473,
"column": 30
},
"end": {
"line": 473,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13238,
"end": 13239,
"loc": {
"start": {
"line": 473,
"column": 36
},
"end": {
"line": 473,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13239,
"end": 13240,
"loc": {
"start": {
"line": 473,
"column": 37
},
"end": {
"line": 473,
"column": 38
}
}
},
{
"type": "CommentLine",
"value": " we have to query for right again because it might have been split/merged..",
"start": 13247,
"end": 13324,
"loc": {
"start": {
"line": 474,
"column": 6
},
"end": {
"line": 474,
"column": 83
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 13331,
"end": 13336,
"loc": {
"start": {
"line": 475,
"column": 6
},
"end": {
"line": 475,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 13337,
"end": 13342,
"loc": {
"start": {
"line": 475,
"column": 12
},
"end": {
"line": 475,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 13343,
"end": 13344,
"loc": {
"start": {
"line": 475,
"column": 18
},
"end": {
"line": 475,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 13345,
"end": 13346,
"loc": {
"start": {
"line": 475,
"column": 20
},
"end": {
"line": 475,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13346,
"end": 13347,
"loc": {
"start": {
"line": 475,
"column": 21
},
"end": {
"line": 475,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "os",
"start": 13347,
"end": 13349,
"loc": {
"start": {
"line": 475,
"column": 22
},
"end": {
"line": 475,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13349,
"end": 13350,
"loc": {
"start": {
"line": 475,
"column": 24
},
"end": {
"line": 475,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getItemCleanStart",
"start": 13350,
"end": 13367,
"loc": {
"start": {
"line": 475,
"column": 25
},
"end": {
"line": 475,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13367,
"end": 13368,
"loc": {
"start": {
"line": 475,
"column": 42
},
"end": {
"line": 475,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rightID",
"start": 13368,
"end": 13375,
"loc": {
"start": {
"line": 475,
"column": 43
},
"end": {
"line": 475,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13375,
"end": 13376,
"loc": {
"start": {
"line": 475,
"column": 50
},
"end": {
"line": 475,
"column": 51
}
}
},
{
"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": 13383,
"end": 13385,
"loc": {
"start": {
"line": 476,
"column": 6
},
"end": {
"line": 476,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13386,
"end": 13387,
"loc": {
"start": {
"line": 476,
"column": 9
},
"end": {
"line": 476,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 13387,
"end": 13392,
"loc": {
"start": {
"line": 476,
"column": 10
},
"end": {
"line": 476,
"column": 15
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 13393,
"end": 13396,
"loc": {
"start": {
"line": 476,
"column": 16
},
"end": {
"line": 476,
"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": 13397,
"end": 13401,
"loc": {
"start": {
"line": 476,
"column": 20
},
"end": {
"line": 476,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13401,
"end": 13402,
"loc": {
"start": {
"line": 476,
"column": 24
},
"end": {
"line": 476,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13403,
"end": 13404,
"loc": {
"start": {
"line": 476,
"column": 26
},
"end": {
"line": 476,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "missing",
"start": 13413,
"end": 13420,
"loc": {
"start": {
"line": 477,
"column": 8
},
"end": {
"line": 477,
"column": 15
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13420,
"end": 13421,
"loc": {
"start": {
"line": 477,
"column": 15
},
"end": {
"line": 477,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 13421,
"end": 13425,
"loc": {
"start": {
"line": 477,
"column": 16
},
"end": {
"line": 477,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13425,
"end": 13426,
"loc": {
"start": {
"line": 477,
"column": 20
},
"end": {
"line": 477,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rightID",
"start": 13426,
"end": 13433,
"loc": {
"start": {
"line": 477,
"column": 21
},
"end": {
"line": 477,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13433,
"end": 13434,
"loc": {
"start": {
"line": 477,
"column": 28
},
"end": {
"line": 477,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13441,
"end": 13442,
"loc": {
"start": {
"line": 478,
"column": 6
},
"end": {
"line": 478,
"column": 7
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 13443,
"end": 13447,
"loc": {
"start": {
"line": 478,
"column": 8
},
"end": {
"line": 478,
"column": 12
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13448,
"end": 13449,
"loc": {
"start": {
"line": 478,
"column": 13
},
"end": {
"line": 478,
"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": 13458,
"end": 13462,
"loc": {
"start": {
"line": 479,
"column": 8
},
"end": {
"line": 479,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13462,
"end": 13463,
"loc": {
"start": {
"line": 479,
"column": 12
},
"end": {
"line": 479,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right",
"start": 13463,
"end": 13469,
"loc": {
"start": {
"line": 479,
"column": 13
},
"end": {
"line": 479,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 13470,
"end": 13471,
"loc": {
"start": {
"line": 479,
"column": 20
},
"end": {
"line": 479,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 13472,
"end": 13477,
"loc": {
"start": {
"line": 479,
"column": 22
},
"end": {
"line": 479,
"column": 27
}
}
},
{
"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": 13486,
"end": 13490,
"loc": {
"start": {
"line": 480,
"column": 8
},
"end": {
"line": 480,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13490,
"end": 13491,
"loc": {
"start": {
"line": 480,
"column": 12
},
"end": {
"line": 480,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right_origin",
"start": 13491,
"end": 13504,
"loc": {
"start": {
"line": 480,
"column": 13
},
"end": {
"line": 480,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 13505,
"end": 13506,
"loc": {
"start": {
"line": 480,
"column": 27
},
"end": {
"line": 480,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "right",
"start": 13507,
"end": 13512,
"loc": {
"start": {
"line": 480,
"column": 29
},
"end": {
"line": 480,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13519,
"end": 13520,
"loc": {
"start": {
"line": 481,
"column": 6
},
"end": {
"line": 481,
"column": 7
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13525,
"end": 13526,
"loc": {
"start": {
"line": 482,
"column": 4
},
"end": {
"line": 482,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " read parent",
"start": 13531,
"end": 13545,
"loc": {
"start": {
"line": 483,
"column": 4
},
"end": {
"line": 483,
"column": 18
}
}
},
{
"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": 13550,
"end": 13552,
"loc": {
"start": {
"line": 484,
"column": 4
},
"end": {
"line": 484,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13553,
"end": 13554,
"loc": {
"start": {
"line": 484,
"column": 7
},
"end": {
"line": 484,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13554,
"end": 13555,
"loc": {
"start": {
"line": 484,
"column": 8
},
"end": {
"line": 484,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "info",
"start": 13555,
"end": 13559,
"loc": {
"start": {
"line": 484,
"column": 9
},
"end": {
"line": 484,
"column": 13
}
}
},
{
"type": {
"label": "&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 5,
"updateContext": null
},
"value": "&",
"start": 13560,
"end": 13561,
"loc": {
"start": {
"line": 484,
"column": 14
},
"end": {
"line": 484,
"column": 15
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 5,
"start": 13562,
"end": 13567,
"loc": {
"start": {
"line": 484,
"column": 16
},
"end": {
"line": 484,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13567,
"end": 13568,
"loc": {
"start": {
"line": 484,
"column": 21
},
"end": {
"line": 484,
"column": 22
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 13569,
"end": 13572,
"loc": {
"start": {
"line": 484,
"column": 23
},
"end": {
"line": 484,
"column": 26
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 13573,
"end": 13574,
"loc": {
"start": {
"line": 484,
"column": 27
},
"end": {
"line": 484,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13574,
"end": 13575,
"loc": {
"start": {
"line": 484,
"column": 28
},
"end": {
"line": 484,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13576,
"end": 13577,
"loc": {
"start": {
"line": 484,
"column": 30
},
"end": {
"line": 484,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " neither origin nor right is defined",
"start": 13584,
"end": 13622,
"loc": {
"start": {
"line": 485,
"column": 6
},
"end": {
"line": 485,
"column": 44
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 13629,
"end": 13634,
"loc": {
"start": {
"line": 486,
"column": 6
},
"end": {
"line": 486,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parentID",
"start": 13635,
"end": 13643,
"loc": {
"start": {
"line": 486,
"column": 12
},
"end": {
"line": 486,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 13644,
"end": 13645,
"loc": {
"start": {
"line": 486,
"column": 21
},
"end": {
"line": 486,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 13646,
"end": 13653,
"loc": {
"start": {
"line": 486,
"column": 23
},
"end": {
"line": 486,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13653,
"end": 13654,
"loc": {
"start": {
"line": 486,
"column": 30
},
"end": {
"line": 486,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readID",
"start": 13654,
"end": 13660,
"loc": {
"start": {
"line": 486,
"column": 31
},
"end": {
"line": 486,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13660,
"end": 13661,
"loc": {
"start": {
"line": 486,
"column": 37
},
"end": {
"line": 486,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13661,
"end": 13662,
"loc": {
"start": {
"line": 486,
"column": 38
},
"end": {
"line": 486,
"column": 39
}
}
},
{
"type": "CommentLine",
"value": " parent does not change, so we don't have to search for it again",
"start": 13669,
"end": 13735,
"loc": {
"start": {
"line": 487,
"column": 6
},
"end": {
"line": 487,
"column": 72
}
}
},
{
"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": 13742,
"end": 13744,
"loc": {
"start": {
"line": 488,
"column": 6
},
"end": {
"line": 488,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13745,
"end": 13746,
"loc": {
"start": {
"line": 488,
"column": 9
},
"end": {
"line": 488,
"column": 10
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 13746,
"end": 13750,
"loc": {
"start": {
"line": 488,
"column": 10
},
"end": {
"line": 488,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13750,
"end": 13751,
"loc": {
"start": {
"line": 488,
"column": 14
},
"end": {
"line": 488,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 13751,
"end": 13758,
"loc": {
"start": {
"line": 488,
"column": 15
},
"end": {
"line": 488,
"column": 22
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 13759,
"end": 13762,
"loc": {
"start": {
"line": 488,
"column": 23
},
"end": {
"line": 488,
"column": 26
}
}
},
{
"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": 13763,
"end": 13767,
"loc": {
"start": {
"line": 488,
"column": 27
},
"end": {
"line": 488,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13767,
"end": 13768,
"loc": {
"start": {
"line": 488,
"column": 31
},
"end": {
"line": 488,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13769,
"end": 13770,
"loc": {
"start": {
"line": 488,
"column": 33
},
"end": {
"line": 488,
"column": 34
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 13779,
"end": 13782,
"loc": {
"start": {
"line": 489,
"column": 8
},
"end": {
"line": 489,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 13783,
"end": 13789,
"loc": {
"start": {
"line": 489,
"column": 12
},
"end": {
"line": 489,
"column": 18
}
}
},
{
"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": 13798,
"end": 13800,
"loc": {
"start": {
"line": 490,
"column": 8
},
"end": {
"line": 490,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13801,
"end": 13802,
"loc": {
"start": {
"line": 490,
"column": 11
},
"end": {
"line": 490,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parentID",
"start": 13802,
"end": 13810,
"loc": {
"start": {
"line": 490,
"column": 12
},
"end": {
"line": 490,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13810,
"end": 13811,
"loc": {
"start": {
"line": 490,
"column": 20
},
"end": {
"line": 490,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 13811,
"end": 13822,
"loc": {
"start": {
"line": 490,
"column": 21
},
"end": {
"line": 490,
"column": 32
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 13823,
"end": 13826,
"loc": {
"start": {
"line": 490,
"column": 33
},
"end": {
"line": 490,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "RootID",
"start": 13827,
"end": 13833,
"loc": {
"start": {
"line": 490,
"column": 37
},
"end": {
"line": 490,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13833,
"end": 13834,
"loc": {
"start": {
"line": 490,
"column": 43
},
"end": {
"line": 490,
"column": 44
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13835,
"end": 13836,
"loc": {
"start": {
"line": 490,
"column": 45
},
"end": {
"line": 490,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 13847,
"end": 13853,
"loc": {
"start": {
"line": 491,
"column": 10
},
"end": {
"line": 491,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 13854,
"end": 13855,
"loc": {
"start": {
"line": 491,
"column": 17
},
"end": {
"line": 491,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 13856,
"end": 13857,
"loc": {
"start": {
"line": 491,
"column": 19
},
"end": {
"line": 491,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13857,
"end": 13858,
"loc": {
"start": {
"line": 491,
"column": 20
},
"end": {
"line": 491,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "os",
"start": 13858,
"end": 13860,
"loc": {
"start": {
"line": 491,
"column": 21
},
"end": {
"line": 491,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13860,
"end": 13861,
"loc": {
"start": {
"line": 491,
"column": 23
},
"end": {
"line": 491,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 13861,
"end": 13864,
"loc": {
"start": {
"line": 491,
"column": 24
},
"end": {
"line": 491,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13864,
"end": 13865,
"loc": {
"start": {
"line": 491,
"column": 27
},
"end": {
"line": 491,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parentID",
"start": 13865,
"end": 13873,
"loc": {
"start": {
"line": 491,
"column": 28
},
"end": {
"line": 491,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13873,
"end": 13874,
"loc": {
"start": {
"line": 491,
"column": 36
},
"end": {
"line": 491,
"column": 37
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13883,
"end": 13884,
"loc": {
"start": {
"line": 492,
"column": 8
},
"end": {
"line": 492,
"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": 13885,
"end": 13889,
"loc": {
"start": {
"line": 492,
"column": 10
},
"end": {
"line": 492,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13890,
"end": 13891,
"loc": {
"start": {
"line": 492,
"column": 15
},
"end": {
"line": 492,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 13902,
"end": 13908,
"loc": {
"start": {
"line": 493,
"column": 10
},
"end": {
"line": 493,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 13909,
"end": 13910,
"loc": {
"start": {
"line": 493,
"column": 17
},
"end": {
"line": 493,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 13911,
"end": 13912,
"loc": {
"start": {
"line": 493,
"column": 19
},
"end": {
"line": 493,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13912,
"end": 13913,
"loc": {
"start": {
"line": 493,
"column": 20
},
"end": {
"line": 493,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "os",
"start": 13913,
"end": 13915,
"loc": {
"start": {
"line": 493,
"column": 21
},
"end": {
"line": 493,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13915,
"end": 13916,
"loc": {
"start": {
"line": 493,
"column": 23
},
"end": {
"line": 493,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getItem",
"start": 13916,
"end": 13923,
"loc": {
"start": {
"line": 493,
"column": 24
},
"end": {
"line": 493,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13923,
"end": 13924,
"loc": {
"start": {
"line": 493,
"column": 31
},
"end": {
"line": 493,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parentID",
"start": 13924,
"end": 13932,
"loc": {
"start": {
"line": 493,
"column": 32
},
"end": {
"line": 493,
"column": 40
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13932,
"end": 13933,
"loc": {
"start": {
"line": 493,
"column": 40
},
"end": {
"line": 493,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13942,
"end": 13943,
"loc": {
"start": {
"line": 494,
"column": 8
},
"end": {
"line": 494,
"column": 9
}
}
},
{
"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": 13952,
"end": 13954,
"loc": {
"start": {
"line": 495,
"column": 8
},
"end": {
"line": 495,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13955,
"end": 13956,
"loc": {
"start": {
"line": 495,
"column": 11
},
"end": {
"line": 495,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 13956,
"end": 13962,
"loc": {
"start": {
"line": 495,
"column": 12
},
"end": {
"line": 495,
"column": 18
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 13963,
"end": 13966,
"loc": {
"start": {
"line": 495,
"column": 19
},
"end": {
"line": 495,
"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": 13967,
"end": 13971,
"loc": {
"start": {
"line": 495,
"column": 23
},
"end": {
"line": 495,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13971,
"end": 13972,
"loc": {
"start": {
"line": 495,
"column": 27
},
"end": {
"line": 495,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13973,
"end": 13974,
"loc": {
"start": {
"line": 495,
"column": 29
},
"end": {
"line": 495,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "missing",
"start": 13985,
"end": 13992,
"loc": {
"start": {
"line": 496,
"column": 10
},
"end": {
"line": 496,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 13992,
"end": 13993,
"loc": {
"start": {
"line": 496,
"column": 17
},
"end": {
"line": 496,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 13993,
"end": 13997,
"loc": {
"start": {
"line": 496,
"column": 18
},
"end": {
"line": 496,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 13997,
"end": 13998,
"loc": {
"start": {
"line": 496,
"column": 22
},
"end": {
"line": 496,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parentID",
"start": 13998,
"end": 14006,
"loc": {
"start": {
"line": 496,
"column": 23
},
"end": {
"line": 496,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14006,
"end": 14007,
"loc": {
"start": {
"line": 496,
"column": 31
},
"end": {
"line": 496,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14016,
"end": 14017,
"loc": {
"start": {
"line": 497,
"column": 8
},
"end": {
"line": 497,
"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": 14018,
"end": 14022,
"loc": {
"start": {
"line": 497,
"column": 10
},
"end": {
"line": 497,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14023,
"end": 14024,
"loc": {
"start": {
"line": 497,
"column": 15
},
"end": {
"line": 497,
"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": 14035,
"end": 14039,
"loc": {
"start": {
"line": 498,
"column": 10
},
"end": {
"line": 498,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14039,
"end": 14040,
"loc": {
"start": {
"line": 498,
"column": 14
},
"end": {
"line": 498,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 14040,
"end": 14047,
"loc": {
"start": {
"line": 498,
"column": 15
},
"end": {
"line": 498,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 14048,
"end": 14049,
"loc": {
"start": {
"line": 498,
"column": 23
},
"end": {
"line": 498,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 14050,
"end": 14056,
"loc": {
"start": {
"line": 498,
"column": 25
},
"end": {
"line": 498,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14065,
"end": 14066,
"loc": {
"start": {
"line": 499,
"column": 8
},
"end": {
"line": 499,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14073,
"end": 14074,
"loc": {
"start": {
"line": 500,
"column": 6
},
"end": {
"line": 500,
"column": 7
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14079,
"end": 14080,
"loc": {
"start": {
"line": 501,
"column": 4
},
"end": {
"line": 501,
"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": 14081,
"end": 14085,
"loc": {
"start": {
"line": 501,
"column": 6
},
"end": {
"line": 501,
"column": 10
}
}
},
{
"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": 14086,
"end": 14088,
"loc": {
"start": {
"line": 501,
"column": 11
},
"end": {
"line": 501,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14089,
"end": 14090,
"loc": {
"start": {
"line": 501,
"column": 14
},
"end": {
"line": 501,
"column": 15
}
}
},
{
"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": 14090,
"end": 14094,
"loc": {
"start": {
"line": 501,
"column": 15
},
"end": {
"line": 501,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14094,
"end": 14095,
"loc": {
"start": {
"line": 501,
"column": 19
},
"end": {
"line": 501,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 14095,
"end": 14102,
"loc": {
"start": {
"line": 501,
"column": 20
},
"end": {
"line": 501,
"column": 27
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 14103,
"end": 14106,
"loc": {
"start": {
"line": 501,
"column": 28
},
"end": {
"line": 501,
"column": 31
}
}
},
{
"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": 14107,
"end": 14111,
"loc": {
"start": {
"line": 501,
"column": 32
},
"end": {
"line": 501,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14111,
"end": 14112,
"loc": {
"start": {
"line": 501,
"column": 36
},
"end": {
"line": 501,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14113,
"end": 14114,
"loc": {
"start": {
"line": 501,
"column": 38
},
"end": {
"line": 501,
"column": 39
}
}
},
{
"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": 14121,
"end": 14123,
"loc": {
"start": {
"line": 502,
"column": 6
},
"end": {
"line": 502,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14124,
"end": 14125,
"loc": {
"start": {
"line": 502,
"column": 9
},
"end": {
"line": 502,
"column": 10
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 14125,
"end": 14129,
"loc": {
"start": {
"line": 502,
"column": 10
},
"end": {
"line": 502,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14129,
"end": 14130,
"loc": {
"start": {
"line": 502,
"column": 14
},
"end": {
"line": 502,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_origin",
"start": 14130,
"end": 14137,
"loc": {
"start": {
"line": 502,
"column": 15
},
"end": {
"line": 502,
"column": 22
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 14138,
"end": 14141,
"loc": {
"start": {
"line": 502,
"column": 23
},
"end": {
"line": 502,
"column": 26
}
}
},
{
"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": 14142,
"end": 14146,
"loc": {
"start": {
"line": 502,
"column": 27
},
"end": {
"line": 502,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14146,
"end": 14147,
"loc": {
"start": {
"line": 502,
"column": 31
},
"end": {
"line": 502,
"column": 32
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14148,
"end": 14149,
"loc": {
"start": {
"line": 502,
"column": 33
},
"end": {
"line": 502,
"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": 14158,
"end": 14160,
"loc": {
"start": {
"line": 503,
"column": 8
},
"end": {
"line": 503,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14161,
"end": 14162,
"loc": {
"start": {
"line": 503,
"column": 11
},
"end": {
"line": 503,
"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": 14162,
"end": 14166,
"loc": {
"start": {
"line": 503,
"column": 12
},
"end": {
"line": 503,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14166,
"end": 14167,
"loc": {
"start": {
"line": 503,
"column": 16
},
"end": {
"line": 503,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_origin",
"start": 14167,
"end": 14174,
"loc": {
"start": {
"line": 503,
"column": 17
},
"end": {
"line": 503,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14174,
"end": 14175,
"loc": {
"start": {
"line": 503,
"column": 24
},
"end": {
"line": 503,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 14175,
"end": 14186,
"loc": {
"start": {
"line": 503,
"column": 25
},
"end": {
"line": 503,
"column": 36
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 14187,
"end": 14190,
"loc": {
"start": {
"line": 503,
"column": 37
},
"end": {
"line": 503,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GC",
"start": 14191,
"end": 14193,
"loc": {
"start": {
"line": 503,
"column": 41
},
"end": {
"line": 503,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14193,
"end": 14194,
"loc": {
"start": {
"line": 503,
"column": 43
},
"end": {
"line": 503,
"column": 44
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14195,
"end": 14196,
"loc": {
"start": {
"line": 503,
"column": 45
},
"end": {
"line": 503,
"column": 46
}
}
},
{
"type": "CommentLine",
"value": " if origin is a gc, set parent also gc'd",
"start": 14207,
"end": 14249,
"loc": {
"start": {
"line": 504,
"column": 10
},
"end": {
"line": 504,
"column": 52
}
}
},
{
"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": 14260,
"end": 14264,
"loc": {
"start": {
"line": 505,
"column": 10
},
"end": {
"line": 505,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14264,
"end": 14265,
"loc": {
"start": {
"line": 505,
"column": 14
},
"end": {
"line": 505,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 14265,
"end": 14272,
"loc": {
"start": {
"line": 505,
"column": 15
},
"end": {
"line": 505,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 14273,
"end": 14274,
"loc": {
"start": {
"line": 505,
"column": 23
},
"end": {
"line": 505,
"column": 24
}
}
},
{
"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": 14275,
"end": 14279,
"loc": {
"start": {
"line": 505,
"column": 25
},
"end": {
"line": 505,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14279,
"end": 14280,
"loc": {
"start": {
"line": 505,
"column": 29
},
"end": {
"line": 505,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_origin",
"start": 14280,
"end": 14287,
"loc": {
"start": {
"line": 505,
"column": 30
},
"end": {
"line": 505,
"column": 37
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14296,
"end": 14297,
"loc": {
"start": {
"line": 506,
"column": 8
},
"end": {
"line": 506,
"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": 14298,
"end": 14302,
"loc": {
"start": {
"line": 506,
"column": 10
},
"end": {
"line": 506,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14303,
"end": 14304,
"loc": {
"start": {
"line": 506,
"column": 15
},
"end": {
"line": 506,
"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": 14315,
"end": 14319,
"loc": {
"start": {
"line": 507,
"column": 10
},
"end": {
"line": 507,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14319,
"end": 14320,
"loc": {
"start": {
"line": 507,
"column": 14
},
"end": {
"line": 507,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 14320,
"end": 14327,
"loc": {
"start": {
"line": 507,
"column": 15
},
"end": {
"line": 507,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 14328,
"end": 14329,
"loc": {
"start": {
"line": 507,
"column": 23
},
"end": {
"line": 507,
"column": 24
}
}
},
{
"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": 14330,
"end": 14334,
"loc": {
"start": {
"line": 507,
"column": 25
},
"end": {
"line": 507,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14334,
"end": 14335,
"loc": {
"start": {
"line": 507,
"column": 29
},
"end": {
"line": 507,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_origin",
"start": 14335,
"end": 14342,
"loc": {
"start": {
"line": 507,
"column": 30
},
"end": {
"line": 507,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14342,
"end": 14343,
"loc": {
"start": {
"line": 507,
"column": 37
},
"end": {
"line": 507,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 14343,
"end": 14350,
"loc": {
"start": {
"line": 507,
"column": 38
},
"end": {
"line": 507,
"column": 45
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14359,
"end": 14360,
"loc": {
"start": {
"line": 508,
"column": 8
},
"end": {
"line": 508,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14367,
"end": 14368,
"loc": {
"start": {
"line": 509,
"column": 6
},
"end": {
"line": 509,
"column": 7
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 14369,
"end": 14373,
"loc": {
"start": {
"line": 509,
"column": 8
},
"end": {
"line": 509,
"column": 12
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 14374,
"end": 14376,
"loc": {
"start": {
"line": 509,
"column": 13
},
"end": {
"line": 509,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14377,
"end": 14378,
"loc": {
"start": {
"line": 509,
"column": 16
},
"end": {
"line": 509,
"column": 17
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 14378,
"end": 14382,
"loc": {
"start": {
"line": 509,
"column": 17
},
"end": {
"line": 509,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14382,
"end": 14383,
"loc": {
"start": {
"line": 509,
"column": 21
},
"end": {
"line": 509,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right_origin",
"start": 14383,
"end": 14396,
"loc": {
"start": {
"line": 509,
"column": 22
},
"end": {
"line": 509,
"column": 35
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 14397,
"end": 14400,
"loc": {
"start": {
"line": 509,
"column": 36
},
"end": {
"line": 509,
"column": 39
}
}
},
{
"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": 14401,
"end": 14405,
"loc": {
"start": {
"line": 509,
"column": 40
},
"end": {
"line": 509,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14405,
"end": 14406,
"loc": {
"start": {
"line": 509,
"column": 44
},
"end": {
"line": 509,
"column": 45
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14407,
"end": 14408,
"loc": {
"start": {
"line": 509,
"column": 46
},
"end": {
"line": 509,
"column": 47
}
}
},
{
"type": "CommentLine",
"value": " if origin is a gc, set parent also gc'd",
"start": 14417,
"end": 14459,
"loc": {
"start": {
"line": 510,
"column": 8
},
"end": {
"line": 510,
"column": 50
}
}
},
{
"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": 14468,
"end": 14470,
"loc": {
"start": {
"line": 511,
"column": 8
},
"end": {
"line": 511,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14471,
"end": 14472,
"loc": {
"start": {
"line": 511,
"column": 11
},
"end": {
"line": 511,
"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": 14472,
"end": 14476,
"loc": {
"start": {
"line": 511,
"column": 12
},
"end": {
"line": 511,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14476,
"end": 14477,
"loc": {
"start": {
"line": 511,
"column": 16
},
"end": {
"line": 511,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right_origin",
"start": 14477,
"end": 14490,
"loc": {
"start": {
"line": 511,
"column": 17
},
"end": {
"line": 511,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14490,
"end": 14491,
"loc": {
"start": {
"line": 511,
"column": 30
},
"end": {
"line": 511,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 14491,
"end": 14502,
"loc": {
"start": {
"line": 511,
"column": 31
},
"end": {
"line": 511,
"column": 42
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 14503,
"end": 14506,
"loc": {
"start": {
"line": 511,
"column": 43
},
"end": {
"line": 511,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GC",
"start": 14507,
"end": 14509,
"loc": {
"start": {
"line": 511,
"column": 47
},
"end": {
"line": 511,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14509,
"end": 14510,
"loc": {
"start": {
"line": 511,
"column": 49
},
"end": {
"line": 511,
"column": 50
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14511,
"end": 14512,
"loc": {
"start": {
"line": 511,
"column": 51
},
"end": {
"line": 511,
"column": 52
}
}
},
{
"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": 14523,
"end": 14527,
"loc": {
"start": {
"line": 512,
"column": 10
},
"end": {
"line": 512,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14527,
"end": 14528,
"loc": {
"start": {
"line": 512,
"column": 14
},
"end": {
"line": 512,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 14528,
"end": 14535,
"loc": {
"start": {
"line": 512,
"column": 15
},
"end": {
"line": 512,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 14536,
"end": 14537,
"loc": {
"start": {
"line": 512,
"column": 23
},
"end": {
"line": 512,
"column": 24
}
}
},
{
"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": 14538,
"end": 14542,
"loc": {
"start": {
"line": 512,
"column": 25
},
"end": {
"line": 512,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14542,
"end": 14543,
"loc": {
"start": {
"line": 512,
"column": 29
},
"end": {
"line": 512,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right_origin",
"start": 14543,
"end": 14556,
"loc": {
"start": {
"line": 512,
"column": 30
},
"end": {
"line": 512,
"column": 43
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14565,
"end": 14566,
"loc": {
"start": {
"line": 513,
"column": 8
},
"end": {
"line": 513,
"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": 14567,
"end": 14571,
"loc": {
"start": {
"line": 513,
"column": 10
},
"end": {
"line": 513,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14572,
"end": 14573,
"loc": {
"start": {
"line": 513,
"column": 15
},
"end": {
"line": 513,
"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": 14584,
"end": 14588,
"loc": {
"start": {
"line": 514,
"column": 10
},
"end": {
"line": 514,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14588,
"end": 14589,
"loc": {
"start": {
"line": 514,
"column": 14
},
"end": {
"line": 514,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 14589,
"end": 14596,
"loc": {
"start": {
"line": 514,
"column": 15
},
"end": {
"line": 514,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 14597,
"end": 14598,
"loc": {
"start": {
"line": 514,
"column": 23
},
"end": {
"line": 514,
"column": 24
}
}
},
{
"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": 14599,
"end": 14603,
"loc": {
"start": {
"line": 514,
"column": 25
},
"end": {
"line": 514,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14603,
"end": 14604,
"loc": {
"start": {
"line": 514,
"column": 29
},
"end": {
"line": 514,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_right_origin",
"start": 14604,
"end": 14617,
"loc": {
"start": {
"line": 514,
"column": 30
},
"end": {
"line": 514,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14617,
"end": 14618,
"loc": {
"start": {
"line": 514,
"column": 43
},
"end": {
"line": 514,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parent",
"start": 14618,
"end": 14625,
"loc": {
"start": {
"line": 514,
"column": 44
},
"end": {
"line": 514,
"column": 51
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14634,
"end": 14635,
"loc": {
"start": {
"line": 515,
"column": 8
},
"end": {
"line": 515,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14642,
"end": 14643,
"loc": {
"start": {
"line": 516,
"column": 6
},
"end": {
"line": 516,
"column": 7
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14648,
"end": 14649,
"loc": {
"start": {
"line": 517,
"column": 4
},
"end": {
"line": 517,
"column": 5
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 14654,
"end": 14656,
"loc": {
"start": {
"line": 518,
"column": 4
},
"end": {
"line": 518,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14657,
"end": 14658,
"loc": {
"start": {
"line": 518,
"column": 7
},
"end": {
"line": 518,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "info",
"start": 14658,
"end": 14662,
"loc": {
"start": {
"line": 518,
"column": 8
},
"end": {
"line": 518,
"column": 12
}
}
},
{
"type": {
"label": "&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 5,
"updateContext": null
},
"value": "&",
"start": 14663,
"end": 14664,
"loc": {
"start": {
"line": 518,
"column": 13
},
"end": {
"line": 518,
"column": 14
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 8,
"start": 14665,
"end": 14671,
"loc": {
"start": {
"line": 518,
"column": 15
},
"end": {
"line": 518,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14671,
"end": 14672,
"loc": {
"start": {
"line": 518,
"column": 21
},
"end": {
"line": 518,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14673,
"end": 14674,
"loc": {
"start": {
"line": 518,
"column": 23
},
"end": {
"line": 518,
"column": 24
}
}
},
{
"type": "CommentLine",
"value": " TODO: maybe put this in read parent condition (you can also read parentsub from left/right)",
"start": 14681,
"end": 14775,
"loc": {
"start": {
"line": 519,
"column": 6
},
"end": {
"line": 519,
"column": 100
}
}
},
{
"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": 14782,
"end": 14786,
"loc": {
"start": {
"line": 520,
"column": 6
},
"end": {
"line": 520,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14786,
"end": 14787,
"loc": {
"start": {
"line": 520,
"column": 10
},
"end": {
"line": 520,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_parentSub",
"start": 14787,
"end": 14797,
"loc": {
"start": {
"line": 520,
"column": 11
},
"end": {
"line": 520,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 14798,
"end": 14799,
"loc": {
"start": {
"line": 520,
"column": 22
},
"end": {
"line": 520,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "JSON",
"start": 14800,
"end": 14804,
"loc": {
"start": {
"line": 520,
"column": 24
},
"end": {
"line": 520,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14804,
"end": 14805,
"loc": {
"start": {
"line": 520,
"column": 28
},
"end": {
"line": 520,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parse",
"start": 14805,
"end": 14810,
"loc": {
"start": {
"line": 520,
"column": 29
},
"end": {
"line": 520,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14810,
"end": 14811,
"loc": {
"start": {
"line": 520,
"column": 34
},
"end": {
"line": 520,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 14811,
"end": 14818,
"loc": {
"start": {
"line": 520,
"column": 35
},
"end": {
"line": 520,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14818,
"end": 14819,
"loc": {
"start": {
"line": 520,
"column": 42
},
"end": {
"line": 520,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readVarString",
"start": 14819,
"end": 14832,
"loc": {
"start": {
"line": 520,
"column": 43
},
"end": {
"line": 520,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14832,
"end": 14833,
"loc": {
"start": {
"line": 520,
"column": 56
},
"end": {
"line": 520,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14833,
"end": 14834,
"loc": {
"start": {
"line": 520,
"column": 57
},
"end": {
"line": 520,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14834,
"end": 14835,
"loc": {
"start": {
"line": 520,
"column": 58
},
"end": {
"line": 520,
"column": 59
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14840,
"end": 14841,
"loc": {
"start": {
"line": 521,
"column": 4
},
"end": {
"line": 521,
"column": 5
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 14846,
"end": 14848,
"loc": {
"start": {
"line": 522,
"column": 4
},
"end": {
"line": 522,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14849,
"end": 14850,
"loc": {
"start": {
"line": 522,
"column": 7
},
"end": {
"line": 522,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 14850,
"end": 14851,
"loc": {
"start": {
"line": 522,
"column": 8
},
"end": {
"line": 522,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14851,
"end": 14852,
"loc": {
"start": {
"line": 522,
"column": 9
},
"end": {
"line": 522,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ss",
"start": 14852,
"end": 14854,
"loc": {
"start": {
"line": 522,
"column": 10
},
"end": {
"line": 522,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14854,
"end": 14855,
"loc": {
"start": {
"line": 522,
"column": 12
},
"end": {
"line": 522,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getState",
"start": 14855,
"end": 14863,
"loc": {
"start": {
"line": 522,
"column": 13
},
"end": {
"line": 522,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14863,
"end": 14864,
"loc": {
"start": {
"line": 522,
"column": 21
},
"end": {
"line": 522,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 14864,
"end": 14866,
"loc": {
"start": {
"line": 522,
"column": 22
},
"end": {
"line": 522,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14866,
"end": 14867,
"loc": {
"start": {
"line": 522,
"column": 24
},
"end": {
"line": 522,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 14867,
"end": 14871,
"loc": {
"start": {
"line": 522,
"column": 25
},
"end": {
"line": 522,
"column": 29
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14871,
"end": 14872,
"loc": {
"start": {
"line": 522,
"column": 29
},
"end": {
"line": 522,
"column": 30
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 14873,
"end": 14874,
"loc": {
"start": {
"line": 522,
"column": 31
},
"end": {
"line": 522,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 14875,
"end": 14877,
"loc": {
"start": {
"line": 522,
"column": 33
},
"end": {
"line": 522,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14877,
"end": 14878,
"loc": {
"start": {
"line": 522,
"column": 35
},
"end": {
"line": 522,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 14878,
"end": 14883,
"loc": {
"start": {
"line": 522,
"column": 36
},
"end": {
"line": 522,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14883,
"end": 14884,
"loc": {
"start": {
"line": 522,
"column": 41
},
"end": {
"line": 522,
"column": 42
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14885,
"end": 14886,
"loc": {
"start": {
"line": 522,
"column": 43
},
"end": {
"line": 522,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "missing",
"start": 14893,
"end": 14900,
"loc": {
"start": {
"line": 523,
"column": 6
},
"end": {
"line": 523,
"column": 13
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14900,
"end": 14901,
"loc": {
"start": {
"line": 523,
"column": 13
},
"end": {
"line": 523,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 14901,
"end": 14905,
"loc": {
"start": {
"line": 523,
"column": 14
},
"end": {
"line": 523,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14905,
"end": 14906,
"loc": {
"start": {
"line": 523,
"column": 18
},
"end": {
"line": 523,
"column": 19
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 14906,
"end": 14909,
"loc": {
"start": {
"line": 523,
"column": 19
},
"end": {
"line": 523,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ID",
"start": 14910,
"end": 14912,
"loc": {
"start": {
"line": 523,
"column": 23
},
"end": {
"line": 523,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14912,
"end": 14913,
"loc": {
"start": {
"line": 523,
"column": 25
},
"end": {
"line": 523,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 14913,
"end": 14915,
"loc": {
"start": {
"line": 523,
"column": 26
},
"end": {
"line": 523,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14915,
"end": 14916,
"loc": {
"start": {
"line": 523,
"column": 28
},
"end": {
"line": 523,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "user",
"start": 14916,
"end": 14920,
"loc": {
"start": {
"line": 523,
"column": 29
},
"end": {
"line": 523,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14920,
"end": 14921,
"loc": {
"start": {
"line": 523,
"column": 33
},
"end": {
"line": 523,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 14922,
"end": 14924,
"loc": {
"start": {
"line": 523,
"column": 35
},
"end": {
"line": 523,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14924,
"end": 14925,
"loc": {
"start": {
"line": 523,
"column": 37
},
"end": {
"line": 523,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "clock",
"start": 14925,
"end": 14930,
"loc": {
"start": {
"line": 523,
"column": 38
},
"end": {
"line": 523,
"column": 43
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 14931,
"end": 14932,
"loc": {
"start": {
"line": 523,
"column": 44
},
"end": {
"line": 523,
"column": 45
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 14933,
"end": 14934,
"loc": {
"start": {
"line": 523,
"column": 46
},
"end": {
"line": 523,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14934,
"end": 14935,
"loc": {
"start": {
"line": 523,
"column": 47
},
"end": {
"line": 523,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14935,
"end": 14936,
"loc": {
"start": {
"line": 523,
"column": 48
},
"end": {
"line": 523,
"column": 49
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14941,
"end": 14942,
"loc": {
"start": {
"line": 524,
"column": 4
},
"end": {
"line": 524,
"column": 5
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 14947,
"end": 14953,
"loc": {
"start": {
"line": 525,
"column": 4
},
"end": {
"line": 525,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "missing",
"start": 14954,
"end": 14961,
"loc": {
"start": {
"line": 525,
"column": 11
},
"end": {
"line": 525,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14964,
"end": 14965,
"loc": {
"start": {
"line": 526,
"column": 2
},
"end": {
"line": 526,
"column": 3
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 14966,
"end": 14967,
"loc": {
"start": {
"line": 527,
"column": 0
},
"end": {
"line": 527,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 14968,
"end": 14968,
"loc": {
"start": {
"line": 528,
"column": 0
},
"end": {
"line": 528,
"column": 0
}
}
}
]
}