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

16935 lines
450 KiB
JSON

{
"type": "File",
"start": 0,
"end": 3388,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 99,
"column": 0
}
},
"program": {
"type": "Program",
"start": 0,
"end": 3388,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 99,
"column": 0
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 62,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 62
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 9,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 23
}
},
"imported": {
"type": "Identifier",
"start": 9,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 23
},
"identifierName": "FILE_NOT_FOUND"
},
"name": "FILE_NOT_FOUND"
},
"local": {
"type": "Identifier",
"start": 9,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 23
},
"identifierName": "FILE_NOT_FOUND"
},
"name": "FILE_NOT_FOUND"
}
},
{
"type": "ImportSpecifier",
"start": 25,
"end": 41,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 41
}
},
"imported": {
"type": "Identifier",
"start": 25,
"end": 41,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 41
},
"identifierName": "StorageInterface"
},
"name": "StorageInterface"
},
"local": {
"type": "Identifier",
"start": 25,
"end": 41,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 41
},
"identifierName": "StorageInterface"
},
"name": "StorageInterface"
}
}
],
"source": {
"type": "StringLiteral",
"start": 49,
"end": 61,
"loc": {
"start": {
"line": 1,
"column": 49
},
"end": {
"line": 1,
"column": 61
}
},
"extra": {
"rawValue": "../storage",
"raw": "\"../storage\""
},
"value": "../storage"
}
},
{
"type": "ImportDeclaration",
"start": 64,
"end": 114,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 50
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 73,
"end": 85,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 21
}
},
"imported": {
"type": "Identifier",
"start": 73,
"end": 85,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 21
},
"identifierName": "createLogger"
},
"name": "createLogger"
},
"local": {
"type": "Identifier",
"start": 73,
"end": 85,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 21
},
"identifierName": "createLogger"
},
"name": "createLogger"
}
}
],
"source": {
"type": "StringLiteral",
"start": 93,
"end": 113,
"loc": {
"start": {
"line": 2,
"column": 29
},
"end": {
"line": 2,
"column": 49
}
},
"extra": {
"rawValue": "../../core/logging",
"raw": "\"../../core/logging\""
},
"value": "../../core/logging"
}
},
{
"type": "VariableDeclaration",
"start": 118,
"end": 165,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 47
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 124,
"end": 164,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 46
}
},
"id": {
"type": "Identifier",
"start": 124,
"end": 130,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 12
},
"identifierName": "logger"
},
"name": "logger"
},
"init": {
"type": "CallExpression",
"start": 133,
"end": 164,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 4,
"column": 46
}
},
"callee": {
"type": "Identifier",
"start": 133,
"end": 145,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 4,
"column": 27
},
"identifierName": "createLogger"
},
"name": "createLogger"
},
"arguments": [
{
"type": "StringLiteral",
"start": 146,
"end": 163,
"loc": {
"start": {
"line": 4,
"column": 28
},
"end": {
"line": 4,
"column": 45
}
},
"extra": {
"rawValue": "storage/browser",
"raw": "\"storage/browser\""
},
"value": "storage/browser"
}
]
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 169,
"end": 231,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 62
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 175,
"end": 230,
"loc": {
"start": {
"line": 6,
"column": 6
},
"end": {
"line": 6,
"column": 61
}
},
"id": {
"type": "Identifier",
"start": 175,
"end": 200,
"loc": {
"start": {
"line": 6,
"column": 6
},
"end": {
"line": 6,
"column": 31
},
"identifierName": "LOCAL_STORAGE_UNAVAILABLE"
},
"name": "LOCAL_STORAGE_UNAVAILABLE"
},
"init": {
"type": "StringLiteral",
"start": 203,
"end": 230,
"loc": {
"start": {
"line": 6,
"column": 34
},
"end": {
"line": 6,
"column": 61
}
},
"extra": {
"rawValue": "local-storage-unavailable",
"raw": "\"local-storage-unavailable\""
},
"value": "local-storage-unavailable"
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 233,
"end": 311,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 78
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 239,
"end": 310,
"loc": {
"start": {
"line": 7,
"column": 6
},
"end": {
"line": 7,
"column": 77
}
},
"id": {
"type": "Identifier",
"start": 239,
"end": 272,
"loc": {
"start": {
"line": 7,
"column": 6
},
"end": {
"line": 7,
"column": 39
},
"identifierName": "LOCAL_STORAGE_NO_WRITE_PERMISSION"
},
"name": "LOCAL_STORAGE_NO_WRITE_PERMISSION"
},
"init": {
"type": "StringLiteral",
"start": 275,
"end": 310,
"loc": {
"start": {
"line": 7,
"column": 42
},
"end": {
"line": 7,
"column": 77
}
},
"extra": {
"rawValue": "local-storage-no-write-permission",
"raw": "\"local-storage-no-write-permission\""
},
"value": "local-storage-no-write-permission"
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 315,
"end": 341,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 319,
"end": 340,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 25
}
},
"id": {
"type": "Identifier",
"start": 319,
"end": 330,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 15
},
"identifierName": "randomDelay"
},
"name": "randomDelay"
},
"init": {
"type": "ArrowFunctionExpression",
"start": 333,
"end": 340,
"loc": {
"start": {
"line": 9,
"column": 18
},
"end": {
"line": 9,
"column": 25
}
},
"id": {
"type": "Identifier",
"start": 319,
"end": 330,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 15
},
"identifierName": "randomDelay"
},
"name": "randomDelay"
},
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "NumericLiteral",
"start": 339,
"end": 340,
"loc": {
"start": {
"line": 9,
"column": 24
},
"end": {
"line": 9,
"column": 25
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
}
}
],
"kind": "let"
},
{
"type": "IfStatement",
"start": 345,
"end": 429,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 14,
"column": 1
}
},
"test": {
"type": "Identifier",
"start": 349,
"end": 357,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 12
},
"identifierName": "G_IS_DEV"
},
"name": "G_IS_DEV"
},
"consequent": {
"type": "BlockStatement",
"start": 359,
"end": 429,
"loc": {
"start": {
"line": 11,
"column": 14
},
"end": {
"line": 14,
"column": 1
}
},
"body": [],
"directives": [],
"leadingComments": null,
"innerComments": [
{
"type": "CommentLine",
"value": " Random delay for testing",
"start": 366,
"end": 393,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " randomDelay = () => 500;",
"start": 399,
"end": 426,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 31
}
}
}
]
},
"alternate": null
},
{
"type": "ExportNamedDeclaration",
"start": 433,
"end": 3386,
"loc": {
"start": {
"line": 16,
"column": 0
},
"end": {
"line": 98,
"column": 1
}
},
"specifiers": [],
"source": null,
"declaration": {
"type": "ClassDeclaration",
"start": 440,
"end": 3386,
"loc": {
"start": {
"line": 16,
"column": 7
},
"end": {
"line": 98,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 446,
"end": 464,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 31
},
"identifierName": "StorageImplBrowser"
},
"name": "StorageImplBrowser"
},
"superClass": {
"type": "Identifier",
"start": 473,
"end": 489,
"loc": {
"start": {
"line": 16,
"column": 40
},
"end": {
"line": 16,
"column": 56
},
"identifierName": "StorageInterface"
},
"name": "StorageInterface"
},
"body": {
"type": "ClassBody",
"start": 490,
"end": 3386,
"loc": {
"start": {
"line": 16,
"column": 57
},
"end": {
"line": 98,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 497,
"end": 586,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 20,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 497,
"end": 508,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 509,
"end": 512,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 19
},
"identifierName": "app"
},
"name": "app"
}
],
"body": {
"type": "BlockStatement",
"start": 514,
"end": 586,
"loc": {
"start": {
"line": 17,
"column": 21
},
"end": {
"line": 20,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 525,
"end": 536,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 19
}
},
"expression": {
"type": "CallExpression",
"start": 525,
"end": 535,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 18
}
},
"callee": {
"type": "Super",
"start": 525,
"end": 530,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 531,
"end": 534,
"loc": {
"start": {
"line": 18,
"column": 14
},
"end": {
"line": 18,
"column": 17
},
"identifierName": "app"
},
"name": "app"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 546,
"end": 579,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 41
}
},
"expression": {
"type": "AssignmentExpression",
"start": 546,
"end": 578,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 40
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 546,
"end": 570,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 546,
"end": 550,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 551,
"end": 570,
"loc": {
"start": {
"line": 19,
"column": 13
},
"end": {
"line": 19,
"column": 32
},
"identifierName": "currentBusyFilename"
},
"name": "currentBusyFilename"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 573,
"end": 578,
"loc": {
"start": {
"line": 19,
"column": 35
},
"end": {
"line": 19,
"column": 40
}
},
"value": false
}
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 594,
"end": 1613,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 44,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 594,
"end": 604,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 14
},
"identifierName": "initialize"
},
"name": "initialize"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 607,
"end": 1613,
"loc": {
"start": {
"line": 22,
"column": 17
},
"end": {
"line": 44,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 618,
"end": 687,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 77
}
},
"expression": {
"type": "CallExpression",
"start": 618,
"end": 686,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 76
}
},
"callee": {
"type": "MemberExpression",
"start": 618,
"end": 630,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 618,
"end": 624,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 14
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 625,
"end": 630,
"loc": {
"start": {
"line": 23,
"column": 15
},
"end": {
"line": 23,
"column": 20
},
"identifierName": "error"
},
"name": "error"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 631,
"end": 685,
"loc": {
"start": {
"line": 23,
"column": 21
},
"end": {
"line": 23,
"column": 75
}
},
"extra": {
"rawValue": "Using localStorage, please update to a newer browser",
"raw": "\"Using localStorage, please update to a newer browser\""
},
"value": "Using localStorage, please update to a newer browser"
}
]
}
},
{
"type": "ReturnStatement",
"start": 697,
"end": 1606,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 43,
"column": 11
}
},
"argument": {
"type": "NewExpression",
"start": 704,
"end": 1605,
"loc": {
"start": {
"line": 24,
"column": 15
},
"end": {
"line": 43,
"column": 10
}
},
"callee": {
"type": "Identifier",
"start": 708,
"end": 715,
"loc": {
"start": {
"line": 24,
"column": 19
},
"end": {
"line": 24,
"column": 26
},
"identifierName": "Promise"
},
"name": "Promise"
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 716,
"end": 1604,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 43,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 717,
"end": 724,
"loc": {
"start": {
"line": 24,
"column": 28
},
"end": {
"line": 24,
"column": 35
},
"identifierName": "resolve"
},
"name": "resolve"
},
{
"type": "Identifier",
"start": 726,
"end": 732,
"loc": {
"start": {
"line": 24,
"column": 37
},
"end": {
"line": 24,
"column": 43
},
"identifierName": "reject"
},
"name": "reject"
}
],
"body": {
"type": "BlockStatement",
"start": 737,
"end": 1604,
"loc": {
"start": {
"line": 24,
"column": 48
},
"end": {
"line": 43,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 816,
"end": 1004,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 29,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 820,
"end": 840,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 36
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 821,
"end": 840,
"loc": {
"start": {
"line": 26,
"column": 17
},
"end": {
"line": 26,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 821,
"end": 827,
"loc": {
"start": {
"line": 26,
"column": 17
},
"end": {
"line": 26,
"column": 23
},
"identifierName": "window"
},
"name": "window",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 828,
"end": 840,
"loc": {
"start": {
"line": 26,
"column": 24
},
"end": {
"line": 26,
"column": 36
},
"identifierName": "localStorage"
},
"name": "localStorage"
},
"computed": false,
"leadingComments": null
},
"extra": {
"parenthesizedArgument": false
},
"leadingComments": null
},
"consequent": {
"type": "BlockStatement",
"start": 842,
"end": 1004,
"loc": {
"start": {
"line": 26,
"column": 38
},
"end": {
"line": 29,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 861,
"end": 937,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 92
}
},
"expression": {
"type": "CallExpression",
"start": 861,
"end": 936,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 91
}
},
"callee": {
"type": "Identifier",
"start": 861,
"end": 866,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 21
},
"identifierName": "alert"
},
"name": "alert"
},
"arguments": [
{
"type": "StringLiteral",
"start": 867,
"end": 935,
"loc": {
"start": {
"line": 27,
"column": 22
},
"end": {
"line": 27,
"column": 90
}
},
"extra": {
"rawValue": "Local storage is not available! Please upgrade to a newer browser!",
"raw": "\"Local storage is not available! Please upgrade to a newer browser!\""
},
"value": "Local storage is not available! Please upgrade to a newer browser!"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 955,
"end": 989,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 50
}
},
"expression": {
"type": "CallExpression",
"start": 955,
"end": 988,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 49
}
},
"callee": {
"type": "Identifier",
"start": 955,
"end": 961,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 22
},
"identifierName": "reject"
},
"name": "reject"
},
"arguments": [
{
"type": "Identifier",
"start": 962,
"end": 987,
"loc": {
"start": {
"line": 28,
"column": 23
},
"end": {
"line": 28,
"column": 48
},
"identifierName": "LOCAL_STORAGE_UNAVAILABLE"
},
"name": "LOCAL_STORAGE_UNAVAILABLE"
}
]
}
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Check for local storage availability in general",
"start": 752,
"end": 802,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 62
}
}
}
],
"trailingComments": [
{
"type": "CommentLine",
"value": " Check if we can set and remove items",
"start": 1020,
"end": 1059,
"loc": {
"start": {
"line": 31,
"column": 12
},
"end": {
"line": 31,
"column": 51
}
}
}
]
},
{
"type": "TryStatement",
"start": 1073,
"end": 1556,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 41,
"column": 13
}
},
"block": {
"type": "BlockStatement",
"start": 1077,
"end": 1251,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 35,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1096,
"end": 1158,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 78
}
},
"expression": {
"type": "CallExpression",
"start": 1096,
"end": 1157,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 77
}
},
"callee": {
"type": "MemberExpression",
"start": 1096,
"end": 1123,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 1096,
"end": 1115,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 1096,
"end": 1102,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 22
},
"identifierName": "window"
},
"name": "window",
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1103,
"end": 1115,
"loc": {
"start": {
"line": 33,
"column": 23
},
"end": {
"line": 33,
"column": 35
},
"identifierName": "localStorage"
},
"name": "localStorage"
},
"computed": false,
"leadingComments": null
},
"property": {
"type": "Identifier",
"start": 1116,
"end": 1123,
"loc": {
"start": {
"line": 33,
"column": 36
},
"end": {
"line": 33,
"column": 43
},
"identifierName": "setItem"
},
"name": "setItem"
},
"computed": false,
"leadingComments": null
},
"arguments": [
{
"type": "StringLiteral",
"start": 1124,
"end": 1151,
"loc": {
"start": {
"line": 33,
"column": 44
},
"end": {
"line": 33,
"column": 71
}
},
"extra": {
"rawValue": "storage_availability_test",
"raw": "\"storage_availability_test\""
},
"value": "storage_availability_test"
},
{
"type": "StringLiteral",
"start": 1153,
"end": 1156,
"loc": {
"start": {
"line": 33,
"column": 73
},
"end": {
"line": 33,
"column": 76
}
},
"extra": {
"rawValue": "1",
"raw": "\"1\""
},
"value": "1"
}
],
"leadingComments": null
},
"leadingComments": null
},
{
"type": "ExpressionStatement",
"start": 1176,
"end": 1236,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 76
}
},
"expression": {
"type": "CallExpression",
"start": 1176,
"end": 1235,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 75
}
},
"callee": {
"type": "MemberExpression",
"start": 1176,
"end": 1206,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 1176,
"end": 1195,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 1176,
"end": 1182,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 22
},
"identifierName": "window"
},
"name": "window"
},
"property": {
"type": "Identifier",
"start": 1183,
"end": 1195,
"loc": {
"start": {
"line": 34,
"column": 23
},
"end": {
"line": 34,
"column": 35
},
"identifierName": "localStorage"
},
"name": "localStorage"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1196,
"end": 1206,
"loc": {
"start": {
"line": 34,
"column": 36
},
"end": {
"line": 34,
"column": 46
},
"identifierName": "removeItem"
},
"name": "removeItem"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1207,
"end": 1234,
"loc": {
"start": {
"line": 34,
"column": 47
},
"end": {
"line": 34,
"column": 74
}
},
"extra": {
"rawValue": "storage_availability_test",
"raw": "\"storage_availability_test\""
},
"value": "storage_availability_test"
}
]
}
}
],
"directives": [],
"leadingComments": null
},
"handler": {
"type": "CatchClause",
"start": 1252,
"end": 1556,
"loc": {
"start": {
"line": 35,
"column": 14
},
"end": {
"line": 41,
"column": 13
}
},
"param": {
"type": "Identifier",
"start": 1259,
"end": 1260,
"loc": {
"start": {
"line": 35,
"column": 21
},
"end": {
"line": 35,
"column": 22
},
"identifierName": "e"
},
"name": "e"
},
"body": {
"type": "BlockStatement",
"start": 1262,
"end": 1556,
"loc": {
"start": {
"line": 35,
"column": 24
},
"end": {
"line": 41,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1281,
"end": 1456,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 38,
"column": 18
}
},
"expression": {
"type": "CallExpression",
"start": 1281,
"end": 1455,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 38,
"column": 17
}
},
"callee": {
"type": "Identifier",
"start": 1281,
"end": 1286,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 21
},
"identifierName": "alert"
},
"name": "alert"
},
"arguments": [
{
"type": "StringLiteral",
"start": 1309,
"end": 1436,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 147
}
},
"extra": {
"rawValue": "It seems we don't have permission to write to local storage! Please update your browsers settings or use a different browser!",
"raw": "\"It seems we don't have permission to write to local storage! Please update your browsers settings or use a different browser!\""
},
"value": "It seems we don't have permission to write to local storage! Please update your browsers settings or use a different browser!"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1474,
"end": 1516,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 58
}
},
"expression": {
"type": "CallExpression",
"start": 1474,
"end": 1515,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 57
}
},
"callee": {
"type": "Identifier",
"start": 1474,
"end": 1480,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 22
},
"identifierName": "reject"
},
"name": "reject"
},
"arguments": [
{
"type": "Identifier",
"start": 1481,
"end": 1514,
"loc": {
"start": {
"line": 39,
"column": 23
},
"end": {
"line": 39,
"column": 56
},
"identifierName": "LOCAL_STORAGE_NO_WRITE_PERMISSION"
},
"name": "LOCAL_STORAGE_NO_WRITE_PERMISSION"
}
]
}
},
{
"type": "ReturnStatement",
"start": 1534,
"end": 1541,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 23
}
},
"argument": null
}
],
"directives": []
}
},
"guardedHandlers": [],
"finalizer": null,
"leadingComments": [
{
"type": "CommentLine",
"value": " Check if we can set and remove items",
"start": 1020,
"end": 1059,
"loc": {
"start": {
"line": 31,
"column": 12
},
"end": {
"line": 31,
"column": 51
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 1570,
"end": 1593,
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 1570,
"end": 1592,
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 34
}
},
"callee": {
"type": "Identifier",
"start": 1570,
"end": 1580,
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 22
},
"identifierName": "setTimeout"
},
"name": "setTimeout"
},
"arguments": [
{
"type": "Identifier",
"start": 1581,
"end": 1588,
"loc": {
"start": {
"line": 42,
"column": 23
},
"end": {
"line": 42,
"column": 30
},
"identifierName": "resolve"
},
"name": "resolve"
},
{
"type": "NumericLiteral",
"start": 1590,
"end": 1591,
"loc": {
"start": {
"line": 42,
"column": 32
},
"end": {
"line": 42,
"column": 33
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
]
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1621,
"end": 2126,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 59,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1621,
"end": 1635,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 18
},
"identifierName": "writeFileAsync"
},
"name": "writeFileAsync"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1636,
"end": 1644,
"loc": {
"start": {
"line": 46,
"column": 19
},
"end": {
"line": 46,
"column": 27
},
"identifierName": "filename"
},
"name": "filename"
},
{
"type": "Identifier",
"start": 1646,
"end": 1654,
"loc": {
"start": {
"line": 46,
"column": 29
},
"end": {
"line": 46,
"column": 37
},
"identifierName": "contents"
},
"name": "contents"
}
],
"body": {
"type": "BlockStatement",
"start": 1656,
"end": 2126,
"loc": {
"start": {
"line": 46,
"column": 39
},
"end": {
"line": 59,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 1667,
"end": 1818,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 49,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 1671,
"end": 1708,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 49
}
},
"left": {
"type": "MemberExpression",
"start": 1671,
"end": 1695,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 36
}
},
"object": {
"type": "ThisExpression",
"start": 1671,
"end": 1675,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1676,
"end": 1695,
"loc": {
"start": {
"line": 47,
"column": 17
},
"end": {
"line": 47,
"column": 36
},
"identifierName": "currentBusyFilename"
},
"name": "currentBusyFilename"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 1700,
"end": 1708,
"loc": {
"start": {
"line": 47,
"column": 41
},
"end": {
"line": 47,
"column": 49
},
"identifierName": "filename"
},
"name": "filename"
}
},
"consequent": {
"type": "BlockStatement",
"start": 1710,
"end": 1818,
"loc": {
"start": {
"line": 47,
"column": 51
},
"end": {
"line": 49,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1725,
"end": 1807,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 94
}
},
"expression": {
"type": "CallExpression",
"start": 1725,
"end": 1806,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 93
}
},
"callee": {
"type": "MemberExpression",
"start": 1725,
"end": 1736,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 1725,
"end": 1731,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 1732,
"end": 1736,
"loc": {
"start": {
"line": 48,
"column": 19
},
"end": {
"line": 48,
"column": 23
},
"identifierName": "warn"
},
"name": "warn"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1737,
"end": 1755,
"loc": {
"start": {
"line": 48,
"column": 24
},
"end": {
"line": 48,
"column": 42
}
},
"extra": {
"rawValue": "Attempt to write",
"raw": "\"Attempt to write\""
},
"value": "Attempt to write"
},
{
"type": "Identifier",
"start": 1757,
"end": 1765,
"loc": {
"start": {
"line": 48,
"column": 44
},
"end": {
"line": 48,
"column": 52
},
"identifierName": "filename"
},
"name": "filename"
},
{
"type": "StringLiteral",
"start": 1767,
"end": 1805,
"loc": {
"start": {
"line": 48,
"column": 54
},
"end": {
"line": 48,
"column": 92
}
},
"extra": {
"rawValue": "while write process is not finished!",
"raw": "\"while write process is not finished!\""
},
"value": "while write process is not finished!"
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1830,
"end": 1866,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 44
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1830,
"end": 1865,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 43
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1830,
"end": 1854,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 1830,
"end": 1834,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1835,
"end": 1854,
"loc": {
"start": {
"line": 51,
"column": 13
},
"end": {
"line": 51,
"column": 32
},
"identifierName": "currentBusyFilename"
},
"name": "currentBusyFilename"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1857,
"end": 1865,
"loc": {
"start": {
"line": 51,
"column": 35
},
"end": {
"line": 51,
"column": 43
},
"identifierName": "filename"
},
"name": "filename"
}
}
},
{
"type": "ExpressionStatement",
"start": 1876,
"end": 1924,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 1876,
"end": 1923,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1876,
"end": 1903,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 1876,
"end": 1895,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 1876,
"end": 1882,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 14
},
"identifierName": "window"
},
"name": "window"
},
"property": {
"type": "Identifier",
"start": 1883,
"end": 1895,
"loc": {
"start": {
"line": 52,
"column": 15
},
"end": {
"line": 52,
"column": 27
},
"identifierName": "localStorage"
},
"name": "localStorage"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1896,
"end": 1903,
"loc": {
"start": {
"line": 52,
"column": 28
},
"end": {
"line": 52,
"column": 35
},
"identifierName": "setItem"
},
"name": "setItem"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 1904,
"end": 1912,
"loc": {
"start": {
"line": 52,
"column": 36
},
"end": {
"line": 52,
"column": 44
},
"identifierName": "filename"
},
"name": "filename"
},
{
"type": "Identifier",
"start": 1914,
"end": 1922,
"loc": {
"start": {
"line": 52,
"column": 46
},
"end": {
"line": 52,
"column": 54
},
"identifierName": "contents"
},
"name": "contents"
}
]
}
},
{
"type": "ReturnStatement",
"start": 1934,
"end": 2119,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 58,
"column": 11
}
},
"argument": {
"type": "NewExpression",
"start": 1941,
"end": 2118,
"loc": {
"start": {
"line": 53,
"column": 15
},
"end": {
"line": 58,
"column": 10
}
},
"callee": {
"type": "Identifier",
"start": 1945,
"end": 1952,
"loc": {
"start": {
"line": 53,
"column": 19
},
"end": {
"line": 53,
"column": 26
},
"identifierName": "Promise"
},
"name": "Promise"
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 1953,
"end": 2117,
"loc": {
"start": {
"line": 53,
"column": 27
},
"end": {
"line": 58,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1954,
"end": 1961,
"loc": {
"start": {
"line": 53,
"column": 28
},
"end": {
"line": 53,
"column": 35
},
"identifierName": "resolve"
},
"name": "resolve"
},
{
"type": "Identifier",
"start": 1963,
"end": 1969,
"loc": {
"start": {
"line": 53,
"column": 37
},
"end": {
"line": 53,
"column": 43
},
"identifierName": "reject"
},
"name": "reject"
}
],
"body": {
"type": "BlockStatement",
"start": 1974,
"end": 2117,
"loc": {
"start": {
"line": 53,
"column": 48
},
"end": {
"line": 58,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1989,
"end": 2106,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 57,
"column": 18
}
},
"expression": {
"type": "CallExpression",
"start": 1989,
"end": 2105,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 57,
"column": 17
}
},
"callee": {
"type": "Identifier",
"start": 1989,
"end": 1999,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 22
},
"identifierName": "setTimeout"
},
"name": "setTimeout"
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 2000,
"end": 2101,
"loc": {
"start": {
"line": 54,
"column": 23
},
"end": {
"line": 57,
"column": 13
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2006,
"end": 2101,
"loc": {
"start": {
"line": 54,
"column": 29
},
"end": {
"line": 57,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2025,
"end": 2058,
"loc": {
"start": {
"line": 55,
"column": 16
},
"end": {
"line": 55,
"column": 49
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2025,
"end": 2057,
"loc": {
"start": {
"line": 55,
"column": 16
},
"end": {
"line": 55,
"column": 48
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2025,
"end": 2049,
"loc": {
"start": {
"line": 55,
"column": 16
},
"end": {
"line": 55,
"column": 40
}
},
"object": {
"type": "ThisExpression",
"start": 2025,
"end": 2029,
"loc": {
"start": {
"line": 55,
"column": 16
},
"end": {
"line": 55,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 2030,
"end": 2049,
"loc": {
"start": {
"line": 55,
"column": 21
},
"end": {
"line": 55,
"column": 40
},
"identifierName": "currentBusyFilename"
},
"name": "currentBusyFilename"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 2052,
"end": 2057,
"loc": {
"start": {
"line": 55,
"column": 43
},
"end": {
"line": 55,
"column": 48
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 2076,
"end": 2086,
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 26
}
},
"expression": {
"type": "CallExpression",
"start": 2076,
"end": 2085,
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 25
}
},
"callee": {
"type": "Identifier",
"start": 2076,
"end": 2083,
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 23
},
"identifierName": "resolve"
},
"name": "resolve"
},
"arguments": []
}
}
],
"directives": []
}
},
{
"type": "NumericLiteral",
"start": 2103,
"end": 2104,
"loc": {
"start": {
"line": 57,
"column": 15
},
"end": {
"line": 57,
"column": 16
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
]
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 2134,
"end": 2267,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 64,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2134,
"end": 2158,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 28
},
"identifierName": "writeFileSyncIfSupported"
},
"name": "writeFileSyncIfSupported"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2159,
"end": 2167,
"loc": {
"start": {
"line": 61,
"column": 29
},
"end": {
"line": 61,
"column": 37
},
"identifierName": "filename"
},
"name": "filename"
},
{
"type": "Identifier",
"start": 2169,
"end": 2177,
"loc": {
"start": {
"line": 61,
"column": 39
},
"end": {
"line": 61,
"column": 47
},
"identifierName": "contents"
},
"name": "contents"
}
],
"body": {
"type": "BlockStatement",
"start": 2179,
"end": 2267,
"loc": {
"start": {
"line": 61,
"column": 49
},
"end": {
"line": 64,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2190,
"end": 2238,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 62,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 2190,
"end": 2237,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 62,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 2190,
"end": 2217,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 62,
"column": 35
}
},
"object": {
"type": "MemberExpression",
"start": 2190,
"end": 2209,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 62,
"column": 27
}
},
"object": {
"type": "Identifier",
"start": 2190,
"end": 2196,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 62,
"column": 14
},
"identifierName": "window"
},
"name": "window"
},
"property": {
"type": "Identifier",
"start": 2197,
"end": 2209,
"loc": {
"start": {
"line": 62,
"column": 15
},
"end": {
"line": 62,
"column": 27
},
"identifierName": "localStorage"
},
"name": "localStorage"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2210,
"end": 2217,
"loc": {
"start": {
"line": 62,
"column": 28
},
"end": {
"line": 62,
"column": 35
},
"identifierName": "setItem"
},
"name": "setItem"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2218,
"end": 2226,
"loc": {
"start": {
"line": 62,
"column": 36
},
"end": {
"line": 62,
"column": 44
},
"identifierName": "filename"
},
"name": "filename"
},
{
"type": "Identifier",
"start": 2228,
"end": 2236,
"loc": {
"start": {
"line": 62,
"column": 46
},
"end": {
"line": 62,
"column": 54
},
"identifierName": "contents"
},
"name": "contents"
}
]
}
},
{
"type": "ReturnStatement",
"start": 2248,
"end": 2260,
"loc": {
"start": {
"line": 63,
"column": 8
},
"end": {
"line": 63,
"column": 20
}
},
"argument": {
"type": "BooleanLiteral",
"start": 2255,
"end": 2259,
"loc": {
"start": {
"line": 63,
"column": 15
},
"end": {
"line": 63,
"column": 19
}
},
"value": true
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 2275,
"end": 2880,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 82,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2275,
"end": 2288,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 66,
"column": 17
},
"identifierName": "readFileAsync"
},
"name": "readFileAsync"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2289,
"end": 2297,
"loc": {
"start": {
"line": 66,
"column": 18
},
"end": {
"line": 66,
"column": 26
},
"identifierName": "filename"
},
"name": "filename"
}
],
"body": {
"type": "BlockStatement",
"start": 2299,
"end": 2880,
"loc": {
"start": {
"line": 66,
"column": 28
},
"end": {
"line": 82,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 2310,
"end": 2462,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 69,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 2314,
"end": 2351,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 49
}
},
"left": {
"type": "MemberExpression",
"start": 2314,
"end": 2338,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 36
}
},
"object": {
"type": "ThisExpression",
"start": 2314,
"end": 2318,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2319,
"end": 2338,
"loc": {
"start": {
"line": 67,
"column": 17
},
"end": {
"line": 67,
"column": 36
},
"identifierName": "currentBusyFilename"
},
"name": "currentBusyFilename"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 2343,
"end": 2351,
"loc": {
"start": {
"line": 67,
"column": 41
},
"end": {
"line": 67,
"column": 49
},
"identifierName": "filename"
},
"name": "filename"
}
},
"consequent": {
"type": "BlockStatement",
"start": 2353,
"end": 2462,
"loc": {
"start": {
"line": 67,
"column": 51
},
"end": {
"line": 69,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2368,
"end": 2451,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 95
}
},
"expression": {
"type": "CallExpression",
"start": 2368,
"end": 2450,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 94
}
},
"callee": {
"type": "MemberExpression",
"start": 2368,
"end": 2379,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 2368,
"end": 2374,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 2375,
"end": 2379,
"loc": {
"start": {
"line": 68,
"column": 19
},
"end": {
"line": 68,
"column": 23
},
"identifierName": "warn"
},
"name": "warn"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2380,
"end": 2397,
"loc": {
"start": {
"line": 68,
"column": 24
},
"end": {
"line": 68,
"column": 41
}
},
"extra": {
"rawValue": "Attempt to read",
"raw": "\"Attempt to read\""
},
"value": "Attempt to read"
},
{
"type": "Identifier",
"start": 2399,
"end": 2407,
"loc": {
"start": {
"line": 68,
"column": 43
},
"end": {
"line": 68,
"column": 51
},
"identifierName": "filename"
},
"name": "filename"
},
{
"type": "StringLiteral",
"start": 2409,
"end": 2449,
"loc": {
"start": {
"line": 68,
"column": 53
},
"end": {
"line": 68,
"column": 93
}
},
"extra": {
"rawValue": "while write progress on it is ongoing!",
"raw": "\"while write progress on it is ongoing!\""
},
"value": "while write progress on it is ongoing!"
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ReturnStatement",
"start": 2474,
"end": 2873,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 81,
"column": 11
}
},
"argument": {
"type": "NewExpression",
"start": 2481,
"end": 2872,
"loc": {
"start": {
"line": 71,
"column": 15
},
"end": {
"line": 81,
"column": 10
}
},
"callee": {
"type": "Identifier",
"start": 2485,
"end": 2492,
"loc": {
"start": {
"line": 71,
"column": 19
},
"end": {
"line": 71,
"column": 26
},
"identifierName": "Promise"
},
"name": "Promise"
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 2493,
"end": 2871,
"loc": {
"start": {
"line": 71,
"column": 27
},
"end": {
"line": 81,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2494,
"end": 2501,
"loc": {
"start": {
"line": 71,
"column": 28
},
"end": {
"line": 71,
"column": 35
},
"identifierName": "resolve"
},
"name": "resolve"
},
{
"type": "Identifier",
"start": 2503,
"end": 2509,
"loc": {
"start": {
"line": 71,
"column": 37
},
"end": {
"line": 71,
"column": 43
},
"identifierName": "reject"
},
"name": "reject"
}
],
"body": {
"type": "BlockStatement",
"start": 2514,
"end": 2871,
"loc": {
"start": {
"line": 71,
"column": 48
},
"end": {
"line": 81,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 2529,
"end": 2584,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 67
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2535,
"end": 2583,
"loc": {
"start": {
"line": 72,
"column": 18
},
"end": {
"line": 72,
"column": 66
}
},
"id": {
"type": "Identifier",
"start": 2535,
"end": 2543,
"loc": {
"start": {
"line": 72,
"column": 18
},
"end": {
"line": 72,
"column": 26
},
"identifierName": "contents"
},
"name": "contents"
},
"init": {
"type": "CallExpression",
"start": 2546,
"end": 2583,
"loc": {
"start": {
"line": 72,
"column": 29
},
"end": {
"line": 72,
"column": 66
}
},
"callee": {
"type": "MemberExpression",
"start": 2546,
"end": 2573,
"loc": {
"start": {
"line": 72,
"column": 29
},
"end": {
"line": 72,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 2546,
"end": 2565,
"loc": {
"start": {
"line": 72,
"column": 29
},
"end": {
"line": 72,
"column": 48
}
},
"object": {
"type": "Identifier",
"start": 2546,
"end": 2552,
"loc": {
"start": {
"line": 72,
"column": 29
},
"end": {
"line": 72,
"column": 35
},
"identifierName": "window"
},
"name": "window"
},
"property": {
"type": "Identifier",
"start": 2553,
"end": 2565,
"loc": {
"start": {
"line": 72,
"column": 36
},
"end": {
"line": 72,
"column": 48
},
"identifierName": "localStorage"
},
"name": "localStorage"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2566,
"end": 2573,
"loc": {
"start": {
"line": 72,
"column": 49
},
"end": {
"line": 72,
"column": 56
},
"identifierName": "getItem"
},
"name": "getItem"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 2574,
"end": 2582,
"loc": {
"start": {
"line": 72,
"column": 57
},
"end": {
"line": 72,
"column": 65
},
"identifierName": "filename"
},
"name": "filename"
}
]
}
}
],
"kind": "const"
},
{
"type": "IfStatement",
"start": 2598,
"end": 2763,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 77,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 2602,
"end": 2611,
"loc": {
"start": {
"line": 73,
"column": 16
},
"end": {
"line": 73,
"column": 25
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 2603,
"end": 2611,
"loc": {
"start": {
"line": 73,
"column": 17
},
"end": {
"line": 73,
"column": 25
},
"identifierName": "contents"
},
"name": "contents"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2613,
"end": 2763,
"loc": {
"start": {
"line": 73,
"column": 27
},
"end": {
"line": 77,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2667,
"end": 2723,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 72
}
},
"expression": {
"type": "CallExpression",
"start": 2667,
"end": 2722,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 71
}
},
"callee": {
"type": "Identifier",
"start": 2667,
"end": 2677,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 26
},
"identifierName": "setTimeout"
},
"name": "setTimeout",
"leadingComments": null
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 2678,
"end": 2706,
"loc": {
"start": {
"line": 75,
"column": 27
},
"end": {
"line": 75,
"column": 55
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "CallExpression",
"start": 2684,
"end": 2706,
"loc": {
"start": {
"line": 75,
"column": 33
},
"end": {
"line": 75,
"column": 55
}
},
"callee": {
"type": "Identifier",
"start": 2684,
"end": 2690,
"loc": {
"start": {
"line": 75,
"column": 33
},
"end": {
"line": 75,
"column": 39
},
"identifierName": "reject"
},
"name": "reject"
},
"arguments": [
{
"type": "Identifier",
"start": 2691,
"end": 2705,
"loc": {
"start": {
"line": 75,
"column": 40
},
"end": {
"line": 75,
"column": 54
},
"identifierName": "FILE_NOT_FOUND"
},
"name": "FILE_NOT_FOUND"
}
]
}
},
{
"type": "CallExpression",
"start": 2708,
"end": 2721,
"loc": {
"start": {
"line": 75,
"column": 57
},
"end": {
"line": 75,
"column": 70
}
},
"callee": {
"type": "Identifier",
"start": 2708,
"end": 2719,
"loc": {
"start": {
"line": 75,
"column": 57
},
"end": {
"line": 75,
"column": 68
},
"identifierName": "randomDelay"
},
"name": "randomDelay"
},
"arguments": []
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " File not found",
"start": 2632,
"end": 2649,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 74,
"column": 33
}
}
}
]
},
{
"type": "ReturnStatement",
"start": 2741,
"end": 2748,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"column": 23
}
},
"argument": null
}
],
"directives": [],
"trailingComments": null
},
"alternate": null,
"trailingComments": [
{
"type": "CommentLine",
"value": " File read, simulate delay",
"start": 2779,
"end": 2807,
"loc": {
"start": {
"line": 79,
"column": 12
},
"end": {
"line": 79,
"column": 40
}
}
}
]
},
{
"type": "ExpressionStatement",
"start": 2821,
"end": 2860,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 80,
"column": 51
}
},
"expression": {
"type": "CallExpression",
"start": 2821,
"end": 2859,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 80,
"column": 50
}
},
"callee": {
"type": "Identifier",
"start": 2821,
"end": 2831,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 80,
"column": 22
},
"identifierName": "setTimeout"
},
"name": "setTimeout",
"leadingComments": null
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 2832,
"end": 2855,
"loc": {
"start": {
"line": 80,
"column": 23
},
"end": {
"line": 80,
"column": 46
}
},
"id": null,
"generator": false,
"expression": true,
"async": false,
"params": [],
"body": {
"type": "CallExpression",
"start": 2838,
"end": 2855,
"loc": {
"start": {
"line": 80,
"column": 29
},
"end": {
"line": 80,
"column": 46
}
},
"callee": {
"type": "Identifier",
"start": 2838,
"end": 2845,
"loc": {
"start": {
"line": 80,
"column": 29
},
"end": {
"line": 80,
"column": 36
},
"identifierName": "resolve"
},
"name": "resolve"
},
"arguments": [
{
"type": "Identifier",
"start": 2846,
"end": 2854,
"loc": {
"start": {
"line": 80,
"column": 37
},
"end": {
"line": 80,
"column": 45
},
"identifierName": "contents"
},
"name": "contents"
}
]
}
},
{
"type": "NumericLiteral",
"start": 2857,
"end": 2858,
"loc": {
"start": {
"line": 80,
"column": 48
},
"end": {
"line": 80,
"column": 49
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
],
"leadingComments": null
},
"leadingComments": [
{
"type": "CommentLine",
"value": " File read, simulate delay",
"start": 2779,
"end": 2807,
"loc": {
"start": {
"line": 79,
"column": 12
},
"end": {
"line": 79,
"column": 40
}
}
}
]
}
],
"directives": []
}
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 2888,
"end": 3383,
"loc": {
"start": {
"line": 84,
"column": 4
},
"end": {
"line": 97,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2888,
"end": 2903,
"loc": {
"start": {
"line": 84,
"column": 4
},
"end": {
"line": 84,
"column": 19
},
"identifierName": "deleteFileAsync"
},
"name": "deleteFileAsync"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2904,
"end": 2912,
"loc": {
"start": {
"line": 84,
"column": 20
},
"end": {
"line": 84,
"column": 28
},
"identifierName": "filename"
},
"name": "filename"
}
],
"body": {
"type": "BlockStatement",
"start": 2914,
"end": 3383,
"loc": {
"start": {
"line": 84,
"column": 30
},
"end": {
"line": 97,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 2925,
"end": 3078,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 87,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 2929,
"end": 2966,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 49
}
},
"left": {
"type": "MemberExpression",
"start": 2929,
"end": 2953,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 36
}
},
"object": {
"type": "ThisExpression",
"start": 2929,
"end": 2933,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2934,
"end": 2953,
"loc": {
"start": {
"line": 85,
"column": 17
},
"end": {
"line": 85,
"column": 36
},
"identifierName": "currentBusyFilename"
},
"name": "currentBusyFilename"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 2958,
"end": 2966,
"loc": {
"start": {
"line": 85,
"column": 41
},
"end": {
"line": 85,
"column": 49
},
"identifierName": "filename"
},
"name": "filename"
}
},
"consequent": {
"type": "BlockStatement",
"start": 2968,
"end": 3078,
"loc": {
"start": {
"line": 85,
"column": 51
},
"end": {
"line": 87,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2983,
"end": 3067,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 96
}
},
"expression": {
"type": "CallExpression",
"start": 2983,
"end": 3066,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 95
}
},
"callee": {
"type": "MemberExpression",
"start": 2983,
"end": 2994,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 23
}
},
"object": {
"type": "Identifier",
"start": 2983,
"end": 2989,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 18
},
"identifierName": "logger"
},
"name": "logger"
},
"property": {
"type": "Identifier",
"start": 2990,
"end": 2994,
"loc": {
"start": {
"line": 86,
"column": 19
},
"end": {
"line": 86,
"column": 23
},
"identifierName": "warn"
},
"name": "warn"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2995,
"end": 3014,
"loc": {
"start": {
"line": 86,
"column": 24
},
"end": {
"line": 86,
"column": 43
}
},
"extra": {
"rawValue": "Attempt to delete",
"raw": "\"Attempt to delete\""
},
"value": "Attempt to delete"
},
{
"type": "Identifier",
"start": 3016,
"end": 3024,
"loc": {
"start": {
"line": 86,
"column": 45
},
"end": {
"line": 86,
"column": 53
},
"identifierName": "filename"
},
"name": "filename"
},
{
"type": "StringLiteral",
"start": 3026,
"end": 3065,
"loc": {
"start": {
"line": 86,
"column": 55
},
"end": {
"line": 86,
"column": 94
}
},
"extra": {
"rawValue": "while write progres on it is ongoing!",
"raw": "\"while write progres on it is ongoing!\""
},
"value": "while write progres on it is ongoing!"
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 3090,
"end": 3126,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 44
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3090,
"end": 3125,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 43
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3090,
"end": 3114,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 3090,
"end": 3094,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 3095,
"end": 3114,
"loc": {
"start": {
"line": 89,
"column": 13
},
"end": {
"line": 89,
"column": 32
},
"identifierName": "currentBusyFilename"
},
"name": "currentBusyFilename"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 3117,
"end": 3125,
"loc": {
"start": {
"line": 89,
"column": 35
},
"end": {
"line": 89,
"column": 43
},
"identifierName": "filename"
},
"name": "filename"
}
}
},
{
"type": "ReturnStatement",
"start": 3136,
"end": 3376,
"loc": {
"start": {
"line": 90,
"column": 8
},
"end": {
"line": 96,
"column": 11
}
},
"argument": {
"type": "NewExpression",
"start": 3143,
"end": 3375,
"loc": {
"start": {
"line": 90,
"column": 15
},
"end": {
"line": 96,
"column": 10
}
},
"callee": {
"type": "Identifier",
"start": 3147,
"end": 3154,
"loc": {
"start": {
"line": 90,
"column": 19
},
"end": {
"line": 90,
"column": 26
},
"identifierName": "Promise"
},
"name": "Promise"
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 3155,
"end": 3374,
"loc": {
"start": {
"line": 90,
"column": 27
},
"end": {
"line": 96,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 3156,
"end": 3163,
"loc": {
"start": {
"line": 90,
"column": 28
},
"end": {
"line": 90,
"column": 35
},
"identifierName": "resolve"
},
"name": "resolve"
},
{
"type": "Identifier",
"start": 3165,
"end": 3171,
"loc": {
"start": {
"line": 90,
"column": 37
},
"end": {
"line": 90,
"column": 43
},
"identifierName": "reject"
},
"name": "reject"
}
],
"body": {
"type": "BlockStatement",
"start": 3176,
"end": 3374,
"loc": {
"start": {
"line": 90,
"column": 48
},
"end": {
"line": 96,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3191,
"end": 3232,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 53
}
},
"expression": {
"type": "CallExpression",
"start": 3191,
"end": 3231,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 52
}
},
"callee": {
"type": "MemberExpression",
"start": 3191,
"end": 3221,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 3191,
"end": 3210,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 3191,
"end": 3197,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 18
},
"identifierName": "window"
},
"name": "window"
},
"property": {
"type": "Identifier",
"start": 3198,
"end": 3210,
"loc": {
"start": {
"line": 91,
"column": 19
},
"end": {
"line": 91,
"column": 31
},
"identifierName": "localStorage"
},
"name": "localStorage"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 3211,
"end": 3221,
"loc": {
"start": {
"line": 91,
"column": 32
},
"end": {
"line": 91,
"column": 42
},
"identifierName": "removeItem"
},
"name": "removeItem"
},
"computed": false
},
"arguments": [
{
"type": "Identifier",
"start": 3222,
"end": 3230,
"loc": {
"start": {
"line": 91,
"column": 43
},
"end": {
"line": 91,
"column": 51
},
"identifierName": "filename"
},
"name": "filename"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 3246,
"end": 3363,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 95,
"column": 18
}
},
"expression": {
"type": "CallExpression",
"start": 3246,
"end": 3362,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 95,
"column": 17
}
},
"callee": {
"type": "Identifier",
"start": 3246,
"end": 3256,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 92,
"column": 22
},
"identifierName": "setTimeout"
},
"name": "setTimeout"
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 3257,
"end": 3358,
"loc": {
"start": {
"line": 92,
"column": 23
},
"end": {
"line": 95,
"column": 13
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 3263,
"end": 3358,
"loc": {
"start": {
"line": 92,
"column": 29
},
"end": {
"line": 95,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 3282,
"end": 3315,
"loc": {
"start": {
"line": 93,
"column": 16
},
"end": {
"line": 93,
"column": 49
}
},
"expression": {
"type": "AssignmentExpression",
"start": 3282,
"end": 3314,
"loc": {
"start": {
"line": 93,
"column": 16
},
"end": {
"line": 93,
"column": 48
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 3282,
"end": 3306,
"loc": {
"start": {
"line": 93,
"column": 16
},
"end": {
"line": 93,
"column": 40
}
},
"object": {
"type": "ThisExpression",
"start": 3282,
"end": 3286,
"loc": {
"start": {
"line": 93,
"column": 16
},
"end": {
"line": 93,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 3287,
"end": 3306,
"loc": {
"start": {
"line": 93,
"column": 21
},
"end": {
"line": 93,
"column": 40
},
"identifierName": "currentBusyFilename"
},
"name": "currentBusyFilename"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 3309,
"end": 3314,
"loc": {
"start": {
"line": 93,
"column": 43
},
"end": {
"line": 93,
"column": 48
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 3333,
"end": 3343,
"loc": {
"start": {
"line": 94,
"column": 16
},
"end": {
"line": 94,
"column": 26
}
},
"expression": {
"type": "CallExpression",
"start": 3333,
"end": 3342,
"loc": {
"start": {
"line": 94,
"column": 16
},
"end": {
"line": 94,
"column": 25
}
},
"callee": {
"type": "Identifier",
"start": 3333,
"end": 3340,
"loc": {
"start": {
"line": 94,
"column": 16
},
"end": {
"line": 94,
"column": 23
},
"identifierName": "resolve"
},
"name": "resolve"
},
"arguments": []
}
}
],
"directives": []
}
},
{
"type": "NumericLiteral",
"start": 3360,
"end": 3361,
"loc": {
"start": {
"line": 95,
"column": 15
},
"end": {
"line": 95,
"column": 16
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
}
]
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
}
}
]
},
"leadingComments": [],
"trailingComments": []
}
}
],
"directives": []
},
"comments": [
{
"type": "CommentLine",
"value": " Random delay for testing",
"start": 366,
"end": 393,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " randomDelay = () => 500;",
"start": 399,
"end": 426,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " Check for local storage availability in general",
"start": 752,
"end": 802,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 62
}
}
},
{
"type": "CommentLine",
"value": " Check if we can set and remove items",
"start": 1020,
"end": 1059,
"loc": {
"start": {
"line": 31,
"column": 12
},
"end": {
"line": 31,
"column": 51
}
}
},
{
"type": "CommentLine",
"value": " File not found",
"start": 2632,
"end": 2649,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 74,
"column": 33
}
}
},
{
"type": "CommentLine",
"value": " File read, simulate delay",
"start": 2779,
"end": 2807,
"loc": {
"start": {
"line": 79,
"column": 12
},
"end": {
"line": 79,
"column": 40
}
}
}
],
"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": "FILE_NOT_FOUND",
"start": 9,
"end": 23,
"loc": {
"start": {
"line": 1,
"column": 9
},
"end": {
"line": 1,
"column": 23
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 23,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 23
},
"end": {
"line": 1,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StorageInterface",
"start": 25,
"end": 41,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 42,
"end": 43,
"loc": {
"start": {
"line": 1,
"column": 42
},
"end": {
"line": 1,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 44,
"end": 48,
"loc": {
"start": {
"line": 1,
"column": 44
},
"end": {
"line": 1,
"column": 48
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../storage",
"start": 49,
"end": 61,
"loc": {
"start": {
"line": 1,
"column": 49
},
"end": {
"line": 1,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 61,
"end": 62,
"loc": {
"start": {
"line": 1,
"column": 61
},
"end": {
"line": 1,
"column": 62
}
}
},
{
"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": 64,
"end": 70,
"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": 71,
"end": 72,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "createLogger",
"start": 73,
"end": 85,
"loc": {
"start": {
"line": 2,
"column": 9
},
"end": {
"line": 2,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 86,
"end": 87,
"loc": {
"start": {
"line": 2,
"column": 22
},
"end": {
"line": 2,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 88,
"end": 92,
"loc": {
"start": {
"line": 2,
"column": 24
},
"end": {
"line": 2,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../../core/logging",
"start": 93,
"end": 113,
"loc": {
"start": {
"line": 2,
"column": 29
},
"end": {
"line": 2,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 113,
"end": 114,
"loc": {
"start": {
"line": 2,
"column": 49
},
"end": {
"line": 2,
"column": 50
}
}
},
{
"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": 118,
"end": 123,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 124,
"end": 130,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 12
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 131,
"end": 132,
"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": "createLogger",
"start": 133,
"end": 145,
"loc": {
"start": {
"line": 4,
"column": 15
},
"end": {
"line": 4,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 145,
"end": 146,
"loc": {
"start": {
"line": 4,
"column": 27
},
"end": {
"line": 4,
"column": 28
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "storage/browser",
"start": 146,
"end": 163,
"loc": {
"start": {
"line": 4,
"column": 28
},
"end": {
"line": 4,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 163,
"end": 164,
"loc": {
"start": {
"line": 4,
"column": 45
},
"end": {
"line": 4,
"column": 46
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 164,
"end": 165,
"loc": {
"start": {
"line": 4,
"column": 46
},
"end": {
"line": 4,
"column": 47
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 169,
"end": 174,
"loc": {
"start": {
"line": 6,
"column": 0
},
"end": {
"line": 6,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "LOCAL_STORAGE_UNAVAILABLE",
"start": 175,
"end": 200,
"loc": {
"start": {
"line": 6,
"column": 6
},
"end": {
"line": 6,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 201,
"end": 202,
"loc": {
"start": {
"line": 6,
"column": 32
},
"end": {
"line": 6,
"column": 33
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "local-storage-unavailable",
"start": 203,
"end": 230,
"loc": {
"start": {
"line": 6,
"column": 34
},
"end": {
"line": 6,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 230,
"end": 231,
"loc": {
"start": {
"line": 6,
"column": 61
},
"end": {
"line": 6,
"column": 62
}
}
},
{
"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": 233,
"end": 238,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "LOCAL_STORAGE_NO_WRITE_PERMISSION",
"start": 239,
"end": 272,
"loc": {
"start": {
"line": 7,
"column": 6
},
"end": {
"line": 7,
"column": 39
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 273,
"end": 274,
"loc": {
"start": {
"line": 7,
"column": 40
},
"end": {
"line": 7,
"column": 41
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "local-storage-no-write-permission",
"start": 275,
"end": 310,
"loc": {
"start": {
"line": 7,
"column": 42
},
"end": {
"line": 7,
"column": 77
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 310,
"end": 311,
"loc": {
"start": {
"line": 7,
"column": 77
},
"end": {
"line": 7,
"column": 78
}
}
},
{
"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": 315,
"end": 318,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 3
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "randomDelay",
"start": 319,
"end": 330,
"loc": {
"start": {
"line": 9,
"column": 4
},
"end": {
"line": 9,
"column": 15
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 331,
"end": 332,
"loc": {
"start": {
"line": 9,
"column": 16
},
"end": {
"line": 9,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 333,
"end": 334,
"loc": {
"start": {
"line": 9,
"column": 18
},
"end": {
"line": 9,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 334,
"end": 335,
"loc": {
"start": {
"line": 9,
"column": 19
},
"end": {
"line": 9,
"column": 20
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 336,
"end": 338,
"loc": {
"start": {
"line": 9,
"column": 21
},
"end": {
"line": 9,
"column": 23
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 339,
"end": 340,
"loc": {
"start": {
"line": 9,
"column": 24
},
"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": 340,
"end": 341,
"loc": {
"start": {
"line": 9,
"column": 25
},
"end": {
"line": 9,
"column": 26
}
}
},
{
"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": 345,
"end": 347,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 2
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 348,
"end": 349,
"loc": {
"start": {
"line": 11,
"column": 3
},
"end": {
"line": 11,
"column": 4
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "G_IS_DEV",
"start": 349,
"end": 357,
"loc": {
"start": {
"line": 11,
"column": 4
},
"end": {
"line": 11,
"column": 12
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 357,
"end": 358,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 13
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 359,
"end": 360,
"loc": {
"start": {
"line": 11,
"column": 14
},
"end": {
"line": 11,
"column": 15
}
}
},
{
"type": "CommentLine",
"value": " Random delay for testing",
"start": 366,
"end": 393,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 31
}
}
},
{
"type": "CommentLine",
"value": " randomDelay = () => 500;",
"start": 399,
"end": 426,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 428,
"end": 429,
"loc": {
"start": {
"line": 14,
"column": 0
},
"end": {
"line": 14,
"column": 1
}
}
},
{
"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": 433,
"end": 439,
"loc": {
"start": {
"line": 16,
"column": 0
},
"end": {
"line": 16,
"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": 440,
"end": 445,
"loc": {
"start": {
"line": 16,
"column": 7
},
"end": {
"line": 16,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StorageImplBrowser",
"start": 446,
"end": 464,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 31
}
}
},
{
"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": 465,
"end": 472,
"loc": {
"start": {
"line": 16,
"column": 32
},
"end": {
"line": 16,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "StorageInterface",
"start": 473,
"end": 489,
"loc": {
"start": {
"line": 16,
"column": 40
},
"end": {
"line": 16,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 490,
"end": 491,
"loc": {
"start": {
"line": 16,
"column": 57
},
"end": {
"line": 16,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 497,
"end": 508,
"loc": {
"start": {
"line": 17,
"column": 4
},
"end": {
"line": 17,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 508,
"end": 509,
"loc": {
"start": {
"line": 17,
"column": 15
},
"end": {
"line": 17,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "app",
"start": 509,
"end": 512,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 19
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 512,
"end": 513,
"loc": {
"start": {
"line": 17,
"column": 19
},
"end": {
"line": 17,
"column": 20
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 514,
"end": 515,
"loc": {
"start": {
"line": 17,
"column": 21
},
"end": {
"line": 17,
"column": 22
}
}
},
{
"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": 525,
"end": 530,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 530,
"end": 531,
"loc": {
"start": {
"line": 18,
"column": 13
},
"end": {
"line": 18,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "app",
"start": 531,
"end": 534,
"loc": {
"start": {
"line": 18,
"column": 14
},
"end": {
"line": 18,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 534,
"end": 535,
"loc": {
"start": {
"line": 18,
"column": 17
},
"end": {
"line": 18,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 535,
"end": 536,
"loc": {
"start": {
"line": 18,
"column": 18
},
"end": {
"line": 18,
"column": 19
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 546,
"end": 550,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 550,
"end": 551,
"loc": {
"start": {
"line": 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": "currentBusyFilename",
"start": 551,
"end": 570,
"loc": {
"start": {
"line": 19,
"column": 13
},
"end": {
"line": 19,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 571,
"end": 572,
"loc": {
"start": {
"line": 19,
"column": 33
},
"end": {
"line": 19,
"column": 34
}
}
},
{
"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": 573,
"end": 578,
"loc": {
"start": {
"line": 19,
"column": 35
},
"end": {
"line": 19,
"column": 40
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 578,
"end": 579,
"loc": {
"start": {
"line": 19,
"column": 40
},
"end": {
"line": 19,
"column": 41
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 585,
"end": 586,
"loc": {
"start": {
"line": 20,
"column": 4
},
"end": {
"line": 20,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "initialize",
"start": 594,
"end": 604,
"loc": {
"start": {
"line": 22,
"column": 4
},
"end": {
"line": 22,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 604,
"end": 605,
"loc": {
"start": {
"line": 22,
"column": 14
},
"end": {
"line": 22,
"column": 15
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 605,
"end": 606,
"loc": {
"start": {
"line": 22,
"column": 15
},
"end": {
"line": 22,
"column": 16
}
}
},
{
"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": 22,
"column": 17
},
"end": {
"line": 22,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 618,
"end": 624,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 624,
"end": 625,
"loc": {
"start": {
"line": 23,
"column": 14
},
"end": {
"line": 23,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "error",
"start": 625,
"end": 630,
"loc": {
"start": {
"line": 23,
"column": 15
},
"end": {
"line": 23,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 630,
"end": 631,
"loc": {
"start": {
"line": 23,
"column": 20
},
"end": {
"line": 23,
"column": 21
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Using localStorage, please update to a newer browser",
"start": 631,
"end": 685,
"loc": {
"start": {
"line": 23,
"column": 21
},
"end": {
"line": 23,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 685,
"end": 686,
"loc": {
"start": {
"line": 23,
"column": 75
},
"end": {
"line": 23,
"column": 76
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 686,
"end": 687,
"loc": {
"start": {
"line": 23,
"column": 76
},
"end": {
"line": 23,
"column": 77
}
}
},
{
"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": 697,
"end": 703,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"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": 704,
"end": 707,
"loc": {
"start": {
"line": 24,
"column": 15
},
"end": {
"line": 24,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Promise",
"start": 708,
"end": 715,
"loc": {
"start": {
"line": 24,
"column": 19
},
"end": {
"line": 24,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 715,
"end": 716,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 24,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 716,
"end": 717,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resolve",
"start": 717,
"end": 724,
"loc": {
"start": {
"line": 24,
"column": 28
},
"end": {
"line": 24,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 724,
"end": 725,
"loc": {
"start": {
"line": 24,
"column": 35
},
"end": {
"line": 24,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "reject",
"start": 726,
"end": 732,
"loc": {
"start": {
"line": 24,
"column": 37
},
"end": {
"line": 24,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 732,
"end": 733,
"loc": {
"start": {
"line": 24,
"column": 43
},
"end": {
"line": 24,
"column": 44
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 734,
"end": 736,
"loc": {
"start": {
"line": 24,
"column": 45
},
"end": {
"line": 24,
"column": 47
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 737,
"end": 738,
"loc": {
"start": {
"line": 24,
"column": 48
},
"end": {
"line": 24,
"column": 49
}
}
},
{
"type": "CommentLine",
"value": " Check for local storage availability in general",
"start": 752,
"end": 802,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 62
}
}
},
{
"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": 816,
"end": 818,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 819,
"end": 820,
"loc": {
"start": {
"line": 26,
"column": 15
},
"end": {
"line": 26,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 820,
"end": 821,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "window",
"start": 821,
"end": 827,
"loc": {
"start": {
"line": 26,
"column": 17
},
"end": {
"line": 26,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 827,
"end": 828,
"loc": {
"start": {
"line": 26,
"column": 23
},
"end": {
"line": 26,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localStorage",
"start": 828,
"end": 840,
"loc": {
"start": {
"line": 26,
"column": 24
},
"end": {
"line": 26,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 840,
"end": 841,
"loc": {
"start": {
"line": 26,
"column": 36
},
"end": {
"line": 26,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 842,
"end": 843,
"loc": {
"start": {
"line": 26,
"column": 38
},
"end": {
"line": 26,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "alert",
"start": 861,
"end": 866,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 866,
"end": 867,
"loc": {
"start": {
"line": 27,
"column": 21
},
"end": {
"line": 27,
"column": 22
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Local storage is not available! Please upgrade to a newer browser!",
"start": 867,
"end": 935,
"loc": {
"start": {
"line": 27,
"column": 22
},
"end": {
"line": 27,
"column": 90
}
}
},
{
"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": 27,
"column": 90
},
"end": {
"line": 27,
"column": 91
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 936,
"end": 937,
"loc": {
"start": {
"line": 27,
"column": 91
},
"end": {
"line": 27,
"column": 92
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "reject",
"start": 955,
"end": 961,
"loc": {
"start": {
"line": 28,
"column": 16
},
"end": {
"line": 28,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 961,
"end": 962,
"loc": {
"start": {
"line": 28,
"column": 22
},
"end": {
"line": 28,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "LOCAL_STORAGE_UNAVAILABLE",
"start": 962,
"end": 987,
"loc": {
"start": {
"line": 28,
"column": 23
},
"end": {
"line": 28,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 987,
"end": 988,
"loc": {
"start": {
"line": 28,
"column": 48
},
"end": {
"line": 28,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 988,
"end": 989,
"loc": {
"start": {
"line": 28,
"column": 49
},
"end": {
"line": 28,
"column": 50
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1003,
"end": 1004,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 13
}
}
},
{
"type": "CommentLine",
"value": " Check if we can set and remove items",
"start": 1020,
"end": 1059,
"loc": {
"start": {
"line": 31,
"column": 12
},
"end": {
"line": 31,
"column": 51
}
}
},
{
"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": 1073,
"end": 1076,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 15
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1077,
"end": 1078,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "window",
"start": 1096,
"end": 1102,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1102,
"end": 1103,
"loc": {
"start": {
"line": 33,
"column": 22
},
"end": {
"line": 33,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localStorage",
"start": 1103,
"end": 1115,
"loc": {
"start": {
"line": 33,
"column": 23
},
"end": {
"line": 33,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1115,
"end": 1116,
"loc": {
"start": {
"line": 33,
"column": 35
},
"end": {
"line": 33,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setItem",
"start": 1116,
"end": 1123,
"loc": {
"start": {
"line": 33,
"column": 36
},
"end": {
"line": 33,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1123,
"end": 1124,
"loc": {
"start": {
"line": 33,
"column": 43
},
"end": {
"line": 33,
"column": 44
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "storage_availability_test",
"start": 1124,
"end": 1151,
"loc": {
"start": {
"line": 33,
"column": 44
},
"end": {
"line": 33,
"column": 71
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1151,
"end": 1152,
"loc": {
"start": {
"line": 33,
"column": 71
},
"end": {
"line": 33,
"column": 72
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "1",
"start": 1153,
"end": 1156,
"loc": {
"start": {
"line": 33,
"column": 73
},
"end": {
"line": 33,
"column": 76
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1156,
"end": 1157,
"loc": {
"start": {
"line": 33,
"column": 76
},
"end": {
"line": 33,
"column": 77
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1157,
"end": 1158,
"loc": {
"start": {
"line": 33,
"column": 77
},
"end": {
"line": 33,
"column": 78
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "window",
"start": 1176,
"end": 1182,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1182,
"end": 1183,
"loc": {
"start": {
"line": 34,
"column": 22
},
"end": {
"line": 34,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localStorage",
"start": 1183,
"end": 1195,
"loc": {
"start": {
"line": 34,
"column": 23
},
"end": {
"line": 34,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1195,
"end": 1196,
"loc": {
"start": {
"line": 34,
"column": 35
},
"end": {
"line": 34,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "removeItem",
"start": 1196,
"end": 1206,
"loc": {
"start": {
"line": 34,
"column": 36
},
"end": {
"line": 34,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1206,
"end": 1207,
"loc": {
"start": {
"line": 34,
"column": 46
},
"end": {
"line": 34,
"column": 47
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "storage_availability_test",
"start": 1207,
"end": 1234,
"loc": {
"start": {
"line": 34,
"column": 47
},
"end": {
"line": 34,
"column": 74
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1234,
"end": 1235,
"loc": {
"start": {
"line": 34,
"column": 74
},
"end": {
"line": 34,
"column": 75
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1235,
"end": 1236,
"loc": {
"start": {
"line": 34,
"column": 75
},
"end": {
"line": 34,
"column": 76
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1250,
"end": 1251,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"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": 1252,
"end": 1257,
"loc": {
"start": {
"line": 35,
"column": 14
},
"end": {
"line": 35,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1258,
"end": 1259,
"loc": {
"start": {
"line": 35,
"column": 20
},
"end": {
"line": 35,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "e",
"start": 1259,
"end": 1260,
"loc": {
"start": {
"line": 35,
"column": 21
},
"end": {
"line": 35,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1260,
"end": 1261,
"loc": {
"start": {
"line": 35,
"column": 22
},
"end": {
"line": 35,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1262,
"end": 1263,
"loc": {
"start": {
"line": 35,
"column": 24
},
"end": {
"line": 35,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "alert",
"start": 1281,
"end": 1286,
"loc": {
"start": {
"line": 36,
"column": 16
},
"end": {
"line": 36,
"column": 21
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1286,
"end": 1287,
"loc": {
"start": {
"line": 36,
"column": 21
},
"end": {
"line": 36,
"column": 22
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "It seems we don't have permission to write to local storage! Please update your browsers settings or use a different browser!",
"start": 1309,
"end": 1436,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 147
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1454,
"end": 1455,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1455,
"end": 1456,
"loc": {
"start": {
"line": 38,
"column": 17
},
"end": {
"line": 38,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "reject",
"start": 1474,
"end": 1480,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1480,
"end": 1481,
"loc": {
"start": {
"line": 39,
"column": 22
},
"end": {
"line": 39,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "LOCAL_STORAGE_NO_WRITE_PERMISSION",
"start": 1481,
"end": 1514,
"loc": {
"start": {
"line": 39,
"column": 23
},
"end": {
"line": 39,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1514,
"end": 1515,
"loc": {
"start": {
"line": 39,
"column": 56
},
"end": {
"line": 39,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1515,
"end": 1516,
"loc": {
"start": {
"line": 39,
"column": 57
},
"end": {
"line": 39,
"column": 58
}
}
},
{
"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": 1534,
"end": 1540,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1540,
"end": 1541,
"loc": {
"start": {
"line": 40,
"column": 22
},
"end": {
"line": 40,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1555,
"end": 1556,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setTimeout",
"start": 1570,
"end": 1580,
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1580,
"end": 1581,
"loc": {
"start": {
"line": 42,
"column": 22
},
"end": {
"line": 42,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resolve",
"start": 1581,
"end": 1588,
"loc": {
"start": {
"line": 42,
"column": 23
},
"end": {
"line": 42,
"column": 30
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1588,
"end": 1589,
"loc": {
"start": {
"line": 42,
"column": 30
},
"end": {
"line": 42,
"column": 31
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 1590,
"end": 1591,
"loc": {
"start": {
"line": 42,
"column": 32
},
"end": {
"line": 42,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1591,
"end": 1592,
"loc": {
"start": {
"line": 42,
"column": 33
},
"end": {
"line": 42,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1592,
"end": 1593,
"loc": {
"start": {
"line": 42,
"column": 34
},
"end": {
"line": 42,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1603,
"end": 1604,
"loc": {
"start": {
"line": 43,
"column": 8
},
"end": {
"line": 43,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1604,
"end": 1605,
"loc": {
"start": {
"line": 43,
"column": 9
},
"end": {
"line": 43,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1605,
"end": 1606,
"loc": {
"start": {
"line": 43,
"column": 10
},
"end": {
"line": 43,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1612,
"end": 1613,
"loc": {
"start": {
"line": 44,
"column": 4
},
"end": {
"line": 44,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeFileAsync",
"start": 1621,
"end": 1635,
"loc": {
"start": {
"line": 46,
"column": 4
},
"end": {
"line": 46,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1635,
"end": 1636,
"loc": {
"start": {
"line": 46,
"column": 18
},
"end": {
"line": 46,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filename",
"start": 1636,
"end": 1644,
"loc": {
"start": {
"line": 46,
"column": 19
},
"end": {
"line": 46,
"column": 27
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1644,
"end": 1645,
"loc": {
"start": {
"line": 46,
"column": 27
},
"end": {
"line": 46,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 1646,
"end": 1654,
"loc": {
"start": {
"line": 46,
"column": 29
},
"end": {
"line": 46,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1654,
"end": 1655,
"loc": {
"start": {
"line": 46,
"column": 37
},
"end": {
"line": 46,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1656,
"end": 1657,
"loc": {
"start": {
"line": 46,
"column": 39
},
"end": {
"line": 46,
"column": 40
}
}
},
{
"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": 1667,
"end": 1669,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1670,
"end": 1671,
"loc": {
"start": {
"line": 47,
"column": 11
},
"end": {
"line": 47,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1671,
"end": 1675,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1675,
"end": 1676,
"loc": {
"start": {
"line": 47,
"column": 16
},
"end": {
"line": 47,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBusyFilename",
"start": 1676,
"end": 1695,
"loc": {
"start": {
"line": 47,
"column": 17
},
"end": {
"line": 47,
"column": 36
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 1696,
"end": 1699,
"loc": {
"start": {
"line": 47,
"column": 37
},
"end": {
"line": 47,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filename",
"start": 1700,
"end": 1708,
"loc": {
"start": {
"line": 47,
"column": 41
},
"end": {
"line": 47,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1708,
"end": 1709,
"loc": {
"start": {
"line": 47,
"column": 49
},
"end": {
"line": 47,
"column": 50
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1710,
"end": 1711,
"loc": {
"start": {
"line": 47,
"column": 51
},
"end": {
"line": 47,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 1725,
"end": 1731,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1731,
"end": 1732,
"loc": {
"start": {
"line": 48,
"column": 18
},
"end": {
"line": 48,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "warn",
"start": 1732,
"end": 1736,
"loc": {
"start": {
"line": 48,
"column": 19
},
"end": {
"line": 48,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1736,
"end": 1737,
"loc": {
"start": {
"line": 48,
"column": 23
},
"end": {
"line": 48,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Attempt to write",
"start": 1737,
"end": 1755,
"loc": {
"start": {
"line": 48,
"column": 24
},
"end": {
"line": 48,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1755,
"end": 1756,
"loc": {
"start": {
"line": 48,
"column": 42
},
"end": {
"line": 48,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filename",
"start": 1757,
"end": 1765,
"loc": {
"start": {
"line": 48,
"column": 44
},
"end": {
"line": 48,
"column": 52
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1765,
"end": 1766,
"loc": {
"start": {
"line": 48,
"column": 52
},
"end": {
"line": 48,
"column": 53
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "while write process is not finished!",
"start": 1767,
"end": 1805,
"loc": {
"start": {
"line": 48,
"column": 54
},
"end": {
"line": 48,
"column": 92
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1805,
"end": 1806,
"loc": {
"start": {
"line": 48,
"column": 92
},
"end": {
"line": 48,
"column": 93
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1806,
"end": 1807,
"loc": {
"start": {
"line": 48,
"column": 93
},
"end": {
"line": 48,
"column": 94
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1817,
"end": 1818,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 9
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1830,
"end": 1834,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1834,
"end": 1835,
"loc": {
"start": {
"line": 51,
"column": 12
},
"end": {
"line": 51,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBusyFilename",
"start": 1835,
"end": 1854,
"loc": {
"start": {
"line": 51,
"column": 13
},
"end": {
"line": 51,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1855,
"end": 1856,
"loc": {
"start": {
"line": 51,
"column": 33
},
"end": {
"line": 51,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filename",
"start": 1857,
"end": 1865,
"loc": {
"start": {
"line": 51,
"column": 35
},
"end": {
"line": 51,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1865,
"end": 1866,
"loc": {
"start": {
"line": 51,
"column": 43
},
"end": {
"line": 51,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "window",
"start": 1876,
"end": 1882,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1882,
"end": 1883,
"loc": {
"start": {
"line": 52,
"column": 14
},
"end": {
"line": 52,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localStorage",
"start": 1883,
"end": 1895,
"loc": {
"start": {
"line": 52,
"column": 15
},
"end": {
"line": 52,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1895,
"end": 1896,
"loc": {
"start": {
"line": 52,
"column": 27
},
"end": {
"line": 52,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setItem",
"start": 1896,
"end": 1903,
"loc": {
"start": {
"line": 52,
"column": 28
},
"end": {
"line": 52,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1903,
"end": 1904,
"loc": {
"start": {
"line": 52,
"column": 35
},
"end": {
"line": 52,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filename",
"start": 1904,
"end": 1912,
"loc": {
"start": {
"line": 52,
"column": 36
},
"end": {
"line": 52,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1912,
"end": 1913,
"loc": {
"start": {
"line": 52,
"column": 44
},
"end": {
"line": 52,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 1914,
"end": 1922,
"loc": {
"start": {
"line": 52,
"column": 46
},
"end": {
"line": 52,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1922,
"end": 1923,
"loc": {
"start": {
"line": 52,
"column": 54
},
"end": {
"line": 52,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1923,
"end": 1924,
"loc": {
"start": {
"line": 52,
"column": 55
},
"end": {
"line": 52,
"column": 56
}
}
},
{
"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": 1934,
"end": 1940,
"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": 1941,
"end": 1944,
"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": "Promise",
"start": 1945,
"end": 1952,
"loc": {
"start": {
"line": 53,
"column": 19
},
"end": {
"line": 53,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1952,
"end": 1953,
"loc": {
"start": {
"line": 53,
"column": 26
},
"end": {
"line": 53,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1953,
"end": 1954,
"loc": {
"start": {
"line": 53,
"column": 27
},
"end": {
"line": 53,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resolve",
"start": 1954,
"end": 1961,
"loc": {
"start": {
"line": 53,
"column": 28
},
"end": {
"line": 53,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1961,
"end": 1962,
"loc": {
"start": {
"line": 53,
"column": 35
},
"end": {
"line": 53,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "reject",
"start": 1963,
"end": 1969,
"loc": {
"start": {
"line": 53,
"column": 37
},
"end": {
"line": 53,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1969,
"end": 1970,
"loc": {
"start": {
"line": 53,
"column": 43
},
"end": {
"line": 53,
"column": 44
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1971,
"end": 1973,
"loc": {
"start": {
"line": 53,
"column": 45
},
"end": {
"line": 53,
"column": 47
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1974,
"end": 1975,
"loc": {
"start": {
"line": 53,
"column": 48
},
"end": {
"line": 53,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setTimeout",
"start": 1989,
"end": 1999,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1999,
"end": 2000,
"loc": {
"start": {
"line": 54,
"column": 22
},
"end": {
"line": 54,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2000,
"end": 2001,
"loc": {
"start": {
"line": 54,
"column": 23
},
"end": {
"line": 54,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2001,
"end": 2002,
"loc": {
"start": {
"line": 54,
"column": 24
},
"end": {
"line": 54,
"column": 25
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2003,
"end": 2005,
"loc": {
"start": {
"line": 54,
"column": 26
},
"end": {
"line": 54,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2006,
"end": 2007,
"loc": {
"start": {
"line": 54,
"column": 29
},
"end": {
"line": 54,
"column": 30
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2025,
"end": 2029,
"loc": {
"start": {
"line": 55,
"column": 16
},
"end": {
"line": 55,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2029,
"end": 2030,
"loc": {
"start": {
"line": 55,
"column": 20
},
"end": {
"line": 55,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBusyFilename",
"start": 2030,
"end": 2049,
"loc": {
"start": {
"line": 55,
"column": 21
},
"end": {
"line": 55,
"column": 40
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2050,
"end": 2051,
"loc": {
"start": {
"line": 55,
"column": 41
},
"end": {
"line": 55,
"column": 42
}
}
},
{
"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": 2052,
"end": 2057,
"loc": {
"start": {
"line": 55,
"column": 43
},
"end": {
"line": 55,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2057,
"end": 2058,
"loc": {
"start": {
"line": 55,
"column": 48
},
"end": {
"line": 55,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resolve",
"start": 2076,
"end": 2083,
"loc": {
"start": {
"line": 56,
"column": 16
},
"end": {
"line": 56,
"column": 23
}
}
},
{
"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": 56,
"column": 23
},
"end": {
"line": 56,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2084,
"end": 2085,
"loc": {
"start": {
"line": 56,
"column": 24
},
"end": {
"line": 56,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2085,
"end": 2086,
"loc": {
"start": {
"line": 56,
"column": 25
},
"end": {
"line": 56,
"column": 26
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2100,
"end": 2101,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 13
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2101,
"end": 2102,
"loc": {
"start": {
"line": 57,
"column": 13
},
"end": {
"line": 57,
"column": 14
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2103,
"end": 2104,
"loc": {
"start": {
"line": 57,
"column": 15
},
"end": {
"line": 57,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2104,
"end": 2105,
"loc": {
"start": {
"line": 57,
"column": 16
},
"end": {
"line": 57,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2105,
"end": 2106,
"loc": {
"start": {
"line": 57,
"column": 17
},
"end": {
"line": 57,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2116,
"end": 2117,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2117,
"end": 2118,
"loc": {
"start": {
"line": 58,
"column": 9
},
"end": {
"line": 58,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2118,
"end": 2119,
"loc": {
"start": {
"line": 58,
"column": 10
},
"end": {
"line": 58,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2125,
"end": 2126,
"loc": {
"start": {
"line": 59,
"column": 4
},
"end": {
"line": 59,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "writeFileSyncIfSupported",
"start": 2134,
"end": 2158,
"loc": {
"start": {
"line": 61,
"column": 4
},
"end": {
"line": 61,
"column": 28
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2158,
"end": 2159,
"loc": {
"start": {
"line": 61,
"column": 28
},
"end": {
"line": 61,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filename",
"start": 2159,
"end": 2167,
"loc": {
"start": {
"line": 61,
"column": 29
},
"end": {
"line": 61,
"column": 37
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2167,
"end": 2168,
"loc": {
"start": {
"line": 61,
"column": 37
},
"end": {
"line": 61,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 2169,
"end": 2177,
"loc": {
"start": {
"line": 61,
"column": 39
},
"end": {
"line": 61,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2177,
"end": 2178,
"loc": {
"start": {
"line": 61,
"column": 47
},
"end": {
"line": 61,
"column": 48
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2179,
"end": 2180,
"loc": {
"start": {
"line": 61,
"column": 49
},
"end": {
"line": 61,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "window",
"start": 2190,
"end": 2196,
"loc": {
"start": {
"line": 62,
"column": 8
},
"end": {
"line": 62,
"column": 14
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2196,
"end": 2197,
"loc": {
"start": {
"line": 62,
"column": 14
},
"end": {
"line": 62,
"column": 15
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localStorage",
"start": 2197,
"end": 2209,
"loc": {
"start": {
"line": 62,
"column": 15
},
"end": {
"line": 62,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2209,
"end": 2210,
"loc": {
"start": {
"line": 62,
"column": 27
},
"end": {
"line": 62,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setItem",
"start": 2210,
"end": 2217,
"loc": {
"start": {
"line": 62,
"column": 28
},
"end": {
"line": 62,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2217,
"end": 2218,
"loc": {
"start": {
"line": 62,
"column": 35
},
"end": {
"line": 62,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filename",
"start": 2218,
"end": 2226,
"loc": {
"start": {
"line": 62,
"column": 36
},
"end": {
"line": 62,
"column": 44
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2226,
"end": 2227,
"loc": {
"start": {
"line": 62,
"column": 44
},
"end": {
"line": 62,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 2228,
"end": 2236,
"loc": {
"start": {
"line": 62,
"column": 46
},
"end": {
"line": 62,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2236,
"end": 2237,
"loc": {
"start": {
"line": 62,
"column": 54
},
"end": {
"line": 62,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2237,
"end": 2238,
"loc": {
"start": {
"line": 62,
"column": 55
},
"end": {
"line": 62,
"column": 56
}
}
},
{
"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": 2248,
"end": 2254,
"loc": {
"start": {
"line": 63,
"column": 8
},
"end": {
"line": 63,
"column": 14
}
}
},
{
"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": 2255,
"end": 2259,
"loc": {
"start": {
"line": 63,
"column": 15
},
"end": {
"line": 63,
"column": 19
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2259,
"end": 2260,
"loc": {
"start": {
"line": 63,
"column": 19
},
"end": {
"line": 63,
"column": 20
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2266,
"end": 2267,
"loc": {
"start": {
"line": 64,
"column": 4
},
"end": {
"line": 64,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "readFileAsync",
"start": 2275,
"end": 2288,
"loc": {
"start": {
"line": 66,
"column": 4
},
"end": {
"line": 66,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2288,
"end": 2289,
"loc": {
"start": {
"line": 66,
"column": 17
},
"end": {
"line": 66,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filename",
"start": 2289,
"end": 2297,
"loc": {
"start": {
"line": 66,
"column": 18
},
"end": {
"line": 66,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2297,
"end": 2298,
"loc": {
"start": {
"line": 66,
"column": 26
},
"end": {
"line": 66,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2299,
"end": 2300,
"loc": {
"start": {
"line": 66,
"column": 28
},
"end": {
"line": 66,
"column": 29
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 2310,
"end": 2312,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2313,
"end": 2314,
"loc": {
"start": {
"line": 67,
"column": 11
},
"end": {
"line": 67,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2314,
"end": 2318,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2318,
"end": 2319,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 67,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBusyFilename",
"start": 2319,
"end": 2338,
"loc": {
"start": {
"line": 67,
"column": 17
},
"end": {
"line": 67,
"column": 36
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 2339,
"end": 2342,
"loc": {
"start": {
"line": 67,
"column": 37
},
"end": {
"line": 67,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filename",
"start": 2343,
"end": 2351,
"loc": {
"start": {
"line": 67,
"column": 41
},
"end": {
"line": 67,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2351,
"end": 2352,
"loc": {
"start": {
"line": 67,
"column": 49
},
"end": {
"line": 67,
"column": 50
}
}
},
{
"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": 67,
"column": 51
},
"end": {
"line": 67,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 2368,
"end": 2374,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2374,
"end": 2375,
"loc": {
"start": {
"line": 68,
"column": 18
},
"end": {
"line": 68,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "warn",
"start": 2375,
"end": 2379,
"loc": {
"start": {
"line": 68,
"column": 19
},
"end": {
"line": 68,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2379,
"end": 2380,
"loc": {
"start": {
"line": 68,
"column": 23
},
"end": {
"line": 68,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Attempt to read",
"start": 2380,
"end": 2397,
"loc": {
"start": {
"line": 68,
"column": 24
},
"end": {
"line": 68,
"column": 41
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2397,
"end": 2398,
"loc": {
"start": {
"line": 68,
"column": 41
},
"end": {
"line": 68,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filename",
"start": 2399,
"end": 2407,
"loc": {
"start": {
"line": 68,
"column": 43
},
"end": {
"line": 68,
"column": 51
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2407,
"end": 2408,
"loc": {
"start": {
"line": 68,
"column": 51
},
"end": {
"line": 68,
"column": 52
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "while write progress on it is ongoing!",
"start": 2409,
"end": 2449,
"loc": {
"start": {
"line": 68,
"column": 53
},
"end": {
"line": 68,
"column": 93
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2449,
"end": 2450,
"loc": {
"start": {
"line": 68,
"column": 93
},
"end": {
"line": 68,
"column": 94
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2450,
"end": 2451,
"loc": {
"start": {
"line": 68,
"column": 94
},
"end": {
"line": 68,
"column": 95
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2461,
"end": 2462,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 9
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 2474,
"end": 2480,
"loc": {
"start": {
"line": 71,
"column": 8
},
"end": {
"line": 71,
"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": 2481,
"end": 2484,
"loc": {
"start": {
"line": 71,
"column": 15
},
"end": {
"line": 71,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Promise",
"start": 2485,
"end": 2492,
"loc": {
"start": {
"line": 71,
"column": 19
},
"end": {
"line": 71,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2492,
"end": 2493,
"loc": {
"start": {
"line": 71,
"column": 26
},
"end": {
"line": 71,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2493,
"end": 2494,
"loc": {
"start": {
"line": 71,
"column": 27
},
"end": {
"line": 71,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resolve",
"start": 2494,
"end": 2501,
"loc": {
"start": {
"line": 71,
"column": 28
},
"end": {
"line": 71,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2501,
"end": 2502,
"loc": {
"start": {
"line": 71,
"column": 35
},
"end": {
"line": 71,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "reject",
"start": 2503,
"end": 2509,
"loc": {
"start": {
"line": 71,
"column": 37
},
"end": {
"line": 71,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2509,
"end": 2510,
"loc": {
"start": {
"line": 71,
"column": 43
},
"end": {
"line": 71,
"column": 44
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2511,
"end": 2513,
"loc": {
"start": {
"line": 71,
"column": 45
},
"end": {
"line": 71,
"column": 47
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2514,
"end": 2515,
"loc": {
"start": {
"line": 71,
"column": 48
},
"end": {
"line": 71,
"column": 49
}
}
},
{
"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": 2529,
"end": 2534,
"loc": {
"start": {
"line": 72,
"column": 12
},
"end": {
"line": 72,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 2535,
"end": 2543,
"loc": {
"start": {
"line": 72,
"column": 18
},
"end": {
"line": 72,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2544,
"end": 2545,
"loc": {
"start": {
"line": 72,
"column": 27
},
"end": {
"line": 72,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "window",
"start": 2546,
"end": 2552,
"loc": {
"start": {
"line": 72,
"column": 29
},
"end": {
"line": 72,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2552,
"end": 2553,
"loc": {
"start": {
"line": 72,
"column": 35
},
"end": {
"line": 72,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localStorage",
"start": 2553,
"end": 2565,
"loc": {
"start": {
"line": 72,
"column": 36
},
"end": {
"line": 72,
"column": 48
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2565,
"end": 2566,
"loc": {
"start": {
"line": 72,
"column": 48
},
"end": {
"line": 72,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getItem",
"start": 2566,
"end": 2573,
"loc": {
"start": {
"line": 72,
"column": 49
},
"end": {
"line": 72,
"column": 56
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2573,
"end": 2574,
"loc": {
"start": {
"line": 72,
"column": 56
},
"end": {
"line": 72,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filename",
"start": 2574,
"end": 2582,
"loc": {
"start": {
"line": 72,
"column": 57
},
"end": {
"line": 72,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2582,
"end": 2583,
"loc": {
"start": {
"line": 72,
"column": 65
},
"end": {
"line": 72,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2583,
"end": 2584,
"loc": {
"start": {
"line": 72,
"column": 66
},
"end": {
"line": 72,
"column": 67
}
}
},
{
"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": 2598,
"end": 2600,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2601,
"end": 2602,
"loc": {
"start": {
"line": 73,
"column": 15
},
"end": {
"line": 73,
"column": 16
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 2602,
"end": 2603,
"loc": {
"start": {
"line": 73,
"column": 16
},
"end": {
"line": 73,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 2603,
"end": 2611,
"loc": {
"start": {
"line": 73,
"column": 17
},
"end": {
"line": 73,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2611,
"end": 2612,
"loc": {
"start": {
"line": 73,
"column": 25
},
"end": {
"line": 73,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2613,
"end": 2614,
"loc": {
"start": {
"line": 73,
"column": 27
},
"end": {
"line": 73,
"column": 28
}
}
},
{
"type": "CommentLine",
"value": " File not found",
"start": 2632,
"end": 2649,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 74,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setTimeout",
"start": 2667,
"end": 2677,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2677,
"end": 2678,
"loc": {
"start": {
"line": 75,
"column": 26
},
"end": {
"line": 75,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2678,
"end": 2679,
"loc": {
"start": {
"line": 75,
"column": 27
},
"end": {
"line": 75,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2679,
"end": 2680,
"loc": {
"start": {
"line": 75,
"column": 28
},
"end": {
"line": 75,
"column": 29
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2681,
"end": 2683,
"loc": {
"start": {
"line": 75,
"column": 30
},
"end": {
"line": 75,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "reject",
"start": 2684,
"end": 2690,
"loc": {
"start": {
"line": 75,
"column": 33
},
"end": {
"line": 75,
"column": 39
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2690,
"end": 2691,
"loc": {
"start": {
"line": 75,
"column": 39
},
"end": {
"line": 75,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "FILE_NOT_FOUND",
"start": 2691,
"end": 2705,
"loc": {
"start": {
"line": 75,
"column": 40
},
"end": {
"line": 75,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2705,
"end": 2706,
"loc": {
"start": {
"line": 75,
"column": 54
},
"end": {
"line": 75,
"column": 55
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2706,
"end": 2707,
"loc": {
"start": {
"line": 75,
"column": 55
},
"end": {
"line": 75,
"column": 56
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "randomDelay",
"start": 2708,
"end": 2719,
"loc": {
"start": {
"line": 75,
"column": 57
},
"end": {
"line": 75,
"column": 68
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2719,
"end": 2720,
"loc": {
"start": {
"line": 75,
"column": 68
},
"end": {
"line": 75,
"column": 69
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2720,
"end": 2721,
"loc": {
"start": {
"line": 75,
"column": 69
},
"end": {
"line": 75,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2721,
"end": 2722,
"loc": {
"start": {
"line": 75,
"column": 70
},
"end": {
"line": 75,
"column": 71
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2722,
"end": 2723,
"loc": {
"start": {
"line": 75,
"column": 71
},
"end": {
"line": 75,
"column": 72
}
}
},
{
"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": 2741,
"end": 2747,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2747,
"end": 2748,
"loc": {
"start": {
"line": 76,
"column": 22
},
"end": {
"line": 76,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2762,
"end": 2763,
"loc": {
"start": {
"line": 77,
"column": 12
},
"end": {
"line": 77,
"column": 13
}
}
},
{
"type": "CommentLine",
"value": " File read, simulate delay",
"start": 2779,
"end": 2807,
"loc": {
"start": {
"line": 79,
"column": 12
},
"end": {
"line": 79,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setTimeout",
"start": 2821,
"end": 2831,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 80,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2831,
"end": 2832,
"loc": {
"start": {
"line": 80,
"column": 22
},
"end": {
"line": 80,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2832,
"end": 2833,
"loc": {
"start": {
"line": 80,
"column": 23
},
"end": {
"line": 80,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2833,
"end": 2834,
"loc": {
"start": {
"line": 80,
"column": 24
},
"end": {
"line": 80,
"column": 25
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2835,
"end": 2837,
"loc": {
"start": {
"line": 80,
"column": 26
},
"end": {
"line": 80,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resolve",
"start": 2838,
"end": 2845,
"loc": {
"start": {
"line": 80,
"column": 29
},
"end": {
"line": 80,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2845,
"end": 2846,
"loc": {
"start": {
"line": 80,
"column": 36
},
"end": {
"line": 80,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "contents",
"start": 2846,
"end": 2854,
"loc": {
"start": {
"line": 80,
"column": 37
},
"end": {
"line": 80,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2854,
"end": 2855,
"loc": {
"start": {
"line": 80,
"column": 45
},
"end": {
"line": 80,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2855,
"end": 2856,
"loc": {
"start": {
"line": 80,
"column": 46
},
"end": {
"line": 80,
"column": 47
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2857,
"end": 2858,
"loc": {
"start": {
"line": 80,
"column": 48
},
"end": {
"line": 80,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2858,
"end": 2859,
"loc": {
"start": {
"line": 80,
"column": 49
},
"end": {
"line": 80,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2859,
"end": 2860,
"loc": {
"start": {
"line": 80,
"column": 50
},
"end": {
"line": 80,
"column": 51
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2870,
"end": 2871,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 81,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2871,
"end": 2872,
"loc": {
"start": {
"line": 81,
"column": 9
},
"end": {
"line": 81,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2872,
"end": 2873,
"loc": {
"start": {
"line": 81,
"column": 10
},
"end": {
"line": 81,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2879,
"end": 2880,
"loc": {
"start": {
"line": 82,
"column": 4
},
"end": {
"line": 82,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "deleteFileAsync",
"start": 2888,
"end": 2903,
"loc": {
"start": {
"line": 84,
"column": 4
},
"end": {
"line": 84,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2903,
"end": 2904,
"loc": {
"start": {
"line": 84,
"column": 19
},
"end": {
"line": 84,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filename",
"start": 2904,
"end": 2912,
"loc": {
"start": {
"line": 84,
"column": 20
},
"end": {
"line": 84,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2912,
"end": 2913,
"loc": {
"start": {
"line": 84,
"column": 28
},
"end": {
"line": 84,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2914,
"end": 2915,
"loc": {
"start": {
"line": 84,
"column": 30
},
"end": {
"line": 84,
"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": 2925,
"end": 2927,
"loc": {
"start": {
"line": 85,
"column": 8
},
"end": {
"line": 85,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2928,
"end": 2929,
"loc": {
"start": {
"line": 85,
"column": 11
},
"end": {
"line": 85,
"column": 12
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2929,
"end": 2933,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2933,
"end": 2934,
"loc": {
"start": {
"line": 85,
"column": 16
},
"end": {
"line": 85,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBusyFilename",
"start": 2934,
"end": 2953,
"loc": {
"start": {
"line": 85,
"column": 17
},
"end": {
"line": 85,
"column": 36
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 2954,
"end": 2957,
"loc": {
"start": {
"line": 85,
"column": 37
},
"end": {
"line": 85,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filename",
"start": 2958,
"end": 2966,
"loc": {
"start": {
"line": 85,
"column": 41
},
"end": {
"line": 85,
"column": 49
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2966,
"end": 2967,
"loc": {
"start": {
"line": 85,
"column": 49
},
"end": {
"line": 85,
"column": 50
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2968,
"end": 2969,
"loc": {
"start": {
"line": 85,
"column": 51
},
"end": {
"line": 85,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "logger",
"start": 2983,
"end": 2989,
"loc": {
"start": {
"line": 86,
"column": 12
},
"end": {
"line": 86,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2989,
"end": 2990,
"loc": {
"start": {
"line": 86,
"column": 18
},
"end": {
"line": 86,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "warn",
"start": 2990,
"end": 2994,
"loc": {
"start": {
"line": 86,
"column": 19
},
"end": {
"line": 86,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2994,
"end": 2995,
"loc": {
"start": {
"line": 86,
"column": 23
},
"end": {
"line": 86,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Attempt to delete",
"start": 2995,
"end": 3014,
"loc": {
"start": {
"line": 86,
"column": 24
},
"end": {
"line": 86,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3014,
"end": 3015,
"loc": {
"start": {
"line": 86,
"column": 43
},
"end": {
"line": 86,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filename",
"start": 3016,
"end": 3024,
"loc": {
"start": {
"line": 86,
"column": 45
},
"end": {
"line": 86,
"column": 53
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3024,
"end": 3025,
"loc": {
"start": {
"line": 86,
"column": 53
},
"end": {
"line": 86,
"column": 54
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "while write progres on it is ongoing!",
"start": 3026,
"end": 3065,
"loc": {
"start": {
"line": 86,
"column": 55
},
"end": {
"line": 86,
"column": 94
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3065,
"end": 3066,
"loc": {
"start": {
"line": 86,
"column": 94
},
"end": {
"line": 86,
"column": 95
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3066,
"end": 3067,
"loc": {
"start": {
"line": 86,
"column": 95
},
"end": {
"line": 86,
"column": 96
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3077,
"end": 3078,
"loc": {
"start": {
"line": 87,
"column": 8
},
"end": {
"line": 87,
"column": 9
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3090,
"end": 3094,
"loc": {
"start": {
"line": 89,
"column": 8
},
"end": {
"line": 89,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3094,
"end": 3095,
"loc": {
"start": {
"line": 89,
"column": 12
},
"end": {
"line": 89,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBusyFilename",
"start": 3095,
"end": 3114,
"loc": {
"start": {
"line": 89,
"column": 13
},
"end": {
"line": 89,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3115,
"end": 3116,
"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": "filename",
"start": 3117,
"end": 3125,
"loc": {
"start": {
"line": 89,
"column": 35
},
"end": {
"line": 89,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3125,
"end": 3126,
"loc": {
"start": {
"line": 89,
"column": 43
},
"end": {
"line": 89,
"column": 44
}
}
},
{
"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": 3136,
"end": 3142,
"loc": {
"start": {
"line": 90,
"column": 8
},
"end": {
"line": 90,
"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": 3143,
"end": 3146,
"loc": {
"start": {
"line": 90,
"column": 15
},
"end": {
"line": 90,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Promise",
"start": 3147,
"end": 3154,
"loc": {
"start": {
"line": 90,
"column": 19
},
"end": {
"line": 90,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3154,
"end": 3155,
"loc": {
"start": {
"line": 90,
"column": 26
},
"end": {
"line": 90,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3155,
"end": 3156,
"loc": {
"start": {
"line": 90,
"column": 27
},
"end": {
"line": 90,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resolve",
"start": 3156,
"end": 3163,
"loc": {
"start": {
"line": 90,
"column": 28
},
"end": {
"line": 90,
"column": 35
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3163,
"end": 3164,
"loc": {
"start": {
"line": 90,
"column": 35
},
"end": {
"line": 90,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "reject",
"start": 3165,
"end": 3171,
"loc": {
"start": {
"line": 90,
"column": 37
},
"end": {
"line": 90,
"column": 43
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3171,
"end": 3172,
"loc": {
"start": {
"line": 90,
"column": 43
},
"end": {
"line": 90,
"column": 44
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3173,
"end": 3175,
"loc": {
"start": {
"line": 90,
"column": 45
},
"end": {
"line": 90,
"column": 47
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3176,
"end": 3177,
"loc": {
"start": {
"line": 90,
"column": 48
},
"end": {
"line": 90,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "window",
"start": 3191,
"end": 3197,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3197,
"end": 3198,
"loc": {
"start": {
"line": 91,
"column": 18
},
"end": {
"line": 91,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "localStorage",
"start": 3198,
"end": 3210,
"loc": {
"start": {
"line": 91,
"column": 19
},
"end": {
"line": 91,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3210,
"end": 3211,
"loc": {
"start": {
"line": 91,
"column": 31
},
"end": {
"line": 91,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "removeItem",
"start": 3211,
"end": 3221,
"loc": {
"start": {
"line": 91,
"column": 32
},
"end": {
"line": 91,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3221,
"end": 3222,
"loc": {
"start": {
"line": 91,
"column": 42
},
"end": {
"line": 91,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "filename",
"start": 3222,
"end": 3230,
"loc": {
"start": {
"line": 91,
"column": 43
},
"end": {
"line": 91,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3230,
"end": 3231,
"loc": {
"start": {
"line": 91,
"column": 51
},
"end": {
"line": 91,
"column": 52
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3231,
"end": 3232,
"loc": {
"start": {
"line": 91,
"column": 52
},
"end": {
"line": 91,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setTimeout",
"start": 3246,
"end": 3256,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 92,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3256,
"end": 3257,
"loc": {
"start": {
"line": 92,
"column": 22
},
"end": {
"line": 92,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3257,
"end": 3258,
"loc": {
"start": {
"line": 92,
"column": 23
},
"end": {
"line": 92,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3258,
"end": 3259,
"loc": {
"start": {
"line": 92,
"column": 24
},
"end": {
"line": 92,
"column": 25
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3260,
"end": 3262,
"loc": {
"start": {
"line": 92,
"column": 26
},
"end": {
"line": 92,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3263,
"end": 3264,
"loc": {
"start": {
"line": 92,
"column": 29
},
"end": {
"line": 92,
"column": 30
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 3282,
"end": 3286,
"loc": {
"start": {
"line": 93,
"column": 16
},
"end": {
"line": 93,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3286,
"end": 3287,
"loc": {
"start": {
"line": 93,
"column": 20
},
"end": {
"line": 93,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "currentBusyFilename",
"start": 3287,
"end": 3306,
"loc": {
"start": {
"line": 93,
"column": 21
},
"end": {
"line": 93,
"column": 40
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 3307,
"end": 3308,
"loc": {
"start": {
"line": 93,
"column": 41
},
"end": {
"line": 93,
"column": 42
}
}
},
{
"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": 3309,
"end": 3314,
"loc": {
"start": {
"line": 93,
"column": 43
},
"end": {
"line": 93,
"column": 48
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3314,
"end": 3315,
"loc": {
"start": {
"line": 93,
"column": 48
},
"end": {
"line": 93,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "resolve",
"start": 3333,
"end": 3340,
"loc": {
"start": {
"line": 94,
"column": 16
},
"end": {
"line": 94,
"column": 23
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3340,
"end": 3341,
"loc": {
"start": {
"line": 94,
"column": 23
},
"end": {
"line": 94,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3341,
"end": 3342,
"loc": {
"start": {
"line": 94,
"column": 24
},
"end": {
"line": 94,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3342,
"end": 3343,
"loc": {
"start": {
"line": 94,
"column": 25
},
"end": {
"line": 94,
"column": 26
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3357,
"end": 3358,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 13
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3358,
"end": 3359,
"loc": {
"start": {
"line": 95,
"column": 13
},
"end": {
"line": 95,
"column": 14
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 3360,
"end": 3361,
"loc": {
"start": {
"line": 95,
"column": 15
},
"end": {
"line": 95,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3361,
"end": 3362,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3362,
"end": 3363,
"loc": {
"start": {
"line": 95,
"column": 17
},
"end": {
"line": 95,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3373,
"end": 3374,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 96,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3374,
"end": 3375,
"loc": {
"start": {
"line": 96,
"column": 9
},
"end": {
"line": 96,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3375,
"end": 3376,
"loc": {
"start": {
"line": 96,
"column": 10
},
"end": {
"line": 96,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3382,
"end": 3383,
"loc": {
"start": {
"line": 97,
"column": 4
},
"end": {
"line": 97,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 3385,
"end": 3386,
"loc": {
"start": {
"line": 98,
"column": 0
},
"end": {
"line": 98,
"column": 1
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 3388,
"end": 3388,
"loc": {
"start": {
"line": 99,
"column": 0
},
"end": {
"line": 99,
"column": 0
}
}
}
]
}