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/serialization.js.json
2021-02-26 15:20:37 +01:00

46570 lines
1.1 MiB

{
"type": "File",
"start": 0,
"end": 10027,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 352,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 10027,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 352,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 47,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 47
}
},
"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": "createLogger"
},
"name": "createLogger"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 21,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 21
},
"identifierName": "createLogger"
},
"name": "createLogger"
}
}
],
"source": {
"type": "StringLiteral",
"start": 29,
"end": 46,
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 46
}
},
"extra": {
"rawValue": "../core/logging",
"raw": "\"../core/logging\""
},
"value": "../core/logging"
}
},
{
"type": "ImportDeclaration",
"start": 49,
"end": 531,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 25,
"column": 36
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 63,
"end": 75,
"loc": {
"start": {
"line": 3,
"column": 4
},
"end": {
"line": 3,
"column": 16
}
},
"imported": {
"type": "Identifier",
"start": 63,
"end": 75,
"loc": {
"start": {
"line": 3,
"column": 4
},
"end": {
"line": 3,
"column": 16
},
"identifierName": "BaseDataType"
},
"name": "BaseDataType"
},
"local": {
"type": "Identifier",
"start": 63,
"end": 75,
"loc": {
"start": {
"line": 3,
"column": 4
},
"end": {
"line": 3,
"column": 16
},
"identifierName": "BaseDataType"
},
"name": "BaseDataType"
}
},
{
"type": "ImportSpecifier",
"start": 82,
"end": 91,
"loc": {
"start": {
"line": 4,
"column": 4
},
"end": {
"line": 4,
"column": 13
}
},
"imported": {
"type": "Identifier",
"start": 82,
"end": 91,
"loc": {
"start": {
"line": 4,
"column": 4
},
"end": {
"line": 4,
"column": 13
},
"identifierName": "TypeArray"
},
"name": "TypeArray"
},
"local": {
"type": "Identifier",
"start": 82,
"end": 91,
"loc": {
"start": {
"line": 4,
"column": 4
},
"end": {
"line": 4,
"column": 13
},
"identifierName": "TypeArray"
},
"name": "TypeArray"
}
},
{
"type": "ImportSpecifier",
"start": 98,
"end": 109,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 98,
"end": 109,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 15
},
"identifierName": "TypeBoolean"
},
"name": "TypeBoolean"
},
"local": {
"type": "Identifier",
"start": 98,
"end": 109,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 15
},
"identifierName": "TypeBoolean"
},
"name": "TypeBoolean"
}
},
{
"type": "ImportSpecifier",
"start": 116,
"end": 125,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 13
}
},
"imported": {
"type": "Identifier",
"start": 116,
"end": 125,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 13
},
"identifierName": "TypeClass"
},
"name": "TypeClass"
},
"local": {
"type": "Identifier",
"start": 116,
"end": 125,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 13
},
"identifierName": "TypeClass"
},
"name": "TypeClass"
}
},
{
"type": "ImportSpecifier",
"start": 132,
"end": 145,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 17
}
},
"imported": {
"type": "Identifier",
"start": 132,
"end": 145,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 17
},
"identifierName": "TypeClassData"
},
"name": "TypeClassData"
},
"local": {
"type": "Identifier",
"start": 132,
"end": 145,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 17
},
"identifierName": "TypeClassData"
},
"name": "TypeClassData"
}
},
{
"type": "ImportSpecifier",
"start": 152,
"end": 174,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 26
}
},
"imported": {
"type": "Identifier",
"start": 152,
"end": 174,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 26
},
"identifierName": "TypeClassFromMetaclass"
},
"name": "TypeClassFromMetaclass"
},
"local": {
"type": "Identifier",
"start": 152,
"end": 174,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 26
},
"identifierName": "TypeClassFromMetaclass"
},
"name": "TypeClassFromMetaclass"
}
},
{
"type": "ImportSpecifier",
"start": 181,
"end": 192,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 181,
"end": 192,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 15
},
"identifierName": "TypeClassId"
},
"name": "TypeClassId"
},
"local": {
"type": "Identifier",
"start": 181,
"end": 192,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 15
},
"identifierName": "TypeClassId"
},
"name": "TypeClassId"
}
},
{
"type": "ImportSpecifier",
"start": 199,
"end": 209,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 14
}
},
"imported": {
"type": "Identifier",
"start": 199,
"end": 209,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 14
},
"identifierName": "TypeEntity"
},
"name": "TypeEntity"
},
"local": {
"type": "Identifier",
"start": 199,
"end": 209,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 14
},
"identifierName": "TypeEntity"
},
"name": "TypeEntity"
}
},
{
"type": "ImportSpecifier",
"start": 216,
"end": 233,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 216,
"end": 233,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 21
},
"identifierName": "TypeEntityWeakref"
},
"name": "TypeEntityWeakref"
},
"local": {
"type": "Identifier",
"start": 216,
"end": 233,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 21
},
"identifierName": "TypeEntityWeakref"
},
"name": "TypeEntityWeakref"
}
},
{
"type": "ImportSpecifier",
"start": 240,
"end": 248,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 12
}
},
"imported": {
"type": "Identifier",
"start": 240,
"end": 248,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 12
},
"identifierName": "TypeEnum"
},
"name": "TypeEnum"
},
"local": {
"type": "Identifier",
"start": 240,
"end": 248,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 12
},
"identifierName": "TypeEnum"
},
"name": "TypeEnum"
}
},
{
"type": "ImportSpecifier",
"start": 255,
"end": 269,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 18
}
},
"imported": {
"type": "Identifier",
"start": 255,
"end": 269,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 18
},
"identifierName": "TypeFixedClass"
},
"name": "TypeFixedClass"
},
"local": {
"type": "Identifier",
"start": 255,
"end": 269,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 18
},
"identifierName": "TypeFixedClass"
},
"name": "TypeFixedClass"
}
},
{
"type": "ImportSpecifier",
"start": 276,
"end": 287,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 15
}
},
"imported": {
"type": "Identifier",
"start": 276,
"end": 287,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 15
},
"identifierName": "TypeInteger"
},
"name": "TypeInteger"
},
"local": {
"type": "Identifier",
"start": 276,
"end": 287,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 15
},
"identifierName": "TypeInteger"
},
"name": "TypeInteger"
}
},
{
"type": "ImportSpecifier",
"start": 294,
"end": 309,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 19
}
},
"imported": {
"type": "Identifier",
"start": 294,
"end": 309,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 19
},
"identifierName": "TypeKeyValueMap"
},
"name": "TypeKeyValueMap"
},
"local": {
"type": "Identifier",
"start": 294,
"end": 309,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 19
},
"identifierName": "TypeKeyValueMap"
},
"name": "TypeKeyValueMap"
}
},
{
"type": "ImportSpecifier",
"start": 316,
"end": 329,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 17
}
},
"imported": {
"type": "Identifier",
"start": 316,
"end": 329,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 17
},
"identifierName": "TypeMetaClass"
},
"name": "TypeMetaClass"
},
"local": {
"type": "Identifier",
"start": 316,
"end": 329,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 17
},
"identifierName": "TypeMetaClass"
},
"name": "TypeMetaClass"
}
},
{
"type": "ImportSpecifier",
"start": 336,
"end": 348,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 16
}
},
"imported": {
"type": "Identifier",
"start": 336,
"end": 348,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 16
},
"identifierName": "TypeNullable"
},
"name": "TypeNullable"
},
"local": {
"type": "Identifier",
"start": 336,
"end": 348,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 16
},
"identifierName": "TypeNullable"
},
"name": "TypeNullable"
}
},
{
"type": "ImportSpecifier",
"start": 355,
"end": 365,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 14
}
},
"imported": {
"type": "Identifier",
"start": 355,
"end": 365,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 14
},
"identifierName": "TypeNumber"
},
"name": "TypeNumber"
},
"local": {
"type": "Identifier",
"start": 355,
"end": 365,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 14
},
"identifierName": "TypeNumber"
},
"name": "TypeNumber"
}
},
{
"type": "ImportSpecifier",
"start": 372,
"end": 380,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 12
}
},
"imported": {
"type": "Identifier",
"start": 372,
"end": 380,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 12
},
"identifierName": "TypePair"
},
"name": "TypePair"
},
"local": {
"type": "Identifier",
"start": 372,
"end": 380,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 12
},
"identifierName": "TypePair"
},
"name": "TypePair"
}
},
{
"type": "ImportSpecifier",
"start": 387,
"end": 406,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 23
}
},
"imported": {
"type": "Identifier",
"start": 387,
"end": 406,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 23
},
"identifierName": "TypePositiveInteger"
},
"name": "TypePositiveInteger"
},
"local": {
"type": "Identifier",
"start": 387,
"end": 406,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 23
},
"identifierName": "TypePositiveInteger"
},
"name": "TypePositiveInteger"
}
},
{
"type": "ImportSpecifier",
"start": 413,
"end": 431,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 22
}
},
"imported": {
"type": "Identifier",
"start": 413,
"end": 431,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 22
},
"identifierName": "TypePositiveNumber"
},
"name": "TypePositiveNumber"
},
"local": {
"type": "Identifier",
"start": 413,
"end": 431,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 22
},
"identifierName": "TypePositiveNumber"
},
"name": "TypePositiveNumber"
}
},
{
"type": "ImportSpecifier",
"start": 438,
"end": 448,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 14
}
},
"imported": {
"type": "Identifier",
"start": 438,
"end": 448,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 14
},
"identifierName": "TypeString"
},
"name": "TypeString"
},
"local": {
"type": "Identifier",
"start": 438,
"end": 448,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 14
},
"identifierName": "TypeString"
},
"name": "TypeString"
}
},
{
"type": "ImportSpecifier",
"start": 455,
"end": 475,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 455,
"end": 475,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 24
},
"identifierName": "TypeStructuredObject"
},
"name": "TypeStructuredObject"
},
"local": {
"type": "Identifier",
"start": 455,
"end": 475,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 24
},
"identifierName": "TypeStructuredObject"
},
"name": "TypeStructuredObject"
}
},
{
"type": "ImportSpecifier",
"start": 482,
"end": 492,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 14
}
},
"imported": {
"type": "Identifier",
"start": 482,
"end": 492,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 14
},
"identifierName": "TypeVector"
},
"name": "TypeVector"
},
"local": {
"type": "Identifier",
"start": 482,
"end": 492,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 14
},
"identifierName": "TypeVector"
},
"name": "TypeVector"
}
}
],
"source": {
"type": "StringLiteral",
"start": 502,
"end": 530,
"loc": {
"start": {
"line": 25,
"column": 7
},
"end": {
"line": 25,
"column": 35
}
},
"extra": {
"rawValue": "./serialization_data_types",
"raw": "\"./serialization_data_types\""
},
"value": "./serialization_data_types"
}
},
{
"type": "VariableDeclaration",
"start": 535,
"end": 580,
"loc": {
"start": {
"line": 27,
"column": 0
},
"end": {
"line": 27,
"column": 45
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 541,
"end": 579,
"loc": {
"start": {
"line": 27,
"column": 6
},
"end": {
"line": 27,
"column": 44
}
},
"id": {
"type": "Identifier",
"start": 541,
"end": 547,
"loc": {
"start": {
"line": 27,
"column": 6
},
"end": {
"line": 27,
"column": 12
},
"identifierName": "logger"
},
"name": "logger"
},
"init": {
"type": "CallExpression",
"start": 550,
"end": 579,
"loc": {
"start": {
"line": 27,
"column": 15
},
"end": {
"line": 27,
"column": 44
}
},
"callee": {
"type": "Identifier",
"start": 550,
"end": 562,
"loc": {
"start": {
"line": 27,
"column": 15
},
"end": {
"line": 27,
"column": 27
},
"identifierName": "createLogger"
},
"name": "createLogger"
},
"arguments": [
{
"type": "StringLiteral",
"start": 563,
"end": 578,
"loc": {
"start": {
"line": 27,
"column": 28
},
"end": {
"line": 27,
"column": 43
}
},
"extra": {
"rawValue": "serialization",
"raw": "\"serialization\""
},
"value": "serialization"
}
]
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentLine",
"value": " Schema declarations",
"start": 584,
"end": 606,
"loc": {
"start": {
"line": 29,
"column": 0
},
"end": {
"line": 29,
"column": 22
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 608,
"end": 3154,
"loc": {
"start": {
"line": 30,
"column": 0
},
"end": {
"line": 135,
"column": 2
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "VariableDeclaration",
"start": 615,
"end": 3154,
"loc": {
"start": {
"line": 30,
"column": 7
},
"end": {
"line": 135,
"column": 2
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 621,
"end": 3153,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 135,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 621,
"end": 626,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 18
},
"identifierName": "types"
},
"name": "types",
"leadingComments": null
},
"init": {
"type": "ObjectExpression",
"start": 629,
"end": 3153,
"loc": {
"start": {
"line": 30,
"column": 21
},
"end": {
"line": 135,
"column": 1
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 636,
"end": 658,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 26
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 636,
"end": 639,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 7
},
"identifierName": "int"
},
"name": "int"
},
"value": {
"type": "NewExpression",
"start": 641,
"end": 658,
"loc": {
"start": {
"line": 31,
"column": 9
},
"end": {
"line": 31,
"column": 26
}
},
"callee": {
"type": "Identifier",
"start": 645,
"end": 656,
"loc": {
"start": {
"line": 31,
"column": 13
},
"end": {
"line": 31,
"column": 24
},
"identifierName": "TypeInteger"
},
"name": "TypeInteger"
},
"arguments": []
}
},
{
"type": "ObjectProperty",
"start": 665,
"end": 696,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 35
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 665,
"end": 669,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 8
},
"identifierName": "uint"
},
"name": "uint"
},
"value": {
"type": "NewExpression",
"start": 671,
"end": 696,
"loc": {
"start": {
"line": 32,
"column": 10
},
"end": {
"line": 32,
"column": 35
}
},
"callee": {
"type": "Identifier",
"start": 675,
"end": 694,
"loc": {
"start": {
"line": 32,
"column": 14
},
"end": {
"line": 32,
"column": 33
},
"identifierName": "TypePositiveInteger"
},
"name": "TypePositiveInteger"
},
"arguments": []
}
},
{
"type": "ObjectProperty",
"start": 703,
"end": 726,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 27
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 703,
"end": 708,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 9
},
"identifierName": "float"
},
"name": "float"
},
"value": {
"type": "NewExpression",
"start": 710,
"end": 726,
"loc": {
"start": {
"line": 33,
"column": 11
},
"end": {
"line": 33,
"column": 27
}
},
"callee": {
"type": "Identifier",
"start": 714,
"end": 724,
"loc": {
"start": {
"line": 33,
"column": 15
},
"end": {
"line": 33,
"column": 25
},
"identifierName": "TypeNumber"
},
"name": "TypeNumber"
},
"arguments": []
}
},
{
"type": "ObjectProperty",
"start": 733,
"end": 765,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 36
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 733,
"end": 739,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 10
},
"identifierName": "ufloat"
},
"name": "ufloat"
},
"value": {
"type": "NewExpression",
"start": 741,
"end": 765,
"loc": {
"start": {
"line": 34,
"column": 12
},
"end": {
"line": 34,
"column": 36
}
},
"callee": {
"type": "Identifier",
"start": 745,
"end": 763,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 34
},
"identifierName": "TypePositiveNumber"
},
"name": "TypePositiveNumber"
},
"arguments": []
}
},
{
"type": "ObjectProperty",
"start": 772,
"end": 796,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 28
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 772,
"end": 778,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 10
},
"identifierName": "string"
},
"name": "string"
},
"value": {
"type": "NewExpression",
"start": 780,
"end": 796,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 28
}
},
"callee": {
"type": "Identifier",
"start": 784,
"end": 794,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 26
},
"identifierName": "TypeString"
},
"name": "TypeString"
},
"arguments": []
}
},
{
"type": "ObjectProperty",
"start": 803,
"end": 827,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 36,
"column": 28
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 803,
"end": 809,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 36,
"column": 10
},
"identifierName": "entity"
},
"name": "entity"
},
"value": {
"type": "NewExpression",
"start": 811,
"end": 827,
"loc": {
"start": {
"line": 36,
"column": 12
},
"end": {
"line": 36,
"column": 28
}
},
"callee": {
"type": "Identifier",
"start": 815,
"end": 825,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 26
},
"identifierName": "TypeEntity"
},
"name": "TypeEntity"
},
"arguments": []
}
},
{
"type": "ObjectProperty",
"start": 834,
"end": 872,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 42
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 834,
"end": 847,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 17
},
"identifierName": "weakEntityRef"
},
"name": "weakEntityRef"
},
"value": {
"type": "NewExpression",
"start": 849,
"end": 872,
"loc": {
"start": {
"line": 37,
"column": 19
},
"end": {
"line": 37,
"column": 42
}
},
"callee": {
"type": "Identifier",
"start": 853,
"end": 870,
"loc": {
"start": {
"line": 37,
"column": 23
},
"end": {
"line": 37,
"column": 40
},
"identifierName": "TypeEntityWeakref"
},
"name": "TypeEntityWeakref"
},
"arguments": []
}
},
{
"type": "ObjectProperty",
"start": 879,
"end": 903,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 38,
"column": 28
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 879,
"end": 885,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 38,
"column": 10
},
"identifierName": "vector"
},
"name": "vector"
},
"value": {
"type": "NewExpression",
"start": 887,
"end": 903,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 28
}
},
"callee": {
"type": "Identifier",
"start": 891,
"end": 901,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 26
},
"identifierName": "TypeVector"
},
"name": "TypeVector"
},
"arguments": []
}
},
{
"type": "ObjectProperty",
"start": 910,
"end": 938,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 32
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 910,
"end": 920,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 14
},
"identifierName": "tileVector"
},
"name": "tileVector"
},
"value": {
"type": "NewExpression",
"start": 922,
"end": 938,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 32
}
},
"callee": {
"type": "Identifier",
"start": 926,
"end": 936,
"loc": {
"start": {
"line": 39,
"column": 20
},
"end": {
"line": 39,
"column": 30
},
"identifierName": "TypeVector"
},
"name": "TypeVector"
},
"arguments": []
}
},
{
"type": "ObjectProperty",
"start": 945,
"end": 968,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 27
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 945,
"end": 949,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 8
},
"identifierName": "bool"
},
"name": "bool"
},
"value": {
"type": "NewExpression",
"start": 951,
"end": 968,
"loc": {
"start": {
"line": 40,
"column": 10
},
"end": {
"line": 40,
"column": 27
}
},
"callee": {
"type": "Identifier",
"start": 955,
"end": 966,
"loc": {
"start": {
"line": 40,
"column": 14
},
"end": {
"line": 40,
"column": 25
},
"identifierName": "TypeBoolean"
},
"name": "TypeBoolean"
},
"arguments": []
}
},
{
"type": "ObjectMethod",
"start": 1033,
"end": 1102,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 47,
"column": 5
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1033,
"end": 1041,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 12
},
"identifierName": "nullable"
},
"name": "nullable",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1042,
"end": 1049,
"loc": {
"start": {
"line": 45,
"column": 13
},
"end": {
"line": 45,
"column": 20
},
"identifierName": "wrapped"
},
"name": "wrapped"
}
],
"body": {
"type": "BlockStatement",
"start": 1051,
"end": 1102,
"loc": {
"start": {
"line": 45,
"column": 22
},
"end": {
"line": 47,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1062,
"end": 1095,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 41
}
},
"argument": {
"type": "NewExpression",
"start": 1069,
"end": 1094,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 46,
"column": 40
}
},
"callee": {
"type": "Identifier",
"start": 1073,
"end": 1085,
"loc": {
"start": {
"line": 46,
"column": 19
},
"end": {
"line": 46,
"column": 31
},
"identifierName": "TypeNullable"
},
"name": "TypeNullable"
},
"arguments": [
{
"type": "Identifier",
"start": 1086,
"end": 1093,
"loc": {
"start": {
"line": 46,
"column": 32
},
"end": {
"line": 46,
"column": 39
},
"identifierName": "wrapped"
},
"name": "wrapped"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {BaseDataType} wrapped\r\n ",
"start": 977,
"end": 1027,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 44,
"column": 7
}
}
}
]
},
{
"type": "ObjectMethod",
"start": 1202,
"end": 1271,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 54,
"column": 5
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1202,
"end": 1209,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 11
},
"identifierName": "classId"
},
"name": "classId",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1210,
"end": 1218,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 20
},
"identifierName": "registry"
},
"name": "registry"
}
],
"body": {
"type": "BlockStatement",
"start": 1220,
"end": 1271,
"loc": {
"start": {
"line": 52,
"column": 22
},
"end": {
"line": 54,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1231,
"end": 1264,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 41
}
},
"argument": {
"type": "NewExpression",
"start": 1238,
"end": 1263,
"loc": {
"start": {
"line": 53,
"column": 15
},
"end": {
"line": 53,
"column": 40
}
},
"callee": {
"type": "Identifier",
"start": 1242,
"end": 1253,
"loc": {
"start": {
"line": 53,
"column": 19
},
"end": {
"line": 53,
"column": 30
},
"identifierName": "TypeClassId"
},
"name": "TypeClassId"
},
"arguments": [
{
"type": "Identifier",
"start": 1254,
"end": 1262,
"loc": {
"start": {
"line": 53,
"column": 31
},
"end": {
"line": 53,
"column": 39
},
"identifierName": "registry"
},
"name": "registry"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {FactoryTemplate<*>|SingletonFactoryTemplate<*>} registry\r\n ",
"start": 1111,
"end": 1196,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 51,
"column": 7
}
}
}
]
},
{
"type": "ObjectMethod",
"start": 1381,
"end": 1507,
"loc": {
"start": {
"line": 59,
"column": 4
},
"end": {
"line": 61,
"column": 5
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1381,
"end": 1392,
"loc": {
"start": {
"line": 59,
"column": 4
},
"end": {
"line": 59,
"column": 15
},
"identifierName": "keyValueMap"
},
"name": "keyValueMap",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1393,
"end": 1402,
"loc": {
"start": {
"line": 59,
"column": 16
},
"end": {
"line": 59,
"column": 25
},
"identifierName": "valueType"
},
"name": "valueType"
},
{
"type": "AssignmentPattern",
"start": 1404,
"end": 1429,
"loc": {
"start": {
"line": 59,
"column": 27
},
"end": {
"line": 59,
"column": 52
}
},
"left": {
"type": "Identifier",
"start": 1404,
"end": 1422,
"loc": {
"start": {
"line": 59,
"column": 27
},
"end": {
"line": 59,
"column": 45
},
"identifierName": "includeEmptyValues"
},
"name": "includeEmptyValues"
},
"right": {
"type": "BooleanLiteral",
"start": 1425,
"end": 1429,
"loc": {
"start": {
"line": 59,
"column": 48
},
"end": {
"line": 59,
"column": 52
}
},
"value": true
}
}
],
"body": {
"type": "BlockStatement",
"start": 1431,
"end": 1507,
"loc": {
"start": {
"line": 59,
"column": 54
},
"end": {
"line": 61,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1442,
"end": 1500,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 66
}
},
"argument": {
"type": "NewExpression",
"start": 1449,
"end": 1499,
"loc": {
"start": {
"line": 60,
"column": 15
},
"end": {
"line": 60,
"column": 65
}
},
"callee": {
"type": "Identifier",
"start": 1453,
"end": 1468,
"loc": {
"start": {
"line": 60,
"column": 19
},
"end": {
"line": 60,
"column": 34
},
"identifierName": "TypeKeyValueMap"
},
"name": "TypeKeyValueMap"
},
"arguments": [
{
"type": "Identifier",
"start": 1469,
"end": 1478,
"loc": {
"start": {
"line": 60,
"column": 35
},
"end": {
"line": 60,
"column": 44
},
"identifierName": "valueType"
},
"name": "valueType"
},
{
"type": "Identifier",
"start": 1480,
"end": 1498,
"loc": {
"start": {
"line": 60,
"column": 46
},
"end": {
"line": 60,
"column": 64
},
"identifierName": "includeEmptyValues"
},
"name": "includeEmptyValues"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {BaseDataType} valueType\r\n * @param {boolean=} includeEmptyValues\r\n ",
"start": 1278,
"end": 1375,
"loc": {
"start": {
"line": 55,
"column": 4
},
"end": {
"line": 58,
"column": 7
}
}
}
]
},
{
"type": "ObjectMethod",
"start": 1578,
"end": 1637,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 68,
"column": 5
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1578,
"end": 1582,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 66,
"column": 8
},
"identifierName": "enum"
},
"name": "enum",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1583,
"end": 1589,
"loc": {
"start": {
"line": 66,
"column": 9
},
"end": {
"line": 66,
"column": 15
},
"identifierName": "values"
},
"name": "values"
}
],
"body": {
"type": "BlockStatement",
"start": 1591,
"end": 1637,
"loc": {
"start": {
"line": 66,
"column": 17
},
"end": {
"line": 68,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1602,
"end": 1630,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 36
}
},
"argument": {
"type": "NewExpression",
"start": 1609,
"end": 1629,
"loc": {
"start": {
"line": 67,
"column": 15
},
"end": {
"line": 67,
"column": 35
}
},
"callee": {
"type": "Identifier",
"start": 1613,
"end": 1621,
"loc": {
"start": {
"line": 67,
"column": 19
},
"end": {
"line": 67,
"column": 27
},
"identifierName": "TypeEnum"
},
"name": "TypeEnum"
},
"arguments": [
{
"type": "Identifier",
"start": 1622,
"end": 1628,
"loc": {
"start": {
"line": 67,
"column": 28
},
"end": {
"line": 67,
"column": 34
},
"identifierName": "values"
},
"name": "values"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Object<string, any>} values\r\n ",
"start": 1516,
"end": 1572,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 65,
"column": 7
}
}
}
]
},
{
"type": "ObjectMethod",
"start": 1762,
"end": 1852,
"loc": {
"start": {
"line": 74,
"column": 4
},
"end": {
"line": 76,
"column": 5
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1762,
"end": 1765,
"loc": {
"start": {
"line": 74,
"column": 4
},
"end": {
"line": 74,
"column": 7
},
"identifierName": "obj"
},
"name": "obj",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1766,
"end": 1774,
"loc": {
"start": {
"line": 74,
"column": 8
},
"end": {
"line": 74,
"column": 16
},
"identifierName": "registry"
},
"name": "registry"
},
{
"type": "AssignmentPattern",
"start": 1776,
"end": 1791,
"loc": {
"start": {
"line": 74,
"column": 18
},
"end": {
"line": 74,
"column": 33
}
},
"left": {
"type": "Identifier",
"start": 1776,
"end": 1784,
"loc": {
"start": {
"line": 74,
"column": 18
},
"end": {
"line": 74,
"column": 26
},
"identifierName": "resolver"
},
"name": "resolver"
},
"right": {
"type": "NullLiteral",
"start": 1787,
"end": 1791,
"loc": {
"start": {
"line": 74,
"column": 29
},
"end": {
"line": 74,
"column": 33
}
}
}
}
],
"body": {
"type": "BlockStatement",
"start": 1793,
"end": 1852,
"loc": {
"start": {
"line": 74,
"column": 35
},
"end": {
"line": 76,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1804,
"end": 1845,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 49
}
},
"argument": {
"type": "NewExpression",
"start": 1811,
"end": 1844,
"loc": {
"start": {
"line": 75,
"column": 15
},
"end": {
"line": 75,
"column": 48
}
},
"callee": {
"type": "Identifier",
"start": 1815,
"end": 1824,
"loc": {
"start": {
"line": 75,
"column": 19
},
"end": {
"line": 75,
"column": 28
},
"identifierName": "TypeClass"
},
"name": "TypeClass"
},
"arguments": [
{
"type": "Identifier",
"start": 1825,
"end": 1833,
"loc": {
"start": {
"line": 75,
"column": 29
},
"end": {
"line": 75,
"column": 37
},
"identifierName": "registry"
},
"name": "registry"
},
{
"type": "Identifier",
"start": 1835,
"end": 1843,
"loc": {
"start": {
"line": 75,
"column": 39
},
"end": {
"line": 75,
"column": 47
},
"identifierName": "resolver"
},
"name": "resolver"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {FactoryTemplate<*>} registry\r\n * @param {(GameRoot, any) => object=} resolver\r\n ",
"start": 1646,
"end": 1756,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 73,
"column": 7
}
}
}
]
},
{
"type": "ObjectMethod",
"start": 1924,
"end": 1995,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 83,
"column": 5
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1924,
"end": 1931,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 81,
"column": 11
},
"identifierName": "objData"
},
"name": "objData",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1932,
"end": 1940,
"loc": {
"start": {
"line": 81,
"column": 12
},
"end": {
"line": 81,
"column": 20
},
"identifierName": "registry"
},
"name": "registry"
}
],
"body": {
"type": "BlockStatement",
"start": 1942,
"end": 1995,
"loc": {
"start": {
"line": 81,
"column": 22
},
"end": {
"line": 83,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1953,
"end": 1988,
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 82,
"column": 43
}
},
"argument": {
"type": "NewExpression",
"start": 1960,
"end": 1987,
"loc": {
"start": {
"line": 82,
"column": 15
},
"end": {
"line": 82,
"column": 42
}
},
"callee": {
"type": "Identifier",
"start": 1964,
"end": 1977,
"loc": {
"start": {
"line": 82,
"column": 19
},
"end": {
"line": 82,
"column": 32
},
"identifierName": "TypeClassData"
},
"name": "TypeClassData"
},
"arguments": [
{
"type": "Identifier",
"start": 1978,
"end": 1986,
"loc": {
"start": {
"line": 82,
"column": 33
},
"end": {
"line": 82,
"column": 41
},
"identifierName": "registry"
},
"name": "registry"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {FactoryTemplate<*>} registry\r\n ",
"start": 1861,
"end": 1918,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 80,
"column": 7
}
}
}
]
},
{
"type": "ObjectMethod",
"start": 2074,
"end": 2138,
"loc": {
"start": {
"line": 88,
"column": 4
},
"end": {
"line": 90,
"column": 5
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2074,
"end": 2083,
"loc": {
"start": {
"line": 88,
"column": 4
},
"end": {
"line": 88,
"column": 13
},
"identifierName": "knownType"
},
"name": "knownType",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2084,
"end": 2087,
"loc": {
"start": {
"line": 88,
"column": 14
},
"end": {
"line": 88,
"column": 17
},
"identifierName": "cls"
},
"name": "cls"
}
],
"body": {
"type": "BlockStatement",
"start": 2089,
"end": 2138,
"loc": {
"start": {
"line": 88,
"column": 19
},
"end": {
"line": 90,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2100,
"end": 2131,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 39
}
},
"argument": {
"type": "NewExpression",
"start": 2107,
"end": 2130,
"loc": {
"start": {
"line": 89,
"column": 15
},
"end": {
"line": 89,
"column": 38
}
},
"callee": {
"type": "Identifier",
"start": 2111,
"end": 2125,
"loc": {
"start": {
"line": 89,
"column": 19
},
"end": {
"line": 89,
"column": 33
},
"identifierName": "TypeFixedClass"
},
"name": "TypeFixedClass"
},
"arguments": [
{
"type": "Identifier",
"start": 2126,
"end": 2129,
"loc": {
"start": {
"line": 89,
"column": 34
},
"end": {
"line": 89,
"column": 37
},
"identifierName": "cls"
},
"name": "cls"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {typeof BasicSerializableObject} cls\r\n ",
"start": 2004,
"end": 2068,
"loc": {
"start": {
"line": 85,
"column": 4
},
"end": {
"line": 87,
"column": 7
}
}
}
]
},
{
"type": "ObjectMethod",
"start": 2205,
"end": 2272,
"loc": {
"start": {
"line": 95,
"column": 4
},
"end": {
"line": 97,
"column": 5
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2205,
"end": 2210,
"loc": {
"start": {
"line": 95,
"column": 4
},
"end": {
"line": 95,
"column": 9
},
"identifierName": "array"
},
"name": "array",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2211,
"end": 2220,
"loc": {
"start": {
"line": 95,
"column": 10
},
"end": {
"line": 95,
"column": 19
},
"identifierName": "innerType"
},
"name": "innerType"
}
],
"body": {
"type": "BlockStatement",
"start": 2222,
"end": 2272,
"loc": {
"start": {
"line": 95,
"column": 21
},
"end": {
"line": 97,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2233,
"end": 2265,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 96,
"column": 40
}
},
"argument": {
"type": "NewExpression",
"start": 2240,
"end": 2264,
"loc": {
"start": {
"line": 96,
"column": 15
},
"end": {
"line": 96,
"column": 39
}
},
"callee": {
"type": "Identifier",
"start": 2244,
"end": 2253,
"loc": {
"start": {
"line": 96,
"column": 19
},
"end": {
"line": 96,
"column": 28
},
"identifierName": "TypeArray"
},
"name": "TypeArray"
},
"arguments": [
{
"type": "Identifier",
"start": 2254,
"end": 2263,
"loc": {
"start": {
"line": 96,
"column": 29
},
"end": {
"line": 96,
"column": 38
},
"identifierName": "innerType"
},
"name": "innerType"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {BaseDataType} innerType\r\n ",
"start": 2147,
"end": 2199,
"loc": {
"start": {
"line": 92,
"column": 4
},
"end": {
"line": 94,
"column": 7
}
}
}
]
},
{
"type": "ObjectMethod",
"start": 2339,
"end": 2421,
"loc": {
"start": {
"line": 102,
"column": 4
},
"end": {
"line": 104,
"column": 5
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2339,
"end": 2353,
"loc": {
"start": {
"line": 102,
"column": 4
},
"end": {
"line": 102,
"column": 18
},
"identifierName": "fixedSizeArray"
},
"name": "fixedSizeArray",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2354,
"end": 2363,
"loc": {
"start": {
"line": 102,
"column": 19
},
"end": {
"line": 102,
"column": 28
},
"identifierName": "innerType"
},
"name": "innerType"
}
],
"body": {
"type": "BlockStatement",
"start": 2365,
"end": 2421,
"loc": {
"start": {
"line": 102,
"column": 30
},
"end": {
"line": 104,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2376,
"end": 2414,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 46
}
},
"argument": {
"type": "NewExpression",
"start": 2383,
"end": 2413,
"loc": {
"start": {
"line": 103,
"column": 15
},
"end": {
"line": 103,
"column": 45
}
},
"callee": {
"type": "Identifier",
"start": 2387,
"end": 2396,
"loc": {
"start": {
"line": 103,
"column": 19
},
"end": {
"line": 103,
"column": 28
},
"identifierName": "TypeArray"
},
"name": "TypeArray"
},
"arguments": [
{
"type": "Identifier",
"start": 2397,
"end": 2406,
"loc": {
"start": {
"line": 103,
"column": 29
},
"end": {
"line": 103,
"column": 38
},
"identifierName": "innerType"
},
"name": "innerType"
},
{
"type": "BooleanLiteral",
"start": 2408,
"end": 2412,
"loc": {
"start": {
"line": 103,
"column": 40
},
"end": {
"line": 103,
"column": 44
}
},
"value": true
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {BaseDataType} innerType\r\n ",
"start": 2281,
"end": 2333,
"loc": {
"start": {
"line": 99,
"column": 4
},
"end": {
"line": 101,
"column": 7
}
}
}
]
},
{
"type": "ObjectMethod",
"start": 2503,
"end": 2575,
"loc": {
"start": {
"line": 109,
"column": 4
},
"end": {
"line": 111,
"column": 5
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2503,
"end": 2511,
"loc": {
"start": {
"line": 109,
"column": 4
},
"end": {
"line": 109,
"column": 12
},
"identifierName": "classRef"
},
"name": "classRef",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2512,
"end": 2520,
"loc": {
"start": {
"line": 109,
"column": 13
},
"end": {
"line": 109,
"column": 21
},
"identifierName": "registry"
},
"name": "registry"
}
],
"body": {
"type": "BlockStatement",
"start": 2522,
"end": 2575,
"loc": {
"start": {
"line": 109,
"column": 23
},
"end": {
"line": 111,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2533,
"end": 2568,
"loc": {
"start": {
"line": 110,
"column": 8
},
"end": {
"line": 110,
"column": 43
}
},
"argument": {
"type": "NewExpression",
"start": 2540,
"end": 2567,
"loc": {
"start": {
"line": 110,
"column": 15
},
"end": {
"line": 110,
"column": 42
}
},
"callee": {
"type": "Identifier",
"start": 2544,
"end": 2557,
"loc": {
"start": {
"line": 110,
"column": 19
},
"end": {
"line": 110,
"column": 32
},
"identifierName": "TypeMetaClass"
},
"name": "TypeMetaClass"
},
"arguments": [
{
"type": "Identifier",
"start": 2558,
"end": 2566,
"loc": {
"start": {
"line": 110,
"column": 33
},
"end": {
"line": 110,
"column": 41
},
"identifierName": "registry"
},
"name": "registry"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {SingletonFactoryTemplate<*>} innerType\r\n ",
"start": 2430,
"end": 2497,
"loc": {
"start": {
"line": 106,
"column": 4
},
"end": {
"line": 108,
"column": 7
}
}
}
]
},
{
"type": "ObjectMethod",
"start": 2660,
"end": 2745,
"loc": {
"start": {
"line": 116,
"column": 4
},
"end": {
"line": 118,
"column": 5
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2660,
"end": 2670,
"loc": {
"start": {
"line": 116,
"column": 4
},
"end": {
"line": 116,
"column": 14
},
"identifierName": "structured"
},
"name": "structured",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2671,
"end": 2681,
"loc": {
"start": {
"line": 116,
"column": 15
},
"end": {
"line": 116,
"column": 25
},
"identifierName": "descriptor"
},
"name": "descriptor"
}
],
"body": {
"type": "BlockStatement",
"start": 2683,
"end": 2745,
"loc": {
"start": {
"line": 116,
"column": 27
},
"end": {
"line": 118,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2694,
"end": 2738,
"loc": {
"start": {
"line": 117,
"column": 8
},
"end": {
"line": 117,
"column": 52
}
},
"argument": {
"type": "NewExpression",
"start": 2701,
"end": 2737,
"loc": {
"start": {
"line": 117,
"column": 15
},
"end": {
"line": 117,
"column": 51
}
},
"callee": {
"type": "Identifier",
"start": 2705,
"end": 2725,
"loc": {
"start": {
"line": 117,
"column": 19
},
"end": {
"line": 117,
"column": 39
},
"identifierName": "TypeStructuredObject"
},
"name": "TypeStructuredObject"
},
"arguments": [
{
"type": "Identifier",
"start": 2726,
"end": 2736,
"loc": {
"start": {
"line": 117,
"column": 40
},
"end": {
"line": 117,
"column": 50
},
"identifierName": "descriptor"
},
"name": "descriptor"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {Object.<string, BaseDataType>} descriptor\r\n ",
"start": 2584,
"end": 2654,
"loc": {
"start": {
"line": 113,
"column": 4
},
"end": {
"line": 115,
"column": 7
}
}
}
]
},
{
"type": "ObjectMethod",
"start": 2836,
"end": 2891,
"loc": {
"start": {
"line": 124,
"column": 4
},
"end": {
"line": 126,
"column": 5
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2836,
"end": 2840,
"loc": {
"start": {
"line": 124,
"column": 4
},
"end": {
"line": 124,
"column": 8
},
"identifierName": "pair"
},
"name": "pair",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2841,
"end": 2842,
"loc": {
"start": {
"line": 124,
"column": 9
},
"end": {
"line": 124,
"column": 10
},
"identifierName": "a"
},
"name": "a"
},
{
"type": "Identifier",
"start": 2844,
"end": 2845,
"loc": {
"start": {
"line": 124,
"column": 12
},
"end": {
"line": 124,
"column": 13
},
"identifierName": "b"
},
"name": "b"
}
],
"body": {
"type": "BlockStatement",
"start": 2847,
"end": 2891,
"loc": {
"start": {
"line": 124,
"column": 15
},
"end": {
"line": 126,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2858,
"end": 2884,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 34
}
},
"argument": {
"type": "NewExpression",
"start": 2865,
"end": 2883,
"loc": {
"start": {
"line": 125,
"column": 15
},
"end": {
"line": 125,
"column": 33
}
},
"callee": {
"type": "Identifier",
"start": 2869,
"end": 2877,
"loc": {
"start": {
"line": 125,
"column": 19
},
"end": {
"line": 125,
"column": 27
},
"identifierName": "TypePair"
},
"name": "TypePair"
},
"arguments": [
{
"type": "Identifier",
"start": 2878,
"end": 2879,
"loc": {
"start": {
"line": 125,
"column": 28
},
"end": {
"line": 125,
"column": 29
},
"identifierName": "a"
},
"name": "a"
},
{
"type": "Identifier",
"start": 2881,
"end": 2882,
"loc": {
"start": {
"line": 125,
"column": 31
},
"end": {
"line": 125,
"column": 32
},
"identifierName": "b"
},
"name": "b"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {BaseDataType} a\r\n * @param {BaseDataType} b\r\n ",
"start": 2754,
"end": 2830,
"loc": {
"start": {
"line": 120,
"column": 4
},
"end": {
"line": 123,
"column": 7
}
}
}
]
},
{
"type": "ObjectMethod",
"start": 3032,
"end": 3149,
"loc": {
"start": {
"line": 132,
"column": 4
},
"end": {
"line": 134,
"column": 5
}
},
"method": true,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3032,
"end": 3050,
"loc": {
"start": {
"line": 132,
"column": 4
},
"end": {
"line": 132,
"column": 22
},
"identifierName": "classWithMetaclass"
},
"name": "classWithMetaclass",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3051,
"end": 3062,
"loc": {
"start": {
"line": 132,
"column": 23
},
"end": {
"line": 132,
"column": 34
},
"identifierName": "classHandle"
},
"name": "classHandle"
},
{
"type": "Identifier",
"start": 3064,
"end": 3072,
"loc": {
"start": {
"line": 132,
"column": 36
},
"end": {
"line": 132,
"column": 44
},
"identifierName": "registry"
},
"name": "registry"
}
],
"body": {
"type": "BlockStatement",
"start": 3074,
"end": 3149,
"loc": {
"start": {
"line": 132,
"column": 46
},
"end": {
"line": 134,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3085,
"end": 3142,
"loc": {
"start": {
"line": 133,
"column": 8
},
"end": {
"line": 133,
"column": 65
}
},
"argument": {
"type": "NewExpression",
"start": 3092,
"end": 3141,
"loc": {
"start": {
"line": 133,
"column": 15
},
"end": {
"line": 133,
"column": 64
}
},
"callee": {
"type": "Identifier",
"start": 3096,
"end": 3118,
"loc": {
"start": {
"line": 133,
"column": 19
},
"end": {
"line": 133,
"column": 41
},
"identifierName": "TypeClassFromMetaclass"
},
"name": "TypeClassFromMetaclass"
},
"arguments": [
{
"type": "Identifier",
"start": 3119,
"end": 3130,
"loc": {
"start": {
"line": 133,
"column": 42
},
"end": {
"line": 133,
"column": 53
},
"identifierName": "classHandle"
},
"name": "classHandle"
},
{
"type": "Identifier",
"start": 3132,
"end": 3140,
"loc": {
"start": {
"line": 133,
"column": 55
},
"end": {
"line": 133,
"column": 63
},
"identifierName": "registry"
},
"name": "registry"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {typeof BasicSerializableObject} classHandle\r\n * @param {SingletonFactoryTemplate<*>} registry\r\n ",
"start": 2900,
"end": 3026,
"loc": {
"start": {
"line": 128,
"column": 4
},
"end": {
"line": 131,
"column": 7
}
}
}
]
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentLine",
"value": " Schema declarations",
"start": 584,
"end": 606,
"loc": {
"start": {
"line": 29,
"column": 0
},
"end": {
"line": 29,
"column": 22
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * A full schema declaration\r\n * @typedef {Object.<string, BaseDataType>} Schema\r\n ",
"start": 3158,
"end": 3248,
"loc": {
"start": {
"line": 137,
"column": 0
},
"end": {
"line": 140,
"column": 3
}
}
}
]
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Schema declarations",
"start": 584,
"end": 606,
"loc": {
"start": {
"line": 29,
"column": 0
},
"end": {
"line": 29,
"column": 22
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * A full schema declaration\r\n * @typedef {Object.<string, BaseDataType>} Schema\r\n ",
"start": 3158,
"end": 3248,
"loc": {
"start": {
"line": 137,
"column": 0
},
"end": {
"line": 140,
"column": 3
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 3252,
"end": 3281,
"loc": {
"start": {
"line": 142,
"column": 0
},
"end": {
"line": 142,
"column": 29
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3258,
"end": 3280,
"loc": {
"start": {
"line": 142,
"column": 6
},
"end": {
"line": 142,
"column": 28
}
},
"id": {
"type": "Identifier",
"start": 3258,
"end": 3275,
"loc": {
"start": {
"line": 142,
"column": 6
},
"end": {
"line": 142,
"column": 23
},
"identifierName": "globalSchemaCache"
},
"name": "globalSchemaCache",
"leadingComments": null
},
"init": {
"type": "ObjectExpression",
"start": 3278,
"end": 3280,
"loc": {
"start": {
"line": 142,
"column": 26
},
"end": {
"line": 142,
"column": 28
}
},
"properties": []
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * A full schema declaration\r\n * @typedef {Object.<string, BaseDataType>} Schema\r\n ",
"start": 3158,
"end": 3248,
"loc": {
"start": {
"line": 137,
"column": 0
},
"end": {
"line": 140,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": " dev:start ",
"start": 3285,
"end": 3300,
"loc": {
"start": {
"line": 144,
"column": 0
},
"end": {
"line": 144,
"column": 15
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 3302,
"end": 3329,
"loc": {
"start": {
"line": 145,
"column": 0
},
"end": {
"line": 145,
"column": 27
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3308,
"end": 3328,
"loc": {
"start": {
"line": 145,
"column": 6
},
"end": {
"line": 145,
"column": 26
}
},
"id": {
"type": "Identifier",
"start": 3308,
"end": 3323,
"loc": {
"start": {
"line": 145,
"column": 6
},
"end": {
"line": 145,
"column": 21
},
"identifierName": "classnamesCache"
},
"name": "classnamesCache",
"leadingComments": null
},
"init": {
"type": "ObjectExpression",
"start": 3326,
"end": 3328,
"loc": {
"start": {
"line": 145,
"column": 24
},
"end": {
"line": 145,
"column": 26
}
},
"properties": []
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": " dev:start ",
"start": 3285,
"end": 3300,
"loc": {
"start": {
"line": 144,
"column": 0
},
"end": {
"line": 144,
"column": 15
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": " dev:end",
"start": 3331,
"end": 3343,
"loc": {
"start": {
"line": 146,
"column": 0
},
"end": {
"line": 146,
"column": 12
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 3347,
"end": 5158,
"loc": {
"start": {
"line": 148,
"column": 0
},
"end": {
"line": 220,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 3354,
"end": 5158,
"loc": {
"start": {
"line": 148,
"column": 7
},
"end": {
"line": 220,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 3360,
"end": 3383,
"loc": {
"start": {
"line": 148,
"column": 13
},
"end": {
"line": 148,
"column": 36
},
"identifierName": "BasicSerializableObject"
},
"name": "BasicSerializableObject",
"leadingComments": null
},
"superClass": null,
"body": {
"type": "ClassBody",
"start": 3384,
"end": 5158,
"loc": {
"start": {
"line": 148,
"column": 37
},
"end": {
"line": 220,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 3546,
"end": 3569,
"loc": {
"start": {
"line": 154,
"column": 4
},
"end": {
"line": 154,
"column": 27
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 3546,
"end": 3557,
"loc": {
"start": {
"line": 154,
"column": 4
},
"end": {
"line": 154,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor",
"leadingComments": null
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "RestElement",
"start": 3558,
"end": 3565,
"loc": {
"start": {
"line": 154,
"column": 16
},
"end": {
"line": 154,
"column": 23
}
},
"argument": {
"type": "Identifier",
"start": 3561,
"end": 3565,
"loc": {
"start": {
"line": 154,
"column": 19
},
"end": {
"line": 154,
"column": 23
},
"identifierName": "args"
},
"name": "args"
}
}
],
"body": {
"type": "BlockStatement",
"start": 3567,
"end": 3569,
"loc": {
"start": {
"line": 154,
"column": 25
},
"end": {
"line": 154,
"column": 27
}
},
"body": [],
"directives": [],
"leadingComments": null,
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": " dev:start ",
"start": 3391,
"end": 3406,
"loc": {
"start": {
"line": 149,
"column": 4
},
"end": {
"line": 149,
"column": 19
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Fixes typeof DerivedComponent is not assignable to typeof Component, compiled out\r\n * in non-dev builds\r\n ",
"start": 3412,
"end": 3540,
"loc": {
"start": {
"line": 150,
"column": 4
},
"end": {
"line": 153,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": " dev:end ",
"start": 3577,
"end": 3590,
"loc": {
"start": {
"line": 156,
"column": 4
},
"end": {
"line": 156,
"column": 17
}
}
}
]
},
{
"type": "ClassMethod",
"start": 3598,
"end": 3640,
"loc": {
"start": {
"line": 158,
"column": 4
},
"end": {
"line": 160,
"column": 5
}
},
"static": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 3605,
"end": 3610,
"loc": {
"start": {
"line": 158,
"column": 11
},
"end": {
"line": 158,
"column": 16
},
"identifierName": "getId"
},
"name": "getId"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 3613,
"end": 3640,
"loc": {
"start": {
"line": 158,
"column": 19
},
"end": {
"line": 160,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3624,
"end": 3633,
"loc": {
"start": {
"line": 159,
"column": 8
},
"end": {
"line": 159,
"column": 17
}
},
"expression": {
"type": "Identifier",
"start": 3624,
"end": 3632,
"loc": {
"start": {
"line": 159,
"column": 8
},
"end": {
"line": 159,
"column": 16
},
"identifierName": "abstract"
},
"name": "abstract"
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": " dev:end ",
"start": 3577,
"end": 3590,
"loc": {
"start": {
"line": 156,
"column": 4
},
"end": {
"line": 156,
"column": 17
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Should return the serialization schema\r\n * @returns {Schema}\r\n ",
"start": 3648,
"end": 3733,
"loc": {
"start": {
"line": 162,
"column": 4
},
"end": {
"line": 165,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 3739,
"end": 3786,
"loc": {
"start": {
"line": 166,
"column": 4
},
"end": {
"line": 168,
"column": 5
}
},
"static": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 3746,
"end": 3755,
"loc": {
"start": {
"line": 166,
"column": 11
},
"end": {
"line": 166,
"column": 20
},
"identifierName": "getSchema"
},
"name": "getSchema"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 3758,
"end": 3786,
"loc": {
"start": {
"line": 166,
"column": 23
},
"end": {
"line": 168,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 3769,
"end": 3779,
"loc": {
"start": {
"line": 167,
"column": 8
},
"end": {
"line": 167,
"column": 18
}
},
"argument": {
"type": "ObjectExpression",
"start": 3776,
"end": 3778,
"loc": {
"start": {
"line": 167,
"column": 15
},
"end": {
"line": 167,
"column": 17
}
},
"properties": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Should return the serialization schema\r\n * @returns {Schema}\r\n ",
"start": 3648,
"end": 3733,
"loc": {
"start": {
"line": 162,
"column": 4
},
"end": {
"line": 165,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Implementation",
"start": 3794,
"end": 3811,
"loc": {
"start": {
"line": 170,
"column": 4
},
"end": {
"line": 170,
"column": 21
}
}
},
{
"type": "CommentBlock",
"value": "* @returns {Schema} ",
"start": 3817,
"end": 3841,
"loc": {
"start": {
"line": 171,
"column": 4
},
"end": {
"line": 171,
"column": 28
}
}
}
]
},
{
"type": "ClassMethod",
"start": 3847,
"end": 4402,
"loc": {
"start": {
"line": 172,
"column": 4
},
"end": {
"line": 191,
"column": 5
}
},
"static": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 3854,
"end": 3869,
"loc": {
"start": {
"line": 172,
"column": 11
},
"end": {
"line": 172,
"column": 26
},
"identifierName": "getCachedSchema"
},
"name": "getCachedSchema"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 3872,
"end": 4402,
"loc": {
"start": {
"line": 172,
"column": 29
},
"end": {
"line": 191,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 3883,
"end": 3907,
"loc": {
"start": {
"line": 173,
"column": 8
},
"end": {
"line": 173,
"column": 32
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 3889,
"end": 3906,
"loc": {
"start": {
"line": 173,
"column": 14
},
"end": {
"line": 173,
"column": 31
}
},
"id": {
"type": "Identifier",
"start": 3889,
"end": 3891,
"loc": {
"start": {
"line": 173,
"column": 14
},
"end": {
"line": 173,
"column": 16
},
"identifierName": "id"
},
"name": "id"
},
"init": {
"type": "CallExpression",
"start": 3894,
"end": 3906,
"loc": {
"start": {
"line": 173,
"column": 19
},
"end": {
"line": 173,
"column": 31
}
},
"callee": {
"type": "MemberExpression",
"start": 3894,
"end": 3904,
"loc": {
"start": {
"line": 173,
"column": 19
},
"end": {
"line": 173,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 3894,
"end": 3898,
"loc": {
"start": {
"line": 173,
"column": 19
},
"end": {
"line": 173,
"column": 23
}
}
},
"property": {
"type": "Identifier",
"start": 3899,
"end": 3904,
"loc": {
"start": {
"line": 173,
"column": 24
},
"end": {
"line": 173,
"column": 29
},
"identifierName": "getId"
},
"name": "getId"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const",
"trailingComments": [
{
"type": "CommentBlock",
"value": " dev:start ",
"start": 3919,
"end": 3934,
"loc": {
"start": {
"line": 175,
"column": 8
},
"end": {
"line": 175,
"column": 23
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 3944,
"end": 4118,
"loc": {
"start": {
"line": 176,
"column": 8
},
"end": {
"line": 179,
"column": 10
}
},
"expression": {
"type": "CallExpression",
"start": 3944,
"end": 4117,
"loc": {
"start": {
"line": 176,
"column": 8
},
"end": {
"line": 179,
"column": 9
}
},
"callee": {
"type": "Identifier",
"start": 3944,
"end": 3950,
"loc": {
"start": {
"line": 176,
"column": 8
},
"end": {
"line": 176,
"column": 14
},
"identifierName": "assert"
},
"name": "assert",
"leadingComments": null
},
"arguments": [
{
"type": "LogicalExpression",
"start": 3965,
"end": 4030,
"loc": {
"start": {
"line": 177,
"column": 12
},
"end": {
"line": 177,
"column": 77
}
},
"left": {
"type": "BinaryExpression",
"start": 3965,
"end": 3993,
"loc": {
"start": {
"line": 177,
"column": 12
},
"end": {
"line": 177,
"column": 40
}
},
"left": {
"type": "MemberExpression",
"start": 3965,
"end": 3984,
"loc": {
"start": {
"line": 177,
"column": 12
},
"end": {
"line": 177,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 3965,
"end": 3980,
"loc": {
"start": {
"line": 177,
"column": 12
},
"end": {
"line": 177,
"column": 27
},
"identifierName": "classnamesCache"
},
"name": "classnamesCache"
},
"property": {
"type": "Identifier",
"start": 3981,
"end": 3983,
"loc": {
"start": {
"line": 177,
"column": 28
},
"end": {
"line": 177,
"column": 30
},
"identifierName": "id"
},
"name": "id"
},
"computed": true
},
"operator": "===",
"right": {
"type": "ThisExpression",
"start": 3989,
"end": 3993,
"loc": {
"start": {
"line": 177,
"column": 36
},
"end": {
"line": 177,
"column": 40
}
}
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 3997,
"end": 4030,
"loc": {
"start": {
"line": 177,
"column": 44
},
"end": {
"line": 177,
"column": 77
}
},
"left": {
"type": "MemberExpression",
"start": 3997,
"end": 4016,
"loc": {
"start": {
"line": 177,
"column": 44
},
"end": {
"line": 177,
"column": 63
}
},
"object": {
"type": "Identifier",
"start": 3997,
"end": 4012,
"loc": {
"start": {
"line": 177,
"column": 44
},
"end": {
"line": 177,
"column": 59
},
"identifierName": "classnamesCache"
},
"name": "classnamesCache"
},
"property": {
"type": "Identifier",
"start": 4013,
"end": 4015,
"loc": {
"start": {
"line": 177,
"column": 60
},
"end": {
"line": 177,
"column": 62
},
"identifierName": "id"
},
"name": "id"
},
"computed": true
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 4021,
"end": 4030,
"loc": {
"start": {
"line": 177,
"column": 68
},
"end": {
"line": 177,
"column": 77
},
"identifierName": "undefined"
},
"name": "undefined"
}
}
},
{
"type": "BinaryExpression",
"start": 4045,
"end": 4106,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 73
}
},
"left": {
"type": "BinaryExpression",
"start": 4045,
"end": 4100,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 67
}
},
"left": {
"type": "BinaryExpression",
"start": 4045,
"end": 4088,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 55
}
},
"left": {
"type": "BinaryExpression",
"start": 4045,
"end": 4076,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 43
}
},
"left": {
"type": "StringLiteral",
"start": 4045,
"end": 4071,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 38
}
},
"extra": {
"rawValue": "Class name taken twice: ",
"raw": "\"Class name taken twice: \""
},
"value": "Class name taken twice: "
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 4074,
"end": 4076,
"loc": {
"start": {
"line": 178,
"column": 41
},
"end": {
"line": 178,
"column": 43
},
"identifierName": "id"
},
"name": "id"
}
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 4079,
"end": 4088,
"loc": {
"start": {
"line": 178,
"column": 46
},
"end": {
"line": 178,
"column": 55
}
},
"extra": {
"rawValue": " (from ",
"raw": "\" (from \""
},
"value": " (from "
}
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 4091,
"end": 4100,
"loc": {
"start": {
"line": 178,
"column": 58
},
"end": {
"line": 178,
"column": 67
}
},
"object": {
"type": "ThisExpression",
"start": 4091,
"end": 4095,
"loc": {
"start": {
"line": 178,
"column": 58
},
"end": {
"line": 178,
"column": 62
}
}
},
"property": {
"type": "Identifier",
"start": 4096,
"end": 4100,
"loc": {
"start": {
"line": 178,
"column": 63
},
"end": {
"line": 178,
"column": 67
},
"identifierName": "name"
},
"name": "name"
},
"computed": false
}
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 4103,
"end": 4106,
"loc": {
"start": {
"line": 178,
"column": 70
},
"end": {
"line": 178,
"column": 73
}
},
"extra": {
"rawValue": ")",
"raw": "\")\""
},
"value": ")"
}
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": " dev:start ",
"start": 3919,
"end": 3934,
"loc": {
"start": {
"line": 175,
"column": 8
},
"end": {
"line": 175,
"column": 23
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 4128,
"end": 4155,
"loc": {
"start": {
"line": 180,
"column": 8
},
"end": {
"line": 180,
"column": 35
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4128,
"end": 4154,
"loc": {
"start": {
"line": 180,
"column": 8
},
"end": {
"line": 180,
"column": 34
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4128,
"end": 4147,
"loc": {
"start": {
"line": 180,
"column": 8
},
"end": {
"line": 180,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 4128,
"end": 4143,
"loc": {
"start": {
"line": 180,
"column": 8
},
"end": {
"line": 180,
"column": 23
},
"identifierName": "classnamesCache"
},
"name": "classnamesCache"
},
"property": {
"type": "Identifier",
"start": 4144,
"end": 4146,
"loc": {
"start": {
"line": 180,
"column": 24
},
"end": {
"line": 180,
"column": 26
},
"identifierName": "id"
},
"name": "id"
},
"computed": true
},
"right": {
"type": "ThisExpression",
"start": 4150,
"end": 4154,
"loc": {
"start": {
"line": 180,
"column": 30
},
"end": {
"line": 180,
"column": 34
}
}
}
},
"trailingComments": [
{
"type": "CommentBlock",
"value": " dev:end ",
"start": 4165,
"end": 4178,
"loc": {
"start": {
"line": 181,
"column": 8
},
"end": {
"line": 181,
"column": 21
}
}
}
]
},
{
"type": "VariableDeclaration",
"start": 4190,
"end": 4226,
"loc": {
"start": {
"line": 183,
"column": 8
},
"end": {
"line": 183,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4196,
"end": 4225,
"loc": {
"start": {
"line": 183,
"column": 14
},
"end": {
"line": 183,
"column": 43
}
},
"id": {
"type": "Identifier",
"start": 4196,
"end": 4201,
"loc": {
"start": {
"line": 183,
"column": 14
},
"end": {
"line": 183,
"column": 19
},
"identifierName": "entry"
},
"name": "entry",
"leadingComments": null
},
"init": {
"type": "MemberExpression",
"start": 4204,
"end": 4225,
"loc": {
"start": {
"line": 183,
"column": 22
},
"end": {
"line": 183,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 4204,
"end": 4221,
"loc": {
"start": {
"line": 183,
"column": 22
},
"end": {
"line": 183,
"column": 39
},
"identifierName": "globalSchemaCache"
},
"name": "globalSchemaCache"
},
"property": {
"type": "Identifier",
"start": 4222,
"end": 4224,
"loc": {
"start": {
"line": 183,
"column": 40
},
"end": {
"line": 183,
"column": 42
},
"identifierName": "id"
},
"name": "id"
},
"computed": true
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": " dev:end ",
"start": 4165,
"end": 4178,
"loc": {
"start": {
"line": 181,
"column": 8
},
"end": {
"line": 181,
"column": 21
}
}
}
]
},
{
"type": "IfStatement",
"start": 4236,
"end": 4286,
"loc": {
"start": {
"line": 184,
"column": 8
},
"end": {
"line": 186,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 4240,
"end": 4245,
"loc": {
"start": {
"line": 184,
"column": 12
},
"end": {
"line": 184,
"column": 17
},
"identifierName": "entry"
},
"name": "entry"
},
"consequent": {
"type": "BlockStatement",
"start": 4247,
"end": 4286,
"loc": {
"start": {
"line": 184,
"column": 19
},
"end": {
"line": 186,
"column": 9
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4262,
"end": 4275,
"loc": {
"start": {
"line": 185,
"column": 12
},
"end": {
"line": 185,
"column": 25
}
},
"argument": {
"type": "Identifier",
"start": 4269,
"end": 4274,
"loc": {
"start": {
"line": 185,
"column": 19
},
"end": {
"line": 185,
"column": 24
},
"identifierName": "entry"
},
"name": "entry"
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 4298,
"end": 4330,
"loc": {
"start": {
"line": 188,
"column": 8
},
"end": {
"line": 188,
"column": 40
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 4304,
"end": 4329,
"loc": {
"start": {
"line": 188,
"column": 14
},
"end": {
"line": 188,
"column": 39
}
},
"id": {
"type": "Identifier",
"start": 4304,
"end": 4310,
"loc": {
"start": {
"line": 188,
"column": 14
},
"end": {
"line": 188,
"column": 20
},
"identifierName": "schema"
},
"name": "schema"
},
"init": {
"type": "CallExpression",
"start": 4313,
"end": 4329,
"loc": {
"start": {
"line": 188,
"column": 23
},
"end": {
"line": 188,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 4313,
"end": 4327,
"loc": {
"start": {
"line": 188,
"column": 23
},
"end": {
"line": 188,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 4313,
"end": 4317,
"loc": {
"start": {
"line": 188,
"column": 23
},
"end": {
"line": 188,
"column": 27
}
}
},
"property": {
"type": "Identifier",
"start": 4318,
"end": 4327,
"loc": {
"start": {
"line": 188,
"column": 28
},
"end": {
"line": 188,
"column": 37
},
"identifierName": "getSchema"
},
"name": "getSchema"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 4340,
"end": 4371,
"loc": {
"start": {
"line": 189,
"column": 8
},
"end": {
"line": 189,
"column": 39
}
},
"expression": {
"type": "AssignmentExpression",
"start": 4340,
"end": 4370,
"loc": {
"start": {
"line": 189,
"column": 8
},
"end": {
"line": 189,
"column": 38
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 4340,
"end": 4361,
"loc": {
"start": {
"line": 189,
"column": 8
},
"end": {
"line": 189,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 4340,
"end": 4357,
"loc": {
"start": {
"line": 189,
"column": 8
},
"end": {
"line": 189,
"column": 25
},
"identifierName": "globalSchemaCache"
},
"name": "globalSchemaCache"
},
"property": {
"type": "Identifier",
"start": 4358,
"end": 4360,
"loc": {
"start": {
"line": 189,
"column": 26
},
"end": {
"line": 189,
"column": 28
},
"identifierName": "id"
},
"name": "id"
},
"computed": true
},
"right": {
"type": "Identifier",
"start": 4364,
"end": 4370,
"loc": {
"start": {
"line": 189,
"column": 32
},
"end": {
"line": 189,
"column": 38
},
"identifierName": "schema"
},
"name": "schema"
}
}
},
{
"type": "ReturnStatement",
"start": 4381,
"end": 4395,
"loc": {
"start": {
"line": 190,
"column": 8
},
"end": {
"line": 190,
"column": 22
}
},
"argument": {
"type": "Identifier",
"start": 4388,
"end": 4394,
"loc": {
"start": {
"line": 190,
"column": 15
},
"end": {
"line": 190,
"column": 21
},
"identifierName": "schema"
},
"name": "schema"
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " Implementation",
"start": 3794,
"end": 3811,
"loc": {
"start": {
"line": 170,
"column": 4
},
"end": {
"line": 170,
"column": 21
}
}
},
{
"type": "CommentBlock",
"value": "* @returns {Schema} ",
"start": 3817,
"end": 3841,
"loc": {
"start": {
"line": 171,
"column": 4
},
"end": {
"line": 171,
"column": 28
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @returns {object} ",
"start": 4410,
"end": 4434,
"loc": {
"start": {
"line": 193,
"column": 4
},
"end": {
"line": 193,
"column": 28
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4440,
"end": 4620,
"loc": {
"start": {
"line": 194,
"column": 4
},
"end": {
"line": 199,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4440,
"end": 4449,
"loc": {
"start": {
"line": 194,
"column": 4
},
"end": {
"line": 194,
"column": 13
},
"identifierName": "serialize"
},
"name": "serialize",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 4452,
"end": 4620,
"loc": {
"start": {
"line": 194,
"column": 16
},
"end": {
"line": 199,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4463,
"end": 4613,
"loc": {
"start": {
"line": 195,
"column": 8
},
"end": {
"line": 198,
"column": 10
}
},
"argument": {
"type": "CallExpression",
"start": 4470,
"end": 4612,
"loc": {
"start": {
"line": 195,
"column": 15
},
"end": {
"line": 198,
"column": 9
}
},
"callee": {
"type": "Identifier",
"start": 4470,
"end": 4485,
"loc": {
"start": {
"line": 195,
"column": 15
},
"end": {
"line": 195,
"column": 30
},
"identifierName": "serializeSchema"
},
"name": "serializeSchema"
},
"arguments": [
{
"type": "ThisExpression",
"start": 4500,
"end": 4504,
"loc": {
"start": {
"line": 196,
"column": 12
},
"end": {
"line": 196,
"column": 16
}
}
},
{
"type": "CallExpression",
"start": 4565,
"end": 4601,
"loc": {
"start": {
"line": 197,
"column": 58
},
"end": {
"line": 197,
"column": 94
}
},
"callee": {
"type": "MemberExpression",
"start": 4565,
"end": 4599,
"loc": {
"start": {
"line": 197,
"column": 58
},
"end": {
"line": 197,
"column": 92
}
},
"object": {
"type": "MemberExpression",
"start": 4566,
"end": 4582,
"loc": {
"start": {
"line": 197,
"column": 59
},
"end": {
"line": 197,
"column": 75
}
},
"object": {
"type": "ThisExpression",
"start": 4566,
"end": 4570,
"loc": {
"start": {
"line": 197,
"column": 59
},
"end": {
"line": 197,
"column": 63
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 4571,
"end": 4582,
"loc": {
"start": {
"line": 197,
"column": 64
},
"end": {
"line": 197,
"column": 75
},
"identifierName": "constructor"
},
"name": "constructor"
},
"computed": false,
"leadingComments": null,
"extra": {
"parenthesized": true,
"parenStart": 4565
}
},
"property": {
"type": "Identifier",
"start": 4584,
"end": 4599,
"loc": {
"start": {
"line": 197,
"column": 77
},
"end": {
"line": 197,
"column": 92
},
"identifierName": "getCachedSchema"
},
"name": "getCachedSchema"
},
"computed": false,
"leadingComments": null
},
"arguments": [],
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {typeof BasicSerializableObject} ",
"start": 4519,
"end": 4564,
"loc": {
"start": {
"line": 197,
"column": 12
},
"end": {
"line": 197,
"column": 57
}
}
}
]
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @returns {object} ",
"start": 4410,
"end": 4434,
"loc": {
"start": {
"line": 193,
"column": 4
},
"end": {
"line": 193,
"column": 28
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {any} data\r\n * @param {import(\"./savegame_serializer\").GameRoot} root\r\n * @returns {string|void}\r\n ",
"start": 4628,
"end": 4760,
"loc": {
"start": {
"line": 201,
"column": 4
},
"end": {
"line": 205,
"column": 7
}
}
}
]
},
{
"type": "ClassMethod",
"start": 4766,
"end": 5024,
"loc": {
"start": {
"line": 206,
"column": 4
},
"end": {
"line": 214,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 4766,
"end": 4777,
"loc": {
"start": {
"line": 206,
"column": 4
},
"end": {
"line": 206,
"column": 15
},
"identifierName": "deserialize"
},
"name": "deserialize",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 4778,
"end": 4782,
"loc": {
"start": {
"line": 206,
"column": 16
},
"end": {
"line": 206,
"column": 20
},
"identifierName": "data"
},
"name": "data"
},
{
"type": "AssignmentPattern",
"start": 4784,
"end": 4795,
"loc": {
"start": {
"line": 206,
"column": 22
},
"end": {
"line": 206,
"column": 33
}
},
"left": {
"type": "Identifier",
"start": 4784,
"end": 4788,
"loc": {
"start": {
"line": 206,
"column": 22
},
"end": {
"line": 206,
"column": 26
},
"identifierName": "root"
},
"name": "root"
},
"right": {
"type": "NullLiteral",
"start": 4791,
"end": 4795,
"loc": {
"start": {
"line": 206,
"column": 29
},
"end": {
"line": 206,
"column": 33
}
}
}
}
],
"body": {
"type": "BlockStatement",
"start": 4797,
"end": 5024,
"loc": {
"start": {
"line": 206,
"column": 35
},
"end": {
"line": 214,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 4808,
"end": 5017,
"loc": {
"start": {
"line": 207,
"column": 8
},
"end": {
"line": 213,
"column": 10
}
},
"argument": {
"type": "CallExpression",
"start": 4815,
"end": 5016,
"loc": {
"start": {
"line": 207,
"column": 15
},
"end": {
"line": 213,
"column": 9
}
},
"callee": {
"type": "Identifier",
"start": 4815,
"end": 4832,
"loc": {
"start": {
"line": 207,
"column": 15
},
"end": {
"line": 207,
"column": 32
},
"identifierName": "deserializeSchema"
},
"name": "deserializeSchema"
},
"arguments": [
{
"type": "ThisExpression",
"start": 4847,
"end": 4851,
"loc": {
"start": {
"line": 208,
"column": 12
},
"end": {
"line": 208,
"column": 16
}
}
},
{
"type": "CallExpression",
"start": 4912,
"end": 4948,
"loc": {
"start": {
"line": 209,
"column": 58
},
"end": {
"line": 209,
"column": 94
}
},
"callee": {
"type": "MemberExpression",
"start": 4912,
"end": 4946,
"loc": {
"start": {
"line": 209,
"column": 58
},
"end": {
"line": 209,
"column": 92
}
},
"object": {
"type": "MemberExpression",
"start": 4913,
"end": 4929,
"loc": {
"start": {
"line": 209,
"column": 59
},
"end": {
"line": 209,
"column": 75
}
},
"object": {
"type": "ThisExpression",
"start": 4913,
"end": 4917,
"loc": {
"start": {
"line": 209,
"column": 59
},
"end": {
"line": 209,
"column": 63
}
},
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 4918,
"end": 4929,
"loc": {
"start": {
"line": 209,
"column": 64
},
"end": {
"line": 209,
"column": 75
},
"identifierName": "constructor"
},
"name": "constructor"
},
"computed": false,
"leadingComments": null,
"extra": {
"parenthesized": true,
"parenStart": 4912
}
},
"property": {
"type": "Identifier",
"start": 4931,
"end": 4946,
"loc": {
"start": {
"line": 209,
"column": 77
},
"end": {
"line": 209,
"column": 92
},
"identifierName": "getCachedSchema"
},
"name": "getCachedSchema"
},
"computed": false,
"leadingComments": null
},
"arguments": [],
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {typeof BasicSerializableObject} ",
"start": 4866,
"end": 4911,
"loc": {
"start": {
"line": 209,
"column": 12
},
"end": {
"line": 209,
"column": 57
}
}
}
]
},
{
"type": "Identifier",
"start": 4963,
"end": 4967,
"loc": {
"start": {
"line": 210,
"column": 12
},
"end": {
"line": 210,
"column": 16
},
"identifierName": "data"
},
"name": "data"
},
{
"type": "NullLiteral",
"start": 4982,
"end": 4986,
"loc": {
"start": {
"line": 211,
"column": 12
},
"end": {
"line": 211,
"column": 16
}
}
},
{
"type": "Identifier",
"start": 5001,
"end": 5005,
"loc": {
"start": {
"line": 212,
"column": 12
},
"end": {
"line": 212,
"column": 16
},
"identifierName": "root"
},
"name": "root"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * @param {any} data\r\n * @param {import(\"./savegame_serializer\").GameRoot} root\r\n * @returns {string|void}\r\n ",
"start": 4628,
"end": 4760,
"loc": {
"start": {
"line": 201,
"column": 4
},
"end": {
"line": 205,
"column": 7
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @returns {string|void} ",
"start": 5032,
"end": 5061,
"loc": {
"start": {
"line": 216,
"column": 4
},
"end": {
"line": 216,
"column": 33
}
}
}
]
},
{
"type": "ClassMethod",
"start": 5067,
"end": 5155,
"loc": {
"start": {
"line": 217,
"column": 4
},
"end": {
"line": 219,
"column": 5
}
},
"static": true,
"computed": false,
"key": {
"type": "Identifier",
"start": 5074,
"end": 5080,
"loc": {
"start": {
"line": 217,
"column": 11
},
"end": {
"line": 217,
"column": 17
},
"identifierName": "verify"
},
"name": "verify"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5081,
"end": 5085,
"loc": {
"start": {
"line": 217,
"column": 18
},
"end": {
"line": 217,
"column": 22
},
"identifierName": "data"
},
"name": "data"
}
],
"body": {
"type": "BlockStatement",
"start": 5087,
"end": 5155,
"loc": {
"start": {
"line": 217,
"column": 24
},
"end": {
"line": 219,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 5098,
"end": 5148,
"loc": {
"start": {
"line": 218,
"column": 8
},
"end": {
"line": 218,
"column": 58
}
},
"argument": {
"type": "CallExpression",
"start": 5105,
"end": 5147,
"loc": {
"start": {
"line": 218,
"column": 15
},
"end": {
"line": 218,
"column": 57
}
},
"callee": {
"type": "Identifier",
"start": 5105,
"end": 5117,
"loc": {
"start": {
"line": 218,
"column": 15
},
"end": {
"line": 218,
"column": 27
},
"identifierName": "verifySchema"
},
"name": "verifySchema"
},
"arguments": [
{
"type": "CallExpression",
"start": 5118,
"end": 5140,
"loc": {
"start": {
"line": 218,
"column": 28
},
"end": {
"line": 218,
"column": 50
}
},
"callee": {
"type": "MemberExpression",
"start": 5118,
"end": 5138,
"loc": {
"start": {
"line": 218,
"column": 28
},
"end": {
"line": 218,
"column": 48
}
},
"object": {
"type": "ThisExpression",
"start": 5118,
"end": 5122,
"loc": {
"start": {
"line": 218,
"column": 28
},
"end": {
"line": 218,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 5123,
"end": 5138,
"loc": {
"start": {
"line": 218,
"column": 33
},
"end": {
"line": 218,
"column": 48
},
"identifierName": "getCachedSchema"
},
"name": "getCachedSchema"
},
"computed": false
},
"arguments": []
},
{
"type": "Identifier",
"start": 5142,
"end": 5146,
"loc": {
"start": {
"line": 218,
"column": 52
},
"end": {
"line": 218,
"column": 56
},
"identifierName": "data"
},
"name": "data"
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @returns {string|void} ",
"start": 5032,
"end": 5061,
"loc": {
"start": {
"line": 216,
"column": 4
},
"end": {
"line": 216,
"column": 33
}
}
}
]
}
],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": " dev:end",
"start": 3331,
"end": 3343,
"loc": {
"start": {
"line": 146,
"column": 0
},
"end": {
"line": 146,
"column": 12
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Serializes an object using the given schema, mergin with the given properties\r\n * @param {object} obj The object to serialize\r\n * @param {Schema} schema The schema to use\r\n * @param {object=} mergeWith Any additional properties to merge with the schema, useful for super calls\r\n * @returns {object} Serialized data object\r\n ",
"start": 5162,
"end": 5496,
"loc": {
"start": {
"line": 222,
"column": 0
},
"end": {
"line": 228,
"column": 3
}
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": " dev:end",
"start": 3331,
"end": 3343,
"loc": {
"start": {
"line": 146,
"column": 0
},
"end": {
"line": 146,
"column": 12
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Serializes an object using the given schema, mergin with the given properties\r\n * @param {object} obj The object to serialize\r\n * @param {Schema} schema The schema to use\r\n * @param {object=} mergeWith Any additional properties to merge with the schema, useful for super calls\r\n * @returns {object} Serialized data object\r\n ",
"start": 5162,
"end": 5496,
"loc": {
"start": {
"line": 222,
"column": 0
},
"end": {
"line": 228,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 5498,
"end": 6660,
"loc": {
"start": {
"line": 229,
"column": 0
},
"end": {
"line": 262,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "FunctionDeclaration",
"start": 5505,
"end": 6660,
"loc": {
"start": {
"line": 229,
"column": 7
},
"end": {
"line": 262,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 5514,
"end": 5529,
"loc": {
"start": {
"line": 229,
"column": 16
},
"end": {
"line": 229,
"column": 31
},
"identifierName": "serializeSchema"
},
"name": "serializeSchema",
"leadingComments": null
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 5530,
"end": 5533,
"loc": {
"start": {
"line": 229,
"column": 32
},
"end": {
"line": 229,
"column": 35
},
"identifierName": "obj"
},
"name": "obj"
},
{
"type": "Identifier",
"start": 5535,
"end": 5541,
"loc": {
"start": {
"line": 229,
"column": 37
},
"end": {
"line": 229,
"column": 43
},
"identifierName": "schema"
},
"name": "schema"
},
{
"type": "AssignmentPattern",
"start": 5543,
"end": 5557,
"loc": {
"start": {
"line": 229,
"column": 45
},
"end": {
"line": 229,
"column": 59
}
},
"left": {
"type": "Identifier",
"start": 5543,
"end": 5552,
"loc": {
"start": {
"line": 229,
"column": 45
},
"end": {
"line": 229,
"column": 54
},
"identifierName": "mergeWith"
},
"name": "mergeWith"
},
"right": {
"type": "ObjectExpression",
"start": 5555,
"end": 5557,
"loc": {
"start": {
"line": 229,
"column": 57
},
"end": {
"line": 229,
"column": 59
}
},
"properties": []
}
}
],
"body": {
"type": "BlockStatement",
"start": 5559,
"end": 6660,
"loc": {
"start": {
"line": 229,
"column": 61
},
"end": {
"line": 262,
"column": 1
}
},
"body": [
{
"type": "ForInStatement",
"start": 5566,
"end": 6634,
"loc": {
"start": {
"line": 230,
"column": 4
},
"end": {
"line": 260,
"column": 5
}
},
"left": {
"type": "VariableDeclaration",
"start": 5571,
"end": 5580,
"loc": {
"start": {
"line": 230,
"column": 9
},
"end": {
"line": 230,
"column": 18
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 5577,
"end": 5580,
"loc": {
"start": {
"line": 230,
"column": 15
},
"end": {
"line": 230,
"column": 18
}
},
"id": {
"type": "Identifier",
"start": 5577,
"end": 5580,
"loc": {
"start": {
"line": 230,
"column": 15
},
"end": {
"line": 230,
"column": 18
},
"identifierName": "key"
},
"name": "key"
},
"init": null
}
],
"kind": "const"
},
"right": {
"type": "Identifier",
"start": 5584,
"end": 5590,
"loc": {
"start": {
"line": 230,
"column": 22
},
"end": {
"line": 230,
"column": 28
},
"identifierName": "schema"
},
"name": "schema"
},
"body": {
"type": "BlockStatement",
"start": 5592,
"end": 6634,
"loc": {
"start": {
"line": 230,
"column": 30
},
"end": {
"line": 260,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 5603,
"end": 5927,
"loc": {
"start": {
"line": 231,
"column": 8
},
"end": {
"line": 237,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 5607,
"end": 5631,
"loc": {
"start": {
"line": 231,
"column": 12
},
"end": {
"line": 231,
"column": 36
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 5608,
"end": 5631,
"loc": {
"start": {
"line": 231,
"column": 13
},
"end": {
"line": 231,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 5608,
"end": 5626,
"loc": {
"start": {
"line": 231,
"column": 13
},
"end": {
"line": 231,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 5608,
"end": 5611,
"loc": {
"start": {
"line": 231,
"column": 13
},
"end": {
"line": 231,
"column": 16
},
"identifierName": "obj"
},
"name": "obj"
},
"property": {
"type": "Identifier",
"start": 5612,
"end": 5626,
"loc": {
"start": {
"line": 231,
"column": 17
},
"end": {
"line": 231,
"column": 31
},
"identifierName": "hasOwnProperty"
},
"name": "hasOwnProperty"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 5627,
"end": 5630,
"loc": {
"start": {
"line": 231,
"column": 32
},
"end": {
"line": 231,
"column": 35
},
"identifierName": "key"
},
"name": "key"
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 5633,
"end": 5927,
"loc": {
"start": {
"line": 231,
"column": 38
},
"end": {
"line": 237,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5648,
"end": 5745,
"loc": {
"start": {
"line": 232,
"column": 12
},
"end": {
"line": 232,
"column": 109
}
},
"expression": {
"type": "CallExpression",
"start": 5648,
"end": 5744,
"loc": {
"start": {
"line": 232,
"column": 12
},
"end": {
"line": 232,
"column": 108
}
},
"callee": {
"type": "MemberExpression",
"start": 5648,
"end": 5660,
"loc": {
"start": {
"line": 232,
"column": 12
},
"end": {
"line": 232,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 5648,
"end": 5654,
"loc": {
"start": {
"line": 232,
"column": 12
},
"end": {
"line": 232,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 5655,
"end": 5660,
"loc": {
"start": {
"line": 232,
"column": 19
},
"end": {
"line": 232,
"column": 24
},
"identifierName": "error"
},
"name": "error"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 5661,
"end": 5687,
"loc": {
"start": {
"line": 232,
"column": 25
},
"end": {
"line": 232,
"column": 51
}
},
"extra": {
"rawValue": "Invalid schema, property",
"raw": "\"Invalid schema, property\""
},
"value": "Invalid schema, property"
},
{
"type": "Identifier",
"start": 5689,
"end": 5692,
"loc": {
"start": {
"line": 232,
"column": 53
},
"end": {
"line": 232,
"column": 56
},
"identifierName": "key"
},
"name": "key"
},
{
"type": "StringLiteral",
"start": 5694,
"end": 5713,
"loc": {
"start": {
"line": 232,
"column": 58
},
"end": {
"line": 232,
"column": 77
}
},
"extra": {
"rawValue": "does not exist on",
"raw": "\"does not exist on\""
},
"value": "does not exist on"
},
{
"type": "Identifier",
"start": 5715,
"end": 5718,
"loc": {
"start": {
"line": 232,
"column": 79
},
"end": {
"line": 232,
"column": 82
},
"identifierName": "obj"
},
"name": "obj"
},
{
"type": "StringLiteral",
"start": 5720,
"end": 5730,
"loc": {
"start": {
"line": 232,
"column": 84
},
"end": {
"line": 232,
"column": 94
}
},
"extra": {
"rawValue": "(schema=",
"raw": "\"(schema=\""
},
"value": "(schema="
},
{
"type": "Identifier",
"start": 5732,
"end": 5738,
"loc": {
"start": {
"line": 232,
"column": 96
},
"end": {
"line": 232,
"column": 102
},
"identifierName": "schema"
},
"name": "schema"
},
{
"type": "StringLiteral",
"start": 5740,
"end": 5743,
"loc": {
"start": {
"line": 232,
"column": 104
},
"end": {
"line": 232,
"column": 107
}
},
"extra": {
"rawValue": ")",
"raw": "\")\""
},
"value": ")"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 5759,
"end": 5916,
"loc": {
"start": {
"line": 233,
"column": 12
},
"end": {
"line": 236,
"column": 14
}
},
"expression": {
"type": "CallExpression",
"start": 5759,
"end": 5915,
"loc": {
"start": {
"line": 233,
"column": 12
},
"end": {
"line": 236,
"column": 13
}
},
"callee": {
"type": "Identifier",
"start": 5759,
"end": 5765,
"loc": {
"start": {
"line": 233,
"column": 12
},
"end": {
"line": 233,
"column": 18
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "CallExpression",
"start": 5784,
"end": 5807,
"loc": {
"start": {
"line": 234,
"column": 16
},
"end": {
"line": 234,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 5784,
"end": 5802,
"loc": {
"start": {
"line": 234,
"column": 16
},
"end": {
"line": 234,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 5784,
"end": 5787,
"loc": {
"start": {
"line": 234,
"column": 16
},
"end": {
"line": 234,
"column": 19
},
"identifierName": "obj"
},
"name": "obj"
},
"property": {
"type": "Identifier",
"start": 5788,
"end": 5802,
"loc": {
"start": {
"line": 234,
"column": 20
},
"end": {
"line": 234,
"column": 34
},
"identifierName": "hasOwnProperty"
},
"name": "hasOwnProperty"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 5803,
"end": 5806,
"loc": {
"start": {
"line": 234,
"column": 35
},
"end": {
"line": 234,
"column": 38
},
"identifierName": "key"
},
"name": "key"
}
]
},
{
"type": "BinaryExpression",
"start": 5826,
"end": 5900,
"loc": {
"start": {
"line": 235,
"column": 16
},
"end": {
"line": 235,
"column": 90
}
},
"left": {
"type": "StringLiteral",
"start": 5826,
"end": 5894,
"loc": {
"start": {
"line": 235,
"column": 16
},
"end": {
"line": 235,
"column": 84
}
},
"extra": {
"rawValue": "serialization: invalid schema, property does not exist on object: ",
"raw": "\"serialization: invalid schema, property does not exist on object: \""
},
"value": "serialization: invalid schema, property does not exist on object: "
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 5897,
"end": 5900,
"loc": {
"start": {
"line": 235,
"column": 87
},
"end": {
"line": 235,
"column": 90
},
"identifierName": "key"
},
"name": "key"
}
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 5937,
"end": 6064,
"loc": {
"start": {
"line": 238,
"column": 8
},
"end": {
"line": 240,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 5941,
"end": 5953,
"loc": {
"start": {
"line": 238,
"column": 12
},
"end": {
"line": 238,
"column": 24
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 5942,
"end": 5953,
"loc": {
"start": {
"line": 238,
"column": 13
},
"end": {
"line": 238,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 5942,
"end": 5948,
"loc": {
"start": {
"line": 238,
"column": 13
},
"end": {
"line": 238,
"column": 19
},
"identifierName": "schema"
},
"name": "schema"
},
"property": {
"type": "Identifier",
"start": 5949,
"end": 5952,
"loc": {
"start": {
"line": 238,
"column": 20
},
"end": {
"line": 238,
"column": 23
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 5955,
"end": 6064,
"loc": {
"start": {
"line": 238,
"column": 26
},
"end": {
"line": 240,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 5970,
"end": 6053,
"loc": {
"start": {
"line": 239,
"column": 12
},
"end": {
"line": 239,
"column": 95
}
},
"expression": {
"type": "CallExpression",
"start": 5970,
"end": 6052,
"loc": {
"start": {
"line": 239,
"column": 12
},
"end": {
"line": 239,
"column": 94
}
},
"callee": {
"type": "Identifier",
"start": 5970,
"end": 5976,
"loc": {
"start": {
"line": 239,
"column": 12
},
"end": {
"line": 239,
"column": 18
},
"identifierName": "assert"
},
"name": "assert"
},
"arguments": [
{
"type": "BooleanLiteral",
"start": 5977,
"end": 5982,
"loc": {
"start": {
"line": 239,
"column": 19
},
"end": {
"line": 239,
"column": 24
}
},
"value": false
},
{
"type": "BinaryExpression",
"start": 5984,
"end": 6051,
"loc": {
"start": {
"line": 239,
"column": 26
},
"end": {
"line": 239,
"column": 93
}
},
"left": {
"type": "BinaryExpression",
"start": 5984,
"end": 6026,
"loc": {
"start": {
"line": 239,
"column": 26
},
"end": {
"line": 239,
"column": 68
}
},
"left": {
"type": "BinaryExpression",
"start": 5984,
"end": 6017,
"loc": {
"start": {
"line": 239,
"column": 26
},
"end": {
"line": 239,
"column": 59
}
},
"left": {
"type": "StringLiteral",
"start": 5984,
"end": 6011,
"loc": {
"start": {
"line": 239,
"column": 26
},
"end": {
"line": 239,
"column": 53
}
},
"extra": {
"rawValue": "Invalid schema (bad key '",
"raw": "\"Invalid schema (bad key '\""
},
"value": "Invalid schema (bad key '"
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 6014,
"end": 6017,
"loc": {
"start": {
"line": 239,
"column": 56
},
"end": {
"line": 239,
"column": 59
},
"identifierName": "key"
},
"name": "key"
}
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 6020,
"end": 6026,
"loc": {
"start": {
"line": 239,
"column": 62
},
"end": {
"line": 239,
"column": 68
}
},
"extra": {
"rawValue": "'): ",
"raw": "\"'): \""
},
"value": "'): "
}
},
"operator": "+",
"right": {
"type": "CallExpression",
"start": 6029,
"end": 6051,
"loc": {
"start": {
"line": 239,
"column": 71
},
"end": {
"line": 239,
"column": 93
}
},
"callee": {
"type": "MemberExpression",
"start": 6029,
"end": 6043,
"loc": {
"start": {
"line": 239,
"column": 71
},
"end": {
"line": 239,
"column": 85
}
},
"object": {
"type": "Identifier",
"start": 6029,
"end": 6033,
"loc": {
"start": {
"line": 239,
"column": 71
},
"end": {
"line": 239,
"column": 75
},
"identifierName": "JSON"
},
"name": "JSON"
},
"property": {
"type": "Identifier",
"start": 6034,
"end": 6043,
"loc": {
"start": {
"line": 239,
"column": 76
},
"end": {
"line": 239,
"column": 85
},
"identifierName": "stringify"
},
"name": "stringify"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 6044,
"end": 6050,
"loc": {
"start": {
"line": 239,
"column": 86
},
"end": {
"line": 239,
"column": 92
},
"identifierName": "schema"
},
"name": "schema"
}
]
}
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 6076,
"end": 6627,
"loc": {
"start": {
"line": 242,
"column": 8
},
"end": {
"line": 259,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 6080,
"end": 6088,
"loc": {
"start": {
"line": 242,
"column": 12
},
"end": {
"line": 242,
"column": 20
},
"identifierName": "G_IS_DEV"
},
"name": "G_IS_DEV"
},
"consequent": {
"type": "BlockStatement",
"start": 6090,
"end": 6546,
"loc": {
"start": {
"line": 242,
"column": 22
},
"end": {
"line": 257,
"column": 9
}
},
"body": [
{
"type": "TryStatement",
"start": 6105,
"end": 6535,
"loc": {
"start": {
"line": 243,
"column": 12
},
"end": {
"line": 256,
"column": 13
}
},
"block": {
"type": "BlockStatement",
"start": 6109,
"end": 6192,
"loc": {
"start": {
"line": 243,
"column": 16
},
"end": {
"line": 245,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6128,
"end": 6177,
"loc": {
"start": {
"line": 244,
"column": 16
},
"end": {
"line": 244,
"column": 65
}
},
"expression": {
"type": "AssignmentExpression",
"start": 6128,
"end": 6176,
"loc": {
"start": {
"line": 244,
"column": 16
},
"end": {
"line": 244,
"column": 64
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 6128,
"end": 6142,
"loc": {
"start": {
"line": 244,
"column": 16
},
"end": {
"line": 244,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 6128,
"end": 6137,
"loc": {
"start": {
"line": 244,
"column": 16
},
"end": {
"line": 244,
"column": 25
},
"identifierName": "mergeWith"
},
"name": "mergeWith"
},
"property": {
"type": "Identifier",
"start": 6138,
"end": 6141,
"loc": {
"start": {
"line": 244,
"column": 26
},
"end": {
"line": 244,
"column": 29
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
},
"right": {
"type": "CallExpression",
"start": 6145,
"end": 6176,
"loc": {
"start": {
"line": 244,
"column": 33
},
"end": {
"line": 244,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 6145,
"end": 6166,
"loc": {
"start": {
"line": 244,
"column": 33
},
"end": {
"line": 244,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 6145,
"end": 6156,
"loc": {
"start": {
"line": 244,
"column": 33
},
"end": {
"line": 244,
"column": 44
}
},
"object": {
"type": "Identifier",
"start": 6145,
"end": 6151,
"loc": {
"start": {
"line": 244,
"column": 33
},
"end": {
"line": 244,
"column": 39
},
"identifierName": "schema"
},
"name": "schema"
},
"property": {
"type": "Identifier",
"start": 6152,
"end": 6155,
"loc": {
"start": {
"line": 244,
"column": 40
},
"end": {
"line": 244,
"column": 43
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 6157,
"end": 6166,
"loc": {
"start": {
"line": 244,
"column": 45
},
"end": {
"line": 244,
"column": 54
},
"identifierName": "serialize"
},
"name": "serialize"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 6167,
"end": 6175,
"loc": {
"start": {
"line": 244,
"column": 55
},
"end": {
"line": 244,
"column": 63
}
},
"object": {
"type": "Identifier",
"start": 6167,
"end": 6170,
"loc": {
"start": {
"line": 244,
"column": 55
},
"end": {
"line": 244,
"column": 58
},
"identifierName": "obj"
},
"name": "obj"
},
"property": {
"type": "Identifier",
"start": 6171,
"end": 6174,
"loc": {
"start": {
"line": 244,
"column": 59
},
"end": {
"line": 244,
"column": 62
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
}
]
}
}
}
],
"directives": []
},
"handler": {
"type": "CatchClause",
"start": 6193,
"end": 6535,
"loc": {
"start": {
"line": 245,
"column": 14
},
"end": {
"line": 256,
"column": 13
}
},
"param": {
"type": "Identifier",
"start": 6200,
"end": 6202,
"loc": {
"start": {
"line": 245,
"column": 21
},
"end": {
"line": 245,
"column": 23
},
"identifierName": "ex"
},
"name": "ex"
},
"body": {
"type": "BlockStatement",
"start": 6204,
"end": 6535,
"loc": {
"start": {
"line": 245,
"column": 25
},
"end": {
"line": 256,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6223,
"end": 6493,
"loc": {
"start": {
"line": 246,
"column": 16
},
"end": {
"line": 254,
"column": 18
}
},
"expression": {
"type": "CallExpression",
"start": 6223,
"end": 6492,
"loc": {
"start": {
"line": 246,
"column": 16
},
"end": {
"line": 254,
"column": 17
}
},
"callee": {
"type": "MemberExpression",
"start": 6223,
"end": 6235,
"loc": {
"start": {
"line": 246,
"column": 16
},
"end": {
"line": 246,
"column": 28
}
},
"object": {
"type": "Identifier",
"start": 6223,
"end": 6229,
"loc": {
"start": {
"line": 246,
"column": 16
},
"end": {
"line": 246,
"column": 22
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 6230,
"end": 6235,
"loc": {
"start": {
"line": 246,
"column": 23
},
"end": {
"line": 246,
"column": 28
},
"identifierName": "error"
},
"name": "error"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 6258,
"end": 6276,
"loc": {
"start": {
"line": 247,
"column": 20
},
"end": {
"line": 247,
"column": 38
}
},
"extra": {
"rawValue": "Serialization of",
"raw": "\"Serialization of\""
},
"value": "Serialization of"
},
{
"type": "Identifier",
"start": 6299,
"end": 6302,
"loc": {
"start": {
"line": 248,
"column": 20
},
"end": {
"line": 248,
"column": 23
},
"identifierName": "obj"
},
"name": "obj"
},
{
"type": "BinaryExpression",
"start": 6325,
"end": 6357,
"loc": {
"start": {
"line": 249,
"column": 20
},
"end": {
"line": 249,
"column": 52
}
},
"left": {
"type": "BinaryExpression",
"start": 6325,
"end": 6348,
"loc": {
"start": {
"line": 249,
"column": 20
},
"end": {
"line": 249,
"column": 43
}
},
"left": {
"type": "StringLiteral",
"start": 6325,
"end": 6342,
"loc": {
"start": {
"line": 249,
"column": 20
},
"end": {
"line": 249,
"column": 37
}
},
"extra": {
"rawValue": "failed on key '",
"raw": "\"failed on key '\""
},
"value": "failed on key '"
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 6345,
"end": 6348,
"loc": {
"start": {
"line": 249,
"column": 40
},
"end": {
"line": 249,
"column": 43
},
"identifierName": "key"
},
"name": "key"
}
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 6351,
"end": 6357,
"loc": {
"start": {
"line": 249,
"column": 46
},
"end": {
"line": 249,
"column": 52
}
},
"extra": {
"rawValue": "' ->",
"raw": "\"' ->\""
},
"value": "' ->"
}
},
{
"type": "Identifier",
"start": 6380,
"end": 6382,
"loc": {
"start": {
"line": 250,
"column": 20
},
"end": {
"line": 250,
"column": 22
},
"identifierName": "ex"
},
"name": "ex"
},
{
"type": "StringLiteral",
"start": 6405,
"end": 6418,
"loc": {
"start": {
"line": 251,
"column": 20
},
"end": {
"line": 251,
"column": 33
}
},
"extra": {
"rawValue": "(schema was",
"raw": "\"(schema was\""
},
"value": "(schema was"
},
{
"type": "Identifier",
"start": 6441,
"end": 6447,
"loc": {
"start": {
"line": 252,
"column": 20
},
"end": {
"line": 252,
"column": 26
},
"identifierName": "schema"
},
"name": "schema"
},
{
"type": "StringLiteral",
"start": 6470,
"end": 6473,
"loc": {
"start": {
"line": 253,
"column": 20
},
"end": {
"line": 253,
"column": 23
}
},
"extra": {
"rawValue": ")",
"raw": "\")\""
},
"value": ")"
}
]
}
},
{
"type": "ThrowStatement",
"start": 6511,
"end": 6520,
"loc": {
"start": {
"line": 255,
"column": 16
},
"end": {
"line": 255,
"column": 25
}
},
"argument": {
"type": "Identifier",
"start": 6517,
"end": 6519,
"loc": {
"start": {
"line": 255,
"column": 22
},
"end": {
"line": 255,
"column": 24
},
"identifierName": "ex"
},
"name": "ex"
}
}
],
"directives": []
}
},
"guardedHandlers": [],
"finalizer": null
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 6552,
"end": 6627,
"loc": {
"start": {
"line": 257,
"column": 15
},
"end": {
"line": 259,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 6567,
"end": 6616,
"loc": {
"start": {
"line": 258,
"column": 12
},
"end": {
"line": 258,
"column": 61
}
},
"expression": {
"type": "AssignmentExpression",
"start": 6567,
"end": 6615,
"loc": {
"start": {
"line": 258,
"column": 12
},
"end": {
"line": 258,
"column": 60
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 6567,
"end": 6581,
"loc": {
"start": {
"line": 258,
"column": 12
},
"end": {
"line": 258,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 6567,
"end": 6576,
"loc": {
"start": {
"line": 258,
"column": 12
},
"end": {
"line": 258,
"column": 21
},
"identifierName": "mergeWith"
},
"name": "mergeWith"
},
"property": {
"type": "Identifier",
"start": 6577,
"end": 6580,
"loc": {
"start": {
"line": 258,
"column": 22
},
"end": {
"line": 258,
"column": 25
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
},
"right": {
"type": "CallExpression",
"start": 6584,
"end": 6615,
"loc": {
"start": {
"line": 258,
"column": 29
},
"end": {
"line": 258,
"column": 60
}
},
"callee": {
"type": "MemberExpression",
"start": 6584,
"end": 6605,
"loc": {
"start": {
"line": 258,
"column": 29
},
"end": {
"line": 258,
"column": 50
}
},
"object": {
"type": "MemberExpression",
"start": 6584,
"end": 6595,
"loc": {
"start": {
"line": 258,
"column": 29
},
"end": {
"line": 258,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 6584,
"end": 6590,
"loc": {
"start": {
"line": 258,
"column": 29
},
"end": {
"line": 258,
"column": 35
},
"identifierName": "schema"
},
"name": "schema"
},
"property": {
"type": "Identifier",
"start": 6591,
"end": 6594,
"loc": {
"start": {
"line": 258,
"column": 36
},
"end": {
"line": 258,
"column": 39
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 6596,
"end": 6605,
"loc": {
"start": {
"line": 258,
"column": 41
},
"end": {
"line": 258,
"column": 50
},
"identifierName": "serialize"
},
"name": "serialize"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 6606,
"end": 6614,
"loc": {
"start": {
"line": 258,
"column": 51
},
"end": {
"line": 258,
"column": 59
}
},
"object": {
"type": "Identifier",
"start": 6606,
"end": 6609,
"loc": {
"start": {
"line": 258,
"column": 51
},
"end": {
"line": 258,
"column": 54
},
"identifierName": "obj"
},
"name": "obj"
},
"property": {
"type": "Identifier",
"start": 6610,
"end": 6613,
"loc": {
"start": {
"line": 258,
"column": 55
},
"end": {
"line": 258,
"column": 58
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
}
]
}
}
}
],
"directives": []
}
}
],
"directives": []
}
},
{
"type": "ReturnStatement",
"start": 6640,
"end": 6657,
"loc": {
"start": {
"line": 261,
"column": 4
},
"end": {
"line": 261,
"column": 21
}
},
"argument": {
"type": "Identifier",
"start": 6647,
"end": 6656,
"loc": {
"start": {
"line": 261,
"column": 11
},
"end": {
"line": 261,
"column": 20
},
"identifierName": "mergeWith"
},
"name": "mergeWith"
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Serializes an object using the given schema, mergin with the given properties\r\n * @param {object} obj The object to serialize\r\n * @param {Schema} schema The schema to use\r\n * @param {object=} mergeWith Any additional properties to merge with the schema, useful for super calls\r\n * @returns {object} Serialized data object\r\n ",
"start": 5162,
"end": 5496,
"loc": {
"start": {
"line": 222,
"column": 0
},
"end": {
"line": 228,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Deserializes data into an object\r\n * @param {object} obj The object to store the deserialized data into\r\n * @param {Schema} schema The schema to use\r\n * @param {object} data The serialized data\r\n * @param {string|void|null=} baseclassErrorResult Convenience, if this is a string error code, do nothing and return it\r\n * @param {import(\"../game/root\").GameRoot=} root Optional game root reference\r\n * @returns {string|void} String error code or nothing on success\r\n ",
"start": 6664,
"end": 7139,
"loc": {
"start": {
"line": 264,
"column": 0
},
"end": {
"line": 272,
"column": 3
}
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Serializes an object using the given schema, mergin with the given properties\r\n * @param {object} obj The object to serialize\r\n * @param {Schema} schema The schema to use\r\n * @param {object=} mergeWith Any additional properties to merge with the schema, useful for super calls\r\n * @returns {object} Serialized data object\r\n ",
"start": 5162,
"end": 5496,
"loc": {
"start": {
"line": 222,
"column": 0
},
"end": {
"line": 228,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Deserializes data into an object\r\n * @param {object} obj The object to store the deserialized data into\r\n * @param {Schema} schema The schema to use\r\n * @param {object} data The serialized data\r\n * @param {string|void|null=} baseclassErrorResult Convenience, if this is a string error code, do nothing and return it\r\n * @param {import(\"../game/root\").GameRoot=} root Optional game root reference\r\n * @returns {string|void} String error code or nothing on success\r\n ",
"start": 6664,
"end": 7139,
"loc": {
"start": {
"line": 264,
"column": 0
},
"end": {
"line": 272,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 7141,
"end": 8485,
"loc": {
"start": {
"line": 273,
"column": 0
},
"end": {
"line": 307,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "FunctionDeclaration",
"start": 7148,
"end": 8485,
"loc": {
"start": {
"line": 273,
"column": 7
},
"end": {
"line": 307,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 7157,
"end": 7174,
"loc": {
"start": {
"line": 273,
"column": 16
},
"end": {
"line": 273,
"column": 33
},
"identifierName": "deserializeSchema"
},
"name": "deserializeSchema",
"leadingComments": null
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 7175,
"end": 7178,
"loc": {
"start": {
"line": 273,
"column": 34
},
"end": {
"line": 273,
"column": 37
},
"identifierName": "obj"
},
"name": "obj"
},
{
"type": "Identifier",
"start": 7180,
"end": 7186,
"loc": {
"start": {
"line": 273,
"column": 39
},
"end": {
"line": 273,
"column": 45
},
"identifierName": "schema"
},
"name": "schema"
},
{
"type": "Identifier",
"start": 7188,
"end": 7192,
"loc": {
"start": {
"line": 273,
"column": 47
},
"end": {
"line": 273,
"column": 51
},
"identifierName": "data"
},
"name": "data"
},
{
"type": "AssignmentPattern",
"start": 7194,
"end": 7221,
"loc": {
"start": {
"line": 273,
"column": 53
},
"end": {
"line": 273,
"column": 80
}
},
"left": {
"type": "Identifier",
"start": 7194,
"end": 7214,
"loc": {
"start": {
"line": 273,
"column": 53
},
"end": {
"line": 273,
"column": 73
},
"identifierName": "baseclassErrorResult"
},
"name": "baseclassErrorResult"
},
"right": {
"type": "NullLiteral",
"start": 7217,
"end": 7221,
"loc": {
"start": {
"line": 273,
"column": 76
},
"end": {
"line": 273,
"column": 80
}
}
}
},
{
"type": "Identifier",
"start": 7223,
"end": 7227,
"loc": {
"start": {
"line": 273,
"column": 82
},
"end": {
"line": 273,
"column": 86
},
"identifierName": "root"
},
"name": "root"
}
],
"body": {
"type": "BlockStatement",
"start": 7229,
"end": 8485,
"loc": {
"start": {
"line": 273,
"column": 88
},
"end": {
"line": 307,
"column": 1
}
},
"body": [
{
"type": "IfStatement",
"start": 7236,
"end": 7308,
"loc": {
"start": {
"line": 274,
"column": 4
},
"end": {
"line": 276,
"column": 5
}
},
"test": {
"type": "Identifier",
"start": 7240,
"end": 7260,
"loc": {
"start": {
"line": 274,
"column": 8
},
"end": {
"line": 274,
"column": 28
},
"identifierName": "baseclassErrorResult"
},
"name": "baseclassErrorResult"
},
"consequent": {
"type": "BlockStatement",
"start": 7262,
"end": 7308,
"loc": {
"start": {
"line": 274,
"column": 30
},
"end": {
"line": 276,
"column": 5
}
},
"body": [
{
"type": "ReturnStatement",
"start": 7273,
"end": 7301,
"loc": {
"start": {
"line": 275,
"column": 8
},
"end": {
"line": 275,
"column": 36
}
},
"argument": {
"type": "Identifier",
"start": 7280,
"end": 7300,
"loc": {
"start": {
"line": 275,
"column": 15
},
"end": {
"line": 275,
"column": 35
},
"identifierName": "baseclassErrorResult"
},
"name": "baseclassErrorResult"
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 7316,
"end": 7446,
"loc": {
"start": {
"line": 278,
"column": 4
},
"end": {
"line": 281,
"column": 5
}
},
"test": {
"type": "UnaryExpression",
"start": 7320,
"end": 7325,
"loc": {
"start": {
"line": 278,
"column": 8
},
"end": {
"line": 278,
"column": 13
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 7321,
"end": 7325,
"loc": {
"start": {
"line": 278,
"column": 9
},
"end": {
"line": 278,
"column": 13
},
"identifierName": "data"
},
"name": "data"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 7327,
"end": 7446,
"loc": {
"start": {
"line": 278,
"column": 15
},
"end": {
"line": 281,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 7338,
"end": 7406,
"loc": {
"start": {
"line": 279,
"column": 8
},
"end": {
"line": 279,
"column": 76
}
},
"expression": {
"type": "CallExpression",
"start": 7338,
"end": 7405,
"loc": {
"start": {
"line": 279,
"column": 8
},
"end": {
"line": 279,
"column": 75
}
},
"callee": {
"type": "MemberExpression",
"start": 7338,
"end": 7350,
"loc": {
"start": {
"line": 279,
"column": 8
},
"end": {
"line": 279,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 7338,
"end": 7344,
"loc": {
"start": {
"line": 279,
"column": 8
},
"end": {
"line": 279,
"column": 14
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 7345,
"end": 7350,
"loc": {
"start": {
"line": 279,
"column": 15
},
"end": {
"line": 279,
"column": 20
},
"identifierName": "error"
},
"name": "error"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 7351,
"end": 7372,
"loc": {
"start": {
"line": 279,
"column": 21
},
"end": {
"line": 279,
"column": 42
}
},
"extra": {
"rawValue": "Got 'NULL' data for",
"raw": "\"Got 'NULL' data for\""
},
"value": "Got 'NULL' data for"
},
{
"type": "Identifier",
"start": 7374,
"end": 7377,
"loc": {
"start": {
"line": 279,
"column": 44
},
"end": {
"line": 279,
"column": 47
},
"identifierName": "obj"
},
"name": "obj"
},
{
"type": "StringLiteral",
"start": 7379,
"end": 7391,
"loc": {
"start": {
"line": 279,
"column": 49
},
"end": {
"line": 279,
"column": 61
}
},
"extra": {
"rawValue": "and schema",
"raw": "\"and schema\""
},
"value": "and schema"
},
{
"type": "Identifier",
"start": 7393,
"end": 7399,
"loc": {
"start": {
"line": 279,
"column": 63
},
"end": {
"line": 279,
"column": 69
},
"identifierName": "schema"
},
"name": "schema"
},
{
"type": "StringLiteral",
"start": 7401,
"end": 7404,
"loc": {
"start": {
"line": 279,
"column": 71
},
"end": {
"line": 279,
"column": 74
}
},
"extra": {
"rawValue": "!",
"raw": "\"!\""
},
"value": "!"
}
]
}
},
{
"type": "ReturnStatement",
"start": 7416,
"end": 7439,
"loc": {
"start": {
"line": 280,
"column": 8
},
"end": {
"line": 280,
"column": 31
}
},
"argument": {
"type": "StringLiteral",
"start": 7423,
"end": 7438,
"loc": {
"start": {
"line": 280,
"column": 15
},
"end": {
"line": 280,
"column": 30
}
},
"extra": {
"rawValue": "Got null data",
"raw": "\"Got null data\""
},
"value": "Got null data"
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ForInStatement",
"start": 7454,
"end": 8482,
"loc": {
"start": {
"line": 283,
"column": 4
},
"end": {
"line": 306,
"column": 5
}
},
"left": {
"type": "VariableDeclaration",
"start": 7459,
"end": 7468,
"loc": {
"start": {
"line": 283,
"column": 9
},
"end": {
"line": 283,
"column": 18
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 7465,
"end": 7468,
"loc": {
"start": {
"line": 283,
"column": 15
},
"end": {
"line": 283,
"column": 18
}
},
"id": {
"type": "Identifier",
"start": 7465,
"end": 7468,
"loc": {
"start": {
"line": 283,
"column": 15
},
"end": {
"line": 283,
"column": 18
},
"identifierName": "key"
},
"name": "key"
},
"init": null
}
],
"kind": "const"
},
"right": {
"type": "Identifier",
"start": 7472,
"end": 7478,
"loc": {
"start": {
"line": 283,
"column": 22
},
"end": {
"line": 283,
"column": 28
},
"identifierName": "schema"
},
"name": "schema"
},
"body": {
"type": "BlockStatement",
"start": 7480,
"end": 8482,
"loc": {
"start": {
"line": 283,
"column": 30
},
"end": {
"line": 306,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 7491,
"end": 7716,
"loc": {
"start": {
"line": 284,
"column": 8
},
"end": {
"line": 287,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 7495,
"end": 7520,
"loc": {
"start": {
"line": 284,
"column": 12
},
"end": {
"line": 284,
"column": 37
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 7496,
"end": 7520,
"loc": {
"start": {
"line": 284,
"column": 13
},
"end": {
"line": 284,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 7496,
"end": 7515,
"loc": {
"start": {
"line": 284,
"column": 13
},
"end": {
"line": 284,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 7496,
"end": 7500,
"loc": {
"start": {
"line": 284,
"column": 13
},
"end": {
"line": 284,
"column": 17
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 7501,
"end": 7515,
"loc": {
"start": {
"line": 284,
"column": 18
},
"end": {
"line": 284,
"column": 32
},
"identifierName": "hasOwnProperty"
},
"name": "hasOwnProperty"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 7516,
"end": 7519,
"loc": {
"start": {
"line": 284,
"column": 33
},
"end": {
"line": 284,
"column": 36
},
"identifierName": "key"
},
"name": "key"
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 7522,
"end": 7716,
"loc": {
"start": {
"line": 284,
"column": 39
},
"end": {
"line": 287,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 7537,
"end": 7614,
"loc": {
"start": {
"line": 285,
"column": 12
},
"end": {
"line": 285,
"column": 89
}
},
"expression": {
"type": "CallExpression",
"start": 7537,
"end": 7613,
"loc": {
"start": {
"line": 285,
"column": 12
},
"end": {
"line": 285,
"column": 88
}
},
"callee": {
"type": "MemberExpression",
"start": 7537,
"end": 7549,
"loc": {
"start": {
"line": 285,
"column": 12
},
"end": {
"line": 285,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 7537,
"end": 7543,
"loc": {
"start": {
"line": 285,
"column": 12
},
"end": {
"line": 285,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 7544,
"end": 7549,
"loc": {
"start": {
"line": 285,
"column": 19
},
"end": {
"line": 285,
"column": 24
},
"identifierName": "error"
},
"name": "error"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 7550,
"end": 7556,
"loc": {
"start": {
"line": 285,
"column": 25
},
"end": {
"line": 285,
"column": 31
}
},
"extra": {
"rawValue": "Data",
"raw": "\"Data\""
},
"value": "Data"
},
{
"type": "Identifier",
"start": 7558,
"end": 7562,
"loc": {
"start": {
"line": 285,
"column": 33
},
"end": {
"line": 285,
"column": 37
},
"identifierName": "data"
},
"name": "data"
},
{
"type": "StringLiteral",
"start": 7564,
"end": 7582,
"loc": {
"start": {
"line": 285,
"column": 39
},
"end": {
"line": 285,
"column": 57
}
},
"extra": {
"rawValue": "does not contain",
"raw": "\"does not contain\""
},
"value": "does not contain"
},
{
"type": "Identifier",
"start": 7584,
"end": 7587,
"loc": {
"start": {
"line": 285,
"column": 59
},
"end": {
"line": 285,
"column": 62
},
"identifierName": "key"
},
"name": "key"
},
{
"type": "StringLiteral",
"start": 7589,
"end": 7599,
"loc": {
"start": {
"line": 285,
"column": 64
},
"end": {
"line": 285,
"column": 74
}
},
"extra": {
"rawValue": "(schema:",
"raw": "\"(schema:\""
},
"value": "(schema:"
},
{
"type": "Identifier",
"start": 7601,
"end": 7607,
"loc": {
"start": {
"line": 285,
"column": 76
},
"end": {
"line": 285,
"column": 82
},
"identifierName": "schema"
},
"name": "schema"
},
{
"type": "StringLiteral",
"start": 7609,
"end": 7612,
"loc": {
"start": {
"line": 285,
"column": 84
},
"end": {
"line": 285,
"column": 87
}
},
"extra": {
"rawValue": ")",
"raw": "\")\""
},
"value": ")"
}
]
}
},
{
"type": "ReturnStatement",
"start": 7628,
"end": 7705,
"loc": {
"start": {
"line": 286,
"column": 12
},
"end": {
"line": 286,
"column": 89
}
},
"argument": {
"type": "BinaryExpression",
"start": 7635,
"end": 7704,
"loc": {
"start": {
"line": 286,
"column": 19
},
"end": {
"line": 286,
"column": 88
}
},
"left": {
"type": "BinaryExpression",
"start": 7635,
"end": 7681,
"loc": {
"start": {
"line": 286,
"column": 19
},
"end": {
"line": 286,
"column": 65
}
},
"left": {
"type": "BinaryExpression",
"start": 7635,
"end": 7666,
"loc": {
"start": {
"line": 286,
"column": 19
},
"end": {
"line": 286,
"column": 50
}
},
"left": {
"type": "StringLiteral",
"start": 7635,
"end": 7660,
"loc": {
"start": {
"line": 286,
"column": 19
},
"end": {
"line": 286,
"column": 44
}
},
"extra": {
"rawValue": "Missing key in schema: ",
"raw": "\"Missing key in schema: \""
},
"value": "Missing key in schema: "
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 7663,
"end": 7666,
"loc": {
"start": {
"line": 286,
"column": 47
},
"end": {
"line": 286,
"column": 50
},
"identifierName": "key"
},
"name": "key"
}
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 7669,
"end": 7681,
"loc": {
"start": {
"line": 286,
"column": 53
},
"end": {
"line": 286,
"column": 65
}
},
"extra": {
"rawValue": " of class ",
"raw": "\" of class \""
},
"value": " of class "
}
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 7684,
"end": 7704,
"loc": {
"start": {
"line": 286,
"column": 68
},
"end": {
"line": 286,
"column": 88
}
},
"object": {
"type": "MemberExpression",
"start": 7684,
"end": 7699,
"loc": {
"start": {
"line": 286,
"column": 68
},
"end": {
"line": 286,
"column": 83
}
},
"object": {
"type": "Identifier",
"start": 7684,
"end": 7687,
"loc": {
"start": {
"line": 286,
"column": 68
},
"end": {
"line": 286,
"column": 71
},
"identifierName": "obj"
},
"name": "obj"
},
"property": {
"type": "Identifier",
"start": 7688,
"end": 7699,
"loc": {
"start": {
"line": 286,
"column": 72
},
"end": {
"line": 286,
"column": 83
},
"identifierName": "constructor"
},
"name": "constructor"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7700,
"end": 7704,
"loc": {
"start": {
"line": 286,
"column": 84
},
"end": {
"line": 286,
"column": 88
},
"identifierName": "name"
},
"name": "name"
},
"computed": false
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 7726,
"end": 8008,
"loc": {
"start": {
"line": 288,
"column": 8
},
"end": {
"line": 291,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 7730,
"end": 7805,
"loc": {
"start": {
"line": 288,
"column": 12
},
"end": {
"line": 288,
"column": 87
}
},
"left": {
"type": "UnaryExpression",
"start": 7730,
"end": 7754,
"loc": {
"start": {
"line": 288,
"column": 12
},
"end": {
"line": 288,
"column": 36
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 7731,
"end": 7754,
"loc": {
"start": {
"line": 288,
"column": 13
},
"end": {
"line": 288,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 7731,
"end": 7752,
"loc": {
"start": {
"line": 288,
"column": 13
},
"end": {
"line": 288,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 7731,
"end": 7742,
"loc": {
"start": {
"line": 288,
"column": 13
},
"end": {
"line": 288,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 7731,
"end": 7737,
"loc": {
"start": {
"line": 288,
"column": 13
},
"end": {
"line": 288,
"column": 19
},
"identifierName": "schema"
},
"name": "schema"
},
"property": {
"type": "Identifier",
"start": 7738,
"end": 7741,
"loc": {
"start": {
"line": 288,
"column": 20
},
"end": {
"line": 288,
"column": 23
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 7743,
"end": 7752,
"loc": {
"start": {
"line": 288,
"column": 25
},
"end": {
"line": 288,
"column": 34
},
"identifierName": "allowNull"
},
"name": "allowNull"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "&&",
"right": {
"type": "LogicalExpression",
"start": 7759,
"end": 7804,
"loc": {
"start": {
"line": 288,
"column": 41
},
"end": {
"line": 288,
"column": 86
}
},
"left": {
"type": "BinaryExpression",
"start": 7759,
"end": 7777,
"loc": {
"start": {
"line": 288,
"column": 41
},
"end": {
"line": 288,
"column": 59
}
},
"left": {
"type": "MemberExpression",
"start": 7759,
"end": 7768,
"loc": {
"start": {
"line": 288,
"column": 41
},
"end": {
"line": 288,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 7759,
"end": 7763,
"loc": {
"start": {
"line": 288,
"column": 41
},
"end": {
"line": 288,
"column": 45
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 7764,
"end": 7767,
"loc": {
"start": {
"line": 288,
"column": 46
},
"end": {
"line": 288,
"column": 49
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
},
"operator": "===",
"right": {
"type": "NullLiteral",
"start": 7773,
"end": 7777,
"loc": {
"start": {
"line": 288,
"column": 55
},
"end": {
"line": 288,
"column": 59
}
}
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 7781,
"end": 7804,
"loc": {
"start": {
"line": 288,
"column": 63
},
"end": {
"line": 288,
"column": 86
}
},
"left": {
"type": "MemberExpression",
"start": 7781,
"end": 7790,
"loc": {
"start": {
"line": 288,
"column": 63
},
"end": {
"line": 288,
"column": 72
}
},
"object": {
"type": "Identifier",
"start": 7781,
"end": 7785,
"loc": {
"start": {
"line": 288,
"column": 63
},
"end": {
"line": 288,
"column": 67
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 7786,
"end": 7789,
"loc": {
"start": {
"line": 288,
"column": 68
},
"end": {
"line": 288,
"column": 71
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 7795,
"end": 7804,
"loc": {
"start": {
"line": 288,
"column": 77
},
"end": {
"line": 288,
"column": 86
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
"extra": {
"parenthesized": true,
"parenStart": 7758
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 7807,
"end": 8008,
"loc": {
"start": {
"line": 288,
"column": 89
},
"end": {
"line": 291,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 7822,
"end": 7901,
"loc": {
"start": {
"line": 289,
"column": 12
},
"end": {
"line": 289,
"column": 91
}
},
"expression": {
"type": "CallExpression",
"start": 7822,
"end": 7900,
"loc": {
"start": {
"line": 289,
"column": 12
},
"end": {
"line": 289,
"column": 90
}
},
"callee": {
"type": "MemberExpression",
"start": 7822,
"end": 7834,
"loc": {
"start": {
"line": 289,
"column": 12
},
"end": {
"line": 289,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 7822,
"end": 7828,
"loc": {
"start": {
"line": 289,
"column": 12
},
"end": {
"line": 289,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 7829,
"end": 7834,
"loc": {
"start": {
"line": 289,
"column": 19
},
"end": {
"line": 289,
"column": 24
},
"identifierName": "error"
},
"name": "error"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 7835,
"end": 7841,
"loc": {
"start": {
"line": 289,
"column": 25
},
"end": {
"line": 289,
"column": 31
}
},
"extra": {
"rawValue": "Data",
"raw": "\"Data\""
},
"value": "Data"
},
{
"type": "Identifier",
"start": 7843,
"end": 7847,
"loc": {
"start": {
"line": 289,
"column": 33
},
"end": {
"line": 289,
"column": 37
},
"identifierName": "data"
},
"name": "data"
},
{
"type": "StringLiteral",
"start": 7849,
"end": 7869,
"loc": {
"start": {
"line": 289,
"column": 39
},
"end": {
"line": 289,
"column": 59
}
},
"extra": {
"rawValue": "has null value for",
"raw": "\"has null value for\""
},
"value": "has null value for"
},
{
"type": "Identifier",
"start": 7871,
"end": 7874,
"loc": {
"start": {
"line": 289,
"column": 61
},
"end": {
"line": 289,
"column": 64
},
"identifierName": "key"
},
"name": "key"
},
{
"type": "StringLiteral",
"start": 7876,
"end": 7886,
"loc": {
"start": {
"line": 289,
"column": 66
},
"end": {
"line": 289,
"column": 76
}
},
"extra": {
"rawValue": "(schema:",
"raw": "\"(schema:\""
},
"value": "(schema:"
},
{
"type": "Identifier",
"start": 7888,
"end": 7894,
"loc": {
"start": {
"line": 289,
"column": 78
},
"end": {
"line": 289,
"column": 84
},
"identifierName": "schema"
},
"name": "schema"
},
{
"type": "StringLiteral",
"start": 7896,
"end": 7899,
"loc": {
"start": {
"line": 289,
"column": 86
},
"end": {
"line": 289,
"column": 89
}
},
"extra": {
"rawValue": ")",
"raw": "\")\""
},
"value": ")"
}
]
}
},
{
"type": "ReturnStatement",
"start": 7915,
"end": 7997,
"loc": {
"start": {
"line": 290,
"column": 12
},
"end": {
"line": 290,
"column": 94
}
},
"argument": {
"type": "BinaryExpression",
"start": 7922,
"end": 7996,
"loc": {
"start": {
"line": 290,
"column": 19
},
"end": {
"line": 290,
"column": 93
}
},
"left": {
"type": "BinaryExpression",
"start": 7922,
"end": 7973,
"loc": {
"start": {
"line": 290,
"column": 19
},
"end": {
"line": 290,
"column": 70
}
},
"left": {
"type": "BinaryExpression",
"start": 7922,
"end": 7958,
"loc": {
"start": {
"line": 290,
"column": 19
},
"end": {
"line": 290,
"column": 55
}
},
"left": {
"type": "StringLiteral",
"start": 7922,
"end": 7952,
"loc": {
"start": {
"line": 290,
"column": 19
},
"end": {
"line": 290,
"column": 49
}
},
"extra": {
"rawValue": "Non-nullable entry is null: ",
"raw": "\"Non-nullable entry is null: \""
},
"value": "Non-nullable entry is null: "
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 7955,
"end": 7958,
"loc": {
"start": {
"line": 290,
"column": 52
},
"end": {
"line": 290,
"column": 55
},
"identifierName": "key"
},
"name": "key"
}
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 7961,
"end": 7973,
"loc": {
"start": {
"line": 290,
"column": 58
},
"end": {
"line": 290,
"column": 70
}
},
"extra": {
"rawValue": " of class ",
"raw": "\" of class \""
},
"value": " of class "
}
},
"operator": "+",
"right": {
"type": "MemberExpression",
"start": 7976,
"end": 7996,
"loc": {
"start": {
"line": 290,
"column": 73
},
"end": {
"line": 290,
"column": 93
}
},
"object": {
"type": "MemberExpression",
"start": 7976,
"end": 7991,
"loc": {
"start": {
"line": 290,
"column": 73
},
"end": {
"line": 290,
"column": 88
}
},
"object": {
"type": "Identifier",
"start": 7976,
"end": 7979,
"loc": {
"start": {
"line": 290,
"column": 73
},
"end": {
"line": 290,
"column": 76
},
"identifierName": "obj"
},
"name": "obj"
},
"property": {
"type": "Identifier",
"start": 7980,
"end": 7991,
"loc": {
"start": {
"line": 290,
"column": 77
},
"end": {
"line": 290,
"column": 88
},
"identifierName": "constructor"
},
"name": "constructor"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 7992,
"end": 7996,
"loc": {
"start": {
"line": 290,
"column": 89
},
"end": {
"line": 290,
"column": 93
},
"identifierName": "name"
},
"name": "name"
},
"computed": false
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 8020,
"end": 8113,
"loc": {
"start": {
"line": 293,
"column": 8
},
"end": {
"line": 293,
"column": 101
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8026,
"end": 8112,
"loc": {
"start": {
"line": 293,
"column": 14
},
"end": {
"line": 293,
"column": 100
}
},
"id": {
"type": "Identifier",
"start": 8026,
"end": 8037,
"loc": {
"start": {
"line": 293,
"column": 14
},
"end": {
"line": 293,
"column": 25
},
"identifierName": "errorStatus"
},
"name": "errorStatus"
},
"init": {
"type": "CallExpression",
"start": 8040,
"end": 8112,
"loc": {
"start": {
"line": 293,
"column": 28
},
"end": {
"line": 293,
"column": 100
}
},
"callee": {
"type": "MemberExpression",
"start": 8040,
"end": 8073,
"loc": {
"start": {
"line": 293,
"column": 28
},
"end": {
"line": 293,
"column": 61
}
},
"object": {
"type": "MemberExpression",
"start": 8040,
"end": 8051,
"loc": {
"start": {
"line": 293,
"column": 28
},
"end": {
"line": 293,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 8040,
"end": 8046,
"loc": {
"start": {
"line": 293,
"column": 28
},
"end": {
"line": 293,
"column": 34
},
"identifierName": "schema"
},
"name": "schema"
},
"property": {
"type": "Identifier",
"start": 8047,
"end": 8050,
"loc": {
"start": {
"line": 293,
"column": 35
},
"end": {
"line": 293,
"column": 38
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 8052,
"end": 8073,
"loc": {
"start": {
"line": 293,
"column": 40
},
"end": {
"line": 293,
"column": 61
},
"identifierName": "deserializeWithVerify"
},
"name": "deserializeWithVerify"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 8074,
"end": 8083,
"loc": {
"start": {
"line": 293,
"column": 62
},
"end": {
"line": 293,
"column": 71
}
},
"object": {
"type": "Identifier",
"start": 8074,
"end": 8078,
"loc": {
"start": {
"line": 293,
"column": 62
},
"end": {
"line": 293,
"column": 66
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 8079,
"end": 8082,
"loc": {
"start": {
"line": 293,
"column": 67
},
"end": {
"line": 293,
"column": 70
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
},
{
"type": "Identifier",
"start": 8085,
"end": 8088,
"loc": {
"start": {
"line": 293,
"column": 73
},
"end": {
"line": 293,
"column": 76
},
"identifierName": "obj"
},
"name": "obj"
},
{
"type": "Identifier",
"start": 8090,
"end": 8093,
"loc": {
"start": {
"line": 293,
"column": 78
},
"end": {
"line": 293,
"column": 81
},
"identifierName": "key"
},
"name": "key"
},
{
"type": "LogicalExpression",
"start": 8095,
"end": 8111,
"loc": {
"start": {
"line": 293,
"column": 83
},
"end": {
"line": 293,
"column": 99
}
},
"left": {
"type": "MemberExpression",
"start": 8095,
"end": 8103,
"loc": {
"start": {
"line": 293,
"column": 83
},
"end": {
"line": 293,
"column": 91
}
},
"object": {
"type": "Identifier",
"start": 8095,
"end": 8098,
"loc": {
"start": {
"line": 293,
"column": 83
},
"end": {
"line": 293,
"column": 86
},
"identifierName": "obj"
},
"name": "obj"
},
"property": {
"type": "Identifier",
"start": 8099,
"end": 8103,
"loc": {
"start": {
"line": 293,
"column": 87
},
"end": {
"line": 293,
"column": 91
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"operator": "||",
"right": {
"type": "Identifier",
"start": 8107,
"end": 8111,
"loc": {
"start": {
"line": 293,
"column": 95
},
"end": {
"line": 293,
"column": 99
},
"identifierName": "root"
},
"name": "root"
}
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 8123,
"end": 8475,
"loc": {
"start": {
"line": 294,
"column": 8
},
"end": {
"line": 305,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 8127,
"end": 8138,
"loc": {
"start": {
"line": 294,
"column": 12
},
"end": {
"line": 294,
"column": 23
},
"identifierName": "errorStatus"
},
"name": "errorStatus"
},
"consequent": {
"type": "BlockStatement",
"start": 8140,
"end": 8475,
"loc": {
"start": {
"line": 294,
"column": 25
},
"end": {
"line": 305,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 8155,
"end": 8431,
"loc": {
"start": {
"line": 295,
"column": 12
},
"end": {
"line": 303,
"column": 14
}
},
"expression": {
"type": "CallExpression",
"start": 8155,
"end": 8430,
"loc": {
"start": {
"line": 295,
"column": 12
},
"end": {
"line": 303,
"column": 13
}
},
"callee": {
"type": "MemberExpression",
"start": 8155,
"end": 8167,
"loc": {
"start": {
"line": 295,
"column": 12
},
"end": {
"line": 295,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 8155,
"end": 8161,
"loc": {
"start": {
"line": 295,
"column": 12
},
"end": {
"line": 295,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 8162,
"end": 8167,
"loc": {
"start": {
"line": 295,
"column": 19
},
"end": {
"line": 295,
"column": 24
},
"identifierName": "error"
},
"name": "error"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 8186,
"end": 8253,
"loc": {
"start": {
"line": 296,
"column": 16
},
"end": {
"line": 296,
"column": 83
}
},
"left": {
"type": "BinaryExpression",
"start": 8186,
"end": 8237,
"loc": {
"start": {
"line": 296,
"column": 16
},
"end": {
"line": 296,
"column": 67
}
},
"left": {
"type": "StringLiteral",
"start": 8186,
"end": 8223,
"loc": {
"start": {
"line": 296,
"column": 16
},
"end": {
"line": 296,
"column": 53
}
},
"extra": {
"rawValue": "Deserialization failed with error '",
"raw": "\"Deserialization failed with error '\""
},
"value": "Deserialization failed with error '"
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 8226,
"end": 8237,
"loc": {
"start": {
"line": 296,
"column": 56
},
"end": {
"line": 296,
"column": 67
},
"identifierName": "errorStatus"
},
"name": "errorStatus"
}
},
"operator": "+",
"right": {
"type": "StringLiteral",
"start": 8240,
"end": 8253,
"loc": {
"start": {
"line": 296,
"column": 70
},
"end": {
"line": 296,
"column": 83
}
},
"extra": {
"rawValue": "' on object",
"raw": "\"' on object\""
},
"value": "' on object"
}
},
{
"type": "Identifier",
"start": 8272,
"end": 8275,
"loc": {
"start": {
"line": 297,
"column": 16
},
"end": {
"line": 297,
"column": 19
},
"identifierName": "obj"
},
"name": "obj"
},
{
"type": "StringLiteral",
"start": 8294,
"end": 8303,
"loc": {
"start": {
"line": 298,
"column": 16
},
"end": {
"line": 298,
"column": 25
}
},
"extra": {
"rawValue": "and key",
"raw": "\"and key\""
},
"value": "and key"
},
{
"type": "Identifier",
"start": 8322,
"end": 8325,
"loc": {
"start": {
"line": 299,
"column": 16
},
"end": {
"line": 299,
"column": 19
},
"identifierName": "key"
},
"name": "key"
},
{
"type": "StringLiteral",
"start": 8344,
"end": 8354,
"loc": {
"start": {
"line": 300,
"column": 16
},
"end": {
"line": 300,
"column": 26
}
},
"extra": {
"rawValue": "(root? =",
"raw": "\"(root? =\""
},
"value": "(root? ="
},
{
"type": "ConditionalExpression",
"start": 8373,
"end": 8393,
"loc": {
"start": {
"line": 301,
"column": 16
},
"end": {
"line": 301,
"column": 36
}
},
"test": {
"type": "MemberExpression",
"start": 8373,
"end": 8381,
"loc": {
"start": {
"line": 301,
"column": 16
},
"end": {
"line": 301,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 8373,
"end": 8376,
"loc": {
"start": {
"line": 301,
"column": 16
},
"end": {
"line": 301,
"column": 19
},
"identifierName": "obj"
},
"name": "obj"
},
"property": {
"type": "Identifier",
"start": 8377,
"end": 8381,
"loc": {
"start": {
"line": 301,
"column": 20
},
"end": {
"line": 301,
"column": 24
},
"identifierName": "root"
},
"name": "root"
},
"computed": false
},
"consequent": {
"type": "StringLiteral",
"start": 8384,
"end": 8387,
"loc": {
"start": {
"line": 301,
"column": 27
},
"end": {
"line": 301,
"column": 30
}
},
"extra": {
"rawValue": "y",
"raw": "\"y\""
},
"value": "y"
},
"alternate": {
"type": "StringLiteral",
"start": 8390,
"end": 8393,
"loc": {
"start": {
"line": 301,
"column": 33
},
"end": {
"line": 301,
"column": 36
}
},
"extra": {
"rawValue": "n",
"raw": "\"n\""
},
"value": "n"
}
},
{
"type": "StringLiteral",
"start": 8412,
"end": 8415,
"loc": {
"start": {
"line": 302,
"column": 16
},
"end": {
"line": 302,
"column": 19
}
},
"extra": {
"rawValue": ")",
"raw": "\")\""
},
"value": ")"
}
]
}
},
{
"type": "ReturnStatement",
"start": 8445,
"end": 8464,
"loc": {
"start": {
"line": 304,
"column": 12
},
"end": {
"line": 304,
"column": 31
}
},
"argument": {
"type": "Identifier",
"start": 8452,
"end": 8463,
"loc": {
"start": {
"line": 304,
"column": 19
},
"end": {
"line": 304,
"column": 30
},
"identifierName": "errorStatus"
},
"name": "errorStatus"
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Deserializes data into an object\r\n * @param {object} obj The object to store the deserialized data into\r\n * @param {Schema} schema The schema to use\r\n * @param {object} data The serialized data\r\n * @param {string|void|null=} baseclassErrorResult Convenience, if this is a string error code, do nothing and return it\r\n * @param {import(\"../game/root\").GameRoot=} root Optional game root reference\r\n * @returns {string|void} String error code or nothing on success\r\n ",
"start": 6664,
"end": 7139,
"loc": {
"start": {
"line": 264,
"column": 0
},
"end": {
"line": 272,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Verifies stored data using the given schema\r\n * @param {Schema} schema The schema to use\r\n * @param {object} data The data to verify\r\n * @returns {string|void} String error code or nothing on success\r\n ",
"start": 8489,
"end": 8701,
"loc": {
"start": {
"line": 309,
"column": 0
},
"end": {
"line": 314,
"column": 3
}
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Deserializes data into an object\r\n * @param {object} obj The object to store the deserialized data into\r\n * @param {Schema} schema The schema to use\r\n * @param {object} data The serialized data\r\n * @param {string|void|null=} baseclassErrorResult Convenience, if this is a string error code, do nothing and return it\r\n * @param {import(\"../game/root\").GameRoot=} root Optional game root reference\r\n * @returns {string|void} String error code or nothing on success\r\n ",
"start": 6664,
"end": 7139,
"loc": {
"start": {
"line": 264,
"column": 0
},
"end": {
"line": 272,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Verifies stored data using the given schema\r\n * @param {Schema} schema The schema to use\r\n * @param {object} data The data to verify\r\n * @returns {string|void} String error code or nothing on success\r\n ",
"start": 8489,
"end": 8701,
"loc": {
"start": {
"line": 309,
"column": 0
},
"end": {
"line": 314,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 8703,
"end": 9483,
"loc": {
"start": {
"line": 315,
"column": 0
},
"end": {
"line": 332,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "FunctionDeclaration",
"start": 8710,
"end": 9483,
"loc": {
"start": {
"line": 315,
"column": 7
},
"end": {
"line": 332,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 8719,
"end": 8731,
"loc": {
"start": {
"line": 315,
"column": 16
},
"end": {
"line": 315,
"column": 28
},
"identifierName": "verifySchema"
},
"name": "verifySchema",
"leadingComments": null
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 8732,
"end": 8738,
"loc": {
"start": {
"line": 315,
"column": 29
},
"end": {
"line": 315,
"column": 35
},
"identifierName": "schema"
},
"name": "schema"
},
{
"type": "Identifier",
"start": 8740,
"end": 8744,
"loc": {
"start": {
"line": 315,
"column": 37
},
"end": {
"line": 315,
"column": 41
},
"identifierName": "data"
},
"name": "data"
}
],
"body": {
"type": "BlockStatement",
"start": 8746,
"end": 9483,
"loc": {
"start": {
"line": 315,
"column": 43
},
"end": {
"line": 332,
"column": 1
}
},
"body": [
{
"type": "ForInStatement",
"start": 8753,
"end": 9480,
"loc": {
"start": {
"line": 316,
"column": 4
},
"end": {
"line": 331,
"column": 5
}
},
"left": {
"type": "VariableDeclaration",
"start": 8758,
"end": 8767,
"loc": {
"start": {
"line": 316,
"column": 9
},
"end": {
"line": 316,
"column": 18
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 8764,
"end": 8767,
"loc": {
"start": {
"line": 316,
"column": 15
},
"end": {
"line": 316,
"column": 18
}
},
"id": {
"type": "Identifier",
"start": 8764,
"end": 8767,
"loc": {
"start": {
"line": 316,
"column": 15
},
"end": {
"line": 316,
"column": 18
},
"identifierName": "key"
},
"name": "key"
},
"init": null
}
],
"kind": "const"
},
"right": {
"type": "Identifier",
"start": 8771,
"end": 8777,
"loc": {
"start": {
"line": 316,
"column": 22
},
"end": {
"line": 316,
"column": 28
},
"identifierName": "schema"
},
"name": "schema"
},
"body": {
"type": "BlockStatement",
"start": 8779,
"end": 9480,
"loc": {
"start": {
"line": 316,
"column": 30
},
"end": {
"line": 331,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 8790,
"end": 9009,
"loc": {
"start": {
"line": 317,
"column": 8
},
"end": {
"line": 320,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 8794,
"end": 8819,
"loc": {
"start": {
"line": 317,
"column": 12
},
"end": {
"line": 317,
"column": 37
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 8795,
"end": 8819,
"loc": {
"start": {
"line": 317,
"column": 13
},
"end": {
"line": 317,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 8795,
"end": 8814,
"loc": {
"start": {
"line": 317,
"column": 13
},
"end": {
"line": 317,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 8795,
"end": 8799,
"loc": {
"start": {
"line": 317,
"column": 13
},
"end": {
"line": 317,
"column": 17
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 8800,
"end": 8814,
"loc": {
"start": {
"line": 317,
"column": 18
},
"end": {
"line": 317,
"column": 32
},
"identifierName": "hasOwnProperty"
},
"name": "hasOwnProperty"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 8815,
"end": 8818,
"loc": {
"start": {
"line": 317,
"column": 33
},
"end": {
"line": 317,
"column": 36
},
"identifierName": "key"
},
"name": "key"
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 8821,
"end": 9009,
"loc": {
"start": {
"line": 317,
"column": 39
},
"end": {
"line": 320,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 8836,
"end": 8913,
"loc": {
"start": {
"line": 318,
"column": 12
},
"end": {
"line": 318,
"column": 89
}
},
"expression": {
"type": "CallExpression",
"start": 8836,
"end": 8912,
"loc": {
"start": {
"line": 318,
"column": 12
},
"end": {
"line": 318,
"column": 88
}
},
"callee": {
"type": "MemberExpression",
"start": 8836,
"end": 8848,
"loc": {
"start": {
"line": 318,
"column": 12
},
"end": {
"line": 318,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 8836,
"end": 8842,
"loc": {
"start": {
"line": 318,
"column": 12
},
"end": {
"line": 318,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 8843,
"end": 8848,
"loc": {
"start": {
"line": 318,
"column": 19
},
"end": {
"line": 318,
"column": 24
},
"identifierName": "error"
},
"name": "error"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 8849,
"end": 8855,
"loc": {
"start": {
"line": 318,
"column": 25
},
"end": {
"line": 318,
"column": 31
}
},
"extra": {
"rawValue": "Data",
"raw": "\"Data\""
},
"value": "Data"
},
{
"type": "Identifier",
"start": 8857,
"end": 8861,
"loc": {
"start": {
"line": 318,
"column": 33
},
"end": {
"line": 318,
"column": 37
},
"identifierName": "data"
},
"name": "data"
},
{
"type": "StringLiteral",
"start": 8863,
"end": 8881,
"loc": {
"start": {
"line": 318,
"column": 39
},
"end": {
"line": 318,
"column": 57
}
},
"extra": {
"rawValue": "does not contain",
"raw": "\"does not contain\""
},
"value": "does not contain"
},
{
"type": "Identifier",
"start": 8883,
"end": 8886,
"loc": {
"start": {
"line": 318,
"column": 59
},
"end": {
"line": 318,
"column": 62
},
"identifierName": "key"
},
"name": "key"
},
{
"type": "StringLiteral",
"start": 8888,
"end": 8898,
"loc": {
"start": {
"line": 318,
"column": 64
},
"end": {
"line": 318,
"column": 74
}
},
"extra": {
"rawValue": "(schema:",
"raw": "\"(schema:\""
},
"value": "(schema:"
},
{
"type": "Identifier",
"start": 8900,
"end": 8906,
"loc": {
"start": {
"line": 318,
"column": 76
},
"end": {
"line": 318,
"column": 82
},
"identifierName": "schema"
},
"name": "schema"
},
{
"type": "StringLiteral",
"start": 8908,
"end": 8911,
"loc": {
"start": {
"line": 318,
"column": 84
},
"end": {
"line": 318,
"column": 87
}
},
"extra": {
"rawValue": ")",
"raw": "\")\""
},
"value": ")"
}
]
}
},
{
"type": "ReturnStatement",
"start": 8927,
"end": 8998,
"loc": {
"start": {
"line": 319,
"column": 12
},
"end": {
"line": 319,
"column": 83
}
},
"argument": {
"type": "BinaryExpression",
"start": 8934,
"end": 8997,
"loc": {
"start": {
"line": 319,
"column": 19
},
"end": {
"line": 319,
"column": 82
}
},
"left": {
"type": "StringLiteral",
"start": 8934,
"end": 8991,
"loc": {
"start": {
"line": 319,
"column": 19
},
"end": {
"line": 319,
"column": 76
}
},
"extra": {
"rawValue": "verify: missing key required by schema in stored data: ",
"raw": "\"verify: missing key required by schema in stored data: \""
},
"value": "verify: missing key required by schema in stored data: "
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 8994,
"end": 8997,
"loc": {
"start": {
"line": 319,
"column": 79
},
"end": {
"line": 319,
"column": 82
},
"identifierName": "key"
},
"name": "key"
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 9019,
"end": 9271,
"loc": {
"start": {
"line": 321,
"column": 8
},
"end": {
"line": 324,
"column": 9
}
},
"test": {
"type": "LogicalExpression",
"start": 9023,
"end": 9098,
"loc": {
"start": {
"line": 321,
"column": 12
},
"end": {
"line": 321,
"column": 87
}
},
"left": {
"type": "UnaryExpression",
"start": 9023,
"end": 9047,
"loc": {
"start": {
"line": 321,
"column": 12
},
"end": {
"line": 321,
"column": 36
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 9024,
"end": 9047,
"loc": {
"start": {
"line": 321,
"column": 13
},
"end": {
"line": 321,
"column": 36
}
},
"callee": {
"type": "MemberExpression",
"start": 9024,
"end": 9045,
"loc": {
"start": {
"line": 321,
"column": 13
},
"end": {
"line": 321,
"column": 34
}
},
"object": {
"type": "MemberExpression",
"start": 9024,
"end": 9035,
"loc": {
"start": {
"line": 321,
"column": 13
},
"end": {
"line": 321,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 9024,
"end": 9030,
"loc": {
"start": {
"line": 321,
"column": 13
},
"end": {
"line": 321,
"column": 19
},
"identifierName": "schema"
},
"name": "schema"
},
"property": {
"type": "Identifier",
"start": 9031,
"end": 9034,
"loc": {
"start": {
"line": 321,
"column": 20
},
"end": {
"line": 321,
"column": 23
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 9036,
"end": 9045,
"loc": {
"start": {
"line": 321,
"column": 25
},
"end": {
"line": 321,
"column": 34
},
"identifierName": "allowNull"
},
"name": "allowNull"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "&&",
"right": {
"type": "LogicalExpression",
"start": 9052,
"end": 9097,
"loc": {
"start": {
"line": 321,
"column": 41
},
"end": {
"line": 321,
"column": 86
}
},
"left": {
"type": "BinaryExpression",
"start": 9052,
"end": 9070,
"loc": {
"start": {
"line": 321,
"column": 41
},
"end": {
"line": 321,
"column": 59
}
},
"left": {
"type": "MemberExpression",
"start": 9052,
"end": 9061,
"loc": {
"start": {
"line": 321,
"column": 41
},
"end": {
"line": 321,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 9052,
"end": 9056,
"loc": {
"start": {
"line": 321,
"column": 41
},
"end": {
"line": 321,
"column": 45
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 9057,
"end": 9060,
"loc": {
"start": {
"line": 321,
"column": 46
},
"end": {
"line": 321,
"column": 49
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
},
"operator": "===",
"right": {
"type": "NullLiteral",
"start": 9066,
"end": 9070,
"loc": {
"start": {
"line": 321,
"column": 55
},
"end": {
"line": 321,
"column": 59
}
}
}
},
"operator": "||",
"right": {
"type": "BinaryExpression",
"start": 9074,
"end": 9097,
"loc": {
"start": {
"line": 321,
"column": 63
},
"end": {
"line": 321,
"column": 86
}
},
"left": {
"type": "MemberExpression",
"start": 9074,
"end": 9083,
"loc": {
"start": {
"line": 321,
"column": 63
},
"end": {
"line": 321,
"column": 72
}
},
"object": {
"type": "Identifier",
"start": 9074,
"end": 9078,
"loc": {
"start": {
"line": 321,
"column": 63
},
"end": {
"line": 321,
"column": 67
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 9079,
"end": 9082,
"loc": {
"start": {
"line": 321,
"column": 68
},
"end": {
"line": 321,
"column": 71
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 9088,
"end": 9097,
"loc": {
"start": {
"line": 321,
"column": 77
},
"end": {
"line": 321,
"column": 86
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
"extra": {
"parenthesized": true,
"parenStart": 9051
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 9100,
"end": 9271,
"loc": {
"start": {
"line": 321,
"column": 89
},
"end": {
"line": 324,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 9115,
"end": 9194,
"loc": {
"start": {
"line": 322,
"column": 12
},
"end": {
"line": 322,
"column": 91
}
},
"expression": {
"type": "CallExpression",
"start": 9115,
"end": 9193,
"loc": {
"start": {
"line": 322,
"column": 12
},
"end": {
"line": 322,
"column": 90
}
},
"callee": {
"type": "MemberExpression",
"start": 9115,
"end": 9127,
"loc": {
"start": {
"line": 322,
"column": 12
},
"end": {
"line": 322,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 9115,
"end": 9121,
"loc": {
"start": {
"line": 322,
"column": 12
},
"end": {
"line": 322,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 9122,
"end": 9127,
"loc": {
"start": {
"line": 322,
"column": 19
},
"end": {
"line": 322,
"column": 24
},
"identifierName": "error"
},
"name": "error"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 9128,
"end": 9134,
"loc": {
"start": {
"line": 322,
"column": 25
},
"end": {
"line": 322,
"column": 31
}
},
"extra": {
"rawValue": "Data",
"raw": "\"Data\""
},
"value": "Data"
},
{
"type": "Identifier",
"start": 9136,
"end": 9140,
"loc": {
"start": {
"line": 322,
"column": 33
},
"end": {
"line": 322,
"column": 37
},
"identifierName": "data"
},
"name": "data"
},
{
"type": "StringLiteral",
"start": 9142,
"end": 9162,
"loc": {
"start": {
"line": 322,
"column": 39
},
"end": {
"line": 322,
"column": 59
}
},
"extra": {
"rawValue": "has null value for",
"raw": "\"has null value for\""
},
"value": "has null value for"
},
{
"type": "Identifier",
"start": 9164,
"end": 9167,
"loc": {
"start": {
"line": 322,
"column": 61
},
"end": {
"line": 322,
"column": 64
},
"identifierName": "key"
},
"name": "key"
},
{
"type": "StringLiteral",
"start": 9169,
"end": 9179,
"loc": {
"start": {
"line": 322,
"column": 66
},
"end": {
"line": 322,
"column": 76
}
},
"extra": {
"rawValue": "(schema:",
"raw": "\"(schema:\""
},
"value": "(schema:"
},
{
"type": "Identifier",
"start": 9181,
"end": 9187,
"loc": {
"start": {
"line": 322,
"column": 78
},
"end": {
"line": 322,
"column": 84
},
"identifierName": "schema"
},
"name": "schema"
},
{
"type": "StringLiteral",
"start": 9189,
"end": 9192,
"loc": {
"start": {
"line": 322,
"column": 86
},
"end": {
"line": 322,
"column": 89
}
},
"extra": {
"rawValue": ")",
"raw": "\")\""
},
"value": ")"
}
]
}
},
{
"type": "ReturnStatement",
"start": 9208,
"end": 9260,
"loc": {
"start": {
"line": 323,
"column": 12
},
"end": {
"line": 323,
"column": 64
}
},
"argument": {
"type": "BinaryExpression",
"start": 9215,
"end": 9259,
"loc": {
"start": {
"line": 323,
"column": 19
},
"end": {
"line": 323,
"column": 63
}
},
"left": {
"type": "StringLiteral",
"start": 9215,
"end": 9253,
"loc": {
"start": {
"line": 323,
"column": 19
},
"end": {
"line": 323,
"column": 57
}
},
"extra": {
"rawValue": "verify: non-nullable entry is null: ",
"raw": "\"verify: non-nullable entry is null: \""
},
"value": "verify: non-nullable entry is null: "
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 9256,
"end": 9259,
"loc": {
"start": {
"line": 323,
"column": 60
},
"end": {
"line": 323,
"column": 63
},
"identifierName": "key"
},
"name": "key"
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 9283,
"end": 9348,
"loc": {
"start": {
"line": 326,
"column": 8
},
"end": {
"line": 326,
"column": 73
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9289,
"end": 9347,
"loc": {
"start": {
"line": 326,
"column": 14
},
"end": {
"line": 326,
"column": 72
}
},
"id": {
"type": "Identifier",
"start": 9289,
"end": 9300,
"loc": {
"start": {
"line": 326,
"column": 14
},
"end": {
"line": 326,
"column": 25
},
"identifierName": "errorStatus"
},
"name": "errorStatus"
},
"init": {
"type": "CallExpression",
"start": 9303,
"end": 9347,
"loc": {
"start": {
"line": 326,
"column": 28
},
"end": {
"line": 326,
"column": 72
}
},
"callee": {
"type": "MemberExpression",
"start": 9303,
"end": 9336,
"loc": {
"start": {
"line": 326,
"column": 28
},
"end": {
"line": 326,
"column": 61
}
},
"object": {
"type": "MemberExpression",
"start": 9303,
"end": 9314,
"loc": {
"start": {
"line": 326,
"column": 28
},
"end": {
"line": 326,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 9303,
"end": 9309,
"loc": {
"start": {
"line": 326,
"column": 28
},
"end": {
"line": 326,
"column": 34
},
"identifierName": "schema"
},
"name": "schema"
},
"property": {
"type": "Identifier",
"start": 9310,
"end": 9313,
"loc": {
"start": {
"line": 326,
"column": 35
},
"end": {
"line": 326,
"column": 38
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
},
"property": {
"type": "Identifier",
"start": 9315,
"end": 9336,
"loc": {
"start": {
"line": 326,
"column": 40
},
"end": {
"line": 326,
"column": 61
},
"identifierName": "verifySerializedValue"
},
"name": "verifySerializedValue"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 9337,
"end": 9346,
"loc": {
"start": {
"line": 326,
"column": 62
},
"end": {
"line": 326,
"column": 71
}
},
"object": {
"type": "Identifier",
"start": 9337,
"end": 9341,
"loc": {
"start": {
"line": 326,
"column": 62
},
"end": {
"line": 326,
"column": 66
},
"identifierName": "data"
},
"name": "data"
},
"property": {
"type": "Identifier",
"start": 9342,
"end": 9345,
"loc": {
"start": {
"line": 326,
"column": 67
},
"end": {
"line": 326,
"column": 70
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 9358,
"end": 9473,
"loc": {
"start": {
"line": 327,
"column": 8
},
"end": {
"line": 330,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 9362,
"end": 9373,
"loc": {
"start": {
"line": 327,
"column": 12
},
"end": {
"line": 327,
"column": 23
},
"identifierName": "errorStatus"
},
"name": "errorStatus"
},
"consequent": {
"type": "BlockStatement",
"start": 9375,
"end": 9473,
"loc": {
"start": {
"line": 327,
"column": 25
},
"end": {
"line": 330,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 9390,
"end": 9416,
"loc": {
"start": {
"line": 328,
"column": 12
},
"end": {
"line": 328,
"column": 38
}
},
"expression": {
"type": "CallExpression",
"start": 9390,
"end": 9415,
"loc": {
"start": {
"line": 328,
"column": 12
},
"end": {
"line": 328,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 9390,
"end": 9402,
"loc": {
"start": {
"line": 328,
"column": 12
},
"end": {
"line": 328,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 9390,
"end": 9396,
"loc": {
"start": {
"line": 328,
"column": 12
},
"end": {
"line": 328,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 9397,
"end": 9402,
"loc": {
"start": {
"line": 328,
"column": 19
},
"end": {
"line": 328,
"column": 24
},
"identifierName": "error"
},
"name": "error"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 9403,
"end": 9414,
"loc": {
"start": {
"line": 328,
"column": 25
},
"end": {
"line": 328,
"column": 36
},
"identifierName": "errorStatus"
},
"name": "errorStatus"
}
]
}
},
{
"type": "ReturnStatement",
"start": 9430,
"end": 9462,
"loc": {
"start": {
"line": 329,
"column": 12
},
"end": {
"line": 329,
"column": 44
}
},
"argument": {
"type": "BinaryExpression",
"start": 9437,
"end": 9461,
"loc": {
"start": {
"line": 329,
"column": 19
},
"end": {
"line": 329,
"column": 43
}
},
"left": {
"type": "StringLiteral",
"start": 9437,
"end": 9447,
"loc": {
"start": {
"line": 329,
"column": 19
},
"end": {
"line": 329,
"column": 29
}
},
"extra": {
"rawValue": "verify: ",
"raw": "\"verify: \""
},
"value": "verify: "
},
"operator": "+",
"right": {
"type": "Identifier",
"start": 9450,
"end": 9461,
"loc": {
"start": {
"line": 329,
"column": 32
},
"end": {
"line": 329,
"column": 43
},
"identifierName": "errorStatus"
},
"name": "errorStatus"
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
],
"directives": [],
"trailingComments": null
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Verifies stored data using the given schema\r\n * @param {Schema} schema The schema to use\r\n * @param {object} data The data to verify\r\n * @returns {string|void} String error code or nothing on success\r\n ",
"start": 8489,
"end": 8701,
"loc": {
"start": {
"line": 309,
"column": 0
},
"end": {
"line": 314,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Extends a schema by adding the properties from the new schema to the existing base schema\r\n * @param {Schema} base\r\n * @param {Schema} newOne\r\n * @returns {Schema}\r\n ",
"start": 9487,
"end": 9663,
"loc": {
"start": {
"line": 334,
"column": 0
},
"end": {
"line": 339,
"column": 3
}
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Verifies stored data using the given schema\r\n * @param {Schema} schema The schema to use\r\n * @param {object} data The data to verify\r\n * @returns {string|void} String error code or nothing on success\r\n ",
"start": 8489,
"end": 8701,
"loc": {
"start": {
"line": 309,
"column": 0
},
"end": {
"line": 314,
"column": 3
}
}
}
],
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Extends a schema by adding the properties from the new schema to the existing base schema\r\n * @param {Schema} base\r\n * @param {Schema} newOne\r\n * @returns {Schema}\r\n ",
"start": 9487,
"end": 9663,
"loc": {
"start": {
"line": 334,
"column": 0
},
"end": {
"line": 339,
"column": 3
}
}
}
]
},
{
"type": "ExportNamedDeclaration",
"start": 9665,
"end": 10025,
"loc": {
"start": {
"line": 340,
"column": 0
},
"end": {
"line": 351,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "FunctionDeclaration",
"start": 9672,
"end": 10025,
"loc": {
"start": {
"line": 340,
"column": 7
},
"end": {
"line": 351,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 9681,
"end": 9693,
"loc": {
"start": {
"line": 340,
"column": 16
},
"end": {
"line": 340,
"column": 28
},
"identifierName": "extendSchema"
},
"name": "extendSchema",
"leadingComments": null
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 9694,
"end": 9698,
"loc": {
"start": {
"line": 340,
"column": 29
},
"end": {
"line": 340,
"column": 33
},
"identifierName": "base"
},
"name": "base"
},
{
"type": "Identifier",
"start": 9700,
"end": 9706,
"loc": {
"start": {
"line": 340,
"column": 35
},
"end": {
"line": 340,
"column": 41
},
"identifierName": "newOne"
},
"name": "newOne"
}
],
"body": {
"type": "BlockStatement",
"start": 9708,
"end": 10025,
"loc": {
"start": {
"line": 340,
"column": 43
},
"end": {
"line": 351,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 9742,
"end": 9781,
"loc": {
"start": {
"line": 342,
"column": 4
},
"end": {
"line": 342,
"column": 43
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9748,
"end": 9780,
"loc": {
"start": {
"line": 342,
"column": 10
},
"end": {
"line": 342,
"column": 42
}
},
"id": {
"type": "Identifier",
"start": 9748,
"end": 9754,
"loc": {
"start": {
"line": 342,
"column": 10
},
"end": {
"line": 342,
"column": 16
},
"identifierName": "result"
},
"name": "result",
"leadingComments": null
},
"init": {
"type": "CallExpression",
"start": 9757,
"end": 9780,
"loc": {
"start": {
"line": 342,
"column": 19
},
"end": {
"line": 342,
"column": 42
}
},
"callee": {
"type": "MemberExpression",
"start": 9757,
"end": 9770,
"loc": {
"start": {
"line": 342,
"column": 19
},
"end": {
"line": 342,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 9757,
"end": 9763,
"loc": {
"start": {
"line": 342,
"column": 19
},
"end": {
"line": 342,
"column": 25
},
"identifierName": "Object"
},
"name": "Object"
},
"property": {
"type": "Identifier",
"start": 9764,
"end": 9770,
"loc": {
"start": {
"line": 342,
"column": 26
},
"end": {
"line": 342,
"column": 32
},
"identifierName": "assign"
},
"name": "assign"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 9771,
"end": 9773,
"loc": {
"start": {
"line": 342,
"column": 33
},
"end": {
"line": 342,
"column": 35
}
},
"properties": []
},
{
"type": "Identifier",
"start": 9775,
"end": 9779,
"loc": {
"start": {
"line": 342,
"column": 37
},
"end": {
"line": 342,
"column": 41
},
"identifierName": "base"
},
"name": "base"
}
]
},
"leadingComments": null
}
],
"kind": "const",
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @type {Schema} ",
"start": 9715,
"end": 9736,
"loc": {
"start": {
"line": 341,
"column": 4
},
"end": {
"line": 341,
"column": 25
}
}
}
]
},
{
"type": "ForInStatement",
"start": 9787,
"end": 10002,
"loc": {
"start": {
"line": 343,
"column": 4
},
"end": {
"line": 349,
"column": 5
}
},
"left": {
"type": "VariableDeclaration",
"start": 9792,
"end": 9801,
"loc": {
"start": {
"line": 343,
"column": 9
},
"end": {
"line": 343,
"column": 18
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 9798,
"end": 9801,
"loc": {
"start": {
"line": 343,
"column": 15
},
"end": {
"line": 343,
"column": 18
}
},
"id": {
"type": "Identifier",
"start": 9798,
"end": 9801,
"loc": {
"start": {
"line": 343,
"column": 15
},
"end": {
"line": 343,
"column": 18
},
"identifierName": "key"
},
"name": "key"
},
"init": null
}
],
"kind": "const"
},
"right": {
"type": "Identifier",
"start": 9805,
"end": 9811,
"loc": {
"start": {
"line": 343,
"column": 22
},
"end": {
"line": 343,
"column": 28
},
"identifierName": "newOne"
},
"name": "newOne"
},
"body": {
"type": "BlockStatement",
"start": 9813,
"end": 10002,
"loc": {
"start": {
"line": 343,
"column": 30
},
"end": {
"line": 349,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 9824,
"end": 9959,
"loc": {
"start": {
"line": 344,
"column": 8
},
"end": {
"line": 347,
"column": 9
}
},
"test": {
"type": "CallExpression",
"start": 9828,
"end": 9854,
"loc": {
"start": {
"line": 344,
"column": 12
},
"end": {
"line": 344,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 9828,
"end": 9849,
"loc": {
"start": {
"line": 344,
"column": 12
},
"end": {
"line": 344,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 9828,
"end": 9834,
"loc": {
"start": {
"line": 344,
"column": 12
},
"end": {
"line": 344,
"column": 18
},
"identifierName": "result"
},
"name": "result"
},
"property": {
"type": "Identifier",
"start": 9835,
"end": 9849,
"loc": {
"start": {
"line": 344,
"column": 19
},
"end": {
"line": 344,
"column": 33
},
"identifierName": "hasOwnProperty"
},
"name": "hasOwnProperty"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 9850,
"end": 9853,
"loc": {
"start": {
"line": 344,
"column": 34
},
"end": {
"line": 344,
"column": 37
},
"identifierName": "key"
},
"name": "key"
}
]
},
"consequent": {
"type": "BlockStatement",
"start": 9856,
"end": 9959,
"loc": {
"start": {
"line": 344,
"column": 40
},
"end": {
"line": 347,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 9871,
"end": 9925,
"loc": {
"start": {
"line": 345,
"column": 12
},
"end": {
"line": 345,
"column": 66
}
},
"expression": {
"type": "CallExpression",
"start": 9871,
"end": 9924,
"loc": {
"start": {
"line": 345,
"column": 12
},
"end": {
"line": 345,
"column": 65
}
},
"callee": {
"type": "MemberExpression",
"start": 9871,
"end": 9883,
"loc": {
"start": {
"line": 345,
"column": 12
},
"end": {
"line": 345,
"column": 24
}
},
"object": {
"type": "Identifier",
"start": 9871,
"end": 9877,
"loc": {
"start": {
"line": 345,
"column": 12
},
"end": {
"line": 345,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 9878,
"end": 9883,
"loc": {
"start": {
"line": 345,
"column": 19
},
"end": {
"line": 345,
"column": 24
},
"identifierName": "error"
},
"name": "error"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 9884,
"end": 9918,
"loc": {
"start": {
"line": 345,
"column": 25
},
"end": {
"line": 345,
"column": 59
}
},
"extra": {
"rawValue": "Extend schema got duplicate key:",
"raw": "\"Extend schema got duplicate key:\""
},
"value": "Extend schema got duplicate key:"
},
{
"type": "Identifier",
"start": 9920,
"end": 9923,
"loc": {
"start": {
"line": 345,
"column": 61
},
"end": {
"line": 345,
"column": 64
},
"identifierName": "key"
},
"name": "key"
}
]
}
},
{
"type": "ContinueStatement",
"start": 9939,
"end": 9948,
"loc": {
"start": {
"line": 346,
"column": 12
},
"end": {
"line": 346,
"column": 21
}
},
"label": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 9969,
"end": 9995,
"loc": {
"start": {
"line": 348,
"column": 8
},
"end": {
"line": 348,
"column": 34
}
},
"expression": {
"type": "AssignmentExpression",
"start": 9969,
"end": 9994,
"loc": {
"start": {
"line": 348,
"column": 8
},
"end": {
"line": 348,
"column": 33
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 9969,
"end": 9980,
"loc": {
"start": {
"line": 348,
"column": 8
},
"end": {
"line": 348,
"column": 19
}
},
"object": {
"type": "Identifier",
"start": 9969,
"end": 9975,
"loc": {
"start": {
"line": 348,
"column": 8
},
"end": {
"line": 348,
"column": 14
},
"identifierName": "result"
},
"name": "result"
},
"property": {
"type": "Identifier",
"start": 9976,
"end": 9979,
"loc": {
"start": {
"line": 348,
"column": 15
},
"end": {
"line": 348,
"column": 18
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
},
"right": {
"type": "MemberExpression",
"start": 9983,
"end": 9994,
"loc": {
"start": {
"line": 348,
"column": 22
},
"end": {
"line": 348,
"column": 33
}
},
"object": {
"type": "Identifier",
"start": 9983,
"end": 9989,
"loc": {
"start": {
"line": 348,
"column": 22
},
"end": {
"line": 348,
"column": 28
},
"identifierName": "newOne"
},
"name": "newOne"
},
"property": {
"type": "Identifier",
"start": 9990,
"end": 9993,
"loc": {
"start": {
"line": 348,
"column": 29
},
"end": {
"line": 348,
"column": 32
},
"identifierName": "key"
},
"name": "key"
},
"computed": true
}
}
}
],
"directives": []
}
},
{
"type": "ReturnStatement",
"start": 10008,
"end": 10022,
"loc": {
"start": {
"line": 350,
"column": 4
},
"end": {
"line": 350,
"column": 18
}
},
"argument": {
"type": "Identifier",
"start": 10015,
"end": 10021,
"loc": {
"start": {
"line": 350,
"column": 11
},
"end": {
"line": 350,
"column": 17
},
"identifierName": "result"
},
"name": "result"
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Extends a schema by adding the properties from the new schema to the existing base schema\r\n * @param {Schema} base\r\n * @param {Schema} newOne\r\n * @returns {Schema}\r\n ",
"start": 9487,
"end": 9663,
"loc": {
"start": {
"line": 334,
"column": 0
},
"end": {
"line": 339,
"column": 3
}
}
}
],
"trailingComments": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\r\n * Extends a schema by adding the properties from the new schema to the existing base schema\r\n * @param {Schema} base\r\n * @param {Schema} newOne\r\n * @returns {Schema}\r\n ",
"start": 9487,
"end": 9663,
"loc": {
"start": {
"line": 334,
"column": 0
},
"end": {
"line": 339,
"column": 3
}
}
}
]
}
],
"directives": []
},
"comments": [
{
"type": "CommentLine",
"value": " Schema declarations",
"start": 584,
"end": 606,
"loc": {
"start": {
"line": 29,
"column": 0
},
"end": {
"line": 29,
"column": 22
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {BaseDataType} wrapped\r\n ",
"start": 977,
"end": 1027,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 44,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {FactoryTemplate<*>|SingletonFactoryTemplate<*>} registry\r\n ",
"start": 1111,
"end": 1196,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 51,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {BaseDataType} valueType\r\n * @param {boolean=} includeEmptyValues\r\n ",
"start": 1278,
"end": 1375,
"loc": {
"start": {
"line": 55,
"column": 4
},
"end": {
"line": 58,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Object<string, any>} values\r\n ",
"start": 1516,
"end": 1572,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 65,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {FactoryTemplate<*>} registry\r\n * @param {(GameRoot, any) => object=} resolver\r\n ",
"start": 1646,
"end": 1756,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 73,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {FactoryTemplate<*>} registry\r\n ",
"start": 1861,
"end": 1918,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 80,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {typeof BasicSerializableObject} cls\r\n ",
"start": 2004,
"end": 2068,
"loc": {
"start": {
"line": 85,
"column": 4
},
"end": {
"line": 87,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {BaseDataType} innerType\r\n ",
"start": 2147,
"end": 2199,
"loc": {
"start": {
"line": 92,
"column": 4
},
"end": {
"line": 94,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {BaseDataType} innerType\r\n ",
"start": 2281,
"end": 2333,
"loc": {
"start": {
"line": 99,
"column": 4
},
"end": {
"line": 101,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {SingletonFactoryTemplate<*>} innerType\r\n ",
"start": 2430,
"end": 2497,
"loc": {
"start": {
"line": 106,
"column": 4
},
"end": {
"line": 108,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Object.<string, BaseDataType>} descriptor\r\n ",
"start": 2584,
"end": 2654,
"loc": {
"start": {
"line": 113,
"column": 4
},
"end": {
"line": 115,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {BaseDataType} a\r\n * @param {BaseDataType} b\r\n ",
"start": 2754,
"end": 2830,
"loc": {
"start": {
"line": 120,
"column": 4
},
"end": {
"line": 123,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {typeof BasicSerializableObject} classHandle\r\n * @param {SingletonFactoryTemplate<*>} registry\r\n ",
"start": 2900,
"end": 3026,
"loc": {
"start": {
"line": 128,
"column": 4
},
"end": {
"line": 131,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * A full schema declaration\r\n * @typedef {Object.<string, BaseDataType>} Schema\r\n ",
"start": 3158,
"end": 3248,
"loc": {
"start": {
"line": 137,
"column": 0
},
"end": {
"line": 140,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": " dev:start ",
"start": 3285,
"end": 3300,
"loc": {
"start": {
"line": 144,
"column": 0
},
"end": {
"line": 144,
"column": 15
}
}
},
{
"type": "CommentBlock",
"value": " dev:end",
"start": 3331,
"end": 3343,
"loc": {
"start": {
"line": 146,
"column": 0
},
"end": {
"line": 146,
"column": 12
}
}
},
{
"type": "CommentBlock",
"value": " dev:start ",
"start": 3391,
"end": 3406,
"loc": {
"start": {
"line": 149,
"column": 4
},
"end": {
"line": 149,
"column": 19
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Fixes typeof DerivedComponent is not assignable to typeof Component, compiled out\r\n * in non-dev builds\r\n ",
"start": 3412,
"end": 3540,
"loc": {
"start": {
"line": 150,
"column": 4
},
"end": {
"line": 153,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": " dev:end ",
"start": 3577,
"end": 3590,
"loc": {
"start": {
"line": 156,
"column": 4
},
"end": {
"line": 156,
"column": 17
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Should return the serialization schema\r\n * @returns {Schema}\r\n ",
"start": 3648,
"end": 3733,
"loc": {
"start": {
"line": 162,
"column": 4
},
"end": {
"line": 165,
"column": 7
}
}
},
{
"type": "CommentLine",
"value": " Implementation",
"start": 3794,
"end": 3811,
"loc": {
"start": {
"line": 170,
"column": 4
},
"end": {
"line": 170,
"column": 21
}
}
},
{
"type": "CommentBlock",
"value": "* @returns {Schema} ",
"start": 3817,
"end": 3841,
"loc": {
"start": {
"line": 171,
"column": 4
},
"end": {
"line": 171,
"column": 28
}
}
},
{
"type": "CommentBlock",
"value": " dev:start ",
"start": 3919,
"end": 3934,
"loc": {
"start": {
"line": 175,
"column": 8
},
"end": {
"line": 175,
"column": 23
}
}
},
{
"type": "CommentBlock",
"value": " dev:end ",
"start": 4165,
"end": 4178,
"loc": {
"start": {
"line": 181,
"column": 8
},
"end": {
"line": 181,
"column": 21
}
}
},
{
"type": "CommentBlock",
"value": "* @returns {object} ",
"start": 4410,
"end": 4434,
"loc": {
"start": {
"line": 193,
"column": 4
},
"end": {
"line": 193,
"column": 28
}
}
},
{
"type": "CommentBlock",
"value": "* @type {typeof BasicSerializableObject} ",
"start": 4519,
"end": 4564,
"loc": {
"start": {
"line": 197,
"column": 12
},
"end": {
"line": 197,
"column": 57
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {any} data\r\n * @param {import(\"./savegame_serializer\").GameRoot} root\r\n * @returns {string|void}\r\n ",
"start": 4628,
"end": 4760,
"loc": {
"start": {
"line": 201,
"column": 4
},
"end": {
"line": 205,
"column": 7
}
}
},
{
"type": "CommentBlock",
"value": "* @type {typeof BasicSerializableObject} ",
"start": 4866,
"end": 4911,
"loc": {
"start": {
"line": 209,
"column": 12
},
"end": {
"line": 209,
"column": 57
}
}
},
{
"type": "CommentBlock",
"value": "* @returns {string|void} ",
"start": 5032,
"end": 5061,
"loc": {
"start": {
"line": 216,
"column": 4
},
"end": {
"line": 216,
"column": 33
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Serializes an object using the given schema, mergin with the given properties\r\n * @param {object} obj The object to serialize\r\n * @param {Schema} schema The schema to use\r\n * @param {object=} mergeWith Any additional properties to merge with the schema, useful for super calls\r\n * @returns {object} Serialized data object\r\n ",
"start": 5162,
"end": 5496,
"loc": {
"start": {
"line": 222,
"column": 0
},
"end": {
"line": 228,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Deserializes data into an object\r\n * @param {object} obj The object to store the deserialized data into\r\n * @param {Schema} schema The schema to use\r\n * @param {object} data The serialized data\r\n * @param {string|void|null=} baseclassErrorResult Convenience, if this is a string error code, do nothing and return it\r\n * @param {import(\"../game/root\").GameRoot=} root Optional game root reference\r\n * @returns {string|void} String error code or nothing on success\r\n ",
"start": 6664,
"end": 7139,
"loc": {
"start": {
"line": 264,
"column": 0
},
"end": {
"line": 272,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Verifies stored data using the given schema\r\n * @param {Schema} schema The schema to use\r\n * @param {object} data The data to verify\r\n * @returns {string|void} String error code or nothing on success\r\n ",
"start": 8489,
"end": 8701,
"loc": {
"start": {
"line": 309,
"column": 0
},
"end": {
"line": 314,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Extends a schema by adding the properties from the new schema to the existing base schema\r\n * @param {Schema} base\r\n * @param {Schema} newOne\r\n * @returns {Schema}\r\n ",
"start": 9487,
"end": 9663,
"loc": {
"start": {
"line": 334,
"column": 0
},
"end": {
"line": 339,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "* @type {Schema} ",
"start": 9715,
"end": 9736,
"loc": {
"start": {
"line": 341,
"column": 4
},
"end": {
"line": 341,
"column": 25
}
}
}
],
"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": "createLogger",
"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/logging",
"start": 29,
"end": 46,
"loc": {
"start": {
"line": 1,
"column": 29
},
"end": {
"line": 1,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 46,
"end": 47,
"loc": {
"start": {
"line": 1,
"column": 46
},
"end": {
"line": 1,
"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": 49,
"end": 55,
"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": 56,
"end": 57,
"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": "BaseDataType",
"start": 63,
"end": 75,
"loc": {
"start": {
"line": 3,
"column": 4
},
"end": {
"line": 3,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 75,
"end": 76,
"loc": {
"start": {
"line": 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": "TypeArray",
"start": 82,
"end": 91,
"loc": {
"start": {
"line": 4,
"column": 4
},
"end": {
"line": 4,
"column": 13
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 91,
"end": 92,
"loc": {
"start": {
"line": 4,
"column": 13
},
"end": {
"line": 4,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeBoolean",
"start": 98,
"end": 109,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 15
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 109,
"end": 110,
"loc": {
"start": {
"line": 5,
"column": 15
},
"end": {
"line": 5,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeClass",
"start": 116,
"end": 125,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 13
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 125,
"end": 126,
"loc": {
"start": {
"line": 6,
"column": 13
},
"end": {
"line": 6,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeClassData",
"start": 132,
"end": 145,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 17
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 145,
"end": 146,
"loc": {
"start": {
"line": 7,
"column": 17
},
"end": {
"line": 7,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeClassFromMetaclass",
"start": 152,
"end": 174,
"loc": {
"start": {
"line": 8,
"column": 4
},
"end": {
"line": 8,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 174,
"end": 175,
"loc": {
"start": {
"line": 8,
"column": 26
},
"end": {
"line": 8,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeClassId",
"start": 181,
"end": 192,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 15
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 192,
"end": 193,
"loc": {
"start": {
"line": 9,
"column": 15
},
"end": {
"line": 9,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeEntity",
"start": 199,
"end": 209,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 14
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 209,
"end": 210,
"loc": {
"start": {
"line": 10,
"column": 14
},
"end": {
"line": 10,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeEntityWeakref",
"start": 216,
"end": 233,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 21
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 233,
"end": 234,
"loc": {
"start": {
"line": 11,
"column": 21
},
"end": {
"line": 11,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeEnum",
"start": 240,
"end": 248,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 12
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 248,
"end": 249,
"loc": {
"start": {
"line": 12,
"column": 12
},
"end": {
"line": 12,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeFixedClass",
"start": 255,
"end": 269,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 18
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 269,
"end": 270,
"loc": {
"start": {
"line": 13,
"column": 18
},
"end": {
"line": 13,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeInteger",
"start": 276,
"end": 287,
"loc": {
"start": {
"line": 14,
"column": 4
},
"end": {
"line": 14,
"column": 15
}
}
},
{
"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": 14,
"column": 15
},
"end": {
"line": 14,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeKeyValueMap",
"start": 294,
"end": 309,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 309,
"end": 310,
"loc": {
"start": {
"line": 15,
"column": 19
},
"end": {
"line": 15,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeMetaClass",
"start": 316,
"end": 329,
"loc": {
"start": {
"line": 16,
"column": 4
},
"end": {
"line": 16,
"column": 17
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 329,
"end": 330,
"loc": {
"start": {
"line": 16,
"column": 17
},
"end": {
"line": 16,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeNullable",
"start": 336,
"end": 348,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 348,
"end": 349,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeNumber",
"start": 355,
"end": 365,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 14
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 365,
"end": 366,
"loc": {
"start": {
"line": 18,
"column": 14
},
"end": {
"line": 18,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypePair",
"start": 372,
"end": 380,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 12
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 380,
"end": 381,
"loc": {
"start": {
"line": 19,
"column": 12
},
"end": {
"line": 19,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypePositiveInteger",
"start": 387,
"end": 406,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 23
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 406,
"end": 407,
"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": "TypePositiveNumber",
"start": 413,
"end": 431,
"loc": {
"start": {
"line": 21,
"column": 4
},
"end": {
"line": 21,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 431,
"end": 432,
"loc": {
"start": {
"line": 21,
"column": 22
},
"end": {
"line": 21,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeString",
"start": 438,
"end": 448,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 14
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 448,
"end": 449,
"loc": {
"start": {
"line": 22,
"column": 14
},
"end": {
"line": 22,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeStructuredObject",
"start": 455,
"end": 475,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 475,
"end": 476,
"loc": {
"start": {
"line": 23,
"column": 24
},
"end": {
"line": 23,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeVector",
"start": 482,
"end": 492,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 14
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 492,
"end": 493,
"loc": {
"start": {
"line": 24,
"column": 14
},
"end": {
"line": 24,
"column": 15
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 495,
"end": 496,
"loc": {
"start": {
"line": 25,
"column": 0
},
"end": {
"line": 25,
"column": 1
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 497,
"end": 501,
"loc": {
"start": {
"line": 25,
"column": 2
},
"end": {
"line": 25,
"column": 6
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./serialization_data_types",
"start": 502,
"end": 530,
"loc": {
"start": {
"line": 25,
"column": 7
},
"end": {
"line": 25,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 530,
"end": 531,
"loc": {
"start": {
"line": 25,
"column": 35
},
"end": {
"line": 25,
"column": 36
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 535,
"end": 540,
"loc": {
"start": {
"line": 27,
"column": 0
},
"end": {
"line": 27,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 541,
"end": 547,
"loc": {
"start": {
"line": 27,
"column": 6
},
"end": {
"line": 27,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 548,
"end": 549,
"loc": {
"start": {
"line": 27,
"column": 13
},
"end": {
"line": 27,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createLogger",
"start": 550,
"end": 562,
"loc": {
"start": {
"line": 27,
"column": 15
},
"end": {
"line": 27,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 562,
"end": 563,
"loc": {
"start": {
"line": 27,
"column": 27
},
"end": {
"line": 27,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "serialization",
"start": 563,
"end": 578,
"loc": {
"start": {
"line": 27,
"column": 28
},
"end": {
"line": 27,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 578,
"end": 579,
"loc": {
"start": {
"line": 27,
"column": 43
},
"end": {
"line": 27,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 579,
"end": 580,
"loc": {
"start": {
"line": 27,
"column": 44
},
"end": {
"line": 27,
"column": 45
}
}
},
{
"type": "CommentLine",
"value": " Schema declarations",
"start": 584,
"end": 606,
"loc": {
"start": {
"line": 29,
"column": 0
},
"end": {
"line": 29,
"column": 22
}
}
},
{
"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": 608,
"end": 614,
"loc": {
"start": {
"line": 30,
"column": 0
},
"end": {
"line": 30,
"column": 6
}
}
},
{
"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": 615,
"end": 620,
"loc": {
"start": {
"line": 30,
"column": 7
},
"end": {
"line": 30,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "types",
"start": 621,
"end": 626,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 627,
"end": 628,
"loc": {
"start": {
"line": 30,
"column": 19
},
"end": {
"line": 30,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 629,
"end": 630,
"loc": {
"start": {
"line": 30,
"column": 21
},
"end": {
"line": 30,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "int",
"start": 636,
"end": 639,
"loc": {
"start": {
"line": 31,
"column": 4
},
"end": {
"line": 31,
"column": 7
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 639,
"end": 640,
"loc": {
"start": {
"line": 31,
"column": 7
},
"end": {
"line": 31,
"column": 8
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 641,
"end": 644,
"loc": {
"start": {
"line": 31,
"column": 9
},
"end": {
"line": 31,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeInteger",
"start": 645,
"end": 656,
"loc": {
"start": {
"line": 31,
"column": 13
},
"end": {
"line": 31,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 656,
"end": 657,
"loc": {
"start": {
"line": 31,
"column": 24
},
"end": {
"line": 31,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 657,
"end": 658,
"loc": {
"start": {
"line": 31,
"column": 25
},
"end": {
"line": 31,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 658,
"end": 659,
"loc": {
"start": {
"line": 31,
"column": 26
},
"end": {
"line": 31,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "uint",
"start": 665,
"end": 669,
"loc": {
"start": {
"line": 32,
"column": 4
},
"end": {
"line": 32,
"column": 8
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 669,
"end": 670,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 9
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 671,
"end": 674,
"loc": {
"start": {
"line": 32,
"column": 10
},
"end": {
"line": 32,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypePositiveInteger",
"start": 675,
"end": 694,
"loc": {
"start": {
"line": 32,
"column": 14
},
"end": {
"line": 32,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 694,
"end": 695,
"loc": {
"start": {
"line": 32,
"column": 33
},
"end": {
"line": 32,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 695,
"end": 696,
"loc": {
"start": {
"line": 32,
"column": 34
},
"end": {
"line": 32,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 696,
"end": 697,
"loc": {
"start": {
"line": 32,
"column": 35
},
"end": {
"line": 32,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "float",
"start": 703,
"end": 708,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 9
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 708,
"end": 709,
"loc": {
"start": {
"line": 33,
"column": 9
},
"end": {
"line": 33,
"column": 10
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 710,
"end": 713,
"loc": {
"start": {
"line": 33,
"column": 11
},
"end": {
"line": 33,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeNumber",
"start": 714,
"end": 724,
"loc": {
"start": {
"line": 33,
"column": 15
},
"end": {
"line": 33,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 724,
"end": 725,
"loc": {
"start": {
"line": 33,
"column": 25
},
"end": {
"line": 33,
"column": 26
}
}
},
{
"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": 33,
"column": 26
},
"end": {
"line": 33,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 726,
"end": 727,
"loc": {
"start": {
"line": 33,
"column": 27
},
"end": {
"line": 33,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ufloat",
"start": 733,
"end": 739,
"loc": {
"start": {
"line": 34,
"column": 4
},
"end": {
"line": 34,
"column": 10
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 739,
"end": 740,
"loc": {
"start": {
"line": 34,
"column": 10
},
"end": {
"line": 34,
"column": 11
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 741,
"end": 744,
"loc": {
"start": {
"line": 34,
"column": 12
},
"end": {
"line": 34,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypePositiveNumber",
"start": 745,
"end": 763,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 763,
"end": 764,
"loc": {
"start": {
"line": 34,
"column": 34
},
"end": {
"line": 34,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 764,
"end": 765,
"loc": {
"start": {
"line": 34,
"column": 35
},
"end": {
"line": 34,
"column": 36
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 765,
"end": 766,
"loc": {
"start": {
"line": 34,
"column": 36
},
"end": {
"line": 34,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "string",
"start": 772,
"end": 778,
"loc": {
"start": {
"line": 35,
"column": 4
},
"end": {
"line": 35,
"column": 10
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 778,
"end": 779,
"loc": {
"start": {
"line": 35,
"column": 10
},
"end": {
"line": 35,
"column": 11
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 780,
"end": 783,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeString",
"start": 784,
"end": 794,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 794,
"end": 795,
"loc": {
"start": {
"line": 35,
"column": 26
},
"end": {
"line": 35,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 795,
"end": 796,
"loc": {
"start": {
"line": 35,
"column": 27
},
"end": {
"line": 35,
"column": 28
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 796,
"end": 797,
"loc": {
"start": {
"line": 35,
"column": 28
},
"end": {
"line": 35,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 803,
"end": 809,
"loc": {
"start": {
"line": 36,
"column": 4
},
"end": {
"line": 36,
"column": 10
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 809,
"end": 810,
"loc": {
"start": {
"line": 36,
"column": 10
},
"end": {
"line": 36,
"column": 11
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 811,
"end": 814,
"loc": {
"start": {
"line": 36,
"column": 12
},
"end": {
"line": 36,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeEntity",
"start": 815,
"end": 825,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 825,
"end": 826,
"loc": {
"start": {
"line": 36,
"column": 26
},
"end": {
"line": 36,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 826,
"end": 827,
"loc": {
"start": {
"line": 36,
"column": 27
},
"end": {
"line": 36,
"column": 28
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 827,
"end": 828,
"loc": {
"start": {
"line": 36,
"column": 28
},
"end": {
"line": 36,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "weakEntityRef",
"start": 834,
"end": 847,
"loc": {
"start": {
"line": 37,
"column": 4
},
"end": {
"line": 37,
"column": 17
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 847,
"end": 848,
"loc": {
"start": {
"line": 37,
"column": 17
},
"end": {
"line": 37,
"column": 18
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 849,
"end": 852,
"loc": {
"start": {
"line": 37,
"column": 19
},
"end": {
"line": 37,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeEntityWeakref",
"start": 853,
"end": 870,
"loc": {
"start": {
"line": 37,
"column": 23
},
"end": {
"line": 37,
"column": 40
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 870,
"end": 871,
"loc": {
"start": {
"line": 37,
"column": 40
},
"end": {
"line": 37,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 871,
"end": 872,
"loc": {
"start": {
"line": 37,
"column": 41
},
"end": {
"line": 37,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 872,
"end": 873,
"loc": {
"start": {
"line": 37,
"column": 42
},
"end": {
"line": 37,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "vector",
"start": 879,
"end": 885,
"loc": {
"start": {
"line": 38,
"column": 4
},
"end": {
"line": 38,
"column": 10
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 885,
"end": 886,
"loc": {
"start": {
"line": 38,
"column": 10
},
"end": {
"line": 38,
"column": 11
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 887,
"end": 890,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeVector",
"start": 891,
"end": 901,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 901,
"end": 902,
"loc": {
"start": {
"line": 38,
"column": 26
},
"end": {
"line": 38,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 902,
"end": 903,
"loc": {
"start": {
"line": 38,
"column": 27
},
"end": {
"line": 38,
"column": 28
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 903,
"end": 904,
"loc": {
"start": {
"line": 38,
"column": 28
},
"end": {
"line": 38,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "tileVector",
"start": 910,
"end": 920,
"loc": {
"start": {
"line": 39,
"column": 4
},
"end": {
"line": 39,
"column": 14
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 920,
"end": 921,
"loc": {
"start": {
"line": 39,
"column": 14
},
"end": {
"line": 39,
"column": 15
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 922,
"end": 925,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeVector",
"start": 926,
"end": 936,
"loc": {
"start": {
"line": 39,
"column": 20
},
"end": {
"line": 39,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 936,
"end": 937,
"loc": {
"start": {
"line": 39,
"column": 30
},
"end": {
"line": 39,
"column": 31
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 937,
"end": 938,
"loc": {
"start": {
"line": 39,
"column": 31
},
"end": {
"line": 39,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 938,
"end": 939,
"loc": {
"start": {
"line": 39,
"column": 32
},
"end": {
"line": 39,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bool",
"start": 945,
"end": 949,
"loc": {
"start": {
"line": 40,
"column": 4
},
"end": {
"line": 40,
"column": 8
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 949,
"end": 950,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 9
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 951,
"end": 954,
"loc": {
"start": {
"line": 40,
"column": 10
},
"end": {
"line": 40,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeBoolean",
"start": 955,
"end": 966,
"loc": {
"start": {
"line": 40,
"column": 14
},
"end": {
"line": 40,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 966,
"end": 967,
"loc": {
"start": {
"line": 40,
"column": 25
},
"end": {
"line": 40,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 967,
"end": 968,
"loc": {
"start": {
"line": 40,
"column": 26
},
"end": {
"line": 40,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 968,
"end": 969,
"loc": {
"start": {
"line": 40,
"column": 27
},
"end": {
"line": 40,
"column": 28
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {BaseDataType} wrapped\r\n ",
"start": 977,
"end": 1027,
"loc": {
"start": {
"line": 42,
"column": 4
},
"end": {
"line": 44,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "nullable",
"start": 1033,
"end": 1041,
"loc": {
"start": {
"line": 45,
"column": 4
},
"end": {
"line": 45,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1041,
"end": 1042,
"loc": {
"start": {
"line": 45,
"column": 12
},
"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": "wrapped",
"start": 1042,
"end": 1049,
"loc": {
"start": {
"line": 45,
"column": 13
},
"end": {
"line": 45,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1049,
"end": 1050,
"loc": {
"start": {
"line": 45,
"column": 20
},
"end": {
"line": 45,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1051,
"end": 1052,
"loc": {
"start": {
"line": 45,
"column": 22
},
"end": {
"line": 45,
"column": 23
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 1062,
"end": 1068,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 14
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 1069,
"end": 1072,
"loc": {
"start": {
"line": 46,
"column": 15
},
"end": {
"line": 46,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeNullable",
"start": 1073,
"end": 1085,
"loc": {
"start": {
"line": 46,
"column": 19
},
"end": {
"line": 46,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1085,
"end": 1086,
"loc": {
"start": {
"line": 46,
"column": 31
},
"end": {
"line": 46,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "wrapped",
"start": 1086,
"end": 1093,
"loc": {
"start": {
"line": 46,
"column": 32
},
"end": {
"line": 46,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1093,
"end": 1094,
"loc": {
"start": {
"line": 46,
"column": 39
},
"end": {
"line": 46,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1094,
"end": 1095,
"loc": {
"start": {
"line": 46,
"column": 40
},
"end": {
"line": 46,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1101,
"end": 1102,
"loc": {
"start": {
"line": 47,
"column": 4
},
"end": {
"line": 47,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1102,
"end": 1103,
"loc": {
"start": {
"line": 47,
"column": 5
},
"end": {
"line": 47,
"column": 6
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {FactoryTemplate<*>|SingletonFactoryTemplate<*>} registry\r\n ",
"start": 1111,
"end": 1196,
"loc": {
"start": {
"line": 49,
"column": 4
},
"end": {
"line": 51,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classId",
"start": 1202,
"end": 1209,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1209,
"end": 1210,
"loc": {
"start": {
"line": 52,
"column": 11
},
"end": {
"line": 52,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "registry",
"start": 1210,
"end": 1218,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1218,
"end": 1219,
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1220,
"end": 1221,
"loc": {
"start": {
"line": 52,
"column": 22
},
"end": {
"line": 52,
"column": 23
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 1231,
"end": 1237,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 14
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 1238,
"end": 1241,
"loc": {
"start": {
"line": 53,
"column": 15
},
"end": {
"line": 53,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeClassId",
"start": 1242,
"end": 1253,
"loc": {
"start": {
"line": 53,
"column": 19
},
"end": {
"line": 53,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1253,
"end": 1254,
"loc": {
"start": {
"line": 53,
"column": 30
},
"end": {
"line": 53,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "registry",
"start": 1254,
"end": 1262,
"loc": {
"start": {
"line": 53,
"column": 31
},
"end": {
"line": 53,
"column": 39
}
}
},
{
"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": 53,
"column": 39
},
"end": {
"line": 53,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1263,
"end": 1264,
"loc": {
"start": {
"line": 53,
"column": 40
},
"end": {
"line": 53,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1270,
"end": 1271,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1271,
"end": 1272,
"loc": {
"start": {
"line": 54,
"column": 5
},
"end": {
"line": 54,
"column": 6
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {BaseDataType} valueType\r\n * @param {boolean=} includeEmptyValues\r\n ",
"start": 1278,
"end": 1375,
"loc": {
"start": {
"line": 55,
"column": 4
},
"end": {
"line": 58,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "keyValueMap",
"start": 1381,
"end": 1392,
"loc": {
"start": {
"line": 59,
"column": 4
},
"end": {
"line": 59,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1392,
"end": 1393,
"loc": {
"start": {
"line": 59,
"column": 15
},
"end": {
"line": 59,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "valueType",
"start": 1393,
"end": 1402,
"loc": {
"start": {
"line": 59,
"column": 16
},
"end": {
"line": 59,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1402,
"end": 1403,
"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": "includeEmptyValues",
"start": 1404,
"end": 1422,
"loc": {
"start": {
"line": 59,
"column": 27
},
"end": {
"line": 59,
"column": 45
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1423,
"end": 1424,
"loc": {
"start": {
"line": 59,
"column": 46
},
"end": {
"line": 59,
"column": 47
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 1425,
"end": 1429,
"loc": {
"start": {
"line": 59,
"column": 48
},
"end": {
"line": 59,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1429,
"end": 1430,
"loc": {
"start": {
"line": 59,
"column": 52
},
"end": {
"line": 59,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1431,
"end": 1432,
"loc": {
"start": {
"line": 59,
"column": 54
},
"end": {
"line": 59,
"column": 55
}
}
},
{
"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": 1442,
"end": 1448,
"loc": {
"start": {
"line": 60,
"column": 8
},
"end": {
"line": 60,
"column": 14
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 1449,
"end": 1452,
"loc": {
"start": {
"line": 60,
"column": 15
},
"end": {
"line": 60,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeKeyValueMap",
"start": 1453,
"end": 1468,
"loc": {
"start": {
"line": 60,
"column": 19
},
"end": {
"line": 60,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1468,
"end": 1469,
"loc": {
"start": {
"line": 60,
"column": 34
},
"end": {
"line": 60,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "valueType",
"start": 1469,
"end": 1478,
"loc": {
"start": {
"line": 60,
"column": 35
},
"end": {
"line": 60,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1478,
"end": 1479,
"loc": {
"start": {
"line": 60,
"column": 44
},
"end": {
"line": 60,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "includeEmptyValues",
"start": 1480,
"end": 1498,
"loc": {
"start": {
"line": 60,
"column": 46
},
"end": {
"line": 60,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1498,
"end": 1499,
"loc": {
"start": {
"line": 60,
"column": 64
},
"end": {
"line": 60,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1499,
"end": 1500,
"loc": {
"start": {
"line": 60,
"column": 65
},
"end": {
"line": 60,
"column": 66
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1506,
"end": 1507,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1507,
"end": 1508,
"loc": {
"start": {
"line": 61,
"column": 5
},
"end": {
"line": 61,
"column": 6
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Object<string, any>} values\r\n ",
"start": 1516,
"end": 1572,
"loc": {
"start": {
"line": 63,
"column": 4
},
"end": {
"line": 65,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enum",
"start": 1578,
"end": 1582,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 66,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1582,
"end": 1583,
"loc": {
"start": {
"line": 66,
"column": 8
},
"end": {
"line": 66,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "values",
"start": 1583,
"end": 1589,
"loc": {
"start": {
"line": 66,
"column": 9
},
"end": {
"line": 66,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1589,
"end": 1590,
"loc": {
"start": {
"line": 66,
"column": 15
},
"end": {
"line": 66,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1591,
"end": 1592,
"loc": {
"start": {
"line": 66,
"column": 17
},
"end": {
"line": 66,
"column": 18
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 1602,
"end": 1608,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 14
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 1609,
"end": 1612,
"loc": {
"start": {
"line": 67,
"column": 15
},
"end": {
"line": 67,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeEnum",
"start": 1613,
"end": 1621,
"loc": {
"start": {
"line": 67,
"column": 19
},
"end": {
"line": 67,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1621,
"end": 1622,
"loc": {
"start": {
"line": 67,
"column": 27
},
"end": {
"line": 67,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "values",
"start": 1622,
"end": 1628,
"loc": {
"start": {
"line": 67,
"column": 28
},
"end": {
"line": 67,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1628,
"end": 1629,
"loc": {
"start": {
"line": 67,
"column": 34
},
"end": {
"line": 67,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1629,
"end": 1630,
"loc": {
"start": {
"line": 67,
"column": 35
},
"end": {
"line": 67,
"column": 36
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1636,
"end": 1637,
"loc": {
"start": {
"line": 68,
"column": 4
},
"end": {
"line": 68,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1637,
"end": 1638,
"loc": {
"start": {
"line": 68,
"column": 5
},
"end": {
"line": 68,
"column": 6
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {FactoryTemplate<*>} registry\r\n * @param {(GameRoot, any) => object=} resolver\r\n ",
"start": 1646,
"end": 1756,
"loc": {
"start": {
"line": 70,
"column": 4
},
"end": {
"line": 73,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 1762,
"end": 1765,
"loc": {
"start": {
"line": 74,
"column": 4
},
"end": {
"line": 74,
"column": 7
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1765,
"end": 1766,
"loc": {
"start": {
"line": 74,
"column": 7
},
"end": {
"line": 74,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "registry",
"start": 1766,
"end": 1774,
"loc": {
"start": {
"line": 74,
"column": 8
},
"end": {
"line": 74,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1774,
"end": 1775,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 74,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resolver",
"start": 1776,
"end": 1784,
"loc": {
"start": {
"line": 74,
"column": 18
},
"end": {
"line": 74,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1785,
"end": 1786,
"loc": {
"start": {
"line": 74,
"column": 27
},
"end": {
"line": 74,
"column": 28
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1787,
"end": 1791,
"loc": {
"start": {
"line": 74,
"column": 29
},
"end": {
"line": 74,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1791,
"end": 1792,
"loc": {
"start": {
"line": 74,
"column": 33
},
"end": {
"line": 74,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1793,
"end": 1794,
"loc": {
"start": {
"line": 74,
"column": 35
},
"end": {
"line": 74,
"column": 36
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 1804,
"end": 1810,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 14
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 1811,
"end": 1814,
"loc": {
"start": {
"line": 75,
"column": 15
},
"end": {
"line": 75,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeClass",
"start": 1815,
"end": 1824,
"loc": {
"start": {
"line": 75,
"column": 19
},
"end": {
"line": 75,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1824,
"end": 1825,
"loc": {
"start": {
"line": 75,
"column": 28
},
"end": {
"line": 75,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "registry",
"start": 1825,
"end": 1833,
"loc": {
"start": {
"line": 75,
"column": 29
},
"end": {
"line": 75,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1833,
"end": 1834,
"loc": {
"start": {
"line": 75,
"column": 37
},
"end": {
"line": 75,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resolver",
"start": 1835,
"end": 1843,
"loc": {
"start": {
"line": 75,
"column": 39
},
"end": {
"line": 75,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1843,
"end": 1844,
"loc": {
"start": {
"line": 75,
"column": 47
},
"end": {
"line": 75,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1844,
"end": 1845,
"loc": {
"start": {
"line": 75,
"column": 48
},
"end": {
"line": 75,
"column": 49
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1851,
"end": 1852,
"loc": {
"start": {
"line": 76,
"column": 4
},
"end": {
"line": 76,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1852,
"end": 1853,
"loc": {
"start": {
"line": 76,
"column": 5
},
"end": {
"line": 76,
"column": 6
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {FactoryTemplate<*>} registry\r\n ",
"start": 1861,
"end": 1918,
"loc": {
"start": {
"line": 78,
"column": 4
},
"end": {
"line": 80,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "objData",
"start": 1924,
"end": 1931,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 81,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1931,
"end": 1932,
"loc": {
"start": {
"line": 81,
"column": 11
},
"end": {
"line": 81,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "registry",
"start": 1932,
"end": 1940,
"loc": {
"start": {
"line": 81,
"column": 12
},
"end": {
"line": 81,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1940,
"end": 1941,
"loc": {
"start": {
"line": 81,
"column": 20
},
"end": {
"line": 81,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1942,
"end": 1943,
"loc": {
"start": {
"line": 81,
"column": 22
},
"end": {
"line": 81,
"column": 23
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 1953,
"end": 1959,
"loc": {
"start": {
"line": 82,
"column": 8
},
"end": {
"line": 82,
"column": 14
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 1960,
"end": 1963,
"loc": {
"start": {
"line": 82,
"column": 15
},
"end": {
"line": 82,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeClassData",
"start": 1964,
"end": 1977,
"loc": {
"start": {
"line": 82,
"column": 19
},
"end": {
"line": 82,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1977,
"end": 1978,
"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": "registry",
"start": 1978,
"end": 1986,
"loc": {
"start": {
"line": 82,
"column": 33
},
"end": {
"line": 82,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1986,
"end": 1987,
"loc": {
"start": {
"line": 82,
"column": 41
},
"end": {
"line": 82,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1987,
"end": 1988,
"loc": {
"start": {
"line": 82,
"column": 42
},
"end": {
"line": 82,
"column": 43
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1994,
"end": 1995,
"loc": {
"start": {
"line": 83,
"column": 4
},
"end": {
"line": 83,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1995,
"end": 1996,
"loc": {
"start": {
"line": 83,
"column": 5
},
"end": {
"line": 83,
"column": 6
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {typeof BasicSerializableObject} cls\r\n ",
"start": 2004,
"end": 2068,
"loc": {
"start": {
"line": 85,
"column": 4
},
"end": {
"line": 87,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "knownType",
"start": 2074,
"end": 2083,
"loc": {
"start": {
"line": 88,
"column": 4
},
"end": {
"line": 88,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2083,
"end": 2084,
"loc": {
"start": {
"line": 88,
"column": 13
},
"end": {
"line": 88,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cls",
"start": 2084,
"end": 2087,
"loc": {
"start": {
"line": 88,
"column": 14
},
"end": {
"line": 88,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2087,
"end": 2088,
"loc": {
"start": {
"line": 88,
"column": 17
},
"end": {
"line": 88,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2089,
"end": 2090,
"loc": {
"start": {
"line": 88,
"column": 19
},
"end": {
"line": 88,
"column": 20
}
}
},
{
"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": 2100,
"end": 2106,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 14
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 2107,
"end": 2110,
"loc": {
"start": {
"line": 89,
"column": 15
},
"end": {
"line": 89,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeFixedClass",
"start": 2111,
"end": 2125,
"loc": {
"start": {
"line": 89,
"column": 19
},
"end": {
"line": 89,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2125,
"end": 2126,
"loc": {
"start": {
"line": 89,
"column": 33
},
"end": {
"line": 89,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cls",
"start": 2126,
"end": 2129,
"loc": {
"start": {
"line": 89,
"column": 34
},
"end": {
"line": 89,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2129,
"end": 2130,
"loc": {
"start": {
"line": 89,
"column": 37
},
"end": {
"line": 89,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2130,
"end": 2131,
"loc": {
"start": {
"line": 89,
"column": 38
},
"end": {
"line": 89,
"column": 39
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2137,
"end": 2138,
"loc": {
"start": {
"line": 90,
"column": 4
},
"end": {
"line": 90,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2138,
"end": 2139,
"loc": {
"start": {
"line": 90,
"column": 5
},
"end": {
"line": 90,
"column": 6
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {BaseDataType} innerType\r\n ",
"start": 2147,
"end": 2199,
"loc": {
"start": {
"line": 92,
"column": 4
},
"end": {
"line": 94,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "array",
"start": 2205,
"end": 2210,
"loc": {
"start": {
"line": 95,
"column": 4
},
"end": {
"line": 95,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2210,
"end": 2211,
"loc": {
"start": {
"line": 95,
"column": 9
},
"end": {
"line": 95,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "innerType",
"start": 2211,
"end": 2220,
"loc": {
"start": {
"line": 95,
"column": 10
},
"end": {
"line": 95,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2220,
"end": 2221,
"loc": {
"start": {
"line": 95,
"column": 19
},
"end": {
"line": 95,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2222,
"end": 2223,
"loc": {
"start": {
"line": 95,
"column": 21
},
"end": {
"line": 95,
"column": 22
}
}
},
{
"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": 2233,
"end": 2239,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 96,
"column": 14
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 2240,
"end": 2243,
"loc": {
"start": {
"line": 96,
"column": 15
},
"end": {
"line": 96,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeArray",
"start": 2244,
"end": 2253,
"loc": {
"start": {
"line": 96,
"column": 19
},
"end": {
"line": 96,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2253,
"end": 2254,
"loc": {
"start": {
"line": 96,
"column": 28
},
"end": {
"line": 96,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "innerType",
"start": 2254,
"end": 2263,
"loc": {
"start": {
"line": 96,
"column": 29
},
"end": {
"line": 96,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2263,
"end": 2264,
"loc": {
"start": {
"line": 96,
"column": 38
},
"end": {
"line": 96,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2264,
"end": 2265,
"loc": {
"start": {
"line": 96,
"column": 39
},
"end": {
"line": 96,
"column": 40
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2271,
"end": 2272,
"loc": {
"start": {
"line": 97,
"column": 4
},
"end": {
"line": 97,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2272,
"end": 2273,
"loc": {
"start": {
"line": 97,
"column": 5
},
"end": {
"line": 97,
"column": 6
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {BaseDataType} innerType\r\n ",
"start": 2281,
"end": 2333,
"loc": {
"start": {
"line": 99,
"column": 4
},
"end": {
"line": 101,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fixedSizeArray",
"start": 2339,
"end": 2353,
"loc": {
"start": {
"line": 102,
"column": 4
},
"end": {
"line": 102,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2353,
"end": 2354,
"loc": {
"start": {
"line": 102,
"column": 18
},
"end": {
"line": 102,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "innerType",
"start": 2354,
"end": 2363,
"loc": {
"start": {
"line": 102,
"column": 19
},
"end": {
"line": 102,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2363,
"end": 2364,
"loc": {
"start": {
"line": 102,
"column": 28
},
"end": {
"line": 102,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2365,
"end": 2366,
"loc": {
"start": {
"line": 102,
"column": 30
},
"end": {
"line": 102,
"column": 31
}
}
},
{
"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": 2376,
"end": 2382,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 14
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 2383,
"end": 2386,
"loc": {
"start": {
"line": 103,
"column": 15
},
"end": {
"line": 103,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeArray",
"start": 2387,
"end": 2396,
"loc": {
"start": {
"line": 103,
"column": 19
},
"end": {
"line": 103,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2396,
"end": 2397,
"loc": {
"start": {
"line": 103,
"column": 28
},
"end": {
"line": 103,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "innerType",
"start": 2397,
"end": 2406,
"loc": {
"start": {
"line": 103,
"column": 29
},
"end": {
"line": 103,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2406,
"end": 2407,
"loc": {
"start": {
"line": 103,
"column": 38
},
"end": {
"line": 103,
"column": 39
}
}
},
{
"type": {
"label": "true",
"keyword": "true",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "true",
"start": 2408,
"end": 2412,
"loc": {
"start": {
"line": 103,
"column": 40
},
"end": {
"line": 103,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2412,
"end": 2413,
"loc": {
"start": {
"line": 103,
"column": 44
},
"end": {
"line": 103,
"column": 45
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2413,
"end": 2414,
"loc": {
"start": {
"line": 103,
"column": 45
},
"end": {
"line": 103,
"column": 46
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2420,
"end": 2421,
"loc": {
"start": {
"line": 104,
"column": 4
},
"end": {
"line": 104,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2421,
"end": 2422,
"loc": {
"start": {
"line": 104,
"column": 5
},
"end": {
"line": 104,
"column": 6
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {SingletonFactoryTemplate<*>} innerType\r\n ",
"start": 2430,
"end": 2497,
"loc": {
"start": {
"line": 106,
"column": 4
},
"end": {
"line": 108,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classRef",
"start": 2503,
"end": 2511,
"loc": {
"start": {
"line": 109,
"column": 4
},
"end": {
"line": 109,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2511,
"end": 2512,
"loc": {
"start": {
"line": 109,
"column": 12
},
"end": {
"line": 109,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "registry",
"start": 2512,
"end": 2520,
"loc": {
"start": {
"line": 109,
"column": 13
},
"end": {
"line": 109,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2520,
"end": 2521,
"loc": {
"start": {
"line": 109,
"column": 21
},
"end": {
"line": 109,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2522,
"end": 2523,
"loc": {
"start": {
"line": 109,
"column": 23
},
"end": {
"line": 109,
"column": 24
}
}
},
{
"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": 2533,
"end": 2539,
"loc": {
"start": {
"line": 110,
"column": 8
},
"end": {
"line": 110,
"column": 14
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 2540,
"end": 2543,
"loc": {
"start": {
"line": 110,
"column": 15
},
"end": {
"line": 110,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeMetaClass",
"start": 2544,
"end": 2557,
"loc": {
"start": {
"line": 110,
"column": 19
},
"end": {
"line": 110,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2557,
"end": 2558,
"loc": {
"start": {
"line": 110,
"column": 32
},
"end": {
"line": 110,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "registry",
"start": 2558,
"end": 2566,
"loc": {
"start": {
"line": 110,
"column": 33
},
"end": {
"line": 110,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2566,
"end": 2567,
"loc": {
"start": {
"line": 110,
"column": 41
},
"end": {
"line": 110,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2567,
"end": 2568,
"loc": {
"start": {
"line": 110,
"column": 42
},
"end": {
"line": 110,
"column": 43
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2574,
"end": 2575,
"loc": {
"start": {
"line": 111,
"column": 4
},
"end": {
"line": 111,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2575,
"end": 2576,
"loc": {
"start": {
"line": 111,
"column": 5
},
"end": {
"line": 111,
"column": 6
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {Object.<string, BaseDataType>} descriptor\r\n ",
"start": 2584,
"end": 2654,
"loc": {
"start": {
"line": 113,
"column": 4
},
"end": {
"line": 115,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "structured",
"start": 2660,
"end": 2670,
"loc": {
"start": {
"line": 116,
"column": 4
},
"end": {
"line": 116,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2670,
"end": 2671,
"loc": {
"start": {
"line": 116,
"column": 14
},
"end": {
"line": 116,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "descriptor",
"start": 2671,
"end": 2681,
"loc": {
"start": {
"line": 116,
"column": 15
},
"end": {
"line": 116,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2681,
"end": 2682,
"loc": {
"start": {
"line": 116,
"column": 25
},
"end": {
"line": 116,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2683,
"end": 2684,
"loc": {
"start": {
"line": 116,
"column": 27
},
"end": {
"line": 116,
"column": 28
}
}
},
{
"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": 2694,
"end": 2700,
"loc": {
"start": {
"line": 117,
"column": 8
},
"end": {
"line": 117,
"column": 14
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 2701,
"end": 2704,
"loc": {
"start": {
"line": 117,
"column": 15
},
"end": {
"line": 117,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeStructuredObject",
"start": 2705,
"end": 2725,
"loc": {
"start": {
"line": 117,
"column": 19
},
"end": {
"line": 117,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2725,
"end": 2726,
"loc": {
"start": {
"line": 117,
"column": 39
},
"end": {
"line": 117,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "descriptor",
"start": 2726,
"end": 2736,
"loc": {
"start": {
"line": 117,
"column": 40
},
"end": {
"line": 117,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2736,
"end": 2737,
"loc": {
"start": {
"line": 117,
"column": 50
},
"end": {
"line": 117,
"column": 51
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2737,
"end": 2738,
"loc": {
"start": {
"line": 117,
"column": 51
},
"end": {
"line": 117,
"column": 52
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2744,
"end": 2745,
"loc": {
"start": {
"line": 118,
"column": 4
},
"end": {
"line": 118,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2745,
"end": 2746,
"loc": {
"start": {
"line": 118,
"column": 5
},
"end": {
"line": 118,
"column": 6
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {BaseDataType} a\r\n * @param {BaseDataType} b\r\n ",
"start": 2754,
"end": 2830,
"loc": {
"start": {
"line": 120,
"column": 4
},
"end": {
"line": 123,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pair",
"start": 2836,
"end": 2840,
"loc": {
"start": {
"line": 124,
"column": 4
},
"end": {
"line": 124,
"column": 8
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2840,
"end": 2841,
"loc": {
"start": {
"line": 124,
"column": 8
},
"end": {
"line": 124,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "a",
"start": 2841,
"end": 2842,
"loc": {
"start": {
"line": 124,
"column": 9
},
"end": {
"line": 124,
"column": 10
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2842,
"end": 2843,
"loc": {
"start": {
"line": 124,
"column": 10
},
"end": {
"line": 124,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "b",
"start": 2844,
"end": 2845,
"loc": {
"start": {
"line": 124,
"column": 12
},
"end": {
"line": 124,
"column": 13
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2845,
"end": 2846,
"loc": {
"start": {
"line": 124,
"column": 13
},
"end": {
"line": 124,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2847,
"end": 2848,
"loc": {
"start": {
"line": 124,
"column": 15
},
"end": {
"line": 124,
"column": 16
}
}
},
{
"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": 2858,
"end": 2864,
"loc": {
"start": {
"line": 125,
"column": 8
},
"end": {
"line": 125,
"column": 14
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 2865,
"end": 2868,
"loc": {
"start": {
"line": 125,
"column": 15
},
"end": {
"line": 125,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypePair",
"start": 2869,
"end": 2877,
"loc": {
"start": {
"line": 125,
"column": 19
},
"end": {
"line": 125,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2877,
"end": 2878,
"loc": {
"start": {
"line": 125,
"column": 27
},
"end": {
"line": 125,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "a",
"start": 2878,
"end": 2879,
"loc": {
"start": {
"line": 125,
"column": 28
},
"end": {
"line": 125,
"column": 29
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2879,
"end": 2880,
"loc": {
"start": {
"line": 125,
"column": 29
},
"end": {
"line": 125,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "b",
"start": 2881,
"end": 2882,
"loc": {
"start": {
"line": 125,
"column": 31
},
"end": {
"line": 125,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2882,
"end": 2883,
"loc": {
"start": {
"line": 125,
"column": 32
},
"end": {
"line": 125,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2883,
"end": 2884,
"loc": {
"start": {
"line": 125,
"column": 33
},
"end": {
"line": 125,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2890,
"end": 2891,
"loc": {
"start": {
"line": 126,
"column": 4
},
"end": {
"line": 126,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2891,
"end": 2892,
"loc": {
"start": {
"line": 126,
"column": 5
},
"end": {
"line": 126,
"column": 6
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {typeof BasicSerializableObject} classHandle\r\n * @param {SingletonFactoryTemplate<*>} registry\r\n ",
"start": 2900,
"end": 3026,
"loc": {
"start": {
"line": 128,
"column": 4
},
"end": {
"line": 131,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classWithMetaclass",
"start": 3032,
"end": 3050,
"loc": {
"start": {
"line": 132,
"column": 4
},
"end": {
"line": 132,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3050,
"end": 3051,
"loc": {
"start": {
"line": 132,
"column": 22
},
"end": {
"line": 132,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classHandle",
"start": 3051,
"end": 3062,
"loc": {
"start": {
"line": 132,
"column": 23
},
"end": {
"line": 132,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3062,
"end": 3063,
"loc": {
"start": {
"line": 132,
"column": 34
},
"end": {
"line": 132,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "registry",
"start": 3064,
"end": 3072,
"loc": {
"start": {
"line": 132,
"column": 36
},
"end": {
"line": 132,
"column": 44
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3072,
"end": 3073,
"loc": {
"start": {
"line": 132,
"column": 44
},
"end": {
"line": 132,
"column": 45
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3074,
"end": 3075,
"loc": {
"start": {
"line": 132,
"column": 46
},
"end": {
"line": 132,
"column": 47
}
}
},
{
"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": 3085,
"end": 3091,
"loc": {
"start": {
"line": 133,
"column": 8
},
"end": {
"line": 133,
"column": 14
}
}
},
{
"type": {
"label": "new",
"keyword": "new",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "new",
"start": 3092,
"end": 3095,
"loc": {
"start": {
"line": 133,
"column": 15
},
"end": {
"line": 133,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "TypeClassFromMetaclass",
"start": 3096,
"end": 3118,
"loc": {
"start": {
"line": 133,
"column": 19
},
"end": {
"line": 133,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3118,
"end": 3119,
"loc": {
"start": {
"line": 133,
"column": 41
},
"end": {
"line": 133,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classHandle",
"start": 3119,
"end": 3130,
"loc": {
"start": {
"line": 133,
"column": 42
},
"end": {
"line": 133,
"column": 53
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3130,
"end": 3131,
"loc": {
"start": {
"line": 133,
"column": 53
},
"end": {
"line": 133,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "registry",
"start": 3132,
"end": 3140,
"loc": {
"start": {
"line": 133,
"column": 55
},
"end": {
"line": 133,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3140,
"end": 3141,
"loc": {
"start": {
"line": 133,
"column": 63
},
"end": {
"line": 133,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3141,
"end": 3142,
"loc": {
"start": {
"line": 133,
"column": 64
},
"end": {
"line": 133,
"column": 65
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3148,
"end": 3149,
"loc": {
"start": {
"line": 134,
"column": 4
},
"end": {
"line": 134,
"column": 5
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3149,
"end": 3150,
"loc": {
"start": {
"line": 134,
"column": 5
},
"end": {
"line": 134,
"column": 6
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3152,
"end": 3153,
"loc": {
"start": {
"line": 135,
"column": 0
},
"end": {
"line": 135,
"column": 1
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3153,
"end": 3154,
"loc": {
"start": {
"line": 135,
"column": 1
},
"end": {
"line": 135,
"column": 2
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * A full schema declaration\r\n * @typedef {Object.<string, BaseDataType>} Schema\r\n ",
"start": 3158,
"end": 3248,
"loc": {
"start": {
"line": 137,
"column": 0
},
"end": {
"line": 140,
"column": 3
}
}
},
{
"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": 3252,
"end": 3257,
"loc": {
"start": {
"line": 142,
"column": 0
},
"end": {
"line": 142,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalSchemaCache",
"start": 3258,
"end": 3275,
"loc": {
"start": {
"line": 142,
"column": 6
},
"end": {
"line": 142,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3276,
"end": 3277,
"loc": {
"start": {
"line": 142,
"column": 24
},
"end": {
"line": 142,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3278,
"end": 3279,
"loc": {
"start": {
"line": 142,
"column": 26
},
"end": {
"line": 142,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3279,
"end": 3280,
"loc": {
"start": {
"line": 142,
"column": 27
},
"end": {
"line": 142,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3280,
"end": 3281,
"loc": {
"start": {
"line": 142,
"column": 28
},
"end": {
"line": 142,
"column": 29
}
}
},
{
"type": "CommentBlock",
"value": " dev:start ",
"start": 3285,
"end": 3300,
"loc": {
"start": {
"line": 144,
"column": 0
},
"end": {
"line": 144,
"column": 15
}
}
},
{
"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": 3302,
"end": 3307,
"loc": {
"start": {
"line": 145,
"column": 0
},
"end": {
"line": 145,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classnamesCache",
"start": 3308,
"end": 3323,
"loc": {
"start": {
"line": 145,
"column": 6
},
"end": {
"line": 145,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3324,
"end": 3325,
"loc": {
"start": {
"line": 145,
"column": 22
},
"end": {
"line": 145,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3326,
"end": 3327,
"loc": {
"start": {
"line": 145,
"column": 24
},
"end": {
"line": 145,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3327,
"end": 3328,
"loc": {
"start": {
"line": 145,
"column": 25
},
"end": {
"line": 145,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3328,
"end": 3329,
"loc": {
"start": {
"line": 145,
"column": 26
},
"end": {
"line": 145,
"column": 27
}
}
},
{
"type": "CommentBlock",
"value": " dev:end",
"start": 3331,
"end": 3343,
"loc": {
"start": {
"line": 146,
"column": 0
},
"end": {
"line": 146,
"column": 12
}
}
},
{
"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": 3347,
"end": 3353,
"loc": {
"start": {
"line": 148,
"column": 0
},
"end": {
"line": 148,
"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": 3354,
"end": 3359,
"loc": {
"start": {
"line": 148,
"column": 7
},
"end": {
"line": 148,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "BasicSerializableObject",
"start": 3360,
"end": 3383,
"loc": {
"start": {
"line": 148,
"column": 13
},
"end": {
"line": 148,
"column": 36
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3384,
"end": 3385,
"loc": {
"start": {
"line": 148,
"column": 37
},
"end": {
"line": 148,
"column": 38
}
}
},
{
"type": "CommentBlock",
"value": " dev:start ",
"start": 3391,
"end": 3406,
"loc": {
"start": {
"line": 149,
"column": 4
},
"end": {
"line": 149,
"column": 19
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Fixes typeof DerivedComponent is not assignable to typeof Component, compiled out\r\n * in non-dev builds\r\n ",
"start": 3412,
"end": 3540,
"loc": {
"start": {
"line": 150,
"column": 4
},
"end": {
"line": 153,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 3546,
"end": 3557,
"loc": {
"start": {
"line": 154,
"column": 4
},
"end": {
"line": 154,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3557,
"end": 3558,
"loc": {
"start": {
"line": 154,
"column": 15
},
"end": {
"line": 154,
"column": 16
}
}
},
{
"type": {
"label": "...",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3558,
"end": 3561,
"loc": {
"start": {
"line": 154,
"column": 16
},
"end": {
"line": 154,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "args",
"start": 3561,
"end": 3565,
"loc": {
"start": {
"line": 154,
"column": 19
},
"end": {
"line": 154,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3565,
"end": 3566,
"loc": {
"start": {
"line": 154,
"column": 23
},
"end": {
"line": 154,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3567,
"end": 3568,
"loc": {
"start": {
"line": 154,
"column": 25
},
"end": {
"line": 154,
"column": 26
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3568,
"end": 3569,
"loc": {
"start": {
"line": 154,
"column": 26
},
"end": {
"line": 154,
"column": 27
}
}
},
{
"type": "CommentBlock",
"value": " dev:end ",
"start": 3577,
"end": 3590,
"loc": {
"start": {
"line": 156,
"column": 4
},
"end": {
"line": 156,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "static",
"start": 3598,
"end": 3604,
"loc": {
"start": {
"line": 158,
"column": 4
},
"end": {
"line": 158,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 3605,
"end": 3610,
"loc": {
"start": {
"line": 158,
"column": 11
},
"end": {
"line": 158,
"column": 16
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3610,
"end": 3611,
"loc": {
"start": {
"line": 158,
"column": 16
},
"end": {
"line": 158,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3611,
"end": 3612,
"loc": {
"start": {
"line": 158,
"column": 17
},
"end": {
"line": 158,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3613,
"end": 3614,
"loc": {
"start": {
"line": 158,
"column": 19
},
"end": {
"line": 158,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "abstract",
"start": 3624,
"end": 3632,
"loc": {
"start": {
"line": 159,
"column": 8
},
"end": {
"line": 159,
"column": 16
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3632,
"end": 3633,
"loc": {
"start": {
"line": 159,
"column": 16
},
"end": {
"line": 159,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3639,
"end": 3640,
"loc": {
"start": {
"line": 160,
"column": 4
},
"end": {
"line": 160,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Should return the serialization schema\r\n * @returns {Schema}\r\n ",
"start": 3648,
"end": 3733,
"loc": {
"start": {
"line": 162,
"column": 4
},
"end": {
"line": 165,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "static",
"start": 3739,
"end": 3745,
"loc": {
"start": {
"line": 166,
"column": 4
},
"end": {
"line": 166,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSchema",
"start": 3746,
"end": 3755,
"loc": {
"start": {
"line": 166,
"column": 11
},
"end": {
"line": 166,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3755,
"end": 3756,
"loc": {
"start": {
"line": 166,
"column": 20
},
"end": {
"line": 166,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3756,
"end": 3757,
"loc": {
"start": {
"line": 166,
"column": 21
},
"end": {
"line": 166,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3758,
"end": 3759,
"loc": {
"start": {
"line": 166,
"column": 23
},
"end": {
"line": 166,
"column": 24
}
}
},
{
"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": 3769,
"end": 3775,
"loc": {
"start": {
"line": 167,
"column": 8
},
"end": {
"line": 167,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3776,
"end": 3777,
"loc": {
"start": {
"line": 167,
"column": 15
},
"end": {
"line": 167,
"column": 16
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3777,
"end": 3778,
"loc": {
"start": {
"line": 167,
"column": 16
},
"end": {
"line": 167,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3778,
"end": 3779,
"loc": {
"start": {
"line": 167,
"column": 17
},
"end": {
"line": 167,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3785,
"end": 3786,
"loc": {
"start": {
"line": 168,
"column": 4
},
"end": {
"line": 168,
"column": 5
}
}
},
{
"type": "CommentLine",
"value": " Implementation",
"start": 3794,
"end": 3811,
"loc": {
"start": {
"line": 170,
"column": 4
},
"end": {
"line": 170,
"column": 21
}
}
},
{
"type": "CommentBlock",
"value": "* @returns {Schema} ",
"start": 3817,
"end": 3841,
"loc": {
"start": {
"line": 171,
"column": 4
},
"end": {
"line": 171,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "static",
"start": 3847,
"end": 3853,
"loc": {
"start": {
"line": 172,
"column": 4
},
"end": {
"line": 172,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getCachedSchema",
"start": 3854,
"end": 3869,
"loc": {
"start": {
"line": 172,
"column": 11
},
"end": {
"line": 172,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3869,
"end": 3870,
"loc": {
"start": {
"line": 172,
"column": 26
},
"end": {
"line": 172,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3870,
"end": 3871,
"loc": {
"start": {
"line": 172,
"column": 27
},
"end": {
"line": 172,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3872,
"end": 3873,
"loc": {
"start": {
"line": 172,
"column": 29
},
"end": {
"line": 172,
"column": 30
}
}
},
{
"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": 3883,
"end": 3888,
"loc": {
"start": {
"line": 173,
"column": 8
},
"end": {
"line": 173,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 3889,
"end": 3891,
"loc": {
"start": {
"line": 173,
"column": 14
},
"end": {
"line": 173,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3892,
"end": 3893,
"loc": {
"start": {
"line": 173,
"column": 17
},
"end": {
"line": 173,
"column": 18
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3894,
"end": 3898,
"loc": {
"start": {
"line": 173,
"column": 19
},
"end": {
"line": 173,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3898,
"end": 3899,
"loc": {
"start": {
"line": 173,
"column": 23
},
"end": {
"line": 173,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getId",
"start": 3899,
"end": 3904,
"loc": {
"start": {
"line": 173,
"column": 24
},
"end": {
"line": 173,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3904,
"end": 3905,
"loc": {
"start": {
"line": 173,
"column": 29
},
"end": {
"line": 173,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3905,
"end": 3906,
"loc": {
"start": {
"line": 173,
"column": 30
},
"end": {
"line": 173,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3906,
"end": 3907,
"loc": {
"start": {
"line": 173,
"column": 31
},
"end": {
"line": 173,
"column": 32
}
}
},
{
"type": "CommentBlock",
"value": " dev:start ",
"start": 3919,
"end": 3934,
"loc": {
"start": {
"line": 175,
"column": 8
},
"end": {
"line": 175,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 3944,
"end": 3950,
"loc": {
"start": {
"line": 176,
"column": 8
},
"end": {
"line": 176,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3950,
"end": 3951,
"loc": {
"start": {
"line": 176,
"column": 14
},
"end": {
"line": 176,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classnamesCache",
"start": 3965,
"end": 3980,
"loc": {
"start": {
"line": 177,
"column": 12
},
"end": {
"line": 177,
"column": 27
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3980,
"end": 3981,
"loc": {
"start": {
"line": 177,
"column": 27
},
"end": {
"line": 177,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 3981,
"end": 3983,
"loc": {
"start": {
"line": 177,
"column": 28
},
"end": {
"line": 177,
"column": 30
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3983,
"end": 3984,
"loc": {
"start": {
"line": 177,
"column": 30
},
"end": {
"line": 177,
"column": 31
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 3985,
"end": 3988,
"loc": {
"start": {
"line": 177,
"column": 32
},
"end": {
"line": 177,
"column": 35
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3989,
"end": 3993,
"loc": {
"start": {
"line": 177,
"column": 36
},
"end": {
"line": 177,
"column": 40
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 3994,
"end": 3996,
"loc": {
"start": {
"line": 177,
"column": 41
},
"end": {
"line": 177,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classnamesCache",
"start": 3997,
"end": 4012,
"loc": {
"start": {
"line": 177,
"column": 44
},
"end": {
"line": 177,
"column": 59
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4012,
"end": 4013,
"loc": {
"start": {
"line": 177,
"column": 59
},
"end": {
"line": 177,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 4013,
"end": 4015,
"loc": {
"start": {
"line": 177,
"column": 60
},
"end": {
"line": 177,
"column": 62
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4015,
"end": 4016,
"loc": {
"start": {
"line": 177,
"column": 62
},
"end": {
"line": 177,
"column": 63
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 4017,
"end": 4020,
"loc": {
"start": {
"line": 177,
"column": 64
},
"end": {
"line": 177,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 4021,
"end": 4030,
"loc": {
"start": {
"line": 177,
"column": 68
},
"end": {
"line": 177,
"column": 77
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4030,
"end": 4031,
"loc": {
"start": {
"line": 177,
"column": 77
},
"end": {
"line": 177,
"column": 78
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Class name taken twice: ",
"start": 4045,
"end": 4071,
"loc": {
"start": {
"line": 178,
"column": 12
},
"end": {
"line": 178,
"column": 38
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 4072,
"end": 4073,
"loc": {
"start": {
"line": 178,
"column": 39
},
"end": {
"line": 178,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 4074,
"end": 4076,
"loc": {
"start": {
"line": 178,
"column": 41
},
"end": {
"line": 178,
"column": 43
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 4077,
"end": 4078,
"loc": {
"start": {
"line": 178,
"column": 44
},
"end": {
"line": 178,
"column": 45
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": " (from ",
"start": 4079,
"end": 4088,
"loc": {
"start": {
"line": 178,
"column": 46
},
"end": {
"line": 178,
"column": 55
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 4089,
"end": 4090,
"loc": {
"start": {
"line": 178,
"column": 56
},
"end": {
"line": 178,
"column": 57
}
}
},
{
"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": 4091,
"end": 4095,
"loc": {
"start": {
"line": 178,
"column": 58
},
"end": {
"line": 178,
"column": 62
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4095,
"end": 4096,
"loc": {
"start": {
"line": 178,
"column": 62
},
"end": {
"line": 178,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "name",
"start": 4096,
"end": 4100,
"loc": {
"start": {
"line": 178,
"column": 63
},
"end": {
"line": 178,
"column": 67
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 4101,
"end": 4102,
"loc": {
"start": {
"line": 178,
"column": 68
},
"end": {
"line": 178,
"column": 69
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ")",
"start": 4103,
"end": 4106,
"loc": {
"start": {
"line": 178,
"column": 70
},
"end": {
"line": 178,
"column": 73
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4116,
"end": 4117,
"loc": {
"start": {
"line": 179,
"column": 8
},
"end": {
"line": 179,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4117,
"end": 4118,
"loc": {
"start": {
"line": 179,
"column": 9
},
"end": {
"line": 179,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classnamesCache",
"start": 4128,
"end": 4143,
"loc": {
"start": {
"line": 180,
"column": 8
},
"end": {
"line": 180,
"column": 23
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4143,
"end": 4144,
"loc": {
"start": {
"line": 180,
"column": 23
},
"end": {
"line": 180,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 4144,
"end": 4146,
"loc": {
"start": {
"line": 180,
"column": 24
},
"end": {
"line": 180,
"column": 26
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4146,
"end": 4147,
"loc": {
"start": {
"line": 180,
"column": 26
},
"end": {
"line": 180,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4148,
"end": 4149,
"loc": {
"start": {
"line": 180,
"column": 28
},
"end": {
"line": 180,
"column": 29
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4150,
"end": 4154,
"loc": {
"start": {
"line": 180,
"column": 30
},
"end": {
"line": 180,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4154,
"end": 4155,
"loc": {
"start": {
"line": 180,
"column": 34
},
"end": {
"line": 180,
"column": 35
}
}
},
{
"type": "CommentBlock",
"value": " dev:end ",
"start": 4165,
"end": 4178,
"loc": {
"start": {
"line": 181,
"column": 8
},
"end": {
"line": 181,
"column": 21
}
}
},
{
"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": 4190,
"end": 4195,
"loc": {
"start": {
"line": 183,
"column": 8
},
"end": {
"line": 183,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entry",
"start": 4196,
"end": 4201,
"loc": {
"start": {
"line": 183,
"column": 14
},
"end": {
"line": 183,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4202,
"end": 4203,
"loc": {
"start": {
"line": 183,
"column": 20
},
"end": {
"line": 183,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalSchemaCache",
"start": 4204,
"end": 4221,
"loc": {
"start": {
"line": 183,
"column": 22
},
"end": {
"line": 183,
"column": 39
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4221,
"end": 4222,
"loc": {
"start": {
"line": 183,
"column": 39
},
"end": {
"line": 183,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 4222,
"end": 4224,
"loc": {
"start": {
"line": 183,
"column": 40
},
"end": {
"line": 183,
"column": 42
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4224,
"end": 4225,
"loc": {
"start": {
"line": 183,
"column": 42
},
"end": {
"line": 183,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4225,
"end": 4226,
"loc": {
"start": {
"line": 183,
"column": 43
},
"end": {
"line": 183,
"column": 44
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 4236,
"end": 4238,
"loc": {
"start": {
"line": 184,
"column": 8
},
"end": {
"line": 184,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4239,
"end": 4240,
"loc": {
"start": {
"line": 184,
"column": 11
},
"end": {
"line": 184,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entry",
"start": 4240,
"end": 4245,
"loc": {
"start": {
"line": 184,
"column": 12
},
"end": {
"line": 184,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4245,
"end": 4246,
"loc": {
"start": {
"line": 184,
"column": 17
},
"end": {
"line": 184,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4247,
"end": 4248,
"loc": {
"start": {
"line": 184,
"column": 19
},
"end": {
"line": 184,
"column": 20
}
}
},
{
"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": 4262,
"end": 4268,
"loc": {
"start": {
"line": 185,
"column": 12
},
"end": {
"line": 185,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entry",
"start": 4269,
"end": 4274,
"loc": {
"start": {
"line": 185,
"column": 19
},
"end": {
"line": 185,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4274,
"end": 4275,
"loc": {
"start": {
"line": 185,
"column": 24
},
"end": {
"line": 185,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4285,
"end": 4286,
"loc": {
"start": {
"line": 186,
"column": 8
},
"end": {
"line": 186,
"column": 9
}
}
},
{
"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": 4298,
"end": 4303,
"loc": {
"start": {
"line": 188,
"column": 8
},
"end": {
"line": 188,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 4304,
"end": 4310,
"loc": {
"start": {
"line": 188,
"column": 14
},
"end": {
"line": 188,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4311,
"end": 4312,
"loc": {
"start": {
"line": 188,
"column": 21
},
"end": {
"line": 188,
"column": 22
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4313,
"end": 4317,
"loc": {
"start": {
"line": 188,
"column": 23
},
"end": {
"line": 188,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4317,
"end": 4318,
"loc": {
"start": {
"line": 188,
"column": 27
},
"end": {
"line": 188,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getSchema",
"start": 4318,
"end": 4327,
"loc": {
"start": {
"line": 188,
"column": 28
},
"end": {
"line": 188,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4327,
"end": 4328,
"loc": {
"start": {
"line": 188,
"column": 37
},
"end": {
"line": 188,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4328,
"end": 4329,
"loc": {
"start": {
"line": 188,
"column": 38
},
"end": {
"line": 188,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4329,
"end": 4330,
"loc": {
"start": {
"line": 188,
"column": 39
},
"end": {
"line": 188,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "globalSchemaCache",
"start": 4340,
"end": 4357,
"loc": {
"start": {
"line": 189,
"column": 8
},
"end": {
"line": 189,
"column": 25
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4357,
"end": 4358,
"loc": {
"start": {
"line": 189,
"column": 25
},
"end": {
"line": 189,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "id",
"start": 4358,
"end": 4360,
"loc": {
"start": {
"line": 189,
"column": 26
},
"end": {
"line": 189,
"column": 28
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4360,
"end": 4361,
"loc": {
"start": {
"line": 189,
"column": 28
},
"end": {
"line": 189,
"column": 29
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4362,
"end": 4363,
"loc": {
"start": {
"line": 189,
"column": 30
},
"end": {
"line": 189,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 4364,
"end": 4370,
"loc": {
"start": {
"line": 189,
"column": 32
},
"end": {
"line": 189,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4370,
"end": 4371,
"loc": {
"start": {
"line": 189,
"column": 38
},
"end": {
"line": 189,
"column": 39
}
}
},
{
"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": 4381,
"end": 4387,
"loc": {
"start": {
"line": 190,
"column": 8
},
"end": {
"line": 190,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 4388,
"end": 4394,
"loc": {
"start": {
"line": 190,
"column": 15
},
"end": {
"line": 190,
"column": 21
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4394,
"end": 4395,
"loc": {
"start": {
"line": 190,
"column": 21
},
"end": {
"line": 190,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4401,
"end": 4402,
"loc": {
"start": {
"line": 191,
"column": 4
},
"end": {
"line": 191,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "* @returns {object} ",
"start": 4410,
"end": 4434,
"loc": {
"start": {
"line": 193,
"column": 4
},
"end": {
"line": 193,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "serialize",
"start": 4440,
"end": 4449,
"loc": {
"start": {
"line": 194,
"column": 4
},
"end": {
"line": 194,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4449,
"end": 4450,
"loc": {
"start": {
"line": 194,
"column": 13
},
"end": {
"line": 194,
"column": 14
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4450,
"end": 4451,
"loc": {
"start": {
"line": 194,
"column": 14
},
"end": {
"line": 194,
"column": 15
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4452,
"end": 4453,
"loc": {
"start": {
"line": 194,
"column": 16
},
"end": {
"line": 194,
"column": 17
}
}
},
{
"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": 4463,
"end": 4469,
"loc": {
"start": {
"line": 195,
"column": 8
},
"end": {
"line": 195,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "serializeSchema",
"start": 4470,
"end": 4485,
"loc": {
"start": {
"line": 195,
"column": 15
},
"end": {
"line": 195,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4485,
"end": 4486,
"loc": {
"start": {
"line": 195,
"column": 30
},
"end": {
"line": 195,
"column": 31
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 4500,
"end": 4504,
"loc": {
"start": {
"line": 196,
"column": 12
},
"end": {
"line": 196,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4504,
"end": 4505,
"loc": {
"start": {
"line": 196,
"column": 16
},
"end": {
"line": 196,
"column": 17
}
}
},
{
"type": "CommentBlock",
"value": "* @type {typeof BasicSerializableObject} ",
"start": 4519,
"end": 4564,
"loc": {
"start": {
"line": 197,
"column": 12
},
"end": {
"line": 197,
"column": 57
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4565,
"end": 4566,
"loc": {
"start": {
"line": 197,
"column": 58
},
"end": {
"line": 197,
"column": 59
}
}
},
{
"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": 4566,
"end": 4570,
"loc": {
"start": {
"line": 197,
"column": 59
},
"end": {
"line": 197,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4570,
"end": 4571,
"loc": {
"start": {
"line": 197,
"column": 63
},
"end": {
"line": 197,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 4571,
"end": 4582,
"loc": {
"start": {
"line": 197,
"column": 64
},
"end": {
"line": 197,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4582,
"end": 4583,
"loc": {
"start": {
"line": 197,
"column": 75
},
"end": {
"line": 197,
"column": 76
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4583,
"end": 4584,
"loc": {
"start": {
"line": 197,
"column": 76
},
"end": {
"line": 197,
"column": 77
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getCachedSchema",
"start": 4584,
"end": 4599,
"loc": {
"start": {
"line": 197,
"column": 77
},
"end": {
"line": 197,
"column": 92
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4599,
"end": 4600,
"loc": {
"start": {
"line": 197,
"column": 92
},
"end": {
"line": 197,
"column": 93
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4600,
"end": 4601,
"loc": {
"start": {
"line": 197,
"column": 93
},
"end": {
"line": 197,
"column": 94
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4611,
"end": 4612,
"loc": {
"start": {
"line": 198,
"column": 8
},
"end": {
"line": 198,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4612,
"end": 4613,
"loc": {
"start": {
"line": 198,
"column": 9
},
"end": {
"line": 198,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4619,
"end": 4620,
"loc": {
"start": {
"line": 199,
"column": 4
},
"end": {
"line": 199,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * @param {any} data\r\n * @param {import(\"./savegame_serializer\").GameRoot} root\r\n * @returns {string|void}\r\n ",
"start": 4628,
"end": 4760,
"loc": {
"start": {
"line": 201,
"column": 4
},
"end": {
"line": 205,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserialize",
"start": 4766,
"end": 4777,
"loc": {
"start": {
"line": 206,
"column": 4
},
"end": {
"line": 206,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4777,
"end": 4778,
"loc": {
"start": {
"line": 206,
"column": 15
},
"end": {
"line": 206,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 4778,
"end": 4782,
"loc": {
"start": {
"line": 206,
"column": 16
},
"end": {
"line": 206,
"column": 20
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4782,
"end": 4783,
"loc": {
"start": {
"line": 206,
"column": 20
},
"end": {
"line": 206,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 4784,
"end": 4788,
"loc": {
"start": {
"line": 206,
"column": 22
},
"end": {
"line": 206,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 4789,
"end": 4790,
"loc": {
"start": {
"line": 206,
"column": 27
},
"end": {
"line": 206,
"column": 28
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 4791,
"end": 4795,
"loc": {
"start": {
"line": 206,
"column": 29
},
"end": {
"line": 206,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4795,
"end": 4796,
"loc": {
"start": {
"line": 206,
"column": 33
},
"end": {
"line": 206,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4797,
"end": 4798,
"loc": {
"start": {
"line": 206,
"column": 35
},
"end": {
"line": 206,
"column": 36
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 4808,
"end": 4814,
"loc": {
"start": {
"line": 207,
"column": 8
},
"end": {
"line": 207,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserializeSchema",
"start": 4815,
"end": 4832,
"loc": {
"start": {
"line": 207,
"column": 15
},
"end": {
"line": 207,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4832,
"end": 4833,
"loc": {
"start": {
"line": 207,
"column": 32
},
"end": {
"line": 207,
"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": 4847,
"end": 4851,
"loc": {
"start": {
"line": 208,
"column": 12
},
"end": {
"line": 208,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4851,
"end": 4852,
"loc": {
"start": {
"line": 208,
"column": 16
},
"end": {
"line": 208,
"column": 17
}
}
},
{
"type": "CommentBlock",
"value": "* @type {typeof BasicSerializableObject} ",
"start": 4866,
"end": 4911,
"loc": {
"start": {
"line": 209,
"column": 12
},
"end": {
"line": 209,
"column": 57
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4912,
"end": 4913,
"loc": {
"start": {
"line": 209,
"column": 58
},
"end": {
"line": 209,
"column": 59
}
}
},
{
"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": 4913,
"end": 4917,
"loc": {
"start": {
"line": 209,
"column": 59
},
"end": {
"line": 209,
"column": 63
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4917,
"end": 4918,
"loc": {
"start": {
"line": 209,
"column": 63
},
"end": {
"line": 209,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 4918,
"end": 4929,
"loc": {
"start": {
"line": 209,
"column": 64
},
"end": {
"line": 209,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4929,
"end": 4930,
"loc": {
"start": {
"line": 209,
"column": 75
},
"end": {
"line": 209,
"column": 76
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4930,
"end": 4931,
"loc": {
"start": {
"line": 209,
"column": 76
},
"end": {
"line": 209,
"column": 77
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getCachedSchema",
"start": 4931,
"end": 4946,
"loc": {
"start": {
"line": 209,
"column": 77
},
"end": {
"line": 209,
"column": 92
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4946,
"end": 4947,
"loc": {
"start": {
"line": 209,
"column": 92
},
"end": {
"line": 209,
"column": 93
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 4947,
"end": 4948,
"loc": {
"start": {
"line": 209,
"column": 93
},
"end": {
"line": 209,
"column": 94
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4948,
"end": 4949,
"loc": {
"start": {
"line": 209,
"column": 94
},
"end": {
"line": 209,
"column": 95
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 4963,
"end": 4967,
"loc": {
"start": {
"line": 210,
"column": 12
},
"end": {
"line": 210,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4967,
"end": 4968,
"loc": {
"start": {
"line": 210,
"column": 16
},
"end": {
"line": 210,
"column": 17
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 4982,
"end": 4986,
"loc": {
"start": {
"line": 211,
"column": 12
},
"end": {
"line": 211,
"column": 16
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 4986,
"end": 4987,
"loc": {
"start": {
"line": 211,
"column": 16
},
"end": {
"line": 211,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 5001,
"end": 5005,
"loc": {
"start": {
"line": 212,
"column": 12
},
"end": {
"line": 212,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5015,
"end": 5016,
"loc": {
"start": {
"line": 213,
"column": 8
},
"end": {
"line": 213,
"column": 9
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5016,
"end": 5017,
"loc": {
"start": {
"line": 213,
"column": 9
},
"end": {
"line": 213,
"column": 10
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5023,
"end": 5024,
"loc": {
"start": {
"line": 214,
"column": 4
},
"end": {
"line": 214,
"column": 5
}
}
},
{
"type": "CommentBlock",
"value": "* @returns {string|void} ",
"start": 5032,
"end": 5061,
"loc": {
"start": {
"line": 216,
"column": 4
},
"end": {
"line": 216,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "static",
"start": 5067,
"end": 5073,
"loc": {
"start": {
"line": 217,
"column": 4
},
"end": {
"line": 217,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "verify",
"start": 5074,
"end": 5080,
"loc": {
"start": {
"line": 217,
"column": 11
},
"end": {
"line": 217,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5080,
"end": 5081,
"loc": {
"start": {
"line": 217,
"column": 17
},
"end": {
"line": 217,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 5081,
"end": 5085,
"loc": {
"start": {
"line": 217,
"column": 18
},
"end": {
"line": 217,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5085,
"end": 5086,
"loc": {
"start": {
"line": 217,
"column": 22
},
"end": {
"line": 217,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5087,
"end": 5088,
"loc": {
"start": {
"line": 217,
"column": 24
},
"end": {
"line": 217,
"column": 25
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 5098,
"end": 5104,
"loc": {
"start": {
"line": 218,
"column": 8
},
"end": {
"line": 218,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "verifySchema",
"start": 5105,
"end": 5117,
"loc": {
"start": {
"line": 218,
"column": 15
},
"end": {
"line": 218,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5117,
"end": 5118,
"loc": {
"start": {
"line": 218,
"column": 27
},
"end": {
"line": 218,
"column": 28
}
}
},
{
"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": 5118,
"end": 5122,
"loc": {
"start": {
"line": 218,
"column": 28
},
"end": {
"line": 218,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5122,
"end": 5123,
"loc": {
"start": {
"line": 218,
"column": 32
},
"end": {
"line": 218,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getCachedSchema",
"start": 5123,
"end": 5138,
"loc": {
"start": {
"line": 218,
"column": 33
},
"end": {
"line": 218,
"column": 48
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5138,
"end": 5139,
"loc": {
"start": {
"line": 218,
"column": 48
},
"end": {
"line": 218,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5139,
"end": 5140,
"loc": {
"start": {
"line": 218,
"column": 49
},
"end": {
"line": 218,
"column": 50
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5140,
"end": 5141,
"loc": {
"start": {
"line": 218,
"column": 50
},
"end": {
"line": 218,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 5142,
"end": 5146,
"loc": {
"start": {
"line": 218,
"column": 52
},
"end": {
"line": 218,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5146,
"end": 5147,
"loc": {
"start": {
"line": 218,
"column": 56
},
"end": {
"line": 218,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5147,
"end": 5148,
"loc": {
"start": {
"line": 218,
"column": 57
},
"end": {
"line": 218,
"column": 58
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5154,
"end": 5155,
"loc": {
"start": {
"line": 219,
"column": 4
},
"end": {
"line": 219,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5157,
"end": 5158,
"loc": {
"start": {
"line": 220,
"column": 0
},
"end": {
"line": 220,
"column": 1
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Serializes an object using the given schema, mergin with the given properties\r\n * @param {object} obj The object to serialize\r\n * @param {Schema} schema The schema to use\r\n * @param {object=} mergeWith Any additional properties to merge with the schema, useful for super calls\r\n * @returns {object} Serialized data object\r\n ",
"start": 5162,
"end": 5496,
"loc": {
"start": {
"line": 222,
"column": 0
},
"end": {
"line": 228,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 5498,
"end": 5504,
"loc": {
"start": {
"line": 229,
"column": 0
},
"end": {
"line": 229,
"column": 6
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 5505,
"end": 5513,
"loc": {
"start": {
"line": 229,
"column": 7
},
"end": {
"line": 229,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "serializeSchema",
"start": 5514,
"end": 5529,
"loc": {
"start": {
"line": 229,
"column": 16
},
"end": {
"line": 229,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5529,
"end": 5530,
"loc": {
"start": {
"line": 229,
"column": 31
},
"end": {
"line": 229,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 5530,
"end": 5533,
"loc": {
"start": {
"line": 229,
"column": 32
},
"end": {
"line": 229,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5533,
"end": 5534,
"loc": {
"start": {
"line": 229,
"column": 35
},
"end": {
"line": 229,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 5535,
"end": 5541,
"loc": {
"start": {
"line": 229,
"column": 37
},
"end": {
"line": 229,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5541,
"end": 5542,
"loc": {
"start": {
"line": 229,
"column": 43
},
"end": {
"line": 229,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mergeWith",
"start": 5543,
"end": 5552,
"loc": {
"start": {
"line": 229,
"column": 45
},
"end": {
"line": 229,
"column": 54
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 5553,
"end": 5554,
"loc": {
"start": {
"line": 229,
"column": 55
},
"end": {
"line": 229,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5555,
"end": 5556,
"loc": {
"start": {
"line": 229,
"column": 57
},
"end": {
"line": 229,
"column": 58
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5556,
"end": 5557,
"loc": {
"start": {
"line": 229,
"column": 58
},
"end": {
"line": 229,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5557,
"end": 5558,
"loc": {
"start": {
"line": 229,
"column": 59
},
"end": {
"line": 229,
"column": 60
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5559,
"end": 5560,
"loc": {
"start": {
"line": 229,
"column": 61
},
"end": {
"line": 229,
"column": 62
}
}
},
{
"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": 5566,
"end": 5569,
"loc": {
"start": {
"line": 230,
"column": 4
},
"end": {
"line": 230,
"column": 7
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5570,
"end": 5571,
"loc": {
"start": {
"line": 230,
"column": 8
},
"end": {
"line": 230,
"column": 9
}
}
},
{
"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": 5571,
"end": 5576,
"loc": {
"start": {
"line": 230,
"column": 9
},
"end": {
"line": 230,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 5577,
"end": 5580,
"loc": {
"start": {
"line": 230,
"column": 15
},
"end": {
"line": 230,
"column": 18
}
}
},
{
"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": 5581,
"end": 5583,
"loc": {
"start": {
"line": 230,
"column": 19
},
"end": {
"line": 230,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 5584,
"end": 5590,
"loc": {
"start": {
"line": 230,
"column": 22
},
"end": {
"line": 230,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5590,
"end": 5591,
"loc": {
"start": {
"line": 230,
"column": 28
},
"end": {
"line": 230,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5592,
"end": 5593,
"loc": {
"start": {
"line": 230,
"column": 30
},
"end": {
"line": 230,
"column": 31
}
}
},
{
"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": 5603,
"end": 5605,
"loc": {
"start": {
"line": 231,
"column": 8
},
"end": {
"line": 231,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5606,
"end": 5607,
"loc": {
"start": {
"line": 231,
"column": 11
},
"end": {
"line": 231,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 5607,
"end": 5608,
"loc": {
"start": {
"line": 231,
"column": 12
},
"end": {
"line": 231,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 5608,
"end": 5611,
"loc": {
"start": {
"line": 231,
"column": 13
},
"end": {
"line": 231,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5611,
"end": 5612,
"loc": {
"start": {
"line": 231,
"column": 16
},
"end": {
"line": 231,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasOwnProperty",
"start": 5612,
"end": 5626,
"loc": {
"start": {
"line": 231,
"column": 17
},
"end": {
"line": 231,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5626,
"end": 5627,
"loc": {
"start": {
"line": 231,
"column": 31
},
"end": {
"line": 231,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 5627,
"end": 5630,
"loc": {
"start": {
"line": 231,
"column": 32
},
"end": {
"line": 231,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5630,
"end": 5631,
"loc": {
"start": {
"line": 231,
"column": 35
},
"end": {
"line": 231,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5631,
"end": 5632,
"loc": {
"start": {
"line": 231,
"column": 36
},
"end": {
"line": 231,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5633,
"end": 5634,
"loc": {
"start": {
"line": 231,
"column": 38
},
"end": {
"line": 231,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 5648,
"end": 5654,
"loc": {
"start": {
"line": 232,
"column": 12
},
"end": {
"line": 232,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5654,
"end": 5655,
"loc": {
"start": {
"line": 232,
"column": 18
},
"end": {
"line": 232,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "error",
"start": 5655,
"end": 5660,
"loc": {
"start": {
"line": 232,
"column": 19
},
"end": {
"line": 232,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5660,
"end": 5661,
"loc": {
"start": {
"line": 232,
"column": 24
},
"end": {
"line": 232,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Invalid schema, property",
"start": 5661,
"end": 5687,
"loc": {
"start": {
"line": 232,
"column": 25
},
"end": {
"line": 232,
"column": 51
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5687,
"end": 5688,
"loc": {
"start": {
"line": 232,
"column": 51
},
"end": {
"line": 232,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 5689,
"end": 5692,
"loc": {
"start": {
"line": 232,
"column": 53
},
"end": {
"line": 232,
"column": 56
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5692,
"end": 5693,
"loc": {
"start": {
"line": 232,
"column": 56
},
"end": {
"line": 232,
"column": 57
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "does not exist on",
"start": 5694,
"end": 5713,
"loc": {
"start": {
"line": 232,
"column": 58
},
"end": {
"line": 232,
"column": 77
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5713,
"end": 5714,
"loc": {
"start": {
"line": 232,
"column": 77
},
"end": {
"line": 232,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 5715,
"end": 5718,
"loc": {
"start": {
"line": 232,
"column": 79
},
"end": {
"line": 232,
"column": 82
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5718,
"end": 5719,
"loc": {
"start": {
"line": 232,
"column": 82
},
"end": {
"line": 232,
"column": 83
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "(schema=",
"start": 5720,
"end": 5730,
"loc": {
"start": {
"line": 232,
"column": 84
},
"end": {
"line": 232,
"column": 94
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5730,
"end": 5731,
"loc": {
"start": {
"line": 232,
"column": 94
},
"end": {
"line": 232,
"column": 95
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 5732,
"end": 5738,
"loc": {
"start": {
"line": 232,
"column": 96
},
"end": {
"line": 232,
"column": 102
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5738,
"end": 5739,
"loc": {
"start": {
"line": 232,
"column": 102
},
"end": {
"line": 232,
"column": 103
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ")",
"start": 5740,
"end": 5743,
"loc": {
"start": {
"line": 232,
"column": 104
},
"end": {
"line": 232,
"column": 107
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5743,
"end": 5744,
"loc": {
"start": {
"line": 232,
"column": 107
},
"end": {
"line": 232,
"column": 108
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5744,
"end": 5745,
"loc": {
"start": {
"line": 232,
"column": 108
},
"end": {
"line": 232,
"column": 109
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 5759,
"end": 5765,
"loc": {
"start": {
"line": 233,
"column": 12
},
"end": {
"line": 233,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5765,
"end": 5766,
"loc": {
"start": {
"line": 233,
"column": 18
},
"end": {
"line": 233,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 5784,
"end": 5787,
"loc": {
"start": {
"line": 234,
"column": 16
},
"end": {
"line": 234,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5787,
"end": 5788,
"loc": {
"start": {
"line": 234,
"column": 19
},
"end": {
"line": 234,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasOwnProperty",
"start": 5788,
"end": 5802,
"loc": {
"start": {
"line": 234,
"column": 20
},
"end": {
"line": 234,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5802,
"end": 5803,
"loc": {
"start": {
"line": 234,
"column": 34
},
"end": {
"line": 234,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 5803,
"end": 5806,
"loc": {
"start": {
"line": 234,
"column": 35
},
"end": {
"line": 234,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5806,
"end": 5807,
"loc": {
"start": {
"line": 234,
"column": 38
},
"end": {
"line": 234,
"column": 39
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5807,
"end": 5808,
"loc": {
"start": {
"line": 234,
"column": 39
},
"end": {
"line": 234,
"column": 40
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "serialization: invalid schema, property does not exist on object: ",
"start": 5826,
"end": 5894,
"loc": {
"start": {
"line": 235,
"column": 16
},
"end": {
"line": 235,
"column": 84
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 5895,
"end": 5896,
"loc": {
"start": {
"line": 235,
"column": 85
},
"end": {
"line": 235,
"column": 86
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 5897,
"end": 5900,
"loc": {
"start": {
"line": 235,
"column": 87
},
"end": {
"line": 235,
"column": 90
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5914,
"end": 5915,
"loc": {
"start": {
"line": 236,
"column": 12
},
"end": {
"line": 236,
"column": 13
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5915,
"end": 5916,
"loc": {
"start": {
"line": 236,
"column": 13
},
"end": {
"line": 236,
"column": 14
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5926,
"end": 5927,
"loc": {
"start": {
"line": 237,
"column": 8
},
"end": {
"line": 237,
"column": 9
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 5937,
"end": 5939,
"loc": {
"start": {
"line": 238,
"column": 8
},
"end": {
"line": 238,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5940,
"end": 5941,
"loc": {
"start": {
"line": 238,
"column": 11
},
"end": {
"line": 238,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 5941,
"end": 5942,
"loc": {
"start": {
"line": 238,
"column": 12
},
"end": {
"line": 238,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 5942,
"end": 5948,
"loc": {
"start": {
"line": 238,
"column": 13
},
"end": {
"line": 238,
"column": 19
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5948,
"end": 5949,
"loc": {
"start": {
"line": 238,
"column": 19
},
"end": {
"line": 238,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 5949,
"end": 5952,
"loc": {
"start": {
"line": 238,
"column": 20
},
"end": {
"line": 238,
"column": 23
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5952,
"end": 5953,
"loc": {
"start": {
"line": 238,
"column": 23
},
"end": {
"line": 238,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5953,
"end": 5954,
"loc": {
"start": {
"line": 238,
"column": 24
},
"end": {
"line": 238,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5955,
"end": 5956,
"loc": {
"start": {
"line": 238,
"column": 26
},
"end": {
"line": 238,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assert",
"start": 5970,
"end": 5976,
"loc": {
"start": {
"line": 239,
"column": 12
},
"end": {
"line": 239,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 5976,
"end": 5977,
"loc": {
"start": {
"line": 239,
"column": 18
},
"end": {
"line": 239,
"column": 19
}
}
},
{
"type": {
"label": "false",
"keyword": "false",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "false",
"start": 5977,
"end": 5982,
"loc": {
"start": {
"line": 239,
"column": 19
},
"end": {
"line": 239,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 5982,
"end": 5983,
"loc": {
"start": {
"line": 239,
"column": 24
},
"end": {
"line": 239,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Invalid schema (bad key '",
"start": 5984,
"end": 6011,
"loc": {
"start": {
"line": 239,
"column": 26
},
"end": {
"line": 239,
"column": 53
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6012,
"end": 6013,
"loc": {
"start": {
"line": 239,
"column": 54
},
"end": {
"line": 239,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 6014,
"end": 6017,
"loc": {
"start": {
"line": 239,
"column": 56
},
"end": {
"line": 239,
"column": 59
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6018,
"end": 6019,
"loc": {
"start": {
"line": 239,
"column": 60
},
"end": {
"line": 239,
"column": 61
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "'): ",
"start": 6020,
"end": 6026,
"loc": {
"start": {
"line": 239,
"column": 62
},
"end": {
"line": 239,
"column": 68
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6027,
"end": 6028,
"loc": {
"start": {
"line": 239,
"column": 69
},
"end": {
"line": 239,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "JSON",
"start": 6029,
"end": 6033,
"loc": {
"start": {
"line": 239,
"column": 71
},
"end": {
"line": 239,
"column": 75
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6033,
"end": 6034,
"loc": {
"start": {
"line": 239,
"column": 75
},
"end": {
"line": 239,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stringify",
"start": 6034,
"end": 6043,
"loc": {
"start": {
"line": 239,
"column": 76
},
"end": {
"line": 239,
"column": 85
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6043,
"end": 6044,
"loc": {
"start": {
"line": 239,
"column": 85
},
"end": {
"line": 239,
"column": 86
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 6044,
"end": 6050,
"loc": {
"start": {
"line": 239,
"column": 86
},
"end": {
"line": 239,
"column": 92
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6050,
"end": 6051,
"loc": {
"start": {
"line": 239,
"column": 92
},
"end": {
"line": 239,
"column": 93
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6051,
"end": 6052,
"loc": {
"start": {
"line": 239,
"column": 93
},
"end": {
"line": 239,
"column": 94
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6052,
"end": 6053,
"loc": {
"start": {
"line": 239,
"column": 94
},
"end": {
"line": 239,
"column": 95
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6063,
"end": 6064,
"loc": {
"start": {
"line": 240,
"column": 8
},
"end": {
"line": 240,
"column": 9
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 6076,
"end": 6078,
"loc": {
"start": {
"line": 242,
"column": 8
},
"end": {
"line": 242,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6079,
"end": 6080,
"loc": {
"start": {
"line": 242,
"column": 11
},
"end": {
"line": 242,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "G_IS_DEV",
"start": 6080,
"end": 6088,
"loc": {
"start": {
"line": 242,
"column": 12
},
"end": {
"line": 242,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6088,
"end": 6089,
"loc": {
"start": {
"line": 242,
"column": 20
},
"end": {
"line": 242,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6090,
"end": 6091,
"loc": {
"start": {
"line": 242,
"column": 22
},
"end": {
"line": 242,
"column": 23
}
}
},
{
"type": {
"label": "try",
"keyword": "try",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "try",
"start": 6105,
"end": 6108,
"loc": {
"start": {
"line": 243,
"column": 12
},
"end": {
"line": 243,
"column": 15
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6109,
"end": 6110,
"loc": {
"start": {
"line": 243,
"column": 16
},
"end": {
"line": 243,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mergeWith",
"start": 6128,
"end": 6137,
"loc": {
"start": {
"line": 244,
"column": 16
},
"end": {
"line": 244,
"column": 25
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6137,
"end": 6138,
"loc": {
"start": {
"line": 244,
"column": 25
},
"end": {
"line": 244,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 6138,
"end": 6141,
"loc": {
"start": {
"line": 244,
"column": 26
},
"end": {
"line": 244,
"column": 29
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6141,
"end": 6142,
"loc": {
"start": {
"line": 244,
"column": 29
},
"end": {
"line": 244,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6143,
"end": 6144,
"loc": {
"start": {
"line": 244,
"column": 31
},
"end": {
"line": 244,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 6145,
"end": 6151,
"loc": {
"start": {
"line": 244,
"column": 33
},
"end": {
"line": 244,
"column": 39
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6151,
"end": 6152,
"loc": {
"start": {
"line": 244,
"column": 39
},
"end": {
"line": 244,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 6152,
"end": 6155,
"loc": {
"start": {
"line": 244,
"column": 40
},
"end": {
"line": 244,
"column": 43
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6155,
"end": 6156,
"loc": {
"start": {
"line": 244,
"column": 43
},
"end": {
"line": 244,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6156,
"end": 6157,
"loc": {
"start": {
"line": 244,
"column": 44
},
"end": {
"line": 244,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "serialize",
"start": 6157,
"end": 6166,
"loc": {
"start": {
"line": 244,
"column": 45
},
"end": {
"line": 244,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6166,
"end": 6167,
"loc": {
"start": {
"line": 244,
"column": 54
},
"end": {
"line": 244,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 6167,
"end": 6170,
"loc": {
"start": {
"line": 244,
"column": 55
},
"end": {
"line": 244,
"column": 58
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6170,
"end": 6171,
"loc": {
"start": {
"line": 244,
"column": 58
},
"end": {
"line": 244,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 6171,
"end": 6174,
"loc": {
"start": {
"line": 244,
"column": 59
},
"end": {
"line": 244,
"column": 62
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6174,
"end": 6175,
"loc": {
"start": {
"line": 244,
"column": 62
},
"end": {
"line": 244,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6175,
"end": 6176,
"loc": {
"start": {
"line": 244,
"column": 63
},
"end": {
"line": 244,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6176,
"end": 6177,
"loc": {
"start": {
"line": 244,
"column": 64
},
"end": {
"line": 244,
"column": 65
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6191,
"end": 6192,
"loc": {
"start": {
"line": 245,
"column": 12
},
"end": {
"line": 245,
"column": 13
}
}
},
{
"type": {
"label": "catch",
"keyword": "catch",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "catch",
"start": 6193,
"end": 6198,
"loc": {
"start": {
"line": 245,
"column": 14
},
"end": {
"line": 245,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6199,
"end": 6200,
"loc": {
"start": {
"line": 245,
"column": 20
},
"end": {
"line": 245,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ex",
"start": 6200,
"end": 6202,
"loc": {
"start": {
"line": 245,
"column": 21
},
"end": {
"line": 245,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6202,
"end": 6203,
"loc": {
"start": {
"line": 245,
"column": 23
},
"end": {
"line": 245,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6204,
"end": 6205,
"loc": {
"start": {
"line": 245,
"column": 25
},
"end": {
"line": 245,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 6223,
"end": 6229,
"loc": {
"start": {
"line": 246,
"column": 16
},
"end": {
"line": 246,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6229,
"end": 6230,
"loc": {
"start": {
"line": 246,
"column": 22
},
"end": {
"line": 246,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "error",
"start": 6230,
"end": 6235,
"loc": {
"start": {
"line": 246,
"column": 23
},
"end": {
"line": 246,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6235,
"end": 6236,
"loc": {
"start": {
"line": 246,
"column": 28
},
"end": {
"line": 246,
"column": 29
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Serialization of",
"start": 6258,
"end": 6276,
"loc": {
"start": {
"line": 247,
"column": 20
},
"end": {
"line": 247,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6276,
"end": 6277,
"loc": {
"start": {
"line": 247,
"column": 38
},
"end": {
"line": 247,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 6299,
"end": 6302,
"loc": {
"start": {
"line": 248,
"column": 20
},
"end": {
"line": 248,
"column": 23
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6302,
"end": 6303,
"loc": {
"start": {
"line": 248,
"column": 23
},
"end": {
"line": 248,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "failed on key '",
"start": 6325,
"end": 6342,
"loc": {
"start": {
"line": 249,
"column": 20
},
"end": {
"line": 249,
"column": 37
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6343,
"end": 6344,
"loc": {
"start": {
"line": 249,
"column": 38
},
"end": {
"line": 249,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 6345,
"end": 6348,
"loc": {
"start": {
"line": 249,
"column": 40
},
"end": {
"line": 249,
"column": 43
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 6349,
"end": 6350,
"loc": {
"start": {
"line": 249,
"column": 44
},
"end": {
"line": 249,
"column": 45
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "' ->",
"start": 6351,
"end": 6357,
"loc": {
"start": {
"line": 249,
"column": 46
},
"end": {
"line": 249,
"column": 52
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6357,
"end": 6358,
"loc": {
"start": {
"line": 249,
"column": 52
},
"end": {
"line": 249,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ex",
"start": 6380,
"end": 6382,
"loc": {
"start": {
"line": 250,
"column": 20
},
"end": {
"line": 250,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6382,
"end": 6383,
"loc": {
"start": {
"line": 250,
"column": 22
},
"end": {
"line": 250,
"column": 23
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "(schema was",
"start": 6405,
"end": 6418,
"loc": {
"start": {
"line": 251,
"column": 20
},
"end": {
"line": 251,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6418,
"end": 6419,
"loc": {
"start": {
"line": 251,
"column": 33
},
"end": {
"line": 251,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 6441,
"end": 6447,
"loc": {
"start": {
"line": 252,
"column": 20
},
"end": {
"line": 252,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6447,
"end": 6448,
"loc": {
"start": {
"line": 252,
"column": 26
},
"end": {
"line": 252,
"column": 27
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ")",
"start": 6470,
"end": 6473,
"loc": {
"start": {
"line": 253,
"column": 20
},
"end": {
"line": 253,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6491,
"end": 6492,
"loc": {
"start": {
"line": 254,
"column": 16
},
"end": {
"line": 254,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6492,
"end": 6493,
"loc": {
"start": {
"line": 254,
"column": 17
},
"end": {
"line": 254,
"column": 18
}
}
},
{
"type": {
"label": "throw",
"keyword": "throw",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "throw",
"start": 6511,
"end": 6516,
"loc": {
"start": {
"line": 255,
"column": 16
},
"end": {
"line": 255,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ex",
"start": 6517,
"end": 6519,
"loc": {
"start": {
"line": 255,
"column": 22
},
"end": {
"line": 255,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6519,
"end": 6520,
"loc": {
"start": {
"line": 255,
"column": 24
},
"end": {
"line": 255,
"column": 25
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6534,
"end": 6535,
"loc": {
"start": {
"line": 256,
"column": 12
},
"end": {
"line": 256,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6545,
"end": 6546,
"loc": {
"start": {
"line": 257,
"column": 8
},
"end": {
"line": 257,
"column": 9
}
}
},
{
"type": {
"label": "else",
"keyword": "else",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "else",
"start": 6547,
"end": 6551,
"loc": {
"start": {
"line": 257,
"column": 10
},
"end": {
"line": 257,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6552,
"end": 6553,
"loc": {
"start": {
"line": 257,
"column": 15
},
"end": {
"line": 257,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mergeWith",
"start": 6567,
"end": 6576,
"loc": {
"start": {
"line": 258,
"column": 12
},
"end": {
"line": 258,
"column": 21
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6576,
"end": 6577,
"loc": {
"start": {
"line": 258,
"column": 21
},
"end": {
"line": 258,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 6577,
"end": 6580,
"loc": {
"start": {
"line": 258,
"column": 22
},
"end": {
"line": 258,
"column": 25
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6580,
"end": 6581,
"loc": {
"start": {
"line": 258,
"column": 25
},
"end": {
"line": 258,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 6582,
"end": 6583,
"loc": {
"start": {
"line": 258,
"column": 27
},
"end": {
"line": 258,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 6584,
"end": 6590,
"loc": {
"start": {
"line": 258,
"column": 29
},
"end": {
"line": 258,
"column": 35
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6590,
"end": 6591,
"loc": {
"start": {
"line": 258,
"column": 35
},
"end": {
"line": 258,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 6591,
"end": 6594,
"loc": {
"start": {
"line": 258,
"column": 36
},
"end": {
"line": 258,
"column": 39
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6594,
"end": 6595,
"loc": {
"start": {
"line": 258,
"column": 39
},
"end": {
"line": 258,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6595,
"end": 6596,
"loc": {
"start": {
"line": 258,
"column": 40
},
"end": {
"line": 258,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "serialize",
"start": 6596,
"end": 6605,
"loc": {
"start": {
"line": 258,
"column": 41
},
"end": {
"line": 258,
"column": 50
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6605,
"end": 6606,
"loc": {
"start": {
"line": 258,
"column": 50
},
"end": {
"line": 258,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 6606,
"end": 6609,
"loc": {
"start": {
"line": 258,
"column": 51
},
"end": {
"line": 258,
"column": 54
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6609,
"end": 6610,
"loc": {
"start": {
"line": 258,
"column": 54
},
"end": {
"line": 258,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 6610,
"end": 6613,
"loc": {
"start": {
"line": 258,
"column": 55
},
"end": {
"line": 258,
"column": 58
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6613,
"end": 6614,
"loc": {
"start": {
"line": 258,
"column": 58
},
"end": {
"line": 258,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6614,
"end": 6615,
"loc": {
"start": {
"line": 258,
"column": 59
},
"end": {
"line": 258,
"column": 60
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6615,
"end": 6616,
"loc": {
"start": {
"line": 258,
"column": 60
},
"end": {
"line": 258,
"column": 61
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6626,
"end": 6627,
"loc": {
"start": {
"line": 259,
"column": 8
},
"end": {
"line": 259,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6633,
"end": 6634,
"loc": {
"start": {
"line": 260,
"column": 4
},
"end": {
"line": 260,
"column": 5
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 6640,
"end": 6646,
"loc": {
"start": {
"line": 261,
"column": 4
},
"end": {
"line": 261,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "mergeWith",
"start": 6647,
"end": 6656,
"loc": {
"start": {
"line": 261,
"column": 11
},
"end": {
"line": 261,
"column": 20
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 6656,
"end": 6657,
"loc": {
"start": {
"line": 261,
"column": 20
},
"end": {
"line": 261,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 6659,
"end": 6660,
"loc": {
"start": {
"line": 262,
"column": 0
},
"end": {
"line": 262,
"column": 1
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Deserializes data into an object\r\n * @param {object} obj The object to store the deserialized data into\r\n * @param {Schema} schema The schema to use\r\n * @param {object} data The serialized data\r\n * @param {string|void|null=} baseclassErrorResult Convenience, if this is a string error code, do nothing and return it\r\n * @param {import(\"../game/root\").GameRoot=} root Optional game root reference\r\n * @returns {string|void} String error code or nothing on success\r\n ",
"start": 6664,
"end": 7139,
"loc": {
"start": {
"line": 264,
"column": 0
},
"end": {
"line": 272,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 7141,
"end": 7147,
"loc": {
"start": {
"line": 273,
"column": 0
},
"end": {
"line": 273,
"column": 6
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 7148,
"end": 7156,
"loc": {
"start": {
"line": 273,
"column": 7
},
"end": {
"line": 273,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserializeSchema",
"start": 7157,
"end": 7174,
"loc": {
"start": {
"line": 273,
"column": 16
},
"end": {
"line": 273,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7174,
"end": 7175,
"loc": {
"start": {
"line": 273,
"column": 33
},
"end": {
"line": 273,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 7175,
"end": 7178,
"loc": {
"start": {
"line": 273,
"column": 34
},
"end": {
"line": 273,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7178,
"end": 7179,
"loc": {
"start": {
"line": 273,
"column": 37
},
"end": {
"line": 273,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 7180,
"end": 7186,
"loc": {
"start": {
"line": 273,
"column": 39
},
"end": {
"line": 273,
"column": 45
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7186,
"end": 7187,
"loc": {
"start": {
"line": 273,
"column": 45
},
"end": {
"line": 273,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 7188,
"end": 7192,
"loc": {
"start": {
"line": 273,
"column": 47
},
"end": {
"line": 273,
"column": 51
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7192,
"end": 7193,
"loc": {
"start": {
"line": 273,
"column": 51
},
"end": {
"line": 273,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "baseclassErrorResult",
"start": 7194,
"end": 7214,
"loc": {
"start": {
"line": 273,
"column": 53
},
"end": {
"line": 273,
"column": 73
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 7215,
"end": 7216,
"loc": {
"start": {
"line": 273,
"column": 74
},
"end": {
"line": 273,
"column": 75
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 7217,
"end": 7221,
"loc": {
"start": {
"line": 273,
"column": 76
},
"end": {
"line": 273,
"column": 80
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7221,
"end": 7222,
"loc": {
"start": {
"line": 273,
"column": 80
},
"end": {
"line": 273,
"column": 81
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 7223,
"end": 7227,
"loc": {
"start": {
"line": 273,
"column": 82
},
"end": {
"line": 273,
"column": 86
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7227,
"end": 7228,
"loc": {
"start": {
"line": 273,
"column": 86
},
"end": {
"line": 273,
"column": 87
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7229,
"end": 7230,
"loc": {
"start": {
"line": 273,
"column": 88
},
"end": {
"line": 273,
"column": 89
}
}
},
{
"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": 7236,
"end": 7238,
"loc": {
"start": {
"line": 274,
"column": 4
},
"end": {
"line": 274,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7239,
"end": 7240,
"loc": {
"start": {
"line": 274,
"column": 7
},
"end": {
"line": 274,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "baseclassErrorResult",
"start": 7240,
"end": 7260,
"loc": {
"start": {
"line": 274,
"column": 8
},
"end": {
"line": 274,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7260,
"end": 7261,
"loc": {
"start": {
"line": 274,
"column": 28
},
"end": {
"line": 274,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7262,
"end": 7263,
"loc": {
"start": {
"line": 274,
"column": 30
},
"end": {
"line": 274,
"column": 31
}
}
},
{
"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": 7273,
"end": 7279,
"loc": {
"start": {
"line": 275,
"column": 8
},
"end": {
"line": 275,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "baseclassErrorResult",
"start": 7280,
"end": 7300,
"loc": {
"start": {
"line": 275,
"column": 15
},
"end": {
"line": 275,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7300,
"end": 7301,
"loc": {
"start": {
"line": 275,
"column": 35
},
"end": {
"line": 275,
"column": 36
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7307,
"end": 7308,
"loc": {
"start": {
"line": 276,
"column": 4
},
"end": {
"line": 276,
"column": 5
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 7316,
"end": 7318,
"loc": {
"start": {
"line": 278,
"column": 4
},
"end": {
"line": 278,
"column": 6
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7319,
"end": 7320,
"loc": {
"start": {
"line": 278,
"column": 7
},
"end": {
"line": 278,
"column": 8
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 7320,
"end": 7321,
"loc": {
"start": {
"line": 278,
"column": 8
},
"end": {
"line": 278,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 7321,
"end": 7325,
"loc": {
"start": {
"line": 278,
"column": 9
},
"end": {
"line": 278,
"column": 13
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7325,
"end": 7326,
"loc": {
"start": {
"line": 278,
"column": 13
},
"end": {
"line": 278,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7327,
"end": 7328,
"loc": {
"start": {
"line": 278,
"column": 15
},
"end": {
"line": 278,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 7338,
"end": 7344,
"loc": {
"start": {
"line": 279,
"column": 8
},
"end": {
"line": 279,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7344,
"end": 7345,
"loc": {
"start": {
"line": 279,
"column": 14
},
"end": {
"line": 279,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "error",
"start": 7345,
"end": 7350,
"loc": {
"start": {
"line": 279,
"column": 15
},
"end": {
"line": 279,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7350,
"end": 7351,
"loc": {
"start": {
"line": 279,
"column": 20
},
"end": {
"line": 279,
"column": 21
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Got 'NULL' data for",
"start": 7351,
"end": 7372,
"loc": {
"start": {
"line": 279,
"column": 21
},
"end": {
"line": 279,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7372,
"end": 7373,
"loc": {
"start": {
"line": 279,
"column": 42
},
"end": {
"line": 279,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 7374,
"end": 7377,
"loc": {
"start": {
"line": 279,
"column": 44
},
"end": {
"line": 279,
"column": 47
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7377,
"end": 7378,
"loc": {
"start": {
"line": 279,
"column": 47
},
"end": {
"line": 279,
"column": 48
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "and schema",
"start": 7379,
"end": 7391,
"loc": {
"start": {
"line": 279,
"column": 49
},
"end": {
"line": 279,
"column": 61
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7391,
"end": 7392,
"loc": {
"start": {
"line": 279,
"column": 61
},
"end": {
"line": 279,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 7393,
"end": 7399,
"loc": {
"start": {
"line": 279,
"column": 63
},
"end": {
"line": 279,
"column": 69
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7399,
"end": 7400,
"loc": {
"start": {
"line": 279,
"column": 69
},
"end": {
"line": 279,
"column": 70
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 7401,
"end": 7404,
"loc": {
"start": {
"line": 279,
"column": 71
},
"end": {
"line": 279,
"column": 74
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7404,
"end": 7405,
"loc": {
"start": {
"line": 279,
"column": 74
},
"end": {
"line": 279,
"column": 75
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7405,
"end": 7406,
"loc": {
"start": {
"line": 279,
"column": 75
},
"end": {
"line": 279,
"column": 76
}
}
},
{
"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": 7416,
"end": 7422,
"loc": {
"start": {
"line": 280,
"column": 8
},
"end": {
"line": 280,
"column": 14
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Got null data",
"start": 7423,
"end": 7438,
"loc": {
"start": {
"line": 280,
"column": 15
},
"end": {
"line": 280,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7438,
"end": 7439,
"loc": {
"start": {
"line": 280,
"column": 30
},
"end": {
"line": 280,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7445,
"end": 7446,
"loc": {
"start": {
"line": 281,
"column": 4
},
"end": {
"line": 281,
"column": 5
}
}
},
{
"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": 7454,
"end": 7457,
"loc": {
"start": {
"line": 283,
"column": 4
},
"end": {
"line": 283,
"column": 7
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7458,
"end": 7459,
"loc": {
"start": {
"line": 283,
"column": 8
},
"end": {
"line": 283,
"column": 9
}
}
},
{
"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": 7459,
"end": 7464,
"loc": {
"start": {
"line": 283,
"column": 9
},
"end": {
"line": 283,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 7465,
"end": 7468,
"loc": {
"start": {
"line": 283,
"column": 15
},
"end": {
"line": 283,
"column": 18
}
}
},
{
"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": 7469,
"end": 7471,
"loc": {
"start": {
"line": 283,
"column": 19
},
"end": {
"line": 283,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 7472,
"end": 7478,
"loc": {
"start": {
"line": 283,
"column": 22
},
"end": {
"line": 283,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7478,
"end": 7479,
"loc": {
"start": {
"line": 283,
"column": 28
},
"end": {
"line": 283,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7480,
"end": 7481,
"loc": {
"start": {
"line": 283,
"column": 30
},
"end": {
"line": 283,
"column": 31
}
}
},
{
"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": 7491,
"end": 7493,
"loc": {
"start": {
"line": 284,
"column": 8
},
"end": {
"line": 284,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7494,
"end": 7495,
"loc": {
"start": {
"line": 284,
"column": 11
},
"end": {
"line": 284,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 7495,
"end": 7496,
"loc": {
"start": {
"line": 284,
"column": 12
},
"end": {
"line": 284,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 7496,
"end": 7500,
"loc": {
"start": {
"line": 284,
"column": 13
},
"end": {
"line": 284,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7500,
"end": 7501,
"loc": {
"start": {
"line": 284,
"column": 17
},
"end": {
"line": 284,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasOwnProperty",
"start": 7501,
"end": 7515,
"loc": {
"start": {
"line": 284,
"column": 18
},
"end": {
"line": 284,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7515,
"end": 7516,
"loc": {
"start": {
"line": 284,
"column": 32
},
"end": {
"line": 284,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 7516,
"end": 7519,
"loc": {
"start": {
"line": 284,
"column": 33
},
"end": {
"line": 284,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7519,
"end": 7520,
"loc": {
"start": {
"line": 284,
"column": 36
},
"end": {
"line": 284,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7520,
"end": 7521,
"loc": {
"start": {
"line": 284,
"column": 37
},
"end": {
"line": 284,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7522,
"end": 7523,
"loc": {
"start": {
"line": 284,
"column": 39
},
"end": {
"line": 284,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 7537,
"end": 7543,
"loc": {
"start": {
"line": 285,
"column": 12
},
"end": {
"line": 285,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7543,
"end": 7544,
"loc": {
"start": {
"line": 285,
"column": 18
},
"end": {
"line": 285,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "error",
"start": 7544,
"end": 7549,
"loc": {
"start": {
"line": 285,
"column": 19
},
"end": {
"line": 285,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7549,
"end": 7550,
"loc": {
"start": {
"line": 285,
"column": 24
},
"end": {
"line": 285,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Data",
"start": 7550,
"end": 7556,
"loc": {
"start": {
"line": 285,
"column": 25
},
"end": {
"line": 285,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7556,
"end": 7557,
"loc": {
"start": {
"line": 285,
"column": 31
},
"end": {
"line": 285,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 7558,
"end": 7562,
"loc": {
"start": {
"line": 285,
"column": 33
},
"end": {
"line": 285,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7562,
"end": 7563,
"loc": {
"start": {
"line": 285,
"column": 37
},
"end": {
"line": 285,
"column": 38
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "does not contain",
"start": 7564,
"end": 7582,
"loc": {
"start": {
"line": 285,
"column": 39
},
"end": {
"line": 285,
"column": 57
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7582,
"end": 7583,
"loc": {
"start": {
"line": 285,
"column": 57
},
"end": {
"line": 285,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 7584,
"end": 7587,
"loc": {
"start": {
"line": 285,
"column": 59
},
"end": {
"line": 285,
"column": 62
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7587,
"end": 7588,
"loc": {
"start": {
"line": 285,
"column": 62
},
"end": {
"line": 285,
"column": 63
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "(schema:",
"start": 7589,
"end": 7599,
"loc": {
"start": {
"line": 285,
"column": 64
},
"end": {
"line": 285,
"column": 74
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7599,
"end": 7600,
"loc": {
"start": {
"line": 285,
"column": 74
},
"end": {
"line": 285,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 7601,
"end": 7607,
"loc": {
"start": {
"line": 285,
"column": 76
},
"end": {
"line": 285,
"column": 82
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7607,
"end": 7608,
"loc": {
"start": {
"line": 285,
"column": 82
},
"end": {
"line": 285,
"column": 83
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ")",
"start": 7609,
"end": 7612,
"loc": {
"start": {
"line": 285,
"column": 84
},
"end": {
"line": 285,
"column": 87
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7612,
"end": 7613,
"loc": {
"start": {
"line": 285,
"column": 87
},
"end": {
"line": 285,
"column": 88
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7613,
"end": 7614,
"loc": {
"start": {
"line": 285,
"column": 88
},
"end": {
"line": 285,
"column": 89
}
}
},
{
"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": 7628,
"end": 7634,
"loc": {
"start": {
"line": 286,
"column": 12
},
"end": {
"line": 286,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Missing key in schema: ",
"start": 7635,
"end": 7660,
"loc": {
"start": {
"line": 286,
"column": 19
},
"end": {
"line": 286,
"column": 44
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 7661,
"end": 7662,
"loc": {
"start": {
"line": 286,
"column": 45
},
"end": {
"line": 286,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 7663,
"end": 7666,
"loc": {
"start": {
"line": 286,
"column": 47
},
"end": {
"line": 286,
"column": 50
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 7667,
"end": 7668,
"loc": {
"start": {
"line": 286,
"column": 51
},
"end": {
"line": 286,
"column": 52
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": " of class ",
"start": 7669,
"end": 7681,
"loc": {
"start": {
"line": 286,
"column": 53
},
"end": {
"line": 286,
"column": 65
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 7682,
"end": 7683,
"loc": {
"start": {
"line": 286,
"column": 66
},
"end": {
"line": 286,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 7684,
"end": 7687,
"loc": {
"start": {
"line": 286,
"column": 68
},
"end": {
"line": 286,
"column": 71
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7687,
"end": 7688,
"loc": {
"start": {
"line": 286,
"column": 71
},
"end": {
"line": 286,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 7688,
"end": 7699,
"loc": {
"start": {
"line": 286,
"column": 72
},
"end": {
"line": 286,
"column": 83
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7699,
"end": 7700,
"loc": {
"start": {
"line": 286,
"column": 83
},
"end": {
"line": 286,
"column": 84
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "name",
"start": 7700,
"end": 7704,
"loc": {
"start": {
"line": 286,
"column": 84
},
"end": {
"line": 286,
"column": 88
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7704,
"end": 7705,
"loc": {
"start": {
"line": 286,
"column": 88
},
"end": {
"line": 286,
"column": 89
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7715,
"end": 7716,
"loc": {
"start": {
"line": 287,
"column": 8
},
"end": {
"line": 287,
"column": 9
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 7726,
"end": 7728,
"loc": {
"start": {
"line": 288,
"column": 8
},
"end": {
"line": 288,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7729,
"end": 7730,
"loc": {
"start": {
"line": 288,
"column": 11
},
"end": {
"line": 288,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 7730,
"end": 7731,
"loc": {
"start": {
"line": 288,
"column": 12
},
"end": {
"line": 288,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 7731,
"end": 7737,
"loc": {
"start": {
"line": 288,
"column": 13
},
"end": {
"line": 288,
"column": 19
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7737,
"end": 7738,
"loc": {
"start": {
"line": 288,
"column": 19
},
"end": {
"line": 288,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 7738,
"end": 7741,
"loc": {
"start": {
"line": 288,
"column": 20
},
"end": {
"line": 288,
"column": 23
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7741,
"end": 7742,
"loc": {
"start": {
"line": 288,
"column": 23
},
"end": {
"line": 288,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7742,
"end": 7743,
"loc": {
"start": {
"line": 288,
"column": 24
},
"end": {
"line": 288,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allowNull",
"start": 7743,
"end": 7752,
"loc": {
"start": {
"line": 288,
"column": 25
},
"end": {
"line": 288,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7752,
"end": 7753,
"loc": {
"start": {
"line": 288,
"column": 34
},
"end": {
"line": 288,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7753,
"end": 7754,
"loc": {
"start": {
"line": 288,
"column": 35
},
"end": {
"line": 288,
"column": 36
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 7755,
"end": 7757,
"loc": {
"start": {
"line": 288,
"column": 37
},
"end": {
"line": 288,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7758,
"end": 7759,
"loc": {
"start": {
"line": 288,
"column": 40
},
"end": {
"line": 288,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 7759,
"end": 7763,
"loc": {
"start": {
"line": 288,
"column": 41
},
"end": {
"line": 288,
"column": 45
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7763,
"end": 7764,
"loc": {
"start": {
"line": 288,
"column": 45
},
"end": {
"line": 288,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 7764,
"end": 7767,
"loc": {
"start": {
"line": 288,
"column": 46
},
"end": {
"line": 288,
"column": 49
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7767,
"end": 7768,
"loc": {
"start": {
"line": 288,
"column": 49
},
"end": {
"line": 288,
"column": 50
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 7769,
"end": 7772,
"loc": {
"start": {
"line": 288,
"column": 51
},
"end": {
"line": 288,
"column": 54
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 7773,
"end": 7777,
"loc": {
"start": {
"line": 288,
"column": 55
},
"end": {
"line": 288,
"column": 59
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 7778,
"end": 7780,
"loc": {
"start": {
"line": 288,
"column": 60
},
"end": {
"line": 288,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 7781,
"end": 7785,
"loc": {
"start": {
"line": 288,
"column": 63
},
"end": {
"line": 288,
"column": 67
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7785,
"end": 7786,
"loc": {
"start": {
"line": 288,
"column": 67
},
"end": {
"line": 288,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 7786,
"end": 7789,
"loc": {
"start": {
"line": 288,
"column": 68
},
"end": {
"line": 288,
"column": 71
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7789,
"end": 7790,
"loc": {
"start": {
"line": 288,
"column": 71
},
"end": {
"line": 288,
"column": 72
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 7791,
"end": 7794,
"loc": {
"start": {
"line": 288,
"column": 73
},
"end": {
"line": 288,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 7795,
"end": 7804,
"loc": {
"start": {
"line": 288,
"column": 77
},
"end": {
"line": 288,
"column": 86
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7804,
"end": 7805,
"loc": {
"start": {
"line": 288,
"column": 86
},
"end": {
"line": 288,
"column": 87
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7805,
"end": 7806,
"loc": {
"start": {
"line": 288,
"column": 87
},
"end": {
"line": 288,
"column": 88
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7807,
"end": 7808,
"loc": {
"start": {
"line": 288,
"column": 89
},
"end": {
"line": 288,
"column": 90
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 7822,
"end": 7828,
"loc": {
"start": {
"line": 289,
"column": 12
},
"end": {
"line": 289,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7828,
"end": 7829,
"loc": {
"start": {
"line": 289,
"column": 18
},
"end": {
"line": 289,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "error",
"start": 7829,
"end": 7834,
"loc": {
"start": {
"line": 289,
"column": 19
},
"end": {
"line": 289,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7834,
"end": 7835,
"loc": {
"start": {
"line": 289,
"column": 24
},
"end": {
"line": 289,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Data",
"start": 7835,
"end": 7841,
"loc": {
"start": {
"line": 289,
"column": 25
},
"end": {
"line": 289,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7841,
"end": 7842,
"loc": {
"start": {
"line": 289,
"column": 31
},
"end": {
"line": 289,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 7843,
"end": 7847,
"loc": {
"start": {
"line": 289,
"column": 33
},
"end": {
"line": 289,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7847,
"end": 7848,
"loc": {
"start": {
"line": 289,
"column": 37
},
"end": {
"line": 289,
"column": 38
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "has null value for",
"start": 7849,
"end": 7869,
"loc": {
"start": {
"line": 289,
"column": 39
},
"end": {
"line": 289,
"column": 59
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7869,
"end": 7870,
"loc": {
"start": {
"line": 289,
"column": 59
},
"end": {
"line": 289,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 7871,
"end": 7874,
"loc": {
"start": {
"line": 289,
"column": 61
},
"end": {
"line": 289,
"column": 64
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7874,
"end": 7875,
"loc": {
"start": {
"line": 289,
"column": 64
},
"end": {
"line": 289,
"column": 65
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "(schema:",
"start": 7876,
"end": 7886,
"loc": {
"start": {
"line": 289,
"column": 66
},
"end": {
"line": 289,
"column": 76
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7886,
"end": 7887,
"loc": {
"start": {
"line": 289,
"column": 76
},
"end": {
"line": 289,
"column": 77
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 7888,
"end": 7894,
"loc": {
"start": {
"line": 289,
"column": 78
},
"end": {
"line": 289,
"column": 84
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7894,
"end": 7895,
"loc": {
"start": {
"line": 289,
"column": 84
},
"end": {
"line": 289,
"column": 85
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ")",
"start": 7896,
"end": 7899,
"loc": {
"start": {
"line": 289,
"column": 86
},
"end": {
"line": 289,
"column": 89
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7899,
"end": 7900,
"loc": {
"start": {
"line": 289,
"column": 89
},
"end": {
"line": 289,
"column": 90
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7900,
"end": 7901,
"loc": {
"start": {
"line": 289,
"column": 90
},
"end": {
"line": 289,
"column": 91
}
}
},
{
"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": 7915,
"end": 7921,
"loc": {
"start": {
"line": 290,
"column": 12
},
"end": {
"line": 290,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Non-nullable entry is null: ",
"start": 7922,
"end": 7952,
"loc": {
"start": {
"line": 290,
"column": 19
},
"end": {
"line": 290,
"column": 49
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 7953,
"end": 7954,
"loc": {
"start": {
"line": 290,
"column": 50
},
"end": {
"line": 290,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 7955,
"end": 7958,
"loc": {
"start": {
"line": 290,
"column": 52
},
"end": {
"line": 290,
"column": 55
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 7959,
"end": 7960,
"loc": {
"start": {
"line": 290,
"column": 56
},
"end": {
"line": 290,
"column": 57
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": " of class ",
"start": 7961,
"end": 7973,
"loc": {
"start": {
"line": 290,
"column": 58
},
"end": {
"line": 290,
"column": 70
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 7974,
"end": 7975,
"loc": {
"start": {
"line": 290,
"column": 71
},
"end": {
"line": 290,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 7976,
"end": 7979,
"loc": {
"start": {
"line": 290,
"column": 73
},
"end": {
"line": 290,
"column": 76
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7979,
"end": 7980,
"loc": {
"start": {
"line": 290,
"column": 76
},
"end": {
"line": 290,
"column": 77
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 7980,
"end": 7991,
"loc": {
"start": {
"line": 290,
"column": 77
},
"end": {
"line": 290,
"column": 88
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7991,
"end": 7992,
"loc": {
"start": {
"line": 290,
"column": 88
},
"end": {
"line": 290,
"column": 89
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "name",
"start": 7992,
"end": 7996,
"loc": {
"start": {
"line": 290,
"column": 89
},
"end": {
"line": 290,
"column": 93
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 7996,
"end": 7997,
"loc": {
"start": {
"line": 290,
"column": 93
},
"end": {
"line": 290,
"column": 94
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8007,
"end": 8008,
"loc": {
"start": {
"line": 291,
"column": 8
},
"end": {
"line": 291,
"column": 9
}
}
},
{
"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": 8020,
"end": 8025,
"loc": {
"start": {
"line": 293,
"column": 8
},
"end": {
"line": 293,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorStatus",
"start": 8026,
"end": 8037,
"loc": {
"start": {
"line": 293,
"column": 14
},
"end": {
"line": 293,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 8038,
"end": 8039,
"loc": {
"start": {
"line": 293,
"column": 26
},
"end": {
"line": 293,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 8040,
"end": 8046,
"loc": {
"start": {
"line": 293,
"column": 28
},
"end": {
"line": 293,
"column": 34
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8046,
"end": 8047,
"loc": {
"start": {
"line": 293,
"column": 34
},
"end": {
"line": 293,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 8047,
"end": 8050,
"loc": {
"start": {
"line": 293,
"column": 35
},
"end": {
"line": 293,
"column": 38
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8050,
"end": 8051,
"loc": {
"start": {
"line": 293,
"column": 38
},
"end": {
"line": 293,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8051,
"end": 8052,
"loc": {
"start": {
"line": 293,
"column": 39
},
"end": {
"line": 293,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deserializeWithVerify",
"start": 8052,
"end": 8073,
"loc": {
"start": {
"line": 293,
"column": 40
},
"end": {
"line": 293,
"column": 61
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8073,
"end": 8074,
"loc": {
"start": {
"line": 293,
"column": 61
},
"end": {
"line": 293,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 8074,
"end": 8078,
"loc": {
"start": {
"line": 293,
"column": 62
},
"end": {
"line": 293,
"column": 66
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8078,
"end": 8079,
"loc": {
"start": {
"line": 293,
"column": 66
},
"end": {
"line": 293,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 8079,
"end": 8082,
"loc": {
"start": {
"line": 293,
"column": 67
},
"end": {
"line": 293,
"column": 70
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8082,
"end": 8083,
"loc": {
"start": {
"line": 293,
"column": 70
},
"end": {
"line": 293,
"column": 71
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8083,
"end": 8084,
"loc": {
"start": {
"line": 293,
"column": 71
},
"end": {
"line": 293,
"column": 72
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 8085,
"end": 8088,
"loc": {
"start": {
"line": 293,
"column": 73
},
"end": {
"line": 293,
"column": 76
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8088,
"end": 8089,
"loc": {
"start": {
"line": 293,
"column": 76
},
"end": {
"line": 293,
"column": 77
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 8090,
"end": 8093,
"loc": {
"start": {
"line": 293,
"column": 78
},
"end": {
"line": 293,
"column": 81
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8093,
"end": 8094,
"loc": {
"start": {
"line": 293,
"column": 81
},
"end": {
"line": 293,
"column": 82
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 8095,
"end": 8098,
"loc": {
"start": {
"line": 293,
"column": 83
},
"end": {
"line": 293,
"column": 86
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8098,
"end": 8099,
"loc": {
"start": {
"line": 293,
"column": 86
},
"end": {
"line": 293,
"column": 87
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 8099,
"end": 8103,
"loc": {
"start": {
"line": 293,
"column": 87
},
"end": {
"line": 293,
"column": 91
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 8104,
"end": 8106,
"loc": {
"start": {
"line": 293,
"column": 92
},
"end": {
"line": 293,
"column": 94
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 8107,
"end": 8111,
"loc": {
"start": {
"line": 293,
"column": 95
},
"end": {
"line": 293,
"column": 99
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8111,
"end": 8112,
"loc": {
"start": {
"line": 293,
"column": 99
},
"end": {
"line": 293,
"column": 100
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8112,
"end": 8113,
"loc": {
"start": {
"line": 293,
"column": 100
},
"end": {
"line": 293,
"column": 101
}
}
},
{
"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": 8123,
"end": 8125,
"loc": {
"start": {
"line": 294,
"column": 8
},
"end": {
"line": 294,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8126,
"end": 8127,
"loc": {
"start": {
"line": 294,
"column": 11
},
"end": {
"line": 294,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorStatus",
"start": 8127,
"end": 8138,
"loc": {
"start": {
"line": 294,
"column": 12
},
"end": {
"line": 294,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8138,
"end": 8139,
"loc": {
"start": {
"line": 294,
"column": 23
},
"end": {
"line": 294,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8140,
"end": 8141,
"loc": {
"start": {
"line": 294,
"column": 25
},
"end": {
"line": 294,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 8155,
"end": 8161,
"loc": {
"start": {
"line": 295,
"column": 12
},
"end": {
"line": 295,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8161,
"end": 8162,
"loc": {
"start": {
"line": 295,
"column": 18
},
"end": {
"line": 295,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "error",
"start": 8162,
"end": 8167,
"loc": {
"start": {
"line": 295,
"column": 19
},
"end": {
"line": 295,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8167,
"end": 8168,
"loc": {
"start": {
"line": 295,
"column": 24
},
"end": {
"line": 295,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Deserialization failed with error '",
"start": 8186,
"end": 8223,
"loc": {
"start": {
"line": 296,
"column": 16
},
"end": {
"line": 296,
"column": 53
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 8224,
"end": 8225,
"loc": {
"start": {
"line": 296,
"column": 54
},
"end": {
"line": 296,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorStatus",
"start": 8226,
"end": 8237,
"loc": {
"start": {
"line": 296,
"column": 56
},
"end": {
"line": 296,
"column": 67
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 8238,
"end": 8239,
"loc": {
"start": {
"line": 296,
"column": 68
},
"end": {
"line": 296,
"column": 69
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "' on object",
"start": 8240,
"end": 8253,
"loc": {
"start": {
"line": 296,
"column": 70
},
"end": {
"line": 296,
"column": 83
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8253,
"end": 8254,
"loc": {
"start": {
"line": 296,
"column": 83
},
"end": {
"line": 296,
"column": 84
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 8272,
"end": 8275,
"loc": {
"start": {
"line": 297,
"column": 16
},
"end": {
"line": 297,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8275,
"end": 8276,
"loc": {
"start": {
"line": 297,
"column": 19
},
"end": {
"line": 297,
"column": 20
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "and key",
"start": 8294,
"end": 8303,
"loc": {
"start": {
"line": 298,
"column": 16
},
"end": {
"line": 298,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8303,
"end": 8304,
"loc": {
"start": {
"line": 298,
"column": 25
},
"end": {
"line": 298,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 8322,
"end": 8325,
"loc": {
"start": {
"line": 299,
"column": 16
},
"end": {
"line": 299,
"column": 19
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8325,
"end": 8326,
"loc": {
"start": {
"line": 299,
"column": 19
},
"end": {
"line": 299,
"column": 20
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "(root? =",
"start": 8344,
"end": 8354,
"loc": {
"start": {
"line": 300,
"column": 16
},
"end": {
"line": 300,
"column": 26
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8354,
"end": 8355,
"loc": {
"start": {
"line": 300,
"column": 26
},
"end": {
"line": 300,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "obj",
"start": 8373,
"end": 8376,
"loc": {
"start": {
"line": 301,
"column": 16
},
"end": {
"line": 301,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8376,
"end": 8377,
"loc": {
"start": {
"line": 301,
"column": 19
},
"end": {
"line": 301,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "root",
"start": 8377,
"end": 8381,
"loc": {
"start": {
"line": 301,
"column": 20
},
"end": {
"line": 301,
"column": 24
}
}
},
{
"type": {
"label": "?",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8382,
"end": 8383,
"loc": {
"start": {
"line": 301,
"column": 25
},
"end": {
"line": 301,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "y",
"start": 8384,
"end": 8387,
"loc": {
"start": {
"line": 301,
"column": 27
},
"end": {
"line": 301,
"column": 30
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8388,
"end": 8389,
"loc": {
"start": {
"line": 301,
"column": 31
},
"end": {
"line": 301,
"column": 32
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "n",
"start": 8390,
"end": 8393,
"loc": {
"start": {
"line": 301,
"column": 33
},
"end": {
"line": 301,
"column": 36
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8393,
"end": 8394,
"loc": {
"start": {
"line": 301,
"column": 36
},
"end": {
"line": 301,
"column": 37
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ")",
"start": 8412,
"end": 8415,
"loc": {
"start": {
"line": 302,
"column": 16
},
"end": {
"line": 302,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8429,
"end": 8430,
"loc": {
"start": {
"line": 303,
"column": 12
},
"end": {
"line": 303,
"column": 13
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8430,
"end": 8431,
"loc": {
"start": {
"line": 303,
"column": 13
},
"end": {
"line": 303,
"column": 14
}
}
},
{
"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": 8445,
"end": 8451,
"loc": {
"start": {
"line": 304,
"column": 12
},
"end": {
"line": 304,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorStatus",
"start": 8452,
"end": 8463,
"loc": {
"start": {
"line": 304,
"column": 19
},
"end": {
"line": 304,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8463,
"end": 8464,
"loc": {
"start": {
"line": 304,
"column": 30
},
"end": {
"line": 304,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8474,
"end": 8475,
"loc": {
"start": {
"line": 305,
"column": 8
},
"end": {
"line": 305,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8481,
"end": 8482,
"loc": {
"start": {
"line": 306,
"column": 4
},
"end": {
"line": 306,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8484,
"end": 8485,
"loc": {
"start": {
"line": 307,
"column": 0
},
"end": {
"line": 307,
"column": 1
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Verifies stored data using the given schema\r\n * @param {Schema} schema The schema to use\r\n * @param {object} data The data to verify\r\n * @returns {string|void} String error code or nothing on success\r\n ",
"start": 8489,
"end": 8701,
"loc": {
"start": {
"line": 309,
"column": 0
},
"end": {
"line": 314,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 8703,
"end": 8709,
"loc": {
"start": {
"line": 315,
"column": 0
},
"end": {
"line": 315,
"column": 6
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 8710,
"end": 8718,
"loc": {
"start": {
"line": 315,
"column": 7
},
"end": {
"line": 315,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "verifySchema",
"start": 8719,
"end": 8731,
"loc": {
"start": {
"line": 315,
"column": 16
},
"end": {
"line": 315,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8731,
"end": 8732,
"loc": {
"start": {
"line": 315,
"column": 28
},
"end": {
"line": 315,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 8732,
"end": 8738,
"loc": {
"start": {
"line": 315,
"column": 29
},
"end": {
"line": 315,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8738,
"end": 8739,
"loc": {
"start": {
"line": 315,
"column": 35
},
"end": {
"line": 315,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 8740,
"end": 8744,
"loc": {
"start": {
"line": 315,
"column": 37
},
"end": {
"line": 315,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8744,
"end": 8745,
"loc": {
"start": {
"line": 315,
"column": 41
},
"end": {
"line": 315,
"column": 42
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8746,
"end": 8747,
"loc": {
"start": {
"line": 315,
"column": 43
},
"end": {
"line": 315,
"column": 44
}
}
},
{
"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": 8753,
"end": 8756,
"loc": {
"start": {
"line": 316,
"column": 4
},
"end": {
"line": 316,
"column": 7
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8757,
"end": 8758,
"loc": {
"start": {
"line": 316,
"column": 8
},
"end": {
"line": 316,
"column": 9
}
}
},
{
"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": 8758,
"end": 8763,
"loc": {
"start": {
"line": 316,
"column": 9
},
"end": {
"line": 316,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 8764,
"end": 8767,
"loc": {
"start": {
"line": 316,
"column": 15
},
"end": {
"line": 316,
"column": 18
}
}
},
{
"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": 8768,
"end": 8770,
"loc": {
"start": {
"line": 316,
"column": 19
},
"end": {
"line": 316,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 8771,
"end": 8777,
"loc": {
"start": {
"line": 316,
"column": 22
},
"end": {
"line": 316,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8777,
"end": 8778,
"loc": {
"start": {
"line": 316,
"column": 28
},
"end": {
"line": 316,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8779,
"end": 8780,
"loc": {
"start": {
"line": 316,
"column": 30
},
"end": {
"line": 316,
"column": 31
}
}
},
{
"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": 8790,
"end": 8792,
"loc": {
"start": {
"line": 317,
"column": 8
},
"end": {
"line": 317,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8793,
"end": 8794,
"loc": {
"start": {
"line": 317,
"column": 11
},
"end": {
"line": 317,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 8794,
"end": 8795,
"loc": {
"start": {
"line": 317,
"column": 12
},
"end": {
"line": 317,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 8795,
"end": 8799,
"loc": {
"start": {
"line": 317,
"column": 13
},
"end": {
"line": 317,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8799,
"end": 8800,
"loc": {
"start": {
"line": 317,
"column": 17
},
"end": {
"line": 317,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasOwnProperty",
"start": 8800,
"end": 8814,
"loc": {
"start": {
"line": 317,
"column": 18
},
"end": {
"line": 317,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8814,
"end": 8815,
"loc": {
"start": {
"line": 317,
"column": 32
},
"end": {
"line": 317,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 8815,
"end": 8818,
"loc": {
"start": {
"line": 317,
"column": 33
},
"end": {
"line": 317,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8818,
"end": 8819,
"loc": {
"start": {
"line": 317,
"column": 36
},
"end": {
"line": 317,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8819,
"end": 8820,
"loc": {
"start": {
"line": 317,
"column": 37
},
"end": {
"line": 317,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8821,
"end": 8822,
"loc": {
"start": {
"line": 317,
"column": 39
},
"end": {
"line": 317,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 8836,
"end": 8842,
"loc": {
"start": {
"line": 318,
"column": 12
},
"end": {
"line": 318,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8842,
"end": 8843,
"loc": {
"start": {
"line": 318,
"column": 18
},
"end": {
"line": 318,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "error",
"start": 8843,
"end": 8848,
"loc": {
"start": {
"line": 318,
"column": 19
},
"end": {
"line": 318,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8848,
"end": 8849,
"loc": {
"start": {
"line": 318,
"column": 24
},
"end": {
"line": 318,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Data",
"start": 8849,
"end": 8855,
"loc": {
"start": {
"line": 318,
"column": 25
},
"end": {
"line": 318,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8855,
"end": 8856,
"loc": {
"start": {
"line": 318,
"column": 31
},
"end": {
"line": 318,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 8857,
"end": 8861,
"loc": {
"start": {
"line": 318,
"column": 33
},
"end": {
"line": 318,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8861,
"end": 8862,
"loc": {
"start": {
"line": 318,
"column": 37
},
"end": {
"line": 318,
"column": 38
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "does not contain",
"start": 8863,
"end": 8881,
"loc": {
"start": {
"line": 318,
"column": 39
},
"end": {
"line": 318,
"column": 57
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8881,
"end": 8882,
"loc": {
"start": {
"line": 318,
"column": 57
},
"end": {
"line": 318,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 8883,
"end": 8886,
"loc": {
"start": {
"line": 318,
"column": 59
},
"end": {
"line": 318,
"column": 62
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8886,
"end": 8887,
"loc": {
"start": {
"line": 318,
"column": 62
},
"end": {
"line": 318,
"column": 63
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "(schema:",
"start": 8888,
"end": 8898,
"loc": {
"start": {
"line": 318,
"column": 64
},
"end": {
"line": 318,
"column": 74
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8898,
"end": 8899,
"loc": {
"start": {
"line": 318,
"column": 74
},
"end": {
"line": 318,
"column": 75
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 8900,
"end": 8906,
"loc": {
"start": {
"line": 318,
"column": 76
},
"end": {
"line": 318,
"column": 82
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8906,
"end": 8907,
"loc": {
"start": {
"line": 318,
"column": 82
},
"end": {
"line": 318,
"column": 83
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ")",
"start": 8908,
"end": 8911,
"loc": {
"start": {
"line": 318,
"column": 84
},
"end": {
"line": 318,
"column": 87
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 8911,
"end": 8912,
"loc": {
"start": {
"line": 318,
"column": 87
},
"end": {
"line": 318,
"column": 88
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8912,
"end": 8913,
"loc": {
"start": {
"line": 318,
"column": 88
},
"end": {
"line": 318,
"column": 89
}
}
},
{
"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": 8927,
"end": 8933,
"loc": {
"start": {
"line": 319,
"column": 12
},
"end": {
"line": 319,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "verify: missing key required by schema in stored data: ",
"start": 8934,
"end": 8991,
"loc": {
"start": {
"line": 319,
"column": 19
},
"end": {
"line": 319,
"column": 76
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 8992,
"end": 8993,
"loc": {
"start": {
"line": 319,
"column": 77
},
"end": {
"line": 319,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 8994,
"end": 8997,
"loc": {
"start": {
"line": 319,
"column": 79
},
"end": {
"line": 319,
"column": 82
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 8997,
"end": 8998,
"loc": {
"start": {
"line": 319,
"column": 82
},
"end": {
"line": 319,
"column": 83
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9008,
"end": 9009,
"loc": {
"start": {
"line": 320,
"column": 8
},
"end": {
"line": 320,
"column": 9
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 9019,
"end": 9021,
"loc": {
"start": {
"line": 321,
"column": 8
},
"end": {
"line": 321,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9022,
"end": 9023,
"loc": {
"start": {
"line": 321,
"column": 11
},
"end": {
"line": 321,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 9023,
"end": 9024,
"loc": {
"start": {
"line": 321,
"column": 12
},
"end": {
"line": 321,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 9024,
"end": 9030,
"loc": {
"start": {
"line": 321,
"column": 13
},
"end": {
"line": 321,
"column": 19
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9030,
"end": 9031,
"loc": {
"start": {
"line": 321,
"column": 19
},
"end": {
"line": 321,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 9031,
"end": 9034,
"loc": {
"start": {
"line": 321,
"column": 20
},
"end": {
"line": 321,
"column": 23
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9034,
"end": 9035,
"loc": {
"start": {
"line": 321,
"column": 23
},
"end": {
"line": 321,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9035,
"end": 9036,
"loc": {
"start": {
"line": 321,
"column": 24
},
"end": {
"line": 321,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "allowNull",
"start": 9036,
"end": 9045,
"loc": {
"start": {
"line": 321,
"column": 25
},
"end": {
"line": 321,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9045,
"end": 9046,
"loc": {
"start": {
"line": 321,
"column": 34
},
"end": {
"line": 321,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9046,
"end": 9047,
"loc": {
"start": {
"line": 321,
"column": 35
},
"end": {
"line": 321,
"column": 36
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 9048,
"end": 9050,
"loc": {
"start": {
"line": 321,
"column": 37
},
"end": {
"line": 321,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9051,
"end": 9052,
"loc": {
"start": {
"line": 321,
"column": 40
},
"end": {
"line": 321,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 9052,
"end": 9056,
"loc": {
"start": {
"line": 321,
"column": 41
},
"end": {
"line": 321,
"column": 45
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9056,
"end": 9057,
"loc": {
"start": {
"line": 321,
"column": 45
},
"end": {
"line": 321,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 9057,
"end": 9060,
"loc": {
"start": {
"line": 321,
"column": 46
},
"end": {
"line": 321,
"column": 49
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9060,
"end": 9061,
"loc": {
"start": {
"line": 321,
"column": 49
},
"end": {
"line": 321,
"column": 50
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 9062,
"end": 9065,
"loc": {
"start": {
"line": 321,
"column": 51
},
"end": {
"line": 321,
"column": 54
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 9066,
"end": 9070,
"loc": {
"start": {
"line": 321,
"column": 55
},
"end": {
"line": 321,
"column": 59
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 9071,
"end": 9073,
"loc": {
"start": {
"line": 321,
"column": 60
},
"end": {
"line": 321,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 9074,
"end": 9078,
"loc": {
"start": {
"line": 321,
"column": 63
},
"end": {
"line": 321,
"column": 67
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9078,
"end": 9079,
"loc": {
"start": {
"line": 321,
"column": 67
},
"end": {
"line": 321,
"column": 68
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 9079,
"end": 9082,
"loc": {
"start": {
"line": 321,
"column": 68
},
"end": {
"line": 321,
"column": 71
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9082,
"end": 9083,
"loc": {
"start": {
"line": 321,
"column": 71
},
"end": {
"line": 321,
"column": 72
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 9084,
"end": 9087,
"loc": {
"start": {
"line": 321,
"column": 73
},
"end": {
"line": 321,
"column": 76
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 9088,
"end": 9097,
"loc": {
"start": {
"line": 321,
"column": 77
},
"end": {
"line": 321,
"column": 86
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9097,
"end": 9098,
"loc": {
"start": {
"line": 321,
"column": 86
},
"end": {
"line": 321,
"column": 87
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9098,
"end": 9099,
"loc": {
"start": {
"line": 321,
"column": 87
},
"end": {
"line": 321,
"column": 88
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9100,
"end": 9101,
"loc": {
"start": {
"line": 321,
"column": 89
},
"end": {
"line": 321,
"column": 90
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 9115,
"end": 9121,
"loc": {
"start": {
"line": 322,
"column": 12
},
"end": {
"line": 322,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9121,
"end": 9122,
"loc": {
"start": {
"line": 322,
"column": 18
},
"end": {
"line": 322,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "error",
"start": 9122,
"end": 9127,
"loc": {
"start": {
"line": 322,
"column": 19
},
"end": {
"line": 322,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9127,
"end": 9128,
"loc": {
"start": {
"line": 322,
"column": 24
},
"end": {
"line": 322,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Data",
"start": 9128,
"end": 9134,
"loc": {
"start": {
"line": 322,
"column": 25
},
"end": {
"line": 322,
"column": 31
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9134,
"end": 9135,
"loc": {
"start": {
"line": 322,
"column": 31
},
"end": {
"line": 322,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 9136,
"end": 9140,
"loc": {
"start": {
"line": 322,
"column": 33
},
"end": {
"line": 322,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9140,
"end": 9141,
"loc": {
"start": {
"line": 322,
"column": 37
},
"end": {
"line": 322,
"column": 38
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "has null value for",
"start": 9142,
"end": 9162,
"loc": {
"start": {
"line": 322,
"column": 39
},
"end": {
"line": 322,
"column": 59
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9162,
"end": 9163,
"loc": {
"start": {
"line": 322,
"column": 59
},
"end": {
"line": 322,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 9164,
"end": 9167,
"loc": {
"start": {
"line": 322,
"column": 61
},
"end": {
"line": 322,
"column": 64
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9167,
"end": 9168,
"loc": {
"start": {
"line": 322,
"column": 64
},
"end": {
"line": 322,
"column": 65
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "(schema:",
"start": 9169,
"end": 9179,
"loc": {
"start": {
"line": 322,
"column": 66
},
"end": {
"line": 322,
"column": 76
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9179,
"end": 9180,
"loc": {
"start": {
"line": 322,
"column": 76
},
"end": {
"line": 322,
"column": 77
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 9181,
"end": 9187,
"loc": {
"start": {
"line": 322,
"column": 78
},
"end": {
"line": 322,
"column": 84
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9187,
"end": 9188,
"loc": {
"start": {
"line": 322,
"column": 84
},
"end": {
"line": 322,
"column": 85
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": ")",
"start": 9189,
"end": 9192,
"loc": {
"start": {
"line": 322,
"column": 86
},
"end": {
"line": 322,
"column": 89
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9192,
"end": 9193,
"loc": {
"start": {
"line": 322,
"column": 89
},
"end": {
"line": 322,
"column": 90
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9193,
"end": 9194,
"loc": {
"start": {
"line": 322,
"column": 90
},
"end": {
"line": 322,
"column": 91
}
}
},
{
"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": 9208,
"end": 9214,
"loc": {
"start": {
"line": 323,
"column": 12
},
"end": {
"line": 323,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "verify: non-nullable entry is null: ",
"start": 9215,
"end": 9253,
"loc": {
"start": {
"line": 323,
"column": 19
},
"end": {
"line": 323,
"column": 57
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 9254,
"end": 9255,
"loc": {
"start": {
"line": 323,
"column": 58
},
"end": {
"line": 323,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 9256,
"end": 9259,
"loc": {
"start": {
"line": 323,
"column": 60
},
"end": {
"line": 323,
"column": 63
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9259,
"end": 9260,
"loc": {
"start": {
"line": 323,
"column": 63
},
"end": {
"line": 323,
"column": 64
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9270,
"end": 9271,
"loc": {
"start": {
"line": 324,
"column": 8
},
"end": {
"line": 324,
"column": 9
}
}
},
{
"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": 9283,
"end": 9288,
"loc": {
"start": {
"line": 326,
"column": 8
},
"end": {
"line": 326,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorStatus",
"start": 9289,
"end": 9300,
"loc": {
"start": {
"line": 326,
"column": 14
},
"end": {
"line": 326,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9301,
"end": 9302,
"loc": {
"start": {
"line": 326,
"column": 26
},
"end": {
"line": 326,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "schema",
"start": 9303,
"end": 9309,
"loc": {
"start": {
"line": 326,
"column": 28
},
"end": {
"line": 326,
"column": 34
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9309,
"end": 9310,
"loc": {
"start": {
"line": 326,
"column": 34
},
"end": {
"line": 326,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 9310,
"end": 9313,
"loc": {
"start": {
"line": 326,
"column": 35
},
"end": {
"line": 326,
"column": 38
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9313,
"end": 9314,
"loc": {
"start": {
"line": 326,
"column": 38
},
"end": {
"line": 326,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9314,
"end": 9315,
"loc": {
"start": {
"line": 326,
"column": 39
},
"end": {
"line": 326,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "verifySerializedValue",
"start": 9315,
"end": 9336,
"loc": {
"start": {
"line": 326,
"column": 40
},
"end": {
"line": 326,
"column": 61
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9336,
"end": 9337,
"loc": {
"start": {
"line": 326,
"column": 61
},
"end": {
"line": 326,
"column": 62
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "data",
"start": 9337,
"end": 9341,
"loc": {
"start": {
"line": 326,
"column": 62
},
"end": {
"line": 326,
"column": 66
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9341,
"end": 9342,
"loc": {
"start": {
"line": 326,
"column": 66
},
"end": {
"line": 326,
"column": 67
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 9342,
"end": 9345,
"loc": {
"start": {
"line": 326,
"column": 67
},
"end": {
"line": 326,
"column": 70
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9345,
"end": 9346,
"loc": {
"start": {
"line": 326,
"column": 70
},
"end": {
"line": 326,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9346,
"end": 9347,
"loc": {
"start": {
"line": 326,
"column": 71
},
"end": {
"line": 326,
"column": 72
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9347,
"end": 9348,
"loc": {
"start": {
"line": 326,
"column": 72
},
"end": {
"line": 326,
"column": 73
}
}
},
{
"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": 9358,
"end": 9360,
"loc": {
"start": {
"line": 327,
"column": 8
},
"end": {
"line": 327,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9361,
"end": 9362,
"loc": {
"start": {
"line": 327,
"column": 11
},
"end": {
"line": 327,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorStatus",
"start": 9362,
"end": 9373,
"loc": {
"start": {
"line": 327,
"column": 12
},
"end": {
"line": 327,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9373,
"end": 9374,
"loc": {
"start": {
"line": 327,
"column": 23
},
"end": {
"line": 327,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9375,
"end": 9376,
"loc": {
"start": {
"line": 327,
"column": 25
},
"end": {
"line": 327,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 9390,
"end": 9396,
"loc": {
"start": {
"line": 328,
"column": 12
},
"end": {
"line": 328,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9396,
"end": 9397,
"loc": {
"start": {
"line": 328,
"column": 18
},
"end": {
"line": 328,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "error",
"start": 9397,
"end": 9402,
"loc": {
"start": {
"line": 328,
"column": 19
},
"end": {
"line": 328,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9402,
"end": 9403,
"loc": {
"start": {
"line": 328,
"column": 24
},
"end": {
"line": 328,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorStatus",
"start": 9403,
"end": 9414,
"loc": {
"start": {
"line": 328,
"column": 25
},
"end": {
"line": 328,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9414,
"end": 9415,
"loc": {
"start": {
"line": 328,
"column": 36
},
"end": {
"line": 328,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9415,
"end": 9416,
"loc": {
"start": {
"line": 328,
"column": 37
},
"end": {
"line": 328,
"column": 38
}
}
},
{
"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": 9430,
"end": 9436,
"loc": {
"start": {
"line": 329,
"column": 12
},
"end": {
"line": 329,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "verify: ",
"start": 9437,
"end": 9447,
"loc": {
"start": {
"line": 329,
"column": 19
},
"end": {
"line": 329,
"column": 29
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "+",
"start": 9448,
"end": 9449,
"loc": {
"start": {
"line": 329,
"column": 30
},
"end": {
"line": 329,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "errorStatus",
"start": 9450,
"end": 9461,
"loc": {
"start": {
"line": 329,
"column": 32
},
"end": {
"line": 329,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9461,
"end": 9462,
"loc": {
"start": {
"line": 329,
"column": 43
},
"end": {
"line": 329,
"column": 44
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9472,
"end": 9473,
"loc": {
"start": {
"line": 330,
"column": 8
},
"end": {
"line": 330,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9479,
"end": 9480,
"loc": {
"start": {
"line": 331,
"column": 4
},
"end": {
"line": 331,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9482,
"end": 9483,
"loc": {
"start": {
"line": 332,
"column": 0
},
"end": {
"line": 332,
"column": 1
}
}
},
{
"type": "CommentBlock",
"value": "*\r\n * Extends a schema by adding the properties from the new schema to the existing base schema\r\n * @param {Schema} base\r\n * @param {Schema} newOne\r\n * @returns {Schema}\r\n ",
"start": 9487,
"end": 9663,
"loc": {
"start": {
"line": 334,
"column": 0
},
"end": {
"line": 339,
"column": 3
}
}
},
{
"type": {
"label": "export",
"keyword": "export",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "export",
"start": 9665,
"end": 9671,
"loc": {
"start": {
"line": 340,
"column": 0
},
"end": {
"line": 340,
"column": 6
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 9672,
"end": 9680,
"loc": {
"start": {
"line": 340,
"column": 7
},
"end": {
"line": 340,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "extendSchema",
"start": 9681,
"end": 9693,
"loc": {
"start": {
"line": 340,
"column": 16
},
"end": {
"line": 340,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9693,
"end": 9694,
"loc": {
"start": {
"line": 340,
"column": 28
},
"end": {
"line": 340,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "base",
"start": 9694,
"end": 9698,
"loc": {
"start": {
"line": 340,
"column": 29
},
"end": {
"line": 340,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9698,
"end": 9699,
"loc": {
"start": {
"line": 340,
"column": 33
},
"end": {
"line": 340,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newOne",
"start": 9700,
"end": 9706,
"loc": {
"start": {
"line": 340,
"column": 35
},
"end": {
"line": 340,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9706,
"end": 9707,
"loc": {
"start": {
"line": 340,
"column": 41
},
"end": {
"line": 340,
"column": 42
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9708,
"end": 9709,
"loc": {
"start": {
"line": 340,
"column": 43
},
"end": {
"line": 340,
"column": 44
}
}
},
{
"type": "CommentBlock",
"value": "* @type {Schema} ",
"start": 9715,
"end": 9736,
"loc": {
"start": {
"line": 341,
"column": 4
},
"end": {
"line": 341,
"column": 25
}
}
},
{
"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": 9742,
"end": 9747,
"loc": {
"start": {
"line": 342,
"column": 4
},
"end": {
"line": 342,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "result",
"start": 9748,
"end": 9754,
"loc": {
"start": {
"line": 342,
"column": 10
},
"end": {
"line": 342,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9755,
"end": 9756,
"loc": {
"start": {
"line": 342,
"column": 17
},
"end": {
"line": 342,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Object",
"start": 9757,
"end": 9763,
"loc": {
"start": {
"line": 342,
"column": 19
},
"end": {
"line": 342,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9763,
"end": 9764,
"loc": {
"start": {
"line": 342,
"column": 25
},
"end": {
"line": 342,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "assign",
"start": 9764,
"end": 9770,
"loc": {
"start": {
"line": 342,
"column": 26
},
"end": {
"line": 342,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9770,
"end": 9771,
"loc": {
"start": {
"line": 342,
"column": 32
},
"end": {
"line": 342,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9771,
"end": 9772,
"loc": {
"start": {
"line": 342,
"column": 33
},
"end": {
"line": 342,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9772,
"end": 9773,
"loc": {
"start": {
"line": 342,
"column": 34
},
"end": {
"line": 342,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9773,
"end": 9774,
"loc": {
"start": {
"line": 342,
"column": 35
},
"end": {
"line": 342,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "base",
"start": 9775,
"end": 9779,
"loc": {
"start": {
"line": 342,
"column": 37
},
"end": {
"line": 342,
"column": 41
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9779,
"end": 9780,
"loc": {
"start": {
"line": 342,
"column": 41
},
"end": {
"line": 342,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9780,
"end": 9781,
"loc": {
"start": {
"line": 342,
"column": 42
},
"end": {
"line": 342,
"column": 43
}
}
},
{
"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": 9787,
"end": 9790,
"loc": {
"start": {
"line": 343,
"column": 4
},
"end": {
"line": 343,
"column": 7
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9791,
"end": 9792,
"loc": {
"start": {
"line": 343,
"column": 8
},
"end": {
"line": 343,
"column": 9
}
}
},
{
"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": 9792,
"end": 9797,
"loc": {
"start": {
"line": 343,
"column": 9
},
"end": {
"line": 343,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 9798,
"end": 9801,
"loc": {
"start": {
"line": 343,
"column": 15
},
"end": {
"line": 343,
"column": 18
}
}
},
{
"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": 9802,
"end": 9804,
"loc": {
"start": {
"line": 343,
"column": 19
},
"end": {
"line": 343,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newOne",
"start": 9805,
"end": 9811,
"loc": {
"start": {
"line": 343,
"column": 22
},
"end": {
"line": 343,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9811,
"end": 9812,
"loc": {
"start": {
"line": 343,
"column": 28
},
"end": {
"line": 343,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9813,
"end": 9814,
"loc": {
"start": {
"line": 343,
"column": 30
},
"end": {
"line": 343,
"column": 31
}
}
},
{
"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": 9824,
"end": 9826,
"loc": {
"start": {
"line": 344,
"column": 8
},
"end": {
"line": 344,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9827,
"end": 9828,
"loc": {
"start": {
"line": 344,
"column": 11
},
"end": {
"line": 344,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "result",
"start": 9828,
"end": 9834,
"loc": {
"start": {
"line": 344,
"column": 12
},
"end": {
"line": 344,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9834,
"end": 9835,
"loc": {
"start": {
"line": 344,
"column": 18
},
"end": {
"line": 344,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hasOwnProperty",
"start": 9835,
"end": 9849,
"loc": {
"start": {
"line": 344,
"column": 19
},
"end": {
"line": 344,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9849,
"end": 9850,
"loc": {
"start": {
"line": 344,
"column": 33
},
"end": {
"line": 344,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 9850,
"end": 9853,
"loc": {
"start": {
"line": 344,
"column": 34
},
"end": {
"line": 344,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9853,
"end": 9854,
"loc": {
"start": {
"line": 344,
"column": 37
},
"end": {
"line": 344,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9854,
"end": 9855,
"loc": {
"start": {
"line": 344,
"column": 38
},
"end": {
"line": 344,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9856,
"end": 9857,
"loc": {
"start": {
"line": 344,
"column": 40
},
"end": {
"line": 344,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 9871,
"end": 9877,
"loc": {
"start": {
"line": 345,
"column": 12
},
"end": {
"line": 345,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9877,
"end": 9878,
"loc": {
"start": {
"line": 345,
"column": 18
},
"end": {
"line": 345,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "error",
"start": 9878,
"end": 9883,
"loc": {
"start": {
"line": 345,
"column": 19
},
"end": {
"line": 345,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9883,
"end": 9884,
"loc": {
"start": {
"line": 345,
"column": 24
},
"end": {
"line": 345,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Extend schema got duplicate key:",
"start": 9884,
"end": 9918,
"loc": {
"start": {
"line": 345,
"column": 25
},
"end": {
"line": 345,
"column": 59
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9918,
"end": 9919,
"loc": {
"start": {
"line": 345,
"column": 59
},
"end": {
"line": 345,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 9920,
"end": 9923,
"loc": {
"start": {
"line": 345,
"column": 61
},
"end": {
"line": 345,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9923,
"end": 9924,
"loc": {
"start": {
"line": 345,
"column": 64
},
"end": {
"line": 345,
"column": 65
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9924,
"end": 9925,
"loc": {
"start": {
"line": 345,
"column": 65
},
"end": {
"line": 345,
"column": 66
}
}
},
{
"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": 9939,
"end": 9947,
"loc": {
"start": {
"line": 346,
"column": 12
},
"end": {
"line": 346,
"column": 20
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9947,
"end": 9948,
"loc": {
"start": {
"line": 346,
"column": 20
},
"end": {
"line": 346,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 9958,
"end": 9959,
"loc": {
"start": {
"line": 347,
"column": 8
},
"end": {
"line": 347,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "result",
"start": 9969,
"end": 9975,
"loc": {
"start": {
"line": 348,
"column": 8
},
"end": {
"line": 348,
"column": 14
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9975,
"end": 9976,
"loc": {
"start": {
"line": 348,
"column": 14
},
"end": {
"line": 348,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 9976,
"end": 9979,
"loc": {
"start": {
"line": 348,
"column": 15
},
"end": {
"line": 348,
"column": 18
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9979,
"end": 9980,
"loc": {
"start": {
"line": 348,
"column": 18
},
"end": {
"line": 348,
"column": 19
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 9981,
"end": 9982,
"loc": {
"start": {
"line": 348,
"column": 20
},
"end": {
"line": 348,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "newOne",
"start": 9983,
"end": 9989,
"loc": {
"start": {
"line": 348,
"column": 22
},
"end": {
"line": 348,
"column": 28
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9989,
"end": 9990,
"loc": {
"start": {
"line": 348,
"column": 28
},
"end": {
"line": 348,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "key",
"start": 9990,
"end": 9993,
"loc": {
"start": {
"line": 348,
"column": 29
},
"end": {
"line": 348,
"column": 32
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9993,
"end": 9994,
"loc": {
"start": {
"line": 348,
"column": 32
},
"end": {
"line": 348,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 9994,
"end": 9995,
"loc": {
"start": {
"line": 348,
"column": 33
},
"end": {
"line": 348,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10001,
"end": 10002,
"loc": {
"start": {
"line": 349,
"column": 4
},
"end": {
"line": 349,
"column": 5
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 10008,
"end": 10014,
"loc": {
"start": {
"line": 350,
"column": 4
},
"end": {
"line": 350,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "result",
"start": 10015,
"end": 10021,
"loc": {
"start": {
"line": 350,
"column": 11
},
"end": {
"line": 350,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10021,
"end": 10022,
"loc": {
"start": {
"line": 350,
"column": 17
},
"end": {
"line": 350,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 10024,
"end": 10025,
"loc": {
"start": {
"line": 351,
"column": 0
},
"end": {
"line": 351,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 10027,
"end": 10027,
"loc": {
"start": {
"line": 352,
"column": 0
},
"end": {
"line": 352,
"column": 0
}
}
}
]
}