1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-11 17:21:51 +00:00
tobspr_shapez.io/docs/ast/source/savegame/serializer_internal.js.json
2021-02-26 15:20:37 +01:00

15722 lines
412 KiB
JSON

{
"type": "File",
"start": 0,
"end": 3037,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 98,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 3037,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 98,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 46,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 46
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
}
}
],
"source": {
"type": "StringLiteral",
"start": 29,
"end": 45,
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 45
}
},
"extra": {
"rawValue": "../core/config",
"raw": "\"../core/config\""
},
"value": "../core/config"
}
},
{
"type": "ImportDeclaration",
"start": 48,
"end": 95,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 47
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 57,
"end": 69,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 57,
"end": 69,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 21
},
"identifierName": "createLogger"
},
"name": "createLogger"
},
"local": {
"type": "Identifier",
"start": 57,
"end": 69,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 21
},
"identifierName": "createLogger"
},
"name": "createLogger"
}
}
],
"source": {
"type": "StringLiteral",
"start": 77,
"end": 94,
"loc": {
"start": {
"line": 2,
"column": 29
},
"end": {
"line": 2,
"column": 46
}
},
"extra": {
"rawValue": "../core/logging",
"raw": "\"../core/logging\""
},
"value": "../core/logging"
}
},
{
"type": "ImportDeclaration",
"start": 97,
"end": 137,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 40
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 106,
"end": 112,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 106,
"end": 112,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 15
},
"identifierName": "Vector"
},
"name": "Vector"
},
"local": {
"type": "Identifier",
"start": 106,
"end": 112,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 15
},
"identifierName": "Vector"
},
"name": "Vector"
}
}
],
"source": {
"type": "StringLiteral",
"start": 120,
"end": 136,
"loc": {
"start": {
"line": 3,
"column": 23
},
"end": {
"line": 3,
"column": 39
}
},
"extra": {
"rawValue": "../core/vector",
"raw": "\"../core/vector\""
},
"value": "../core/vector"
}
},
{
"type": "ImportDeclaration",
"start": 139,
"end": 204,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 65
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 148,
"end": 171,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 32
}
},
"imported": {
"type": "Identifier",
"start": 148,
"end": 171,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 32
},
"identifierName": "getBuildingDataFromCode"
},
"name": "getBuildingDataFromCode"
},
"local": {
"type": "Identifier",
"start": 148,
"end": 171,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 32
},
"identifierName": "getBuildingDataFromCode"
},
"name": "getBuildingDataFromCode"
}
}
],
"source": {
"type": "StringLiteral",
"start": 179,
"end": 203,
"loc": {
"start": {
"line": 4,
"column": 40
},
"end": {
"line": 4,
"column": 64
}
},
"extra": {
"rawValue": "../game/building_codes",
"raw": "\"../game/building_codes\""
},
"value": "../game/building_codes"
}
},
{
"type": "ImportDeclaration",
"start": 206,
"end": 246,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 40
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 215,
"end": 221,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 215,
"end": 221,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 15
},
"identifierName": "Entity"
},
"name": "Entity"
},
"local": {
"type": "Identifier",
"start": 215,
"end": 221,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 15
},
"identifierName": "Entity"
},
"name": "Entity"
}
}
],
"source": {
"type": "StringLiteral",
"start": 229,
"end": 245,
"loc": {
"start": {
"line": 5,
"column": 23
},
"end": {
"line": 5,
"column": 39
}
},
"extra": {
"rawValue": "../game/entity",
"raw": "\"../game/entity\""
},
"value": "../game/entity"
}
},
{
"type": "ImportDeclaration",
"start": 248,
"end": 288,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 40
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 257,
"end": 265,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 17
}
},
"imported": {
"type": "Identifier",
"start": 257,
"end": 265,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 17
},
"identifierName": "GameRoot"
},
"name": "GameRoot"
},
"local": {
"type": "Identifier",
"start": 257,
"end": 265,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 17
},
"identifierName": "GameRoot"
},
"name": "GameRoot"
}
}
],
"source": {
"type": "StringLiteral",
"start": 273,
"end": 287,
"loc": {
"start": {
"line": 6,
"column": 25
},
"end": {
"line": 6,
"column": 39
}
},
"extra": {
"rawValue": "../game/root",
"raw": "\"../game/root\""
},
"value": "../game/root"
}
},
{
"type": "VariableDeclaration",
"start": 292,
"end": 343,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 298,
"end": 342,
"loc": {
"start": {
"line": 8,
"column": 6
},
"end": {
"line": 8,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 298,
"end": 304,
"loc": {
"start": {
"line": 8,
"column": 6
},
"end": {
"line": 8,
"column": 12
},
"identifierName": "logger"
},
"name": "logger"
},
"init": {
"type": "CallExpression",
"start": 307,
"end": 342,
"loc": {
"start": {
"line": 8,
"column": 15
},
"end": {
"line": 8,
"column": 50
}
},
"callee": {
"type": "Identifier",
"start": 307,
"end": 319,
"loc": {
"start": {
"line": 8,
"column": 15
},
"end": {
"line": 8,
"column": 27
},
"identifierName": "createLogger"
},
"name": "createLogger"
},
"arguments": [
{
"type": "StringLiteral",
"start": 320,
"end": 341,
"loc": {
"start": {
"line": 8,
"column": 28
},
"end": {
"line": 8,
"column": 49
}
},
"extra": {
"rawValue": "serializer_internal",
"raw": "\"serializer_internal\""
},
"value": "serializer_internal"
}
]
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Internal serializer methods",
"start": 347,
"end": 377,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 30
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 379,
"end": 3035,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 97,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 386,
"end": 3035,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 97,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 392,
"end": 410,
"loc": {
"start": {
"line": 11,
"column": 13
},
"end": {
"line": 11,
"column": 31
},
"identifierName": "SerializerInternal"
},
"name": "SerializerInternal",
"leadingComments": null
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 411,
"end": 3035,
"loc": {
"start": {
"line": 11,
"column": 32
},
"end": {
"line": 97,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 513,
"end": 843,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 25,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 513,
"end": 533,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 24
},
"identifierName": "serializeEntityArray"
},
"name": "serializeEntityArray",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 534,
"end": 539,
"loc": {
"start": {
"line": 16,
"column": 25
},
"end": {
"line": 16,
"column": 30
},
"identifierName": "array"
},
"name": "array"
}
],
"body": {
"type": "BlockStatement",
"start": 541,
"end": 843,
"loc": {
"start": {
"line": 16,
"column": 32
},
"end": {
"line": 25,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 552,
"end": 574,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 30
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 558,
"end": 573,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 29
}
},
"id": {
"type": "Identifier",
"start": 558,
"end": 568,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 24
},
"identifierName": "serialized"
},
"name": "serialized"
},
"init": {
"type": "ArrayExpression",
"start": 571,
"end": 573,
"loc": {
"start": {
"line": 17,
"column": 27
},
"end": {
"line": 17,
"column": 29
}
},
"elements": []
}
}
],
"kind": "const"
},
{
"type": "ForStatement",
"start": 584,
"end": 808,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 23,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 589,
"end": 598,
"loc": {
"start": {
"line": 18,
"column": 13
},
"end": {
"line": 18,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 593,
"end": 598,
"loc": {
"start": {
"line": 18,
"column": 17
},
"end": {
"line": 18,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 593,
"end": 594,
"loc": {
"start": {
"line": 18,
"column": 17
},
"end": {
"line": 18,
"column": 18
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 597,
"end": 598,
"loc": {
"start": {
"line": 18,
"column": 21
},
"end": {
"line": 18,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 600,
"end": 616,
"loc": {
"start": {
"line": 18,
"column": 24
},
"end": {
"line": 18,
"column": 40
}
},
"left": {
"type": "Identifier",
"start": 600,
"end": 601,
"loc": {
"start": {
"line": 18,
"column": 24
},
"end": {
"line": 18,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 604,
"end": 616,
"loc": {
"start": {
"line": 18,
"column": 28
},
"end": {
"line": 18,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 604,
"end": 609,
"loc": {
"start": {
"line": 18,
"column": 28
},
"end": {
"line": 18,
"column": 33
},
"identifierName": "array"
},
"name": "array"
},
"property": {
"type": "Identifier",
"start": 610,
"end": 616,
"loc": {
"start": {
"line": 18,
"column": 34
},
"end": {
"line": 18,
"column": 40
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 618,
"end": 621,
"loc": {
"start": {
"line": 18,
"column": 42
},
"end": {
"line": 18,
"column": 45
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 620,
"end": 621,
"loc": {
"start": {
"line": 18,
"column": 44
},
"end": {
"line": 18,
"column": 45
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 623,
"end": 808,
"loc": {
"start": {
"line": 18,
"column": 47
},
"end": {
"line": 23,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 638,
"end": 662,
"loc": {
"start": {
"line": 19,
"column": 12
},
"end": {
"line": 19,
"column": 36
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 644,
"end": 661,
"loc": {
"start": {
"line": 19,
"column": 18
},
"end": {
"line": 19,
"column": 35
}
},
"id": {
"type": "Identifier",
"start": 644,
"end": 650,
"loc": {
"start": {
"line": 19,
"column": 18
},
"end": {
"line": 19,
"column": 24
},
"identifierName": "entity"
},
"name": "entity"
},
"init": {
"type": "MemberExpression",
"start": 653,
"end": 661,
"loc": {
"start": {
"line": 19,
"column": 27
},
"end": {
"line": 19,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 653,
"end": 658,
"loc": {
"start": {
"line": 19,
"column": 27
},
"end": {
"line": 19,
"column": 32
},
"identifierName": "array"
},
"name": "array"
},
"property": {
"type": "Identifier",
"start": 659,
"end": 660,
"loc": {
"start": {
"line": 19,
"column": 33
},
"end": {
"line": 19,
"column": 34
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 676,
"end": 797,
"loc": {
"start": {
"line": 20,
"column": 12
},
"end": {
"line": 22,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 680,
"end": 725,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 61
}
},
"left": {
"type": "UnaryExpression",
"start": 680,
"end": 704,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 40
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 681,
"end": 704,
"loc": {
"start": {
"line": 20,
"column": 17
},
"end": {
"line": 20,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 681,
"end": 687,
"loc": {
"start": {
"line": 20,
"column": 17
},
"end": {
"line": 20,
"column": 23
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 688,
"end": 704,
"loc": {
"start": {
"line": 20,
"column": 24
},
"end": {
"line": 20,
"column": 40
},
"identifierName": "queuedForDestroy"
},
"name": "queuedForDestroy"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "&&",
"right": {
"type": "UnaryExpression",
"start": 708,
"end": 725,
"loc": {
"start": {
"line": 20,
"column": 44
},
"end": {
"line": 20,
"column": 61
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 709,
"end": 725,
"loc": {
"start": {
"line": 20,
"column": 45
},
"end": {
"line": 20,
"column": 61
}
},
"object": {
"type": "Identifier",
"start": 709,
"end": 715,
"loc": {
"start": {
"line": 20,
"column": 45
},
"end": {
"line": 20,
"column": 51
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 716,
"end": 725,
"loc": {
"start": {
"line": 20,
"column": 52
},
"end": {
"line": 20,
"column": 61
},
"identifierName": "destroyed"
},
"name": "destroyed"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 727,
"end": 797,
"loc": {
"start": {
"line": 20,
"column": 63
},
"end": {
"line": 22,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 746,
"end": 782,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 52
}
},
"expression": {
"type": "CallExpression",
"start": 746,
"end": 781,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 51
}
},
"callee": {
"type": "MemberExpression",
"start": 746,
"end": 761,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 746,
"end": 756,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 26
},
"identifierName": "serialized"
},
"name": "serialized"
},
"property": {
"type": "Identifier",
"start": 757,
"end": 761,
"loc": {
"start": {
"line": 21,
"column": 27
},
"end": {
"line": 21,
"column": 31
},
"identifierName": "push"
},
"name": "push"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 762,
"end": 780,
"loc": {
"start": {
"line": 21,
"column": 32
},
"end": {
"line": 21,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 762,
"end": 778,
"loc": {
"start": {
"line": 21,
"column": 32
},
"end": {
"line": 21,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 762,
"end": 768,
"loc": {
"start": {
"line": 21,
"column": 32
},
"end": {
"line": 21,
"column": 38
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 769,
"end": 778,
"loc": {
"start": {
"line": 21,
"column": 39
},
"end": {
"line": 21,
"column": 48
},
"identifierName": "serialize"
},
"name": "serialize"
},
"computed": false
},
"arguments": []
}
]
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
},
{
"type": "ReturnStatement",
"start": 818,
"end": 836,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 26
}
},
"argument": {
"type": "Identifier",
"start": 825,
"end": 835,
"loc": {
"start": {
"line": 24,
"column": 15
},
"end": {
"line": 24,
"column": 25
},
"identifierName": "serialized"
},
"name": "serialized"
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Serializes an array of entities\r\n * @param {Array<Entity>} array\r\n ",
"start": 418,
"end": 507,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 15,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {GameRoot} root\r\n * @param {Array<Entity>} array\r\n * @returns {string|void}\r\n ",
"start": 851,
"end": 970,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 32,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 976,
"end": 1134,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 37,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 976,
"end": 998,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 26
},
"identifierName": "deserializeEntityArray"
},
"name": "deserializeEntityArray",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 999,
"end": 1003,
"loc": {
"start": {
"line": 33,
"column": 27
},
"end": {
"line": 33,
"column": 31
},
"identifierName": "root"
},
"name": "root"
},
{
"type": "Identifier",
"start": 1005,
"end": 1010,
"loc": {
"start": {
"line": 33,
"column": 33
},
"end": {
"line": 33,
"column": 38
},
"identifierName": "array"
},
"name": "array"
}
],
"body": {
"type": "BlockStatement",
"start": 1012,
"end": 1134,
"loc": {
"start": {
"line": 33,
"column": 40
},
"end": {
"line": 37,
"column": 5
}
},
"body": [
{
"type": "ForStatement",
"start": 1023,
"end": 1127,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 36,
"column": 9
}
},
"init": {
"type": "VariableDeclaration",
"start": 1028,
"end": 1037,
"loc": {
"start": {
"line": 34,
"column": 13
},
"end": {
"line": 34,
"column": 22
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1032,
"end": 1037,
"loc": {
"start": {
"line": 34,
"column": 17
},
"end": {
"line": 34,
"column": 22
}
},
"id": {
"type": "Identifier",
"start": 1032,
"end": 1033,
"loc": {
"start": {
"line": 34,
"column": 17
},
"end": {
"line": 34,
"column": 18
},
"identifierName": "i"
},
"name": "i"
},
"init": {
"type": "NumericLiteral",
"start": 1036,
"end": 1037,
"loc": {
"start": {
"line": 34,
"column": 21
},
"end": {
"line": 34,
"column": 22
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
],
"kind": "let"
},
"test": {
"type": "BinaryExpression",
"start": 1039,
"end": 1055,
"loc": {
"start": {
"line": 34,
"column": 24
},
"end": {
"line": 34,
"column": 40
}
},
"left": {
"type": "Identifier",
"start": 1039,
"end": 1040,
"loc": {
"start": {
"line": 34,
"column": 24
},
"end": {
"line": 34,
"column": 25
},
"identifierName": "i"
},
"name": "i"
},
"operator": "<",
"right": {
"type": "MemberExpression",
"start": 1043,
"end": 1055,
"loc": {
"start": {
"line": 34,
"column": 28
},
"end": {
"line": 34,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 1043,
"end": 1048,
"loc": {
"start": {
"line": 34,
"column": 28
},
"end": {
"line": 34,
"column": 33
},
"identifierName": "array"
},
"name": "array"
},
"property": {
"type": "Identifier",
"start": 1049,
"end": 1055,
"loc": {
"start": {
"line": 34,
"column": 34
},
"end": {
"line": 34,
"column": 40
},
"identifierName": "length"
},
"name": "length"
},
"computed": false
}
},
"update": {
"type": "UpdateExpression",
"start": 1057,
"end": 1060,
"loc": {
"start": {
"line": 34,
"column": 42
},
"end": {
"line": 34,
"column": 45
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1059,
"end": 1060,
"loc": {
"start": {
"line": 34,
"column": 44
},
"end": {
"line": 34,
"column": 45
},
"identifierName": "i"
},
"name": "i"
},
"extra": {
"parenthesizedArgument": false
}
},
"body": {
"type": "BlockStatement",
"start": 1062,
"end": 1127,
"loc": {
"start": {
"line": 34,
"column": 47
},
"end": {
"line": 36,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1077,
"end": 1116,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 51
}
},
"expression": {
"type": "CallExpression",
"start": 1077,
"end": 1115,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 1077,
"end": 1099,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 1077,
"end": 1081,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1082,
"end": 1099,
"loc": {
"start": {
"line": 35,
"column": 17
},
"end": {
"line": 35,
"column": 34
},
"identifierName": "deserializeEntity"
},
"name": "deserializeEntity"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1100,
"end": 1104,
"loc": {
"start": {
"line": 35,
"column": 35
},
"end": {
"line": 35,
"column": 39
},
"identifierName": "root"
},
"name": "root"
},
{
"type": "MemberExpression",
"start": 1106,
"end": 1114,
"loc": {
"start": {
"line": 35,
"column": 41
},
"end": {
"line": 35,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 1106,
"end": 1111,
"loc": {
"start": {
"line": 35,
"column": 41
},
"end": {
"line": 35,
"column": 46
},
"identifierName": "array"
},
"name": "array"
},
"property": {
"type": "Identifier",
"start": 1112,
"end": 1113,
"loc": {
"start": {
"line": 35,
"column": 47
},
"end": {
"line": 35,
"column": 48
},
"identifierName": "i"
},
"name": "i"
},
"computed": true
}
]
}
}
],
"directives": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {GameRoot} root\r\n * @param {Array<Entity>} array\r\n * @returns {string|void}\r\n ",
"start": 851,
"end": 970,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 32,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {GameRoot} root\r\n * @param {Entity} payload\r\n ",
"start": 1142,
"end": 1225,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 43,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 1231,
"end": 2104,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 68,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1231,
"end": 1248,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 21
},
"identifierName": "deserializeEntity"
},
"name": "deserializeEntity",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1249,
"end": 1253,
"loc": {
"start": {
"line": 44,
"column": 22
},
"end": {
"line": 44,
"column": 26
},
"identifierName": "root"
},
"name": "root"
},
{
"type": "Identifier",
"start": 1255,
"end": 1262,
"loc": {
"start": {
"line": 44,
"column": 28
},
"end": {
"line": 44,
"column": 35
},
"identifierName": "payload"
},
"name": "payload"
}
],
"body": {
"type": "BlockStatement",
"start": 1264,
"end": 2104,
"loc": {
"start": {
"line": 44,
"column": 37
},
"end": {
"line": 68,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1275,
"end": 1329,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 62
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1281,
"end": 1328,
"loc": {
"start": {
"line": 45,
"column": 14
},
"end": {
"line": 45,
"column": 61
}
},
"id": {
"type": "Identifier",
"start": 1281,
"end": 1291,
"loc": {
"start": {
"line": 45,
"column": 14
},
"end": {
"line": 45,
"column": 24
},
"identifierName": "staticData"
},
"name": "staticData"
},
"init": {
"type": "MemberExpression",
"start": 1294,
"end": 1328,
"loc": {
"start": {
"line": 45,
"column": 27
},
"end": {
"line": 45,
"column": 61
}
},
"object": {
"type": "MemberExpression",
"start": 1294,
"end": 1312,
"loc": {
"start": {
"line": 45,
"column": 27
},
"end": {
"line": 45,
"column": 45
}
},
"object": {
"type": "Identifier",
"start": 1294,
"end": 1301,
"loc": {
"start": {
"line": 45,
"column": 27
},
"end": {
"line": 45,
"column": 34
},
"identifierName": "payload"
},
"name": "payload"
},
"property": {
"type": "Identifier",
"start": 1302,
"end": 1312,
"loc": {
"start": {
"line": 45,
"column": 35
},
"end": {
"line": 45,
"column": 45
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1313,
"end": 1328,
"loc": {
"start": {
"line": 45,
"column": 46
},
"end": {
"line": 45,
"column": 61
},
"identifierName": "StaticMapEntity"
},
"name": "StaticMapEntity"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1339,
"end": 1387,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 1339,
"end": 1386,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 55
}
},
"callee": {
"type": "Identifier",
"start": 1339,
"end": 1345,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 14
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "Identifier",
"start": 1346,
"end": 1356,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 46,
"column": 25
},
"identifierName": "staticData"
},
"name": "staticData"
},
{
"type": "StringLiteral",
"start": 1358,
"end": 1385,
"loc": {
"start": {
"line": 46,
"column": 27
},
"end": {
"line": 46,
"column": 54
}
},
"extra": {
"rawValue": "entity has no static data",
"raw": "\"entity has no static data\""
},
"value": "entity has no static data"
}
]
}
},
{
"type": "VariableDeclaration",
"start": 1399,
"end": 1428,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 37
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1405,
"end": 1427,
"loc": {
"start": {
"line": 48,
"column": 14
},
"end": {
"line": 48,
"column": 36
}
},
"id": {
"type": "Identifier",
"start": 1405,
"end": 1409,
"loc": {
"start": {
"line": 48,
"column": 14
},
"end": {
"line": 48,
"column": 18
},
"identifierName": "code"
},
"name": "code"
},
"init": {
"type": "MemberExpression",
"start": 1412,
"end": 1427,
"loc": {
"start": {
"line": 48,
"column": 21
},
"end": {
"line": 48,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 1412,
"end": 1422,
"loc": {
"start": {
"line": 48,
"column": 21
},
"end": {
"line": 48,
"column": 31
},
"identifierName": "staticData"
},
"name": "staticData"
},
"property": {
"type": "Identifier",
"start": 1423,
"end": 1427,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 36
},
"identifierName": "code"
},
"name": "code"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1438,
"end": 1481,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1444,
"end": 1480,
"loc": {
"start": {
"line": 49,
"column": 14
},
"end": {
"line": 49,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 1444,
"end": 1448,
"loc": {
"start": {
"line": 49,
"column": 14
},
"end": {
"line": 49,
"column": 18
},
"identifierName": "data"
},
"name": "data"
},
"init": {
"type": "CallExpression",
"start": 1451,
"end": 1480,
"loc": {
"start": {
"line": 49,
"column": 21
},
"end": {
"line": 49,
"column": 50
}
},
"callee": {
"type": "Identifier",
"start": 1451,
"end": 1474,
"loc": {
"start": {
"line": 49,
"column": 21
},
"end": {
"line": 49,
"column": 44
},
"identifierName": "getBuildingDataFromCode"
},
"name": "getBuildingDataFromCode"
},
"arguments": [
{
"type": "Identifier",
"start": 1475,
"end": 1479,
"loc": {
"start": {
"line": 49,
"column": 45
},
"end": {
"line": 49,
"column": 49
},
"identifierName": "code"
},
"name": "code"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1493,
"end": 1532,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 47
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1499,
"end": 1531,
"loc": {
"start": {
"line": 51,
"column": 14
},
"end": {
"line": 51,
"column": 46
}
},
"id": {
"type": "Identifier",
"start": 1499,
"end": 1511,
"loc": {
"start": {
"line": 51,
"column": 14
},
"end": {
"line": 51,
"column": 26
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
},
"init": {
"type": "MemberExpression",
"start": 1514,
"end": 1531,
"loc": {
"start": {
"line": 51,
"column": 29
},
"end": {
"line": 51,
"column": 46
}
},
"object": {
"type": "Identifier",
"start": 1514,
"end": 1518,
"loc": {
"start": {
"line": 51,
"column": 29
},
"end": {
"line": 51,
"column": 33
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 1519,
"end": 1531,
"loc": {
"start": {
"line": 51,
"column": 34
},
"end": {
"line": 51,
"column": 46
},
"identifierName": "metaInstance"
},
"name": "metaInstance"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1544,
"end": 1879,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 60,
"column": 11
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1550,
"end": 1878,
"loc": {
"start": {
"line": 53,
"column": 14
},
"end": {
"line": 60,
"column": 10
}
},
"id": {
"type": "Identifier",
"start": 1550,
"end": 1556,
"loc": {
"start": {
"line": 53,
"column": 14
},
"end": {
"line": 53,
"column": 20
},
"identifierName": "entity"
},
"name": "entity"
},
"init": {
"type": "CallExpression",
"start": 1559,
"end": 1878,
"loc": {
"start": {
"line": 53,
"column": 23
},
"end": {
"line": 60,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1559,
"end": 1584,
"loc": {
"start": {
"line": 53,
"column": 23
},
"end": {
"line": 53,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 1559,
"end": 1571,
"loc": {
"start": {
"line": 53,
"column": 23
},
"end": {
"line": 53,
"column": 35
},
"identifierName": "metaBuilding"
},
"name": "metaBuilding"
},
"property": {
"type": "Identifier",
"start": 1572,
"end": 1584,
"loc": {
"start": {
"line": 53,
"column": 36
},
"end": {
"line": 53,
"column": 48
},
"identifierName": "createEntity"
},
"name": "createEntity"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 1585,
"end": 1877,
"loc": {
"start": {
"line": 53,
"column": 49
},
"end": {
"line": 60,
"column": 9
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 1600,
"end": 1604,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 16
}
},
"method": false,
"shorthand": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 1600,
"end": 1604,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 16
},
"identifierName": "root"
},
"name": "root"
},
"value": {
"type": "Identifier",
"start": 1600,
"end": 1604,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 16
},
"identifierName": "root"
},
"name": "root"
},
"extra": {
"shorthand": true
}
},
{
"type": "ObjectProperty",
"start": 1619,
"end": 1673,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 66
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1619,
"end": 1625,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 18
},
"identifierName": "origin"
},
"name": "origin"
},
"value": {
"type": "CallExpression",
"start": 1627,
"end": 1673,
"loc": {
"start": {
"line": 55,
"column": 20
},
"end": {
"line": 55,
"column": 66
}
},
"callee": {
"type": "MemberExpression",
"start": 1627,
"end": 1654,
"loc": {
"start": {
"line": 55,
"column": 20
},
"end": {
"line": 55,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 1627,
"end": 1633,
"loc": {
"start": {
"line": 55,
"column": 20
},
"end": {
"line": 55,
"column": 26
},
"identifierName": "Vector"
},
"name": "Vector"
},
"property": {
"type": "Identifier",
"start": 1634,
"end": 1654,
"loc": {
"start": {
"line": 55,
"column": 27
},
"end": {
"line": 55,
"column": 47
},
"identifierName": "fromSerializedObject"
},
"name": "fromSerializedObject"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1655,
"end": 1672,
"loc": {
"start": {
"line": 55,
"column": 48
},
"end": {
"line": 55,
"column": 65
}
},
"object": {
"type": "Identifier",
"start": 1655,
"end": 1665,
"loc": {
"start": {
"line": 55,
"column": 48
},
"end": {
"line": 55,
"column": 58
},
"identifierName": "staticData"
},
"name": "staticData"
},
"property": {
"type": "Identifier",
"start": 1666,
"end": 1672,
"loc": {
"start": {
"line": 55,
"column": 59
},
"end": {
"line": 55,
"column": 65
},
"identifierName": "origin"
},
"name": "origin"
},
"computed": false
}
]
}
},
{
"type": "ObjectProperty",
"start": 1688,
"end": 1717,
"loc": {
"start": {
"line": 56,
"column": 12
},
"end": {
"line": 56,
"column": 41
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1688,
"end": 1696,
"loc": {
"start": {
"line": 56,
"column": 12
},
"end": {
"line": 56,
"column": 20
},
"identifierName": "rotation"
},
"name": "rotation"
},
"value": {
"type": "MemberExpression",
"start": 1698,
"end": 1717,
"loc": {
"start": {
"line": 56,
"column": 22
},
"end": {
"line": 56,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 1698,
"end": 1708,
"loc": {
"start": {
"line": 56,
"column": 22
},
"end": {
"line": 56,
"column": 32
},
"identifierName": "staticData"
},
"name": "staticData"
},
"property": {
"type": "Identifier",
"start": 1709,
"end": 1717,
"loc": {
"start": {
"line": 56,
"column": 33
},
"end": {
"line": 56,
"column": 41
},
"identifierName": "rotation"
},
"name": "rotation"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 1732,
"end": 1777,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 57
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1732,
"end": 1748,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 28
},
"identifierName": "originalRotation"
},
"name": "originalRotation"
},
"value": {
"type": "MemberExpression",
"start": 1750,
"end": 1777,
"loc": {
"start": {
"line": 57,
"column": 30
},
"end": {
"line": 57,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 1750,
"end": 1760,
"loc": {
"start": {
"line": 57,
"column": 30
},
"end": {
"line": 57,
"column": 40
},
"identifierName": "staticData"
},
"name": "staticData"
},
"property": {
"type": "Identifier",
"start": 1761,
"end": 1777,
"loc": {
"start": {
"line": 57,
"column": 41
},
"end": {
"line": 57,
"column": 57
},
"identifierName": "originalRotation"
},
"name": "originalRotation"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 1792,
"end": 1829,
"loc": {
"start": {
"line": 58,
"column": 12
},
"end": {
"line": 58,
"column": 49
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1792,
"end": 1807,
"loc": {
"start": {
"line": 58,
"column": 12
},
"end": {
"line": 58,
"column": 27
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
},
"value": {
"type": "MemberExpression",
"start": 1809,
"end": 1829,
"loc": {
"start": {
"line": 58,
"column": 29
},
"end": {
"line": 58,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 1809,
"end": 1813,
"loc": {
"start": {
"line": 58,
"column": 29
},
"end": {
"line": 58,
"column": 33
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 1814,
"end": 1829,
"loc": {
"start": {
"line": 58,
"column": 34
},
"end": {
"line": 58,
"column": 49
},
"identifierName": "rotationVariant"
},
"name": "rotationVariant"
},
"computed": false
}
},
{
"type": "ObjectProperty",
"start": 1844,
"end": 1865,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 33
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1844,
"end": 1851,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 19
},
"identifierName": "variant"
},
"name": "variant"
},
"value": {
"type": "MemberExpression",
"start": 1853,
"end": 1865,
"loc": {
"start": {
"line": 59,
"column": 21
},
"end": {
"line": 59,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 1853,
"end": 1857,
"loc": {
"start": {
"line": 59,
"column": 21
},
"end": {
"line": 59,
"column": 25
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 1858,
"end": 1865,
"loc": {
"start": {
"line": 59,
"column": 26
},
"end": {
"line": 59,
"column": 33
},
"identifierName": "variant"
},
"name": "variant"
},
"computed": false
}
}
]
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1891,
"end": 1916,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 62,
"column": 33
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1891,
"end": 1915,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 62,
"column": 32
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1891,
"end": 1901,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 62,
"column": 18
}
},
"object": {
"type": "Identifier",
"start": 1891,
"end": 1897,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 62,
"column": 14
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1898,
"end": 1901,
"loc": {
"start": {
"line": 62,
"column": 15
},
"end": {
"line": 62,
"column": 18
},
"identifierName": "uid"
},
"name": "uid"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 1904,
"end": 1915,
"loc": {
"start": {
"line": 62,
"column": 21
},
"end": {
"line": 62,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1904,
"end": 1911,
"loc": {
"start": {
"line": 62,
"column": 21
},
"end": {
"line": 62,
"column": 28
},
"identifierName": "payload"
},
"name": "payload"
},
"property": {
"type": "Identifier",
"start": 1912,
"end": 1915,
"loc": {
"start": {
"line": 62,
"column": 29
},
"end": {
"line": 62,
"column": 32
},
"identifierName": "uid"
},
"name": "uid"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 1928,
"end": 1989,
"loc": {
"start": {
"line": 64,
"column": 8
},
"end": {
"line": 64,
"column": 69
}
},
"expression": {
"type": "CallExpression",
"start": 1928,
"end": 1988,
"loc": {
"start": {
"line": 64,
"column": 8
},
"end": {
"line": 64,
"column": 68
}
},
"callee": {
"type": "MemberExpression",
"start": 1928,
"end": 1954,
"loc": {
"start": {
"line": 64,
"column": 8
},
"end": {
"line": 64,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 1928,
"end": 1932,
"loc": {
"start": {
"line": 64,
"column": 8
},
"end": {
"line": 64,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1933,
"end": 1954,
"loc": {
"start": {
"line": 64,
"column": 13
},
"end": {
"line": 64,
"column": 34
},
"identifierName": "deserializeComponents"
},
"name": "deserializeComponents"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1955,
"end": 1959,
"loc": {
"start": {
"line": 64,
"column": 35
},
"end": {
"line": 64,
"column": 39
},
"identifierName": "root"
},
"name": "root"
},
{
"type": "Identifier",
"start": 1961,
"end": 1967,
"loc": {
"start": {
"line": 64,
"column": 41
},
"end": {
"line": 64,
"column": 47
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "MemberExpression",
"start": 1969,
"end": 1987,
"loc": {
"start": {
"line": 64,
"column": 49
},
"end": {
"line": 64,
"column": 67
}
},
"object": {
"type": "Identifier",
"start": 1969,
"end": 1976,
"loc": {
"start": {
"line": 64,
"column": 49
},
"end": {
"line": 64,
"column": 56
},
"identifierName": "payload"
},
"name": "payload"
},
"property": {
"type": "Identifier",
"start": 1977,
"end": 1987,
"loc": {
"start": {
"line": 64,
"column": 57
},
"end": {
"line": 64,
"column": 67
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2001,
"end": 2052,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 2001,
"end": 2051,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 2001,
"end": 2030,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 2001,
"end": 2015,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 22
}
},
"object": {
"type": "Identifier",
"start": 2001,
"end": 2005,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 12
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 2006,
"end": 2015,
"loc": {
"start": {
"line": 66,
"column": 13
},
"end": {
"line": 66,
"column": 22
},
"identifierName": "entityMgr"
},
"name": "entityMgr"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2016,
"end": 2030,
"loc": {
"start": {
"line": 66,
"column": 23
},
"end": {
"line": 66,
"column": 37
},
"identifierName": "registerEntity"
},
"name": "registerEntity"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2031,
"end": 2037,
"loc": {
"start": {
"line": 66,
"column": 38
},
"end": {
"line": 66,
"column": 44
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "MemberExpression",
"start": 2039,
"end": 2050,
"loc": {
"start": {
"line": 66,
"column": 46
},
"end": {
"line": 66,
"column": 57
}
},
"object": {
"type": "Identifier",
"start": 2039,
"end": 2046,
"loc": {
"start": {
"line": 66,
"column": 46
},
"end": {
"line": 66,
"column": 53
},
"identifierName": "payload"
},
"name": "payload"
},
"property": {
"type": "Identifier",
"start": 2047,
"end": 2050,
"loc": {
"start": {
"line": 66,
"column": 54
},
"end": {
"line": 66,
"column": 57
},
"identifierName": "uid"
},
"name": "uid"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2062,
"end": 2097,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 43
}
},
"expression": {
"type": "CallExpression",
"start": 2062,
"end": 2096,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 42
}
},
"callee": {
"type": "MemberExpression",
"start": 2062,
"end": 2088,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 2062,
"end": 2070,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 16
}
},
"object": {
"type": "Identifier",
"start": 2062,
"end": 2066,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 12
},
"identifierName": "root"
},
"name": "root"
},
"property": {
"type": "Identifier",
"start": 2067,
"end": 2070,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 16
},
"identifierName": "map"
},
"name": "map"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2071,
"end": 2088,
"loc": {
"start": {
"line": 67,
"column": 17
},
"end": {
"line": 67,
"column": 34
},
"identifierName": "placeStaticEntity"
},
"name": "placeStaticEntity"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2089,
"end": 2095,
"loc": {
"start": {
"line": 67,
"column": 35
},
"end": {
"line": 67,
"column": 41
},
"identifierName": "entity"
},
"name": "entity"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {GameRoot} root\r\n * @param {Entity} payload\r\n ",
"start": 1142,
"end": 1225,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 43,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": "///// COMPONENTS ////",
"start": 2112,
"end": 2135,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 70,
"column": 27
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Deserializes components of an entity\r\n * @param {GameRoot} root\r\n * @param {Entity} entity\r\n * @param {Object.<string, any>} data\r\n * @returns {string|void}\r\n ",
"start": 2143,
"end": 2336,
"loc": {
"start": {
"line": 72,
"column": 4
},
"end": {
"line": 78,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 2342,
"end": 3032,
"loc": {
"start": {
"line": 79,
"column": 4
},
"end": {
"line": 96,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2342,
"end": 2363,
"loc": {
"start": {
"line": 79,
"column": 4
},
"end": {
"line": 79,
"column": 25
},
"identifierName": "deserializeComponents"
},
"name": "deserializeComponents",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2364,
"end": 2368,
"loc": {
"start": {
"line": 79,
"column": 26
},
"end": {
"line": 79,
"column": 30
},
"identifierName": "root"
},
"name": "root"
},
{
"type": "Identifier",
"start": 2370,
"end": 2376,
"loc": {
"start": {
"line": 79,
"column": 32
},
"end": {
"line": 79,
"column": 38
},
"identifierName": "entity"
},
"name": "entity"
},
{
"type": "Identifier",
"start": 2378,
"end": 2382,
"loc": {
"start": {
"line": 79,
"column": 40
},
"end": {
"line": 79,
"column": 44
},
"identifierName": "data"
},
"name": "data"
}
],
"body": {
"type": "BlockStatement",
"start": 2384,
"end": 3032,
"loc": {
"start": {
"line": 79,
"column": 46
},
"end": {
"line": 96,
"column": 5
}
},
"body": [
{
"type": "ForInStatement",
"start": 2395,
"end": 3025,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 95,
"column": 9
}
},
"left": {
"type": "VariableDeclaration",
"start": 2400,
"end": 2417,
"loc": {
"start": {
"line": 80,
"column": 13
},
"end": {
"line": 80,
"column": 30
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2406,
"end": 2417,
"loc": {
"start": {
"line": 80,
"column": 19
},
"end": {
"line": 80,
"column": 30
}
},
"id": {
"type": "Identifier",
"start": 2406,
"end": 2417,
"loc": {
"start": {
"line": 80,
"column": 19
},
"end": {
"line": 80,
"column": 30
},
"identifierName": "componentId"
},
"name": "componentId"
},
"init": null
}
],
"kind": "const"
},
"right": {
"type": "Identifier",
"start": 2421,
"end": 2425,
"loc": {
"start": {
"line": 80,
"column": 34
},
"end": {
"line": 80,
"column": 38
},
"identifierName": "data"
},
"name": "data"
},
"body": {
"type": "BlockStatement",
"start": 2427,
"end": 3025,
"loc": {
"start": {
"line": 80,
"column": 40
},
"end": {
"line": 95,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 2442,
"end": 2826,
"loc": {
"start": {
"line": 81,
"column": 12
},
"end": {
"line": 89,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 2446,
"end": 2477,
"loc": {
"start": {
"line": 81,
"column": 16
},
"end": {
"line": 81,
"column": 47
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 2447,
"end": 2477,
"loc": {
"start": {
"line": 81,
"column": 17
},
"end": {
"line": 81,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 2447,
"end": 2464,
"loc": {
"start": {
"line": 81,
"column": 17
},
"end": {
"line": 81,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 2447,
"end": 2453,
"loc": {
"start": {
"line": 81,
"column": 17
},
"end": {
"line": 81,
"column": 23
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2454,
"end": 2464,
"loc": {
"start": {
"line": 81,
"column": 24
},
"end": {
"line": 81,
"column": 34
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2465,
"end": 2476,
"loc": {
"start": {
"line": 81,
"column": 35
},
"end": {
"line": 81,
"column": 46
},
"identifierName": "componentId"
},
"name": "componentId"
},
"computed": true
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2479,
"end": 2826,
"loc": {
"start": {
"line": 81,
"column": 49
},
"end": {
"line": 89,
"column": 13
}
},
"body": [
{
"type": "IfStatement",
"start": 2498,
"end": 2784,
"loc": {
"start": {
"line": 82,
"column": 16
},
"end": {
"line": 87,
"column": 17
}
},
"test": {
"type": "LogicalExpression",
"start": 2502,
"end": 2552,
"loc": {
"start": {
"line": 82,
"column": 20
},
"end": {
"line": 82,
"column": 70
}
},
"left": {
"type": "Identifier",
"start": 2502,
"end": 2510,
"loc": {
"start": {
"line": 82,
"column": 20
},
"end": {
"line": 82,
"column": 28
},
"identifierName": "G_IS_DEV"
},
"name": "G_IS_DEV"
},
"operator": "&&",
"right": {
"type": "UnaryExpression",
"start": 2514,
"end": 2552,
"loc": {
"start": {
"line": 82,
"column": 32
},
"end": {
"line": 82,
"column": 70
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 2515,
"end": 2552,
"loc": {
"start": {
"line": 82,
"column": 33
},
"end": {
"line": 82,
"column": 70
}
},
"object": {
"type": "MemberExpression",
"start": 2515,
"end": 2533,
"loc": {
"start": {
"line": 82,
"column": 33
},
"end": {
"line": 82,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 2515,
"end": 2527,
"loc": {
"start": {
"line": 82,
"column": 33
},
"end": {
"line": 82,
"column": 45
},
"identifierName": "globalConfig"
},
"name": "globalConfig"
},
"property": {
"type": "Identifier",
"start": 2528,
"end": 2533,
"loc": {
"start": {
"line": 82,
"column": 46
},
"end": {
"line": 82,
"column": 51
},
"identifierName": "debug"
},
"name": "debug"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2534,
"end": 2552,
"loc": {
"start": {
"line": 82,
"column": 52
},
"end": {
"line": 82,
"column": 70
},
"identifierName": "disableSlowAsserts"
},
"name": "disableSlowAsserts"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 2554,
"end": 2784,
"loc": {
"start": {
"line": 82,
"column": 72
},
"end": {
"line": 87,
"column": 17
}
},
"body": [
{
"type": "IfStatement",
"start": 2612,
"end": 2765,
"loc": {
"start": {
"line": 84,
"column": 20
},
"end": {
"line": 86,
"column": 21
}
},
"test": {
"type": "BinaryExpression",
"start": 2616,
"end": 2653,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 61
}
},
"left": {
"type": "UpdateExpression",
"start": 2616,
"end": 2647,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 55
}
},
"operator": "++",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 2618,
"end": 2647,
"loc": {
"start": {
"line": 84,
"column": 26
},
"end": {
"line": 84,
"column": 55
}
},
"object": {
"type": "Identifier",
"start": 2618,
"end": 2624,
"loc": {
"start": {
"line": 84,
"column": 26
},
"end": {
"line": 84,
"column": 32
},
"identifierName": "window"
},
"name": "window",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 2625,
"end": 2647,
"loc": {
"start": {
"line": 84,
"column": 33
},
"end": {
"line": 84,
"column": 55
},
"identifierName": "componentWarningsShown"
},
"name": "componentWarningsShown"
},
"computed": false,
"leadingComments": null
},
"extra": {
"parenthesizedArgument": false
},
"leadingComments": null
},
"operator": "<",
"right": {
"type": "NumericLiteral",
"start": 2650,
"end": 2653,
"loc": {
"start": {
"line": 84,
"column": 58
},
"end": {
"line": 84,
"column": 61
}
},
"extra": {
"rawValue": 100,
"raw": "100"
},
"value": 100
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 2655,
"end": 2765,
"loc": {
"start": {
"line": 84,
"column": 63
},
"end": {
"line": 86,
"column": 21
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2682,
"end": 2742,
"loc": {
"start": {
"line": 85,
"column": 24
},
"end": {
"line": 85,
"column": 84
}
},
"expression": {
"type": "CallExpression",
"start": 2682,
"end": 2741,
"loc": {
"start": {
"line": 85,
"column": 24
},
"end": {
"line": 85,
"column": 83
}
},
"callee": {
"type": "MemberExpression",
"start": 2682,
"end": 2693,
"loc": {
"start": {
"line": 85,
"column": 24
},
"end": {
"line": 85,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 2682,
"end": 2688,
"loc": {
"start": {
"line": 85,
"column": 24
},
"end": {
"line": 85,
"column": 30
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 2689,
"end": 2693,
"loc": {
"start": {
"line": 85,
"column": 31
},
"end": {
"line": 85,
"column": 35
},
"identifierName": "warn"
},
"name": "warn"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2694,
"end": 2727,
"loc": {
"start": {
"line": 85,
"column": 36
},
"end": {
"line": 85,
"column": 69
}
},
"extra": {
"rawValue": "Entity no longer has component:",
"raw": "\"Entity no longer has component:\""
},
"value": "Entity no longer has component:"
},
{
"type": "Identifier",
"start": 2729,
"end": 2740,
"loc": {
"start": {
"line": 85,
"column": 71
},
"end": {
"line": 85,
"column": 82
},
"identifierName": "componentId"
},
"name": "componentId"
}
]
}
}
],
"directives": []
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " @ts-ignore",
"start": 2577,
"end": 2590,
"loc": {
"start": {
"line": 83,
"column": 20
},
"end": {
"line": 83,
"column": 33
}
}
}
]
}
],
"directives": []
},
"alternate": null
},
{
"type": "ContinueStatement",
"start": 2802,
"end": 2811,
"loc": {
"start": {
"line": 88,
"column": 16
},
"end": {
"line": 88,
"column": 25
}
},
"label": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 2842,
"end": 2930,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 100
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2848,
"end": 2929,
"loc": {
"start": {
"line": 91,
"column": 18
},
"end": {
"line": 91,
"column": 99
}
},
"id": {
"type": "Identifier",
"start": 2848,
"end": 2859,
"loc": {
"start": {
"line": 91,
"column": 18
},
"end": {
"line": 91,
"column": 29
},
"identifierName": "errorStatus"
},
"name": "errorStatus"
},
"init": {
"type": "CallExpression",
"start": 2862,
"end": 2929,
"loc": {
"start": {
"line": 91,
"column": 32
},
"end": {
"line": 91,
"column": 99
}
},
"callee": {
"type": "MemberExpression",
"start": 2862,
"end": 2904,
"loc": {
"start": {
"line": 91,
"column": 32
},
"end": {
"line": 91,
"column": 74
}
},
"object": {
"type": "MemberExpression",
"start": 2862,
"end": 2892,
"loc": {
"start": {
"line": 91,
"column": 32
},
"end": {
"line": 91,
"column": 62
}
},
"object": {
"type": "MemberExpression",
"start": 2862,
"end": 2879,
"loc": {
"start": {
"line": 91,
"column": 32
},
"end": {
"line": 91,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 2862,
"end": 2868,
"loc": {
"start": {
"line": 91,
"column": 32
},
"end": {
"line": 91,
"column": 38
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2869,
"end": 2879,
"loc": {
"start": {
"line": 91,
"column": 39
},
"end": {
"line": 91,
"column": 49
},
"identifierName": "components"
},
"name": "components"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2880,
"end": 2891,
"loc": {
"start": {
"line": 91,
"column": 50
},
"end": {
"line": 91,
"column": 61
},
"identifierName": "componentId"
},
"name": "componentId"
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 2893,
"end": 2904,
"loc": {
"start": {
"line": 91,
"column": 63
},
"end": {
"line": 91,
"column": 74
},
"identifierName": "deserialize"
},
"name": "deserialize"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 2905,
"end": 2922,
"loc": {
"start": {
"line": 91,
"column": 75
},
"end": {
"line": 91,
"column": 92
}
},
"object": {
"type": "Identifier",
"start": 2905,
"end": 2909,
"loc": {
"start": {
"line": 91,
"column": 75
},
"end": {
"line": 91,
"column": 79
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 2910,
"end": 2921,
"loc": {
"start": {
"line": 91,
"column": 80
},
"end": {
"line": 91,
"column": 91
},
"identifierName": "componentId"
},
"name": "componentId"
},
"computed": true
},
{
"type": "Identifier",
"start": 2924,
"end": 2928,
"loc": {
"start": {
"line": 91,
"column": 94
},
"end": {
"line": 91,
"column": 98
},
"identifierName": "root"
},
"name": "root"
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 2944,
"end": 3014,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 94,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 2948,
"end": 2959,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 92,
"column": 27
},
"identifierName": "errorStatus"
},
"name": "errorStatus"
},
"consequent": {
"type": "BlockStatement",
"start": 2961,
"end": 3014,
"loc": {
"start": {
"line": 92,
"column": 29
},
"end": {
"line": 94,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2980,
"end": 2999,
"loc": {
"start": {
"line": 93,
"column": 16
},
"end": {
"line": 93,
"column": 35
}
},
"argument": {
"type": "Identifier",
"start": 2987,
"end": 2998,
"loc": {
"start": {
"line": 93,
"column": 23
},
"end": {
"line": 93,
"column": 34
},
"identifierName": "errorStatus"
},
"name": "errorStatus"
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": "///// COMPONENTS ////",
"start": 2112,
"end": 2135,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 70,
"column": 27
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Deserializes components of an entity\r\n * @param {GameRoot} root\r\n * @param {Entity} entity\r\n * @param {Object.<string, any>} data\r\n * @returns {string|void}\r\n ",
"start": 2143,
"end": 2336,
"loc": {
"start": {
"line": 72,
"column": 4
},
"end": {
"line": 78,
"column": 7
}
}
}
]
}
]
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Internal serializer methods",
"start": 347,
"end": 377,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 30
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Internal serializer methods",
"start": 347,
"end": 377,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 30
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentLine",
"value": " Internal serializer methods",
"start": 347,
"end": 377,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 30
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Serializes an array of entities\r\n * @param {Array<Entity>} array\r\n ",
"start": 418,
"end": 507,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 15,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {GameRoot} root\r\n * @param {Array<Entity>} array\r\n * @returns {string|void}\r\n ",
"start": 851,
"end": 970,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 32,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {GameRoot} root\r\n * @param {Entity} payload\r\n ",
"start": 1142,
"end": 1225,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 43,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": "///// COMPONENTS ////",
"start": 2112,
"end": 2135,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 70,
"column": 27
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Deserializes components of an entity\r\n * @param {GameRoot} root\r\n * @param {Entity} entity\r\n * @param {Object.<string, any>} data\r\n * @returns {string|void}\r\n ",
"start": 2143,
"end": 2336,
"loc": {
"start": {
"line": 72,
"column": 4
},
"end": {
"line": 78,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " @ts-ignore",
"start": 2577,
"end": 2590,
"loc": {
"start": {
"line": 83,
"column": 20
},
"end": {
"line": 83,
"column": 33
}
}
}
],
"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": "globalConfig",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 22,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 22
},
"end": {
"line": 1,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 24,
"end": 28,
"loc": {
"start": {
"line": 1,
"column": 24
},
"end": {
"line": 1,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../core/config",
"start": 29,
"end": 45,
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 45,
"end": 46,
"loc": {
"start": {
"line": 1,
"column": 45
},
"end": {
"line": 1,
"column": 46
}
}
},
{
"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": 48,
"end": 54,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 55,
"end": 56,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createLogger",
"start": 57,
"end": 69,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 70,
"end": 71,
"loc": {
"start": {
"line": 2,
"column": 22
},
"end": {
"line": 2,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 72,
"end": 76,
"loc": {
"start": {
"line": 2,
"column": 24
},
"end": {
"line": 2,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../core/logging",
"start": 77,
"end": 94,
"loc": {
"start": {
"line": 2,
"column": 29
},
"end": {
"line": 2,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 94,
"end": 95,
"loc": {
"start": {
"line": 2,
"column": 46
},
"end": {
"line": 2,
"column": 47
}
}
},
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 97,
"end": 103,
"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": 104,
"end": 105,
"loc": {
"start": {
"line": 3,
"column": 7
},
"end": {
"line": 3,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Vector",
"start": 106,
"end": 112,
"loc": {
"start": {
"line": 3,
"column": 9
},
"end": {
"line": 3,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 113,
"end": 114,
"loc": {
"start": {
"line": 3,
"column": 16
},
"end": {
"line": 3,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 115,
"end": 119,
"loc": {
"start": {
"line": 3,
"column": 18
},
"end": {
"line": 3,
"column": 22
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../core/vector",
"start": 120,
"end": 136,
"loc": {
"start": {
"line": 3,
"column": 23
},
"end": {
"line": 3,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 136,
"end": 137,
"loc": {
"start": {
"line": 3,
"column": 39
},
"end": {
"line": 3,
"column": 40
}
}
},
{
"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": 139,
"end": 145,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 146,
"end": 147,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBuildingDataFromCode",
"start": 148,
"end": 171,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 172,
"end": 173,
"loc": {
"start": {
"line": 4,
"column": 33
},
"end": {
"line": 4,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 174,
"end": 178,
"loc": {
"start": {
"line": 4,
"column": 35
},
"end": {
"line": 4,
"column": 39
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../game/building_codes",
"start": 179,
"end": 203,
"loc": {
"start": {
"line": 4,
"column": 40
},
"end": {
"line": 4,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 203,
"end": 204,
"loc": {
"start": {
"line": 4,
"column": 64
},
"end": {
"line": 4,
"column": 65
}
}
},
{
"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": 206,
"end": 212,
"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": 213,
"end": 214,
"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": "Entity",
"start": 215,
"end": 221,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 222,
"end": 223,
"loc": {
"start": {
"line": 5,
"column": 16
},
"end": {
"line": 5,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 224,
"end": 228,
"loc": {
"start": {
"line": 5,
"column": 18
},
"end": {
"line": 5,
"column": 22
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../game/entity",
"start": 229,
"end": 245,
"loc": {
"start": {
"line": 5,
"column": 23
},
"end": {
"line": 5,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 245,
"end": 246,
"loc": {
"start": {
"line": 5,
"column": 39
},
"end": {
"line": 5,
"column": 40
}
}
},
{
"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": 248,
"end": 254,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 255,
"end": 256,
"loc": {
"start": {
"line": 6,
"column": 7
},
"end": {
"line": 6,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "GameRoot",
"start": 257,
"end": 265,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 266,
"end": 267,
"loc": {
"start": {
"line": 6,
"column": 18
},
"end": {
"line": 6,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 268,
"end": 272,
"loc": {
"start": {
"line": 6,
"column": 20
},
"end": {
"line": 6,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../game/root",
"start": 273,
"end": 287,
"loc": {
"start": {
"line": 6,
"column": 25
},
"end": {
"line": 6,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 287,
"end": 288,
"loc": {
"start": {
"line": 6,
"column": 39
},
"end": {
"line": 6,
"column": 40
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 292,
"end": 297,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 298,
"end": 304,
"loc": {
"start": {
"line": 8,
"column": 6
},
"end": {
"line": 8,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 305,
"end": 306,
"loc": {
"start": {
"line": 8,
"column": 13
},
"end": {
"line": 8,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createLogger",
"start": 307,
"end": 319,
"loc": {
"start": {
"line": 8,
"column": 15
},
"end": {
"line": 8,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 319,
"end": 320,
"loc": {
"start": {
"line": 8,
"column": 27
},
"end": {
"line": 8,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "serializer_internal",
"start": 320,
"end": 341,
"loc": {
"start": {
"line": 8,
"column": 28
},
"end": {
"line": 8,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 341,
"end": 342,
"loc": {
"start": {
"line": 8,
"column": 49
},
"end": {
"line": 8,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 342,
"end": 343,
"loc": {
"start": {
"line": 8,
"column": 50
},
"end": {
"line": 8,
"column": 51
}
}
},
{
"type": "CommentLine",
"value": " Internal serializer methods",
"start": 347,
"end": 377,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 30
}
}
},
{
"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": 379,
"end": 385,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 6
}
}
},
{
"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": 386,
"end": 391,
"loc": {
"start": {
"line": 11,
"column": 7
},
"end": {
"line": 11,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "SerializerInternal",
"start": 392,
"end": 410,
"loc": {
"start": {
"line": 11,
"column": 13
},
"end": {
"line": 11,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 411,
"end": 412,
"loc": {
"start": {
"line": 11,
"column": 32
},
"end": {
"line": 11,
"column": 33
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Serializes an array of entities\r\n * @param {Array<Entity>} array\r\n ",
"start": 418,
"end": 507,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 15,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "serializeEntityArray",
"start": 513,
"end": 533,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 533,
"end": 534,
"loc": {
"start": {
"line": 16,
"column": 24
},
"end": {
"line": 16,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "array",
"start": 534,
"end": 539,
"loc": {
"start": {
"line": 16,
"column": 25
},
"end": {
"line": 16,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 539,
"end": 540,
"loc": {
"start": {
"line": 16,
"column": 30
},
"end": {
"line": 16,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 541,
"end": 542,
"loc": {
"start": {
"line": 16,
"column": 32
},
"end": {
"line": 16,
"column": 33
}
}
},
{
"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": 552,
"end": 557,
"loc": {
"start": {
"line": 17,
"column": 8
},
"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": "serialized",
"start": 558,
"end": 568,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 569,
"end": 570,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 17,
"column": 26
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 571,
"end": 572,
"loc": {
"start": {
"line": 17,
"column": 27
},
"end": {
"line": 17,
"column": 28
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 572,
"end": 573,
"loc": {
"start": {
"line": 17,
"column": 28
},
"end": {
"line": 17,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 573,
"end": 574,
"loc": {
"start": {
"line": 17,
"column": 29
},
"end": {
"line": 17,
"column": 30
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 584,
"end": 587,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 588,
"end": 589,
"loc": {
"start": {
"line": 18,
"column": 12
},
"end": {
"line": 18,
"column": 13
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 589,
"end": 592,
"loc": {
"start": {
"line": 18,
"column": 13
},
"end": {
"line": 18,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 593,
"end": 594,
"loc": {
"start": {
"line": 18,
"column": 17
},
"end": {
"line": 18,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 595,
"end": 596,
"loc": {
"start": {
"line": 18,
"column": 19
},
"end": {
"line": 18,
"column": 20
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 597,
"end": 598,
"loc": {
"start": {
"line": 18,
"column": 21
},
"end": {
"line": 18,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 598,
"end": 599,
"loc": {
"start": {
"line": 18,
"column": 22
},
"end": {
"line": 18,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 600,
"end": 601,
"loc": {
"start": {
"line": 18,
"column": 24
},
"end": {
"line": 18,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 602,
"end": 603,
"loc": {
"start": {
"line": 18,
"column": 26
},
"end": {
"line": 18,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "array",
"start": 604,
"end": 609,
"loc": {
"start": {
"line": 18,
"column": 28
},
"end": {
"line": 18,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 609,
"end": 610,
"loc": {
"start": {
"line": 18,
"column": 33
},
"end": {
"line": 18,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 610,
"end": 616,
"loc": {
"start": {
"line": 18,
"column": 34
},
"end": {
"line": 18,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 616,
"end": 617,
"loc": {
"start": {
"line": 18,
"column": 40
},
"end": {
"line": 18,
"column": 41
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 618,
"end": 620,
"loc": {
"start": {
"line": 18,
"column": 42
},
"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": "i",
"start": 620,
"end": 621,
"loc": {
"start": {
"line": 18,
"column": 44
},
"end": {
"line": 18,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 621,
"end": 622,
"loc": {
"start": {
"line": 18,
"column": 45
},
"end": {
"line": 18,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 623,
"end": 624,
"loc": {
"start": {
"line": 18,
"column": 47
},
"end": {
"line": 18,
"column": 48
}
}
},
{
"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": 638,
"end": 643,
"loc": {
"start": {
"line": 19,
"column": 12
},
"end": {
"line": 19,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 644,
"end": 650,
"loc": {
"start": {
"line": 19,
"column": 18
},
"end": {
"line": 19,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 651,
"end": 652,
"loc": {
"start": {
"line": 19,
"column": 25
},
"end": {
"line": 19,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "array",
"start": 653,
"end": 658,
"loc": {
"start": {
"line": 19,
"column": 27
},
"end": {
"line": 19,
"column": 32
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 658,
"end": 659,
"loc": {
"start": {
"line": 19,
"column": 32
},
"end": {
"line": 19,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 659,
"end": 660,
"loc": {
"start": {
"line": 19,
"column": 33
},
"end": {
"line": 19,
"column": 34
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 660,
"end": 661,
"loc": {
"start": {
"line": 19,
"column": 34
},
"end": {
"line": 19,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 661,
"end": 662,
"loc": {
"start": {
"line": 19,
"column": 35
},
"end": {
"line": 19,
"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": 676,
"end": 678,
"loc": {
"start": {
"line": 20,
"column": 12
},
"end": {
"line": 20,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 679,
"end": 680,
"loc": {
"start": {
"line": 20,
"column": 15
},
"end": {
"line": 20,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 680,
"end": 681,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 681,
"end": 687,
"loc": {
"start": {
"line": 20,
"column": 17
},
"end": {
"line": 20,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 687,
"end": 688,
"loc": {
"start": {
"line": 20,
"column": 23
},
"end": {
"line": 20,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "queuedForDestroy",
"start": 688,
"end": 704,
"loc": {
"start": {
"line": 20,
"column": 24
},
"end": {
"line": 20,
"column": 40
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 705,
"end": 707,
"loc": {
"start": {
"line": 20,
"column": 41
},
"end": {
"line": 20,
"column": 43
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 708,
"end": 709,
"loc": {
"start": {
"line": 20,
"column": 44
},
"end": {
"line": 20,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 709,
"end": 715,
"loc": {
"start": {
"line": 20,
"column": 45
},
"end": {
"line": 20,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 715,
"end": 716,
"loc": {
"start": {
"line": 20,
"column": 51
},
"end": {
"line": 20,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "destroyed",
"start": 716,
"end": 725,
"loc": {
"start": {
"line": 20,
"column": 52
},
"end": {
"line": 20,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 725,
"end": 726,
"loc": {
"start": {
"line": 20,
"column": 61
},
"end": {
"line": 20,
"column": 62
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 727,
"end": 728,
"loc": {
"start": {
"line": 20,
"column": 63
},
"end": {
"line": 20,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "serialized",
"start": 746,
"end": 756,
"loc": {
"start": {
"line": 21,
"column": 16
},
"end": {
"line": 21,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 756,
"end": 757,
"loc": {
"start": {
"line": 21,
"column": 26
},
"end": {
"line": 21,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "push",
"start": 757,
"end": 761,
"loc": {
"start": {
"line": 21,
"column": 27
},
"end": {
"line": 21,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 761,
"end": 762,
"loc": {
"start": {
"line": 21,
"column": 31
},
"end": {
"line": 21,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 762,
"end": 768,
"loc": {
"start": {
"line": 21,
"column": 32
},
"end": {
"line": 21,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 768,
"end": 769,
"loc": {
"start": {
"line": 21,
"column": 38
},
"end": {
"line": 21,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "serialize",
"start": 769,
"end": 778,
"loc": {
"start": {
"line": 21,
"column": 39
},
"end": {
"line": 21,
"column": 48
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 778,
"end": 779,
"loc": {
"start": {
"line": 21,
"column": 48
},
"end": {
"line": 21,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 779,
"end": 780,
"loc": {
"start": {
"line": 21,
"column": 49
},
"end": {
"line": 21,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 780,
"end": 781,
"loc": {
"start": {
"line": 21,
"column": 50
},
"end": {
"line": 21,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 781,
"end": 782,
"loc": {
"start": {
"line": 21,
"column": 51
},
"end": {
"line": 21,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 796,
"end": 797,
"loc": {
"start": {
"line": 22,
"column": 12
},
"end": {
"line": 22,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 807,
"end": 808,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 9
}
}
},
{
"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": 818,
"end": 824,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "serialized",
"start": 825,
"end": 835,
"loc": {
"start": {
"line": 24,
"column": 15
},
"end": {
"line": 24,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 835,
"end": 836,
"loc": {
"start": {
"line": 24,
"column": 25
},
"end": {
"line": 24,
"column": 26
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 842,
"end": 843,
"loc": {
"start": {
"line": 25,
"column": 4
},
"end": {
"line": 25,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {GameRoot} root\r\n * @param {Array<Entity>} array\r\n * @returns {string|void}\r\n ",
"start": 851,
"end": 970,
"loc": {
"start": {
"line": 27,
"column": 4
},
"end": {
"line": 32,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserializeEntityArray",
"start": 976,
"end": 998,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 998,
"end": 999,
"loc": {
"start": {
"line": 33,
"column": 26
},
"end": {
"line": 33,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 999,
"end": 1003,
"loc": {
"start": {
"line": 33,
"column": 27
},
"end": {
"line": 33,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1003,
"end": 1004,
"loc": {
"start": {
"line": 33,
"column": 31
},
"end": {
"line": 33,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "array",
"start": 1005,
"end": 1010,
"loc": {
"start": {
"line": 33,
"column": 33
},
"end": {
"line": 33,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1010,
"end": 1011,
"loc": {
"start": {
"line": 33,
"column": 38
},
"end": {
"line": 33,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1012,
"end": 1013,
"loc": {
"start": {
"line": 33,
"column": 40
},
"end": {
"line": 33,
"column": 41
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 1023,
"end": 1026,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1027,
"end": 1028,
"loc": {
"start": {
"line": 34,
"column": 12
},
"end": {
"line": 34,
"column": 13
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 1028,
"end": 1031,
"loc": {
"start": {
"line": 34,
"column": 13
},
"end": {
"line": 34,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1032,
"end": 1033,
"loc": {
"start": {
"line": 34,
"column": 17
},
"end": {
"line": 34,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1034,
"end": 1035,
"loc": {
"start": {
"line": 34,
"column": 19
},
"end": {
"line": 34,
"column": 20
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1036,
"end": 1037,
"loc": {
"start": {
"line": 34,
"column": 21
},
"end": {
"line": 34,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1037,
"end": 1038,
"loc": {
"start": {
"line": 34,
"column": 22
},
"end": {
"line": 34,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1039,
"end": 1040,
"loc": {
"start": {
"line": 34,
"column": 24
},
"end": {
"line": 34,
"column": 25
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 1041,
"end": 1042,
"loc": {
"start": {
"line": 34,
"column": 26
},
"end": {
"line": 34,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "array",
"start": 1043,
"end": 1048,
"loc": {
"start": {
"line": 34,
"column": 28
},
"end": {
"line": 34,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1048,
"end": 1049,
"loc": {
"start": {
"line": 34,
"column": 33
},
"end": {
"line": 34,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "length",
"start": 1049,
"end": 1055,
"loc": {
"start": {
"line": 34,
"column": 34
},
"end": {
"line": 34,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1055,
"end": 1056,
"loc": {
"start": {
"line": 34,
"column": 40
},
"end": {
"line": 34,
"column": 41
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 1057,
"end": 1059,
"loc": {
"start": {
"line": 34,
"column": 42
},
"end": {
"line": 34,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1059,
"end": 1060,
"loc": {
"start": {
"line": 34,
"column": 44
},
"end": {
"line": 34,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1060,
"end": 1061,
"loc": {
"start": {
"line": 34,
"column": 45
},
"end": {
"line": 34,
"column": 46
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1062,
"end": 1063,
"loc": {
"start": {
"line": 34,
"column": 47
},
"end": {
"line": 34,
"column": 48
}
}
},
{
"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": 1077,
"end": 1081,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1081,
"end": 1082,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserializeEntity",
"start": 1082,
"end": 1099,
"loc": {
"start": {
"line": 35,
"column": 17
},
"end": {
"line": 35,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1099,
"end": 1100,
"loc": {
"start": {
"line": 35,
"column": 34
},
"end": {
"line": 35,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1100,
"end": 1104,
"loc": {
"start": {
"line": 35,
"column": 35
},
"end": {
"line": 35,
"column": 39
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1104,
"end": 1105,
"loc": {
"start": {
"line": 35,
"column": 39
},
"end": {
"line": 35,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "array",
"start": 1106,
"end": 1111,
"loc": {
"start": {
"line": 35,
"column": 41
},
"end": {
"line": 35,
"column": 46
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1111,
"end": 1112,
"loc": {
"start": {
"line": 35,
"column": 46
},
"end": {
"line": 35,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "i",
"start": 1112,
"end": 1113,
"loc": {
"start": {
"line": 35,
"column": 47
},
"end": {
"line": 35,
"column": 48
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1113,
"end": 1114,
"loc": {
"start": {
"line": 35,
"column": 48
},
"end": {
"line": 35,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1114,
"end": 1115,
"loc": {
"start": {
"line": 35,
"column": 49
},
"end": {
"line": 35,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1115,
"end": 1116,
"loc": {
"start": {
"line": 35,
"column": 50
},
"end": {
"line": 35,
"column": 51
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1126,
"end": 1127,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1133,
"end": 1134,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n *\r\n * @param {GameRoot} root\r\n * @param {Entity} payload\r\n ",
"start": 1142,
"end": 1225,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 43,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserializeEntity",
"start": 1231,
"end": 1248,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1248,
"end": 1249,
"loc": {
"start": {
"line": 44,
"column": 21
},
"end": {
"line": 44,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1249,
"end": 1253,
"loc": {
"start": {
"line": 44,
"column": 22
},
"end": {
"line": 44,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1253,
"end": 1254,
"loc": {
"start": {
"line": 44,
"column": 26
},
"end": {
"line": 44,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "payload",
"start": 1255,
"end": 1262,
"loc": {
"start": {
"line": 44,
"column": 28
},
"end": {
"line": 44,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1262,
"end": 1263,
"loc": {
"start": {
"line": 44,
"column": 35
},
"end": {
"line": 44,
"column": 36
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1264,
"end": 1265,
"loc": {
"start": {
"line": 44,
"column": 37
},
"end": {
"line": 44,
"column": 38
}
}
},
{
"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": 1275,
"end": 1280,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticData",
"start": 1281,
"end": 1291,
"loc": {
"start": {
"line": 45,
"column": 14
},
"end": {
"line": 45,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1292,
"end": 1293,
"loc": {
"start": {
"line": 45,
"column": 25
},
"end": {
"line": 45,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "payload",
"start": 1294,
"end": 1301,
"loc": {
"start": {
"line": 45,
"column": 27
},
"end": {
"line": 45,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1301,
"end": 1302,
"loc": {
"start": {
"line": 45,
"column": 34
},
"end": {
"line": 45,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 1302,
"end": 1312,
"loc": {
"start": {
"line": 45,
"column": 35
},
"end": {
"line": 45,
"column": 45
}
}
},
{
"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": 45,
"column": 45
},
"end": {
"line": 45,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StaticMapEntity",
"start": 1313,
"end": 1328,
"loc": {
"start": {
"line": 45,
"column": 46
},
"end": {
"line": 45,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"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": 61
},
"end": {
"line": 45,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 1339,
"end": 1345,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1345,
"end": 1346,
"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": "staticData",
"start": 1346,
"end": 1356,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 46,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1356,
"end": 1357,
"loc": {
"start": {
"line": 46,
"column": 25
},
"end": {
"line": 46,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "entity has no static data",
"start": 1358,
"end": 1385,
"loc": {
"start": {
"line": 46,
"column": 27
},
"end": {
"line": 46,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1385,
"end": 1386,
"loc": {
"start": {
"line": 46,
"column": 54
},
"end": {
"line": 46,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1386,
"end": 1387,
"loc": {
"start": {
"line": 46,
"column": 55
},
"end": {
"line": 46,
"column": 56
}
}
},
{
"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": 1399,
"end": 1404,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "code",
"start": 1405,
"end": 1409,
"loc": {
"start": {
"line": 48,
"column": 14
},
"end": {
"line": 48,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1410,
"end": 1411,
"loc": {
"start": {
"line": 48,
"column": 19
},
"end": {
"line": 48,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticData",
"start": 1412,
"end": 1422,
"loc": {
"start": {
"line": 48,
"column": 21
},
"end": {
"line": 48,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1422,
"end": 1423,
"loc": {
"start": {
"line": 48,
"column": 31
},
"end": {
"line": 48,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "code",
"start": 1423,
"end": 1427,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 36
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1427,
"end": 1428,
"loc": {
"start": {
"line": 48,
"column": 36
},
"end": {
"line": 48,
"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": 1438,
"end": 1443,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 1444,
"end": 1448,
"loc": {
"start": {
"line": 49,
"column": 14
},
"end": {
"line": 49,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1449,
"end": 1450,
"loc": {
"start": {
"line": 49,
"column": 19
},
"end": {
"line": 49,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getBuildingDataFromCode",
"start": 1451,
"end": 1474,
"loc": {
"start": {
"line": 49,
"column": 21
},
"end": {
"line": 49,
"column": 44
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1474,
"end": 1475,
"loc": {
"start": {
"line": 49,
"column": 44
},
"end": {
"line": 49,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "code",
"start": 1475,
"end": 1479,
"loc": {
"start": {
"line": 49,
"column": 45
},
"end": {
"line": 49,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1479,
"end": 1480,
"loc": {
"start": {
"line": 49,
"column": 49
},
"end": {
"line": 49,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1480,
"end": 1481,
"loc": {
"start": {
"line": 49,
"column": 50
},
"end": {
"line": 49,
"column": 51
}
}
},
{
"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": 1493,
"end": 1498,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 1499,
"end": 1511,
"loc": {
"start": {
"line": 51,
"column": 14
},
"end": {
"line": 51,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1512,
"end": 1513,
"loc": {
"start": {
"line": 51,
"column": 27
},
"end": {
"line": 51,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 1514,
"end": 1518,
"loc": {
"start": {
"line": 51,
"column": 29
},
"end": {
"line": 51,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1518,
"end": 1519,
"loc": {
"start": {
"line": 51,
"column": 33
},
"end": {
"line": 51,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaInstance",
"start": 1519,
"end": 1531,
"loc": {
"start": {
"line": 51,
"column": 34
},
"end": {
"line": 51,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1531,
"end": 1532,
"loc": {
"start": {
"line": 51,
"column": 46
},
"end": {
"line": 51,
"column": 47
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 1544,
"end": 1549,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1550,
"end": 1556,
"loc": {
"start": {
"line": 53,
"column": 14
},
"end": {
"line": 53,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1557,
"end": 1558,
"loc": {
"start": {
"line": 53,
"column": 21
},
"end": {
"line": 53,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "metaBuilding",
"start": 1559,
"end": 1571,
"loc": {
"start": {
"line": 53,
"column": 23
},
"end": {
"line": 53,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1571,
"end": 1572,
"loc": {
"start": {
"line": 53,
"column": 35
},
"end": {
"line": 53,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createEntity",
"start": 1572,
"end": 1584,
"loc": {
"start": {
"line": 53,
"column": 36
},
"end": {
"line": 53,
"column": 48
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1584,
"end": 1585,
"loc": {
"start": {
"line": 53,
"column": 48
},
"end": {
"line": 53,
"column": 49
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1585,
"end": 1586,
"loc": {
"start": {
"line": 53,
"column": 49
},
"end": {
"line": 53,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1600,
"end": 1604,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1604,
"end": 1605,
"loc": {
"start": {
"line": 54,
"column": 16
},
"end": {
"line": 54,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 1619,
"end": 1625,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 18
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1625,
"end": 1626,
"loc": {
"start": {
"line": 55,
"column": 18
},
"end": {
"line": 55,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Vector",
"start": 1627,
"end": 1633,
"loc": {
"start": {
"line": 55,
"column": 20
},
"end": {
"line": 55,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1633,
"end": 1634,
"loc": {
"start": {
"line": 55,
"column": 26
},
"end": {
"line": 55,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fromSerializedObject",
"start": 1634,
"end": 1654,
"loc": {
"start": {
"line": 55,
"column": 27
},
"end": {
"line": 55,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1654,
"end": 1655,
"loc": {
"start": {
"line": 55,
"column": 47
},
"end": {
"line": 55,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticData",
"start": 1655,
"end": 1665,
"loc": {
"start": {
"line": 55,
"column": 48
},
"end": {
"line": 55,
"column": 58
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1665,
"end": 1666,
"loc": {
"start": {
"line": 55,
"column": 58
},
"end": {
"line": 55,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "origin",
"start": 1666,
"end": 1672,
"loc": {
"start": {
"line": 55,
"column": 59
},
"end": {
"line": 55,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1672,
"end": 1673,
"loc": {
"start": {
"line": 55,
"column": 65
},
"end": {
"line": 55,
"column": 66
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1673,
"end": 1674,
"loc": {
"start": {
"line": 55,
"column": 66
},
"end": {
"line": 55,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotation",
"start": 1688,
"end": 1696,
"loc": {
"start": {
"line": 56,
"column": 12
},
"end": {
"line": 56,
"column": 20
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1696,
"end": 1697,
"loc": {
"start": {
"line": 56,
"column": 20
},
"end": {
"line": 56,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticData",
"start": 1698,
"end": 1708,
"loc": {
"start": {
"line": 56,
"column": 22
},
"end": {
"line": 56,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1708,
"end": 1709,
"loc": {
"start": {
"line": 56,
"column": 32
},
"end": {
"line": 56,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotation",
"start": 1709,
"end": 1717,
"loc": {
"start": {
"line": 56,
"column": 33
},
"end": {
"line": 56,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1717,
"end": 1718,
"loc": {
"start": {
"line": 56,
"column": 41
},
"end": {
"line": 56,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "originalRotation",
"start": 1732,
"end": 1748,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 28
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1748,
"end": 1749,
"loc": {
"start": {
"line": 57,
"column": 28
},
"end": {
"line": 57,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "staticData",
"start": 1750,
"end": 1760,
"loc": {
"start": {
"line": 57,
"column": 30
},
"end": {
"line": 57,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1760,
"end": 1761,
"loc": {
"start": {
"line": 57,
"column": 40
},
"end": {
"line": 57,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "originalRotation",
"start": 1761,
"end": 1777,
"loc": {
"start": {
"line": 57,
"column": 41
},
"end": {
"line": 57,
"column": 57
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1777,
"end": 1778,
"loc": {
"start": {
"line": 57,
"column": 57
},
"end": {
"line": 57,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 1792,
"end": 1807,
"loc": {
"start": {
"line": 58,
"column": 12
},
"end": {
"line": 58,
"column": 27
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1807,
"end": 1808,
"loc": {
"start": {
"line": 58,
"column": 27
},
"end": {
"line": 58,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 1809,
"end": 1813,
"loc": {
"start": {
"line": 58,
"column": 29
},
"end": {
"line": 58,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1813,
"end": 1814,
"loc": {
"start": {
"line": 58,
"column": 33
},
"end": {
"line": 58,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "rotationVariant",
"start": 1814,
"end": 1829,
"loc": {
"start": {
"line": 58,
"column": 34
},
"end": {
"line": 58,
"column": 49
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1829,
"end": 1830,
"loc": {
"start": {
"line": 58,
"column": 49
},
"end": {
"line": 58,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1844,
"end": 1851,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 19
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1851,
"end": 1852,
"loc": {
"start": {
"line": 59,
"column": 19
},
"end": {
"line": 59,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 1853,
"end": 1857,
"loc": {
"start": {
"line": 59,
"column": 21
},
"end": {
"line": 59,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1857,
"end": 1858,
"loc": {
"start": {
"line": 59,
"column": 25
},
"end": {
"line": 59,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "variant",
"start": 1858,
"end": 1865,
"loc": {
"start": {
"line": 59,
"column": 26
},
"end": {
"line": 59,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1865,
"end": 1866,
"loc": {
"start": {
"line": 59,
"column": 33
},
"end": {
"line": 59,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1876,
"end": 1877,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1877,
"end": 1878,
"loc": {
"start": {
"line": 60,
"column": 9
},
"end": {
"line": 60,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1878,
"end": 1879,
"loc": {
"start": {
"line": 60,
"column": 10
},
"end": {
"line": 60,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1891,
"end": 1897,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 62,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1897,
"end": 1898,
"loc": {
"start": {
"line": 62,
"column": 14
},
"end": {
"line": 62,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uid",
"start": 1898,
"end": 1901,
"loc": {
"start": {
"line": 62,
"column": 15
},
"end": {
"line": 62,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1902,
"end": 1903,
"loc": {
"start": {
"line": 62,
"column": 19
},
"end": {
"line": 62,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "payload",
"start": 1904,
"end": 1911,
"loc": {
"start": {
"line": 62,
"column": 21
},
"end": {
"line": 62,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1911,
"end": 1912,
"loc": {
"start": {
"line": 62,
"column": 28
},
"end": {
"line": 62,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uid",
"start": 1912,
"end": 1915,
"loc": {
"start": {
"line": 62,
"column": 29
},
"end": {
"line": 62,
"column": 32
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1915,
"end": 1916,
"loc": {
"start": {
"line": 62,
"column": 32
},
"end": {
"line": 62,
"column": 33
}
}
},
{
"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": 1928,
"end": 1932,
"loc": {
"start": {
"line": 64,
"column": 8
},
"end": {
"line": 64,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1932,
"end": 1933,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserializeComponents",
"start": 1933,
"end": 1954,
"loc": {
"start": {
"line": 64,
"column": 13
},
"end": {
"line": 64,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1954,
"end": 1955,
"loc": {
"start": {
"line": 64,
"column": 34
},
"end": {
"line": 64,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 1955,
"end": 1959,
"loc": {
"start": {
"line": 64,
"column": 35
},
"end": {
"line": 64,
"column": 39
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1959,
"end": 1960,
"loc": {
"start": {
"line": 64,
"column": 39
},
"end": {
"line": 64,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1961,
"end": 1967,
"loc": {
"start": {
"line": 64,
"column": 41
},
"end": {
"line": 64,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1967,
"end": 1968,
"loc": {
"start": {
"line": 64,
"column": 47
},
"end": {
"line": 64,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "payload",
"start": 1969,
"end": 1976,
"loc": {
"start": {
"line": 64,
"column": 49
},
"end": {
"line": 64,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1976,
"end": 1977,
"loc": {
"start": {
"line": 64,
"column": 56
},
"end": {
"line": 64,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 1977,
"end": 1987,
"loc": {
"start": {
"line": 64,
"column": 57
},
"end": {
"line": 64,
"column": 67
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1987,
"end": 1988,
"loc": {
"start": {
"line": 64,
"column": 67
},
"end": {
"line": 64,
"column": 68
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1988,
"end": 1989,
"loc": {
"start": {
"line": 64,
"column": 68
},
"end": {
"line": 64,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2001,
"end": 2005,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2005,
"end": 2006,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entityMgr",
"start": 2006,
"end": 2015,
"loc": {
"start": {
"line": 66,
"column": 13
},
"end": {
"line": 66,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2015,
"end": 2016,
"loc": {
"start": {
"line": 66,
"column": 22
},
"end": {
"line": 66,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "registerEntity",
"start": 2016,
"end": 2030,
"loc": {
"start": {
"line": 66,
"column": 23
},
"end": {
"line": 66,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2030,
"end": 2031,
"loc": {
"start": {
"line": 66,
"column": 37
},
"end": {
"line": 66,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2031,
"end": 2037,
"loc": {
"start": {
"line": 66,
"column": 38
},
"end": {
"line": 66,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2037,
"end": 2038,
"loc": {
"start": {
"line": 66,
"column": 44
},
"end": {
"line": 66,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "payload",
"start": 2039,
"end": 2046,
"loc": {
"start": {
"line": 66,
"column": 46
},
"end": {
"line": 66,
"column": 53
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2046,
"end": 2047,
"loc": {
"start": {
"line": 66,
"column": 53
},
"end": {
"line": 66,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uid",
"start": 2047,
"end": 2050,
"loc": {
"start": {
"line": 66,
"column": 54
},
"end": {
"line": 66,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2050,
"end": 2051,
"loc": {
"start": {
"line": 66,
"column": 57
},
"end": {
"line": 66,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2051,
"end": 2052,
"loc": {
"start": {
"line": 66,
"column": 58
},
"end": {
"line": 66,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2062,
"end": 2066,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2066,
"end": 2067,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "map",
"start": 2067,
"end": 2070,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2070,
"end": 2071,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 67,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "placeStaticEntity",
"start": 2071,
"end": 2088,
"loc": {
"start": {
"line": 67,
"column": 17
},
"end": {
"line": 67,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2088,
"end": 2089,
"loc": {
"start": {
"line": 67,
"column": 34
},
"end": {
"line": 67,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2089,
"end": 2095,
"loc": {
"start": {
"line": 67,
"column": 35
},
"end": {
"line": 67,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2095,
"end": 2096,
"loc": {
"start": {
"line": 67,
"column": 41
},
"end": {
"line": 67,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2096,
"end": 2097,
"loc": {
"start": {
"line": 67,
"column": 42
},
"end": {
"line": 67,
"column": 43
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2103,
"end": 2104,
"loc": {
"start": {
"line": 68,
"column": 4
},
"end": {
"line": 68,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": "///// COMPONENTS ////",
"start": 2112,
"end": 2135,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 70,
"column": 27
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Deserializes components of an entity\r\n * @param {GameRoot} root\r\n * @param {Entity} entity\r\n * @param {Object.<string, any>} data\r\n * @returns {string|void}\r\n ",
"start": 2143,
"end": 2336,
"loc": {
"start": {
"line": 72,
"column": 4
},
"end": {
"line": 78,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserializeComponents",
"start": 2342,
"end": 2363,
"loc": {
"start": {
"line": 79,
"column": 4
},
"end": {
"line": 79,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2363,
"end": 2364,
"loc": {
"start": {
"line": 79,
"column": 25
},
"end": {
"line": 79,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2364,
"end": 2368,
"loc": {
"start": {
"line": 79,
"column": 26
},
"end": {
"line": 79,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2368,
"end": 2369,
"loc": {
"start": {
"line": 79,
"column": 30
},
"end": {
"line": 79,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2370,
"end": 2376,
"loc": {
"start": {
"line": 79,
"column": 32
},
"end": {
"line": 79,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2376,
"end": 2377,
"loc": {
"start": {
"line": 79,
"column": 38
},
"end": {
"line": 79,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 2378,
"end": 2382,
"loc": {
"start": {
"line": 79,
"column": 40
},
"end": {
"line": 79,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2382,
"end": 2383,
"loc": {
"start": {
"line": 79,
"column": 44
},
"end": {
"line": 79,
"column": 45
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2384,
"end": 2385,
"loc": {
"start": {
"line": 79,
"column": 46
},
"end": {
"line": 79,
"column": 47
}
}
},
{
"type": {
"label": "for",
"keyword": "for",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": true,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "for",
"start": 2395,
"end": 2398,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2399,
"end": 2400,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 80,
"column": 13
}
}
},
{
"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": 2400,
"end": 2405,
"loc": {
"start": {
"line": 80,
"column": 13
},
"end": {
"line": 80,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentId",
"start": 2406,
"end": 2417,
"loc": {
"start": {
"line": 80,
"column": 19
},
"end": {
"line": 80,
"column": 30
}
}
},
{
"type": {
"label": "in",
"keyword": "in",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "in",
"start": 2418,
"end": 2420,
"loc": {
"start": {
"line": 80,
"column": 31
},
"end": {
"line": 80,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 2421,
"end": 2425,
"loc": {
"start": {
"line": 80,
"column": 34
},
"end": {
"line": 80,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2425,
"end": 2426,
"loc": {
"start": {
"line": 80,
"column": 38
},
"end": {
"line": 80,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2427,
"end": 2428,
"loc": {
"start": {
"line": 80,
"column": 40
},
"end": {
"line": 80,
"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": 2442,
"end": 2444,
"loc": {
"start": {
"line": 81,
"column": 12
},
"end": {
"line": 81,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2445,
"end": 2446,
"loc": {
"start": {
"line": 81,
"column": 15
},
"end": {
"line": 81,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 2446,
"end": 2447,
"loc": {
"start": {
"line": 81,
"column": 16
},
"end": {
"line": 81,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2447,
"end": 2453,
"loc": {
"start": {
"line": 81,
"column": 17
},
"end": {
"line": 81,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2453,
"end": 2454,
"loc": {
"start": {
"line": 81,
"column": 23
},
"end": {
"line": 81,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 2454,
"end": 2464,
"loc": {
"start": {
"line": 81,
"column": 24
},
"end": {
"line": 81,
"column": 34
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2464,
"end": 2465,
"loc": {
"start": {
"line": 81,
"column": 34
},
"end": {
"line": 81,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentId",
"start": 2465,
"end": 2476,
"loc": {
"start": {
"line": 81,
"column": 35
},
"end": {
"line": 81,
"column": 46
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2476,
"end": 2477,
"loc": {
"start": {
"line": 81,
"column": 46
},
"end": {
"line": 81,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2477,
"end": 2478,
"loc": {
"start": {
"line": 81,
"column": 47
},
"end": {
"line": 81,
"column": 48
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2479,
"end": 2480,
"loc": {
"start": {
"line": 81,
"column": 49
},
"end": {
"line": 81,
"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": 2498,
"end": 2500,
"loc": {
"start": {
"line": 82,
"column": 16
},
"end": {
"line": 82,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2501,
"end": 2502,
"loc": {
"start": {
"line": 82,
"column": 19
},
"end": {
"line": 82,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "G_IS_DEV",
"start": 2502,
"end": 2510,
"loc": {
"start": {
"line": 82,
"column": 20
},
"end": {
"line": 82,
"column": 28
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 2511,
"end": 2513,
"loc": {
"start": {
"line": 82,
"column": 29
},
"end": {
"line": 82,
"column": 31
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 2514,
"end": 2515,
"loc": {
"start": {
"line": 82,
"column": 32
},
"end": {
"line": 82,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalConfig",
"start": 2515,
"end": 2527,
"loc": {
"start": {
"line": 82,
"column": 33
},
"end": {
"line": 82,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2527,
"end": 2528,
"loc": {
"start": {
"line": 82,
"column": 45
},
"end": {
"line": 82,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "debug",
"start": 2528,
"end": 2533,
"loc": {
"start": {
"line": 82,
"column": 46
},
"end": {
"line": 82,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2533,
"end": 2534,
"loc": {
"start": {
"line": 82,
"column": 51
},
"end": {
"line": 82,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "disableSlowAsserts",
"start": 2534,
"end": 2552,
"loc": {
"start": {
"line": 82,
"column": 52
},
"end": {
"line": 82,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2552,
"end": 2553,
"loc": {
"start": {
"line": 82,
"column": 70
},
"end": {
"line": 82,
"column": 71
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2554,
"end": 2555,
"loc": {
"start": {
"line": 82,
"column": 72
},
"end": {
"line": 82,
"column": 73
}
}
},
{
"type": "CommentLine",
"value": " @ts-ignore",
"start": 2577,
"end": 2590,
"loc": {
"start": {
"line": 83,
"column": 20
},
"end": {
"line": 83,
"column": 33
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 2612,
"end": 2614,
"loc": {
"start": {
"line": 84,
"column": 20
},
"end": {
"line": 84,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2615,
"end": 2616,
"loc": {
"start": {
"line": 84,
"column": 23
},
"end": {
"line": 84,
"column": 24
}
}
},
{
"type": {
"label": "++/--",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": true,
"binop": null
},
"value": "++",
"start": 2616,
"end": 2618,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "window",
"start": 2618,
"end": 2624,
"loc": {
"start": {
"line": 84,
"column": 26
},
"end": {
"line": 84,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2624,
"end": 2625,
"loc": {
"start": {
"line": 84,
"column": 32
},
"end": {
"line": 84,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentWarningsShown",
"start": 2625,
"end": 2647,
"loc": {
"start": {
"line": 84,
"column": 33
},
"end": {
"line": 84,
"column": 55
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 2648,
"end": 2649,
"loc": {
"start": {
"line": 84,
"column": 56
},
"end": {
"line": 84,
"column": 57
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 100,
"start": 2650,
"end": 2653,
"loc": {
"start": {
"line": 84,
"column": 58
},
"end": {
"line": 84,
"column": 61
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2653,
"end": 2654,
"loc": {
"start": {
"line": 84,
"column": 61
},
"end": {
"line": 84,
"column": 62
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2655,
"end": 2656,
"loc": {
"start": {
"line": 84,
"column": 63
},
"end": {
"line": 84,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 2682,
"end": 2688,
"loc": {
"start": {
"line": 85,
"column": 24
},
"end": {
"line": 85,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2688,
"end": 2689,
"loc": {
"start": {
"line": 85,
"column": 30
},
"end": {
"line": 85,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "warn",
"start": 2689,
"end": 2693,
"loc": {
"start": {
"line": 85,
"column": 31
},
"end": {
"line": 85,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2693,
"end": 2694,
"loc": {
"start": {
"line": 85,
"column": 35
},
"end": {
"line": 85,
"column": 36
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Entity no longer has component:",
"start": 2694,
"end": 2727,
"loc": {
"start": {
"line": 85,
"column": 36
},
"end": {
"line": 85,
"column": 69
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2727,
"end": 2728,
"loc": {
"start": {
"line": 85,
"column": 69
},
"end": {
"line": 85,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentId",
"start": 2729,
"end": 2740,
"loc": {
"start": {
"line": 85,
"column": 71
},
"end": {
"line": 85,
"column": 82
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2740,
"end": 2741,
"loc": {
"start": {
"line": 85,
"column": 82
},
"end": {
"line": 85,
"column": 83
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2741,
"end": 2742,
"loc": {
"start": {
"line": 85,
"column": 83
},
"end": {
"line": 85,
"column": 84
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2764,
"end": 2765,
"loc": {
"start": {
"line": 86,
"column": 20
},
"end": {
"line": 86,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2783,
"end": 2784,
"loc": {
"start": {
"line": 87,
"column": 16
},
"end": {
"line": 87,
"column": 17
}
}
},
{
"type": {
"label": "continue",
"keyword": "continue",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "continue",
"start": 2802,
"end": 2810,
"loc": {
"start": {
"line": 88,
"column": 16
},
"end": {
"line": 88,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2810,
"end": 2811,
"loc": {
"start": {
"line": 88,
"column": 24
},
"end": {
"line": 88,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2825,
"end": 2826,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 13
}
}
},
{
"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": 2842,
"end": 2847,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorStatus",
"start": 2848,
"end": 2859,
"loc": {
"start": {
"line": 91,
"column": 18
},
"end": {
"line": 91,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2860,
"end": 2861,
"loc": {
"start": {
"line": 91,
"column": 30
},
"end": {
"line": 91,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2862,
"end": 2868,
"loc": {
"start": {
"line": 91,
"column": 32
},
"end": {
"line": 91,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2868,
"end": 2869,
"loc": {
"start": {
"line": 91,
"column": 38
},
"end": {
"line": 91,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "components",
"start": 2869,
"end": 2879,
"loc": {
"start": {
"line": 91,
"column": 39
},
"end": {
"line": 91,
"column": 49
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2879,
"end": 2880,
"loc": {
"start": {
"line": 91,
"column": 49
},
"end": {
"line": 91,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentId",
"start": 2880,
"end": 2891,
"loc": {
"start": {
"line": 91,
"column": 50
},
"end": {
"line": 91,
"column": 61
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2891,
"end": 2892,
"loc": {
"start": {
"line": 91,
"column": 61
},
"end": {
"line": 91,
"column": 62
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2892,
"end": 2893,
"loc": {
"start": {
"line": 91,
"column": 62
},
"end": {
"line": 91,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserialize",
"start": 2893,
"end": 2904,
"loc": {
"start": {
"line": 91,
"column": 63
},
"end": {
"line": 91,
"column": 74
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2904,
"end": 2905,
"loc": {
"start": {
"line": 91,
"column": 74
},
"end": {
"line": 91,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 2905,
"end": 2909,
"loc": {
"start": {
"line": 91,
"column": 75
},
"end": {
"line": 91,
"column": 79
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2909,
"end": 2910,
"loc": {
"start": {
"line": 91,
"column": 79
},
"end": {
"line": 91,
"column": 80
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "componentId",
"start": 2910,
"end": 2921,
"loc": {
"start": {
"line": 91,
"column": 80
},
"end": {
"line": 91,
"column": 91
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2921,
"end": 2922,
"loc": {
"start": {
"line": 91,
"column": 91
},
"end": {
"line": 91,
"column": 92
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2922,
"end": 2923,
"loc": {
"start": {
"line": 91,
"column": 92
},
"end": {
"line": 91,
"column": 93
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 2924,
"end": 2928,
"loc": {
"start": {
"line": 91,
"column": 94
},
"end": {
"line": 91,
"column": 98
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2928,
"end": 2929,
"loc": {
"start": {
"line": 91,
"column": 98
},
"end": {
"line": 91,
"column": 99
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2929,
"end": 2930,
"loc": {
"start": {
"line": 91,
"column": 99
},
"end": {
"line": 91,
"column": 100
}
}
},
{
"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": 2944,
"end": 2946,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 92,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2947,
"end": 2948,
"loc": {
"start": {
"line": 92,
"column": 15
},
"end": {
"line": 92,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorStatus",
"start": 2948,
"end": 2959,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 92,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2959,
"end": 2960,
"loc": {
"start": {
"line": 92,
"column": 27
},
"end": {
"line": 92,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2961,
"end": 2962,
"loc": {
"start": {
"line": 92,
"column": 29
},
"end": {
"line": 92,
"column": 30
}
}
},
{
"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": 2980,
"end": 2986,
"loc": {
"start": {
"line": 93,
"column": 16
},
"end": {
"line": 93,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorStatus",
"start": 2987,
"end": 2998,
"loc": {
"start": {
"line": 93,
"column": 23
},
"end": {
"line": 93,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2998,
"end": 2999,
"loc": {
"start": {
"line": 93,
"column": 34
},
"end": {
"line": 93,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3013,
"end": 3014,
"loc": {
"start": {
"line": 94,
"column": 12
},
"end": {
"line": 94,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3024,
"end": 3025,
"loc": {
"start": {
"line": 95,
"column": 8
},
"end": {
"line": 95,
"column": 9
}
}
},
{
"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": 96,
"column": 4
},
"end": {
"line": 96,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3034,
"end": 3035,
"loc": {
"start": {
"line": 97,
"column": 0
},
"end": {
"line": 97,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3037,
"end": 3037,
"loc": {
"start": {
"line": 98,
"column": 0
},
"end": {
"line": 98,
"column": 0
}
}
}
]
}