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

6368 lines
157 KiB
JSON

{
"type": "File",
"start": 0,
"end": 937,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 36,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 937,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 36,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 43,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 43
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 24
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 16
},
"identifierName": "default"
},
"name": "default"
},
"local": {
"type": "Identifier",
"start": 20,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"column": 24
},
"identifierName": "Item"
},
"name": "Item"
}
}
],
"source": {
"type": "StringLiteral",
"start": 32,
"end": 43,
"loc": {
"start": {
"line": 1,
"column": 32
},
"end": {
"line": 1,
"column": 43
}
},
"extra": {
"rawValue": "./Item.js",
"raw": "'./Item.js'"
},
"value": "./Item.js"
}
},
{
"type": "ImportDeclaration",
"start": 44,
"end": 112,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 68
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 53,
"end": 66,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 22
}
},
"imported": {
"type": "Identifier",
"start": 53,
"end": 66,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 22
},
"identifierName": "logItemHelper"
},
"name": "logItemHelper"
},
"local": {
"type": "Identifier",
"start": 53,
"end": 66,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 22
},
"identifierName": "logItemHelper"
},
"name": "logItemHelper"
}
}
],
"source": {
"type": "StringLiteral",
"start": 74,
"end": 112,
"loc": {
"start": {
"line": 2,
"column": 30
},
"end": {
"line": 2,
"column": 68
}
},
"extra": {
"rawValue": "../MessageHandler/messageToString.js",
"raw": "'../MessageHandler/messageToString.js'"
},
"value": "../MessageHandler/messageToString.js"
}
},
{
"type": "ExportDefaultDeclaration",
"start": 114,
"end": 936,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 35,
"column": 1
}
},
"declaration": {
"type": "ClassDeclaration",
"start": 129,
"end": 936,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 35,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 135,
"end": 144,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 30
},
"identifierName": "ItemEmbed"
},
"name": "ItemEmbed"
},
"superClass": {
"type": "Identifier",
"start": 153,
"end": 157,
"loc": {
"start": {
"line": 4,
"column": 39
},
"end": {
"line": 4,
"column": 43
},
"identifierName": "Item"
},
"name": "Item"
},
"body": {
"type": "ClassBody",
"start": 158,
"end": 936,
"loc": {
"start": {
"line": 4,
"column": 44
},
"end": {
"line": 35,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 162,
"end": 216,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 8,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 162,
"end": 173,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 5,
"column": 13
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 177,
"end": 216,
"loc": {
"start": {
"line": 5,
"column": 17
},
"end": {
"line": 8,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 183,
"end": 190,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 183,
"end": 190,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 11
}
},
"callee": {
"type": "Super",
"start": 183,
"end": 188,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 9
}
}
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 195,
"end": 212,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 21
}
},
"expression": {
"type": "AssignmentExpression",
"start": 195,
"end": 212,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 21
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 195,
"end": 205,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 14
}
},
"object": {
"type": "ThisExpression",
"start": 195,
"end": 199,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 200,
"end": 205,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 14
},
"identifierName": "embed"
},
"name": "embed"
},
"computed": false
},
"right": {
"type": "NullLiteral",
"start": 208,
"end": 212,
"loc": {
"start": {
"line": 7,
"column": 17
},
"end": {
"line": 7,
"column": 21
}
}
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 219,
"end": 372,
"loc": {
"start": {
"line": 9,
"column": 2
},
"end": {
"line": 13,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 219,
"end": 224,
"loc": {
"start": {
"line": 9,
"column": 2
},
"end": {
"line": 9,
"column": 7
},
"identifierName": "_copy"
},
"name": "_copy"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 226,
"end": 242,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 25
},
"identifierName": "undeleteChildren"
},
"name": "undeleteChildren"
},
{
"type": "Identifier",
"start": 244,
"end": 256,
"loc": {
"start": {
"line": 9,
"column": 27
},
"end": {
"line": 9,
"column": 39
},
"identifierName": "copyPosition"
},
"name": "copyPosition"
}
],
"body": {
"type": "BlockStatement",
"start": 258,
"end": 372,
"loc": {
"start": {
"line": 9,
"column": 41
},
"end": {
"line": 13,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 264,
"end": 320,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 60
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 268,
"end": 320,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 60
}
},
"id": {
"type": "Identifier",
"start": 268,
"end": 274,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 14
},
"identifierName": "struct"
},
"name": "struct"
},
"init": {
"type": "CallExpression",
"start": 277,
"end": 320,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 60
}
},
"callee": {
"type": "MemberExpression",
"start": 277,
"end": 288,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 28
}
},
"object": {
"type": "Super",
"start": 277,
"end": 282,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 22
}
}
},
"property": {
"type": "Identifier",
"start": 283,
"end": 288,
"loc": {
"start": {
"line": 10,
"column": 23
},
"end": {
"line": 10,
"column": 28
},
"identifierName": "_copy"
},
"name": "_copy"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 289,
"end": 305,
"loc": {
"start": {
"line": 10,
"column": 29
},
"end": {
"line": 10,
"column": 45
},
"identifierName": "undeleteChildren"
},
"name": "undeleteChildren"
},
{
"type": "Identifier",
"start": 307,
"end": 319,
"loc": {
"start": {
"line": 10,
"column": 47
},
"end": {
"line": 10,
"column": 59
},
"identifierName": "copyPosition"
},
"name": "copyPosition"
}
]
}
}
],
"kind": "let"
},
{
"type": "ExpressionStatement",
"start": 325,
"end": 350,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 325,
"end": 350,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 29
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 325,
"end": 337,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 16
}
},
"object": {
"type": "Identifier",
"start": 325,
"end": 331,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 10
},
"identifierName": "struct"
},
"name": "struct"
},
"property": {
"type": "Identifier",
"start": 332,
"end": 337,
"loc": {
"start": {
"line": 11,
"column": 11
},
"end": {
"line": 11,
"column": 16
},
"identifierName": "embed"
},
"name": "embed"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 340,
"end": 350,
"loc": {
"start": {
"line": 11,
"column": 19
},
"end": {
"line": 11,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 340,
"end": 344,
"loc": {
"start": {
"line": 11,
"column": 19
},
"end": {
"line": 11,
"column": 23
}
}
},
"property": {
"type": "Identifier",
"start": 345,
"end": 350,
"loc": {
"start": {
"line": 11,
"column": 24
},
"end": {
"line": 11,
"column": 29
},
"identifierName": "embed"
},
"name": "embed"
},
"computed": false
}
}
},
{
"type": "ReturnStatement",
"start": 355,
"end": 368,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 17
}
},
"argument": {
"type": "Identifier",
"start": 362,
"end": 368,
"loc": {
"start": {
"line": 12,
"column": 11
},
"end": {
"line": 12,
"column": 17
},
"identifierName": "struct"
},
"name": "struct"
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 375,
"end": 408,
"loc": {
"start": {
"line": 14,
"column": 2
},
"end": {
"line": 16,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 379,
"end": 386,
"loc": {
"start": {
"line": 14,
"column": 6
},
"end": {
"line": 14,
"column": 13
},
"identifierName": "_length"
},
"name": "_length"
},
"kind": "get",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 390,
"end": 408,
"loc": {
"start": {
"line": 14,
"column": 17
},
"end": {
"line": 16,
"column": 3
}
},
"body": [
{
"type": "ReturnStatement",
"start": 396,
"end": 404,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 12
}
},
"argument": {
"type": "NumericLiteral",
"start": 403,
"end": 404,
"loc": {
"start": {
"line": 15,
"column": 11
},
"end": {
"line": 15,
"column": 12
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 411,
"end": 563,
"loc": {
"start": {
"line": 17,
"column": 2
},
"end": {
"line": 21,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 411,
"end": 422,
"loc": {
"start": {
"line": 17,
"column": 2
},
"end": {
"line": 17,
"column": 13
},
"identifierName": "_fromBinary"
},
"name": "_fromBinary"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 424,
"end": 425,
"loc": {
"start": {
"line": 17,
"column": 15
},
"end": {
"line": 17,
"column": 16
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 427,
"end": 434,
"loc": {
"start": {
"line": 17,
"column": 18
},
"end": {
"line": 17,
"column": 25
},
"identifierName": "decoder"
},
"name": "decoder"
}
],
"body": {
"type": "BlockStatement",
"start": 436,
"end": 563,
"loc": {
"start": {
"line": 17,
"column": 27
},
"end": {
"line": 21,
"column": 3
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 442,
"end": 487,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 49
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 448,
"end": 487,
"loc": {
"start": {
"line": 18,
"column": 10
},
"end": {
"line": 18,
"column": 49
}
},
"id": {
"type": "Identifier",
"start": 448,
"end": 455,
"loc": {
"start": {
"line": 18,
"column": 10
},
"end": {
"line": 18,
"column": 17
},
"identifierName": "missing"
},
"name": "missing"
},
"init": {
"type": "CallExpression",
"start": 458,
"end": 487,
"loc": {
"start": {
"line": 18,
"column": 20
},
"end": {
"line": 18,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
"start": 458,
"end": 475,
"loc": {
"start": {
"line": 18,
"column": 20
},
"end": {
"line": 18,
"column": 37
}
},
"object": {
"type": "Super",
"start": 458,
"end": 463,
"loc": {
"start": {
"line": 18,
"column": 20
},
"end": {
"line": 18,
"column": 25
}
}
},
"property": {
"type": "Identifier",
"start": 464,
"end": 475,
"loc": {
"start": {
"line": 18,
"column": 26
},
"end": {
"line": 18,
"column": 37
},
"identifierName": "_fromBinary"
},
"name": "_fromBinary"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 476,
"end": 477,
"loc": {
"start": {
"line": 18,
"column": 38
},
"end": {
"line": 18,
"column": 39
},
"identifierName": "y"
},
"name": "y"
},
{
"type": "Identifier",
"start": 479,
"end": 486,
"loc": {
"start": {
"line": 18,
"column": 41
},
"end": {
"line": 18,
"column": 48
},
"identifierName": "decoder"
},
"name": "decoder"
}
]
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 492,
"end": 540,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 52
}
},
"expression": {
"type": "AssignmentExpression",
"start": 492,
"end": 540,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 52
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 492,
"end": 502,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 14
}
},
"object": {
"type": "ThisExpression",
"start": 492,
"end": 496,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 8
}
}
},
"property": {
"type": "Identifier",
"start": 497,
"end": 502,
"loc": {
"start": {
"line": 19,
"column": 9
},
"end": {
"line": 19,
"column": 14
},
"identifierName": "embed"
},
"name": "embed"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 505,
"end": 540,
"loc": {
"start": {
"line": 19,
"column": 17
},
"end": {
"line": 19,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
"start": 505,
"end": 515,
"loc": {
"start": {
"line": 19,
"column": 17
},
"end": {
"line": 19,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 505,
"end": 509,
"loc": {
"start": {
"line": 19,
"column": 17
},
"end": {
"line": 19,
"column": 21
},
"identifierName": "JSON"
},
"name": "JSON"
},
"property": {
"type": "Identifier",
"start": 510,
"end": 515,
"loc": {
"start": {
"line": 19,
"column": 22
},
"end": {
"line": 19,
"column": 27
},
"identifierName": "parse"
},
"name": "parse"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 516,
"end": 539,
"loc": {
"start": {
"line": 19,
"column": 28
},
"end": {
"line": 19,
"column": 51
}
},
"callee": {
"type": "MemberExpression",
"start": 516,
"end": 537,
"loc": {
"start": {
"line": 19,
"column": 28
},
"end": {
"line": 19,
"column": 49
}
},
"object": {
"type": "Identifier",
"start": 516,
"end": 523,
"loc": {
"start": {
"line": 19,
"column": 28
},
"end": {
"line": 19,
"column": 35
},
"identifierName": "decoder"
},
"name": "decoder"
},
"property": {
"type": "Identifier",
"start": 524,
"end": 537,
"loc": {
"start": {
"line": 19,
"column": 36
},
"end": {
"line": 19,
"column": 49
},
"identifierName": "readVarString"
},
"name": "readVarString"
},
"computed": false
},
"arguments": []
}
]
}
}
},
{
"type": "ReturnStatement",
"start": 545,
"end": 559,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 18
}
},
"argument": {
"type": "Identifier",
"start": 552,
"end": 559,
"loc": {
"start": {
"line": 20,
"column": 11
},
"end": {
"line": 20,
"column": 18
},
"identifierName": "missing"
},
"name": "missing"
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 566,
"end": 675,
"loc": {
"start": {
"line": 22,
"column": 2
},
"end": {
"line": 25,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 566,
"end": 575,
"loc": {
"start": {
"line": 22,
"column": 2
},
"end": {
"line": 22,
"column": 11
},
"identifierName": "_toBinary"
},
"name": "_toBinary"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 577,
"end": 584,
"loc": {
"start": {
"line": 22,
"column": 13
},
"end": {
"line": 22,
"column": 20
},
"identifierName": "encoder"
},
"name": "encoder"
}
],
"body": {
"type": "BlockStatement",
"start": 586,
"end": 675,
"loc": {
"start": {
"line": 22,
"column": 22
},
"end": {
"line": 25,
"column": 3
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 592,
"end": 616,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 28
}
},
"expression": {
"type": "CallExpression",
"start": 592,
"end": 616,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 28
}
},
"callee": {
"type": "MemberExpression",
"start": 592,
"end": 607,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 19
}
},
"object": {
"type": "Super",
"start": 592,
"end": 597,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 9
}
}
},
"property": {
"type": "Identifier",
"start": 598,
"end": 607,
"loc": {
"start": {
"line": 23,
"column": 10
},
"end": {
"line": 23,
"column": 19
},
"identifierName": "_toBinary"
},
"name": "_toBinary"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 608,
"end": 615,
"loc": {
"start": {
"line": 23,
"column": 20
},
"end": {
"line": 23,
"column": 27
},
"identifierName": "encoder"
},
"name": "encoder"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 621,
"end": 671,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 621,
"end": 671,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 54
}
},
"callee": {
"type": "MemberExpression",
"start": 621,
"end": 643,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 26
}
},
"object": {
"type": "Identifier",
"start": 621,
"end": 628,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 11
},
"identifierName": "encoder"
},
"name": "encoder"
},
"property": {
"type": "Identifier",
"start": 629,
"end": 643,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 26
},
"identifierName": "writeVarString"
},
"name": "writeVarString"
},
"computed": false
},
"arguments": [
{
"type": "CallExpression",
"start": 644,
"end": 670,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 644,
"end": 658,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"column": 41
}
},
"object": {
"type": "Identifier",
"start": 644,
"end": 648,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"column": 31
},
"identifierName": "JSON"
},
"name": "JSON"
},
"property": {
"type": "Identifier",
"start": 649,
"end": 658,
"loc": {
"start": {
"line": 24,
"column": 32
},
"end": {
"line": 24,
"column": 41
},
"identifierName": "stringify"
},
"name": "stringify"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 659,
"end": 669,
"loc": {
"start": {
"line": 24,
"column": 42
},
"end": {
"line": 24,
"column": 52
}
},
"object": {
"type": "ThisExpression",
"start": 659,
"end": 663,
"loc": {
"start": {
"line": 24,
"column": 42
},
"end": {
"line": 24,
"column": 46
}
}
},
"property": {
"type": "Identifier",
"start": 664,
"end": 669,
"loc": {
"start": {
"line": 24,
"column": 47
},
"end": {
"line": 24,
"column": 52
},
"identifierName": "embed"
},
"name": "embed"
},
"computed": false
}
]
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "*\n * Transform this YXml Type to a readable format.\n * Useful for logging as all Items and Delete implement this method.\n *\n * @private\n ",
"start": 678,
"end": 829,
"loc": {
"start": {
"line": 26,
"column": 2
},
"end": {
"line": 31,
"column": 5
}
}
}
]
},
{
"type": "ClassMethod",
"start": 832,
"end": 934,
"loc": {
"start": {
"line": 32,
"column": 2
},
"end": {
"line": 34,
"column": 3
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 832,
"end": 842,
"loc": {
"start": {
"line": 32,
"column": 2
},
"end": {
"line": 32,
"column": 12
},
"identifierName": "_logString"
},
"name": "_logString",
"leadingComments": null
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 846,
"end": 934,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 34,
"column": 3
}
},
"body": [
{
"type": "ReturnStatement",
"start": 852,
"end": 930,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 82
}
},
"argument": {
"type": "CallExpression",
"start": 859,
"end": 930,
"loc": {
"start": {
"line": 33,
"column": 11
},
"end": {
"line": 33,
"column": 82
}
},
"callee": {
"type": "Identifier",
"start": 859,
"end": 872,
"loc": {
"start": {
"line": 33,
"column": 11
},
"end": {
"line": 33,
"column": 24
},
"identifierName": "logItemHelper"
},
"name": "logItemHelper"
},
"arguments": [
{
"type": "StringLiteral",
"start": 873,
"end": 884,
"loc": {
"start": {
"line": 33,
"column": 25
},
"end": {
"line": 33,
"column": 36
}
},
"extra": {
"rawValue": "ItemEmbed",
"raw": "'ItemEmbed'"
},
"value": "ItemEmbed"
},
{
"type": "ThisExpression",
"start": 886,
"end": 890,
"loc": {
"start": {
"line": 33,
"column": 38
},
"end": {
"line": 33,
"column": 42
}
}
},
{
"type": "TemplateLiteral",
"start": 892,
"end": 929,
"loc": {
"start": {
"line": 33,
"column": 44
},
"end": {
"line": 33,
"column": 81
}
},
"expressions": [
{
"type": "CallExpression",
"start": 901,
"end": 927,
"loc": {
"start": {
"line": 33,
"column": 53
},
"end": {
"line": 33,
"column": 79
}
},
"callee": {
"type": "MemberExpression",
"start": 901,
"end": 915,
"loc": {
"start": {
"line": 33,
"column": 53
},
"end": {
"line": 33,
"column": 67
}
},
"object": {
"type": "Identifier",
"start": 901,
"end": 905,
"loc": {
"start": {
"line": 33,
"column": 53
},
"end": {
"line": 33,
"column": 57
},
"identifierName": "JSON"
},
"name": "JSON"
},
"property": {
"type": "Identifier",
"start": 906,
"end": 915,
"loc": {
"start": {
"line": 33,
"column": 58
},
"end": {
"line": 33,
"column": 67
},
"identifierName": "stringify"
},
"name": "stringify"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 916,
"end": 926,
"loc": {
"start": {
"line": 33,
"column": 68
},
"end": {
"line": 33,
"column": 78
}
},
"object": {
"type": "ThisExpression",
"start": 916,
"end": 920,
"loc": {
"start": {
"line": 33,
"column": 68
},
"end": {
"line": 33,
"column": 72
}
}
},
"property": {
"type": "Identifier",
"start": 921,
"end": 926,
"loc": {
"start": {
"line": 33,
"column": 73
},
"end": {
"line": 33,
"column": 78
},
"identifierName": "embed"
},
"name": "embed"
},
"computed": false
}
]
}
],
"quasis": [
{
"type": "TemplateElement",
"start": 893,
"end": 899,
"loc": {
"start": {
"line": 33,
"column": 45
},
"end": {
"line": 33,
"column": 51
}
},
"value": {
"raw": "embed:",
"cooked": "embed:"
},
"tail": false
},
{
"type": "TemplateElement",
"start": 928,
"end": 928,
"loc": {
"start": {
"line": 33,
"column": 80
},
"end": {
"line": 33,
"column": 80
}
},
"value": {
"raw": "",
"cooked": ""
},
"tail": true
}
]
}
]
}
}
],
"directives": []
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "*\n * Transform this YXml Type to a readable format.\n * Useful for logging as all Items and Delete implement this method.\n *\n * @private\n ",
"start": 678,
"end": 829,
"loc": {
"start": {
"line": 26,
"column": 2
},
"end": {
"line": 31,
"column": 5
}
}
}
]
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "*\n * Transform this YXml Type to a readable format.\n * Useful for logging as all Items and Delete implement this method.\n *\n * @private\n ",
"start": 678,
"end": 829,
"loc": {
"start": {
"line": 26,
"column": 2
},
"end": {
"line": 31,
"column": 5
}
}
}
],
"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": "default",
"keyword": "default",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "default",
"start": 9,
"end": 16,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "as",
"start": 17,
"end": 19,
"loc": {
"start": {
"line": 1,
"column": 17
},
"end": {
"line": 1,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Item",
"start": 20,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"column": 24
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 25,
"end": 26,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 27,
"end": 31,
"loc": {
"start": {
"line": 1,
"column": 27
},
"end": {
"line": 1,
"column": 31
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "./Item.js",
"start": 32,
"end": 43,
"loc": {
"start": {
"line": 1,
"column": 32
},
"end": {
"line": 1,
"column": 43
}
}
},
{
"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": 44,
"end": 50,
"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": 51,
"end": 52,
"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": "logItemHelper",
"start": 53,
"end": 66,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 22
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 67,
"end": 68,
"loc": {
"start": {
"line": 2,
"column": 23
},
"end": {
"line": 2,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 69,
"end": 73,
"loc": {
"start": {
"line": 2,
"column": 25
},
"end": {
"line": 2,
"column": 29
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../MessageHandler/messageToString.js",
"start": 74,
"end": 112,
"loc": {
"start": {
"line": 2,
"column": 30
},
"end": {
"line": 2,
"column": 68
}
}
},
{
"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": 114,
"end": 120,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 6
}
}
},
{
"type": {
"label": "default",
"keyword": "default",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "default",
"start": 121,
"end": 128,
"loc": {
"start": {
"line": 4,
"column": 7
},
"end": {
"line": 4,
"column": 14
}
}
},
{
"type": {
"label": "class",
"keyword": "class",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "class",
"start": 129,
"end": 134,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 4,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "ItemEmbed",
"start": 135,
"end": 144,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 30
}
}
},
{
"type": {
"label": "extends",
"keyword": "extends",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "extends",
"start": 145,
"end": 152,
"loc": {
"start": {
"line": 4,
"column": 31
},
"end": {
"line": 4,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Item",
"start": 153,
"end": 157,
"loc": {
"start": {
"line": 4,
"column": 39
},
"end": {
"line": 4,
"column": 43
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 158,
"end": 159,
"loc": {
"start": {
"line": 4,
"column": 44
},
"end": {
"line": 4,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 162,
"end": 173,
"loc": {
"start": {
"line": 5,
"column": 2
},
"end": {
"line": 5,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 174,
"end": 175,
"loc": {
"start": {
"line": 5,
"column": 14
},
"end": {
"line": 5,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 175,
"end": 176,
"loc": {
"start": {
"line": 5,
"column": 15
},
"end": {
"line": 5,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 177,
"end": 178,
"loc": {
"start": {
"line": 5,
"column": 17
},
"end": {
"line": 5,
"column": 18
}
}
},
{
"type": {
"label": "super",
"keyword": "super",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "super",
"start": 183,
"end": 188,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 9
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 188,
"end": 189,
"loc": {
"start": {
"line": 6,
"column": 9
},
"end": {
"line": 6,
"column": 10
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 189,
"end": 190,
"loc": {
"start": {
"line": 6,
"column": 10
},
"end": {
"line": 6,
"column": 11
}
}
},
{
"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": 195,
"end": 199,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 199,
"end": 200,
"loc": {
"start": {
"line": 7,
"column": 8
},
"end": {
"line": 7,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "embed",
"start": 200,
"end": 205,
"loc": {
"start": {
"line": 7,
"column": 9
},
"end": {
"line": 7,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 206,
"end": 207,
"loc": {
"start": {
"line": 7,
"column": 15
},
"end": {
"line": 7,
"column": 16
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 208,
"end": 212,
"loc": {
"start": {
"line": 7,
"column": 17
},
"end": {
"line": 7,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 215,
"end": 216,
"loc": {
"start": {
"line": 8,
"column": 2
},
"end": {
"line": 8,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_copy",
"start": 219,
"end": 224,
"loc": {
"start": {
"line": 9,
"column": 2
},
"end": {
"line": 9,
"column": 7
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 225,
"end": 226,
"loc": {
"start": {
"line": 9,
"column": 8
},
"end": {
"line": 9,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undeleteChildren",
"start": 226,
"end": 242,
"loc": {
"start": {
"line": 9,
"column": 9
},
"end": {
"line": 9,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 242,
"end": 243,
"loc": {
"start": {
"line": 9,
"column": 25
},
"end": {
"line": 9,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "copyPosition",
"start": 244,
"end": 256,
"loc": {
"start": {
"line": 9,
"column": 27
},
"end": {
"line": 9,
"column": 39
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 256,
"end": 257,
"loc": {
"start": {
"line": 9,
"column": 39
},
"end": {
"line": 9,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 258,
"end": 259,
"loc": {
"start": {
"line": 9,
"column": 41
},
"end": {
"line": 9,
"column": 42
}
}
},
{
"type": {
"label": "let",
"keyword": "let",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "let",
"start": 264,
"end": 267,
"loc": {
"start": {
"line": 10,
"column": 4
},
"end": {
"line": 10,
"column": 7
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 268,
"end": 274,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 275,
"end": 276,
"loc": {
"start": {
"line": 10,
"column": 15
},
"end": {
"line": 10,
"column": 16
}
}
},
{
"type": {
"label": "super",
"keyword": "super",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "super",
"start": 277,
"end": 282,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 282,
"end": 283,
"loc": {
"start": {
"line": 10,
"column": 22
},
"end": {
"line": 10,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_copy",
"start": 283,
"end": 288,
"loc": {
"start": {
"line": 10,
"column": 23
},
"end": {
"line": 10,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 288,
"end": 289,
"loc": {
"start": {
"line": 10,
"column": 28
},
"end": {
"line": 10,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undeleteChildren",
"start": 289,
"end": 305,
"loc": {
"start": {
"line": 10,
"column": 29
},
"end": {
"line": 10,
"column": 45
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 305,
"end": 306,
"loc": {
"start": {
"line": 10,
"column": 45
},
"end": {
"line": 10,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "copyPosition",
"start": 307,
"end": 319,
"loc": {
"start": {
"line": 10,
"column": 47
},
"end": {
"line": 10,
"column": 59
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 319,
"end": 320,
"loc": {
"start": {
"line": 10,
"column": 59
},
"end": {
"line": 10,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 325,
"end": 331,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 10
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 331,
"end": 332,
"loc": {
"start": {
"line": 11,
"column": 10
},
"end": {
"line": 11,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "embed",
"start": 332,
"end": 337,
"loc": {
"start": {
"line": 11,
"column": 11
},
"end": {
"line": 11,
"column": 16
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 338,
"end": 339,
"loc": {
"start": {
"line": 11,
"column": 17
},
"end": {
"line": 11,
"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": 340,
"end": 344,
"loc": {
"start": {
"line": 11,
"column": 19
},
"end": {
"line": 11,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 344,
"end": 345,
"loc": {
"start": {
"line": 11,
"column": 23
},
"end": {
"line": 11,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "embed",
"start": 345,
"end": 350,
"loc": {
"start": {
"line": 11,
"column": 24
},
"end": {
"line": 11,
"column": 29
}
}
},
{
"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": 355,
"end": 361,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "struct",
"start": 362,
"end": 368,
"loc": {
"start": {
"line": 12,
"column": 11
},
"end": {
"line": 12,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 371,
"end": 372,
"loc": {
"start": {
"line": 13,
"column": 2
},
"end": {
"line": 13,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "get",
"start": 375,
"end": 378,
"loc": {
"start": {
"line": 14,
"column": 2
},
"end": {
"line": 14,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_length",
"start": 379,
"end": 386,
"loc": {
"start": {
"line": 14,
"column": 6
},
"end": {
"line": 14,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 387,
"end": 388,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 388,
"end": 389,
"loc": {
"start": {
"line": 14,
"column": 15
},
"end": {
"line": 14,
"column": 16
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 390,
"end": 391,
"loc": {
"start": {
"line": 14,
"column": 17
},
"end": {
"line": 14,
"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": 396,
"end": 402,
"loc": {
"start": {
"line": 15,
"column": 4
},
"end": {
"line": 15,
"column": 10
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 403,
"end": 404,
"loc": {
"start": {
"line": 15,
"column": 11
},
"end": {
"line": 15,
"column": 12
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 407,
"end": 408,
"loc": {
"start": {
"line": 16,
"column": 2
},
"end": {
"line": 16,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_fromBinary",
"start": 411,
"end": 422,
"loc": {
"start": {
"line": 17,
"column": 2
},
"end": {
"line": 17,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 423,
"end": 424,
"loc": {
"start": {
"line": 17,
"column": 14
},
"end": {
"line": 17,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 424,
"end": 425,
"loc": {
"start": {
"line": 17,
"column": 15
},
"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": 425,
"end": 426,
"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": "decoder",
"start": 427,
"end": 434,
"loc": {
"start": {
"line": 17,
"column": 18
},
"end": {
"line": 17,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 434,
"end": 435,
"loc": {
"start": {
"line": 17,
"column": 25
},
"end": {
"line": 17,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 436,
"end": 437,
"loc": {
"start": {
"line": 17,
"column": 27
},
"end": {
"line": 17,
"column": 28
}
}
},
{
"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": 442,
"end": 447,
"loc": {
"start": {
"line": 18,
"column": 4
},
"end": {
"line": 18,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "missing",
"start": 448,
"end": 455,
"loc": {
"start": {
"line": 18,
"column": 10
},
"end": {
"line": 18,
"column": 17
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 456,
"end": 457,
"loc": {
"start": {
"line": 18,
"column": 18
},
"end": {
"line": 18,
"column": 19
}
}
},
{
"type": {
"label": "super",
"keyword": "super",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "super",
"start": 458,
"end": 463,
"loc": {
"start": {
"line": 18,
"column": 20
},
"end": {
"line": 18,
"column": 25
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 463,
"end": 464,
"loc": {
"start": {
"line": 18,
"column": 25
},
"end": {
"line": 18,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_fromBinary",
"start": 464,
"end": 475,
"loc": {
"start": {
"line": 18,
"column": 26
},
"end": {
"line": 18,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 475,
"end": 476,
"loc": {
"start": {
"line": 18,
"column": 37
},
"end": {
"line": 18,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "y",
"start": 476,
"end": 477,
"loc": {
"start": {
"line": 18,
"column": 38
},
"end": {
"line": 18,
"column": 39
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 477,
"end": 478,
"loc": {
"start": {
"line": 18,
"column": 39
},
"end": {
"line": 18,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 479,
"end": 486,
"loc": {
"start": {
"line": 18,
"column": 41
},
"end": {
"line": 18,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 486,
"end": 487,
"loc": {
"start": {
"line": 18,
"column": 48
},
"end": {
"line": 18,
"column": 49
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 492,
"end": 496,
"loc": {
"start": {
"line": 19,
"column": 4
},
"end": {
"line": 19,
"column": 8
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 496,
"end": 497,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "embed",
"start": 497,
"end": 502,
"loc": {
"start": {
"line": 19,
"column": 9
},
"end": {
"line": 19,
"column": 14
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 503,
"end": 504,
"loc": {
"start": {
"line": 19,
"column": 15
},
"end": {
"line": 19,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "JSON",
"start": 505,
"end": 509,
"loc": {
"start": {
"line": 19,
"column": 17
},
"end": {
"line": 19,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 509,
"end": 510,
"loc": {
"start": {
"line": 19,
"column": 21
},
"end": {
"line": 19,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parse",
"start": 510,
"end": 515,
"loc": {
"start": {
"line": 19,
"column": 22
},
"end": {
"line": 19,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 515,
"end": 516,
"loc": {
"start": {
"line": 19,
"column": 27
},
"end": {
"line": 19,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "decoder",
"start": 516,
"end": 523,
"loc": {
"start": {
"line": 19,
"column": 28
},
"end": {
"line": 19,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 523,
"end": 524,
"loc": {
"start": {
"line": 19,
"column": 35
},
"end": {
"line": 19,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readVarString",
"start": 524,
"end": 537,
"loc": {
"start": {
"line": 19,
"column": 36
},
"end": {
"line": 19,
"column": 49
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 537,
"end": 538,
"loc": {
"start": {
"line": 19,
"column": 49
},
"end": {
"line": 19,
"column": 50
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 538,
"end": 539,
"loc": {
"start": {
"line": 19,
"column": 50
},
"end": {
"line": 19,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 539,
"end": 540,
"loc": {
"start": {
"line": 19,
"column": 51
},
"end": {
"line": 19,
"column": 52
}
}
},
{
"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": 545,
"end": 551,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "missing",
"start": 552,
"end": 559,
"loc": {
"start": {
"line": 20,
"column": 11
},
"end": {
"line": 20,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 562,
"end": 563,
"loc": {
"start": {
"line": 21,
"column": 2
},
"end": {
"line": 21,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_toBinary",
"start": 566,
"end": 575,
"loc": {
"start": {
"line": 22,
"column": 2
},
"end": {
"line": 22,
"column": 11
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 576,
"end": 577,
"loc": {
"start": {
"line": 22,
"column": 12
},
"end": {
"line": 22,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 577,
"end": 584,
"loc": {
"start": {
"line": 22,
"column": 13
},
"end": {
"line": 22,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 584,
"end": 585,
"loc": {
"start": {
"line": 22,
"column": 20
},
"end": {
"line": 22,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 586,
"end": 587,
"loc": {
"start": {
"line": 22,
"column": 22
},
"end": {
"line": 22,
"column": 23
}
}
},
{
"type": {
"label": "super",
"keyword": "super",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "super",
"start": 592,
"end": 597,
"loc": {
"start": {
"line": 23,
"column": 4
},
"end": {
"line": 23,
"column": 9
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 597,
"end": 598,
"loc": {
"start": {
"line": 23,
"column": 9
},
"end": {
"line": 23,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_toBinary",
"start": 598,
"end": 607,
"loc": {
"start": {
"line": 23,
"column": 10
},
"end": {
"line": 23,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 607,
"end": 608,
"loc": {
"start": {
"line": 23,
"column": 19
},
"end": {
"line": 23,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 608,
"end": 615,
"loc": {
"start": {
"line": 23,
"column": 20
},
"end": {
"line": 23,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 615,
"end": 616,
"loc": {
"start": {
"line": 23,
"column": 27
},
"end": {
"line": 23,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "encoder",
"start": 621,
"end": 628,
"loc": {
"start": {
"line": 24,
"column": 4
},
"end": {
"line": 24,
"column": 11
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 628,
"end": 629,
"loc": {
"start": {
"line": 24,
"column": 11
},
"end": {
"line": 24,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeVarString",
"start": 629,
"end": 643,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 643,
"end": 644,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 24,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "JSON",
"start": 644,
"end": 648,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 648,
"end": 649,
"loc": {
"start": {
"line": 24,
"column": 31
},
"end": {
"line": 24,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stringify",
"start": 649,
"end": 658,
"loc": {
"start": {
"line": 24,
"column": 32
},
"end": {
"line": 24,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 658,
"end": 659,
"loc": {
"start": {
"line": 24,
"column": 41
},
"end": {
"line": 24,
"column": 42
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 659,
"end": 663,
"loc": {
"start": {
"line": 24,
"column": 42
},
"end": {
"line": 24,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 663,
"end": 664,
"loc": {
"start": {
"line": 24,
"column": 46
},
"end": {
"line": 24,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "embed",
"start": 664,
"end": 669,
"loc": {
"start": {
"line": 24,
"column": 47
},
"end": {
"line": 24,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 669,
"end": 670,
"loc": {
"start": {
"line": 24,
"column": 52
},
"end": {
"line": 24,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 670,
"end": 671,
"loc": {
"start": {
"line": 24,
"column": 53
},
"end": {
"line": 24,
"column": 54
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 674,
"end": 675,
"loc": {
"start": {
"line": 25,
"column": 2
},
"end": {
"line": 25,
"column": 3
}
}
},
{
"type": "CommentBlock",
"value": "*\n * Transform this YXml Type to a readable format.\n * Useful for logging as all Items and Delete implement this method.\n *\n * @private\n ",
"start": 678,
"end": 829,
"loc": {
"start": {
"line": 26,
"column": 2
},
"end": {
"line": 31,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_logString",
"start": 832,
"end": 842,
"loc": {
"start": {
"line": 32,
"column": 2
},
"end": {
"line": 32,
"column": 12
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 843,
"end": 844,
"loc": {
"start": {
"line": 32,
"column": 13
},
"end": {
"line": 32,
"column": 14
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 844,
"end": 845,
"loc": {
"start": {
"line": 32,
"column": 14
},
"end": {
"line": 32,
"column": 15
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 846,
"end": 847,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"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": 852,
"end": 858,
"loc": {
"start": {
"line": 33,
"column": 4
},
"end": {
"line": 33,
"column": 10
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logItemHelper",
"start": 859,
"end": 872,
"loc": {
"start": {
"line": 33,
"column": 11
},
"end": {
"line": 33,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 872,
"end": 873,
"loc": {
"start": {
"line": 33,
"column": 24
},
"end": {
"line": 33,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "ItemEmbed",
"start": 873,
"end": 884,
"loc": {
"start": {
"line": 33,
"column": 25
},
"end": {
"line": 33,
"column": 36
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 884,
"end": 885,
"loc": {
"start": {
"line": 33,
"column": 36
},
"end": {
"line": 33,
"column": 37
}
}
},
{
"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": 886,
"end": 890,
"loc": {
"start": {
"line": 33,
"column": 38
},
"end": {
"line": 33,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 890,
"end": 891,
"loc": {
"start": {
"line": 33,
"column": 42
},
"end": {
"line": 33,
"column": 43
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 892,
"end": 893,
"loc": {
"start": {
"line": 33,
"column": 44
},
"end": {
"line": 33,
"column": 45
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "embed:",
"start": 893,
"end": 899,
"loc": {
"start": {
"line": 33,
"column": 45
},
"end": {
"line": 33,
"column": 51
}
}
},
{
"type": {
"label": "${",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 899,
"end": 901,
"loc": {
"start": {
"line": 33,
"column": 51
},
"end": {
"line": 33,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "JSON",
"start": 901,
"end": 905,
"loc": {
"start": {
"line": 33,
"column": 53
},
"end": {
"line": 33,
"column": 57
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 905,
"end": 906,
"loc": {
"start": {
"line": 33,
"column": 57
},
"end": {
"line": 33,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "stringify",
"start": 906,
"end": 915,
"loc": {
"start": {
"line": 33,
"column": 58
},
"end": {
"line": 33,
"column": 67
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 915,
"end": 916,
"loc": {
"start": {
"line": 33,
"column": 67
},
"end": {
"line": 33,
"column": 68
}
}
},
{
"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": 916,
"end": 920,
"loc": {
"start": {
"line": 33,
"column": 68
},
"end": {
"line": 33,
"column": 72
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 920,
"end": 921,
"loc": {
"start": {
"line": 33,
"column": 72
},
"end": {
"line": 33,
"column": 73
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "embed",
"start": 921,
"end": 926,
"loc": {
"start": {
"line": 33,
"column": 73
},
"end": {
"line": 33,
"column": 78
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 926,
"end": 927,
"loc": {
"start": {
"line": 33,
"column": 78
},
"end": {
"line": 33,
"column": 79
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 927,
"end": 928,
"loc": {
"start": {
"line": 33,
"column": 79
},
"end": {
"line": 33,
"column": 80
}
}
},
{
"type": {
"label": "template",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "",
"start": 928,
"end": 928,
"loc": {
"start": {
"line": 33,
"column": 80
},
"end": {
"line": 33,
"column": 80
}
}
},
{
"type": {
"label": "`",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 928,
"end": 929,
"loc": {
"start": {
"line": 33,
"column": 80
},
"end": {
"line": 33,
"column": 81
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 929,
"end": 930,
"loc": {
"start": {
"line": 33,
"column": 81
},
"end": {
"line": 33,
"column": 82
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 933,
"end": 934,
"loc": {
"start": {
"line": 34,
"column": 2
},
"end": {
"line": 34,
"column": 3
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 935,
"end": 936,
"loc": {
"start": {
"line": 35,
"column": 0
},
"end": {
"line": 35,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 937,
"end": 937,
"loc": {
"start": {
"line": 36,
"column": 0
},
"end": {
"line": 36,
"column": 0
}
}
}
]
}