{ "type": "File", "start": 0, "end": 2762, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 132, "column": 0 } }, "program": { "type": "Program", "start": 0, "end": 2762, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 132, "column": 0 } }, "sourceType": "module", "body": [ { "type": "ImportDeclaration", "start": 23, "end": 68, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 2, "column": 45 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 32, "end": 43, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 20 } }, "imported": { "type": "Identifier", "start": 32, "end": 43, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 20 }, "identifierName": "Application" }, "name": "Application", "leadingComments": null }, "local": { "type": "Identifier", "start": 32, "end": 43, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 20 }, "identifierName": "Application" }, "name": "Application" }, "leadingComments": null } ], "source": { "type": "StringLiteral", "start": 51, "end": 67, "loc": { "start": { "line": 2, "column": 28 }, "end": { "line": 2, "column": 44 } }, "extra": { "rawValue": "../application", "raw": "\"../application\"" }, "value": "../application" }, "leadingComments": [ { "type": "CommentBlock", "value": " typehints:start ", "start": 0, "end": 21, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 21 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": " typehints:end ", "start": 70, "end": 89, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 19 } } } ] }, { "type": "ImportDeclaration", "start": 93, "end": 136, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 43 } }, "specifiers": [ { "type": "ImportSpecifier", "start": 102, "end": 111, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 18 } }, "imported": { "type": "Identifier", "start": 102, "end": 111, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 18 }, "identifierName": "IS_MOBILE" }, "name": "IS_MOBILE", "leadingComments": null }, "local": { "type": "Identifier", "start": 102, "end": 111, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 18 }, "identifierName": "IS_MOBILE" }, "name": "IS_MOBILE" }, "leadingComments": null } ], "source": { "type": "StringLiteral", "start": 119, "end": 135, "loc": { "start": { "line": 5, "column": 26 }, "end": { "line": 5, "column": 42 } }, "extra": { "rawValue": "../core/config", "raw": "\"../core/config\"" }, "value": "../core/config" }, "leadingComments": [ { "type": "CommentBlock", "value": " typehints:end ", "start": 70, "end": 89, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 19 } } } ] }, { "type": "ExportNamedDeclaration", "start": 140, "end": 2760, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 131, "column": 1 } }, "specifiers": [], "source": null, "declaration": { "type": "ClassDeclaration", "start": 147, "end": 2760, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 131, "column": 1 } }, "id": { "type": "Identifier", "start": 153, "end": 177, "loc": { "start": { "line": 7, "column": 13 }, "end": { "line": 7, "column": 37 }, "identifierName": "PlatformWrapperInterface" }, "name": "PlatformWrapperInterface" }, "superClass": null, "body": { "type": "ClassBody", "start": 178, "end": 2760, "loc": { "start": { "line": 7, "column": 38 }, "end": { "line": 131, "column": 1 } }, "body": [ { "type": "ClassMethod", "start": 185, "end": 271, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 11, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 185, "end": 196, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 15 }, "identifierName": "constructor" }, "name": "constructor" }, "kind": "constructor", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 197, "end": 200, "loc": { "start": { "line": 8, "column": 16 }, "end": { "line": 8, "column": 19 }, "identifierName": "app" }, "name": "app" } ], "body": { "type": "BlockStatement", "start": 202, "end": 271, "loc": { "start": { "line": 8, "column": 21 }, "end": { "line": 11, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 249, "end": 264, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 23 } }, "expression": { "type": "AssignmentExpression", "start": 249, "end": 263, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 22 } }, "operator": "=", "left": { "type": "MemberExpression", "start": 249, "end": 257, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 16 } }, "object": { "type": "ThisExpression", "start": 249, "end": 253, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 12 } }, "leadingComments": null }, "property": { "type": "Identifier", "start": 254, "end": 257, "loc": { "start": { "line": 10, "column": 13 }, "end": { "line": 10, "column": 16 }, "identifierName": "app" }, "name": "app" }, "computed": false, "leadingComments": null }, "right": { "type": "Identifier", "start": 260, "end": 263, "loc": { "start": { "line": 10, "column": 19 }, "end": { "line": 10, "column": 22 }, "identifierName": "app" }, "name": "app" }, "leadingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @type {Application} ", "start": 213, "end": 239, "loc": { "start": { "line": 9, "column": 8 }, "end": { "line": 9, "column": 34 } } } ] } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "* @returns {string} ", "start": 279, "end": 303, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 28 } } } ] }, { "type": "ClassMethod", "start": 309, "end": 380, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 17, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 309, "end": 314, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 9 }, "identifierName": "getId" }, "name": "getId", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 317, "end": 380, "loc": { "start": { "line": 14, "column": 12 }, "end": { "line": 17, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 328, "end": 337, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 17 } }, "expression": { "type": "Identifier", "start": 328, "end": 336, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 16 }, "identifierName": "abstract" }, "name": "abstract" } }, { "type": "ReturnStatement", "start": 347, "end": 373, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 34 } }, "argument": { "type": "StringLiteral", "start": 354, "end": 372, "loc": { "start": { "line": 16, "column": 15 }, "end": { "line": 16, "column": 33 } }, "extra": { "rawValue": "unknown-platform", "raw": "\"unknown-platform\"" }, "value": "unknown-platform" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @returns {string} ", "start": 279, "end": 303, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 28 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the UI scale, called on every resize\r\n * @returns {number} ", "start": 388, "end": 473, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 21, "column": 27 } } } ] }, { "type": "ClassMethod", "start": 479, "end": 519, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 24, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 479, "end": 489, "loc": { "start": { "line": 22, "column": 4 }, "end": { "line": 22, "column": 14 }, "identifierName": "getUiScale" }, "name": "getUiScale", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 492, "end": 519, "loc": { "start": { "line": 22, "column": 17 }, "end": { "line": 24, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 503, "end": 512, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 17 } }, "argument": { "type": "NumericLiteral", "start": 510, "end": 511, "loc": { "start": { "line": 23, "column": 15 }, "end": { "line": 23, "column": 16 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the UI scale, called on every resize\r\n * @returns {number} ", "start": 388, "end": 473, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 21, "column": 27 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "* @returns {boolean} ", "start": 527, "end": 552, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 29 } } } ] }, { "type": "ClassMethod", "start": 558, "end": 629, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 30, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 558, "end": 576, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 22 }, "identifierName": "getSupportsRestart" }, "name": "getSupportsRestart", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 579, "end": 629, "loc": { "start": { "line": 27, "column": 25 }, "end": { "line": 30, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 590, "end": 599, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 17 } }, "expression": { "type": "Identifier", "start": 590, "end": 598, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 16 }, "identifierName": "abstract" }, "name": "abstract" } }, { "type": "ReturnStatement", "start": 609, "end": 622, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 616, "end": 621, "loc": { "start": { "line": 29, "column": 15 }, "end": { "line": 29, "column": 20 } }, "value": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @returns {boolean} ", "start": 527, "end": 552, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 29 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the strength of touch pans with the mouse\r\n ", "start": 637, "end": 707, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 34, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 713, "end": 762, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 37, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 713, "end": 732, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 23 }, "identifierName": "getTouchPanStrength" }, "name": "getTouchPanStrength", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 735, "end": 762, "loc": { "start": { "line": 35, "column": 26 }, "end": { "line": 37, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 746, "end": 755, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 36, "column": 17 } }, "argument": { "type": "NumericLiteral", "start": 753, "end": 754, "loc": { "start": { "line": 36, "column": 15 }, "end": { "line": 36, "column": 16 } }, "extra": { "rawValue": 1, "raw": "1" }, "value": 1 } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns the strength of touch pans with the mouse\r\n ", "start": 637, "end": 707, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 34, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "* @returns {Promise} ", "start": 770, "end": 801, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 39, "column": 35 } } } ] }, { "type": "ClassMethod", "start": 807, "end": 933, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 43, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 807, "end": 817, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 14 }, "identifierName": "initialize" }, "name": "initialize", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 820, "end": 933, "loc": { "start": { "line": 40, "column": 17 }, "end": { "line": 43, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 831, "end": 891, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 68 } }, "expression": { "type": "CallExpression", "start": 831, "end": 890, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 67 } }, "callee": { "type": "MemberExpression", "start": 831, "end": 869, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 46 } }, "object": { "type": "MemberExpression", "start": 831, "end": 865, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 42 } }, "object": { "type": "MemberExpression", "start": 831, "end": 855, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 32 } }, "object": { "type": "Identifier", "start": 831, "end": 839, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 16 }, "identifierName": "document" }, "name": "document" }, "property": { "type": "Identifier", "start": 840, "end": 855, "loc": { "start": { "line": 41, "column": 17 }, "end": { "line": 41, "column": 32 }, "identifierName": "documentElement" }, "name": "documentElement" }, "computed": false }, "property": { "type": "Identifier", "start": 856, "end": 865, "loc": { "start": { "line": 41, "column": 33 }, "end": { "line": 41, "column": 42 }, "identifierName": "classList" }, "name": "classList" }, "computed": false }, "property": { "type": "Identifier", "start": 866, "end": 869, "loc": { "start": { "line": 41, "column": 43 }, "end": { "line": 41, "column": 46 }, "identifierName": "add" }, "name": "add" }, "computed": false }, "arguments": [ { "type": "BinaryExpression", "start": 870, "end": 889, "loc": { "start": { "line": 41, "column": 47 }, "end": { "line": 41, "column": 66 } }, "left": { "type": "StringLiteral", "start": 870, "end": 874, "loc": { "start": { "line": 41, "column": 47 }, "end": { "line": 41, "column": 51 } }, "extra": { "rawValue": "p-", "raw": "\"p-\"" }, "value": "p-" }, "operator": "+", "right": { "type": "CallExpression", "start": 877, "end": 889, "loc": { "start": { "line": 41, "column": 54 }, "end": { "line": 41, "column": 66 } }, "callee": { "type": "MemberExpression", "start": 877, "end": 887, "loc": { "start": { "line": 41, "column": 54 }, "end": { "line": 41, "column": 64 } }, "object": { "type": "ThisExpression", "start": 877, "end": 881, "loc": { "start": { "line": 41, "column": 54 }, "end": { "line": 41, "column": 58 } } }, "property": { "type": "Identifier", "start": 882, "end": 887, "loc": { "start": { "line": 41, "column": 59 }, "end": { "line": 41, "column": 64 }, "identifierName": "getId" }, "name": "getId" }, "computed": false }, "arguments": [] } } ] } }, { "type": "ReturnStatement", "start": 901, "end": 926, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "column": 33 } }, "argument": { "type": "CallExpression", "start": 908, "end": 925, "loc": { "start": { "line": 42, "column": 15 }, "end": { "line": 42, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 908, "end": 923, "loc": { "start": { "line": 42, "column": 15 }, "end": { "line": 42, "column": 30 } }, "object": { "type": "Identifier", "start": 908, "end": 915, "loc": { "start": { "line": 42, "column": 15 }, "end": { "line": 42, "column": 22 }, "identifierName": "Promise" }, "name": "Promise" }, "property": { "type": "Identifier", "start": 916, "end": 923, "loc": { "start": { "line": 42, "column": 23 }, "end": { "line": 42, "column": 30 }, "identifierName": "resolve" }, "name": "resolve" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "* @returns {Promise} ", "start": 770, "end": 801, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 39, "column": 35 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Should initialize the apps ad provider in case supported\r\n * @returns {Promise}\r\n ", "start": 941, "end": 1052, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 48, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1058, "end": 1124, "loc": { "start": { "line": 49, "column": 4 }, "end": { "line": 51, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1058, "end": 1078, "loc": { "start": { "line": 49, "column": 4 }, "end": { "line": 49, "column": 24 }, "identifierName": "initializeAdProvider" }, "name": "initializeAdProvider", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1081, "end": 1124, "loc": { "start": { "line": 49, "column": 27 }, "end": { "line": 51, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 1092, "end": 1117, "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 50, "column": 33 } }, "argument": { "type": "CallExpression", "start": 1099, "end": 1116, "loc": { "start": { "line": 50, "column": 15 }, "end": { "line": 50, "column": 32 } }, "callee": { "type": "MemberExpression", "start": 1099, "end": 1114, "loc": { "start": { "line": 50, "column": 15 }, "end": { "line": 50, "column": 30 } }, "object": { "type": "Identifier", "start": 1099, "end": 1106, "loc": { "start": { "line": 50, "column": 15 }, "end": { "line": 50, "column": 22 }, "identifierName": "Promise" }, "name": "Promise" }, "property": { "type": "Identifier", "start": 1107, "end": 1114, "loc": { "start": { "line": 50, "column": 23 }, "end": { "line": 50, "column": 30 }, "identifierName": "resolve" }, "name": "resolve" }, "computed": false }, "arguments": [] } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Should initialize the apps ad provider in case supported\r\n * @returns {Promise}\r\n ", "start": 941, "end": 1052, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 48, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Should return the minimum supported zoom level\r\n * @returns {number}\r\n ", "start": 1132, "end": 1225, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 56, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1231, "end": 1301, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 59, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1231, "end": 1245, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 57, "column": 18 }, "identifierName": "getMinimumZoom" }, "name": "getMinimumZoom", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1248, "end": 1301, "loc": { "start": { "line": 57, "column": 21 }, "end": { "line": 59, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 1259, "end": 1294, "loc": { "start": { "line": 58, "column": 8 }, "end": { "line": 58, "column": 43 } }, "argument": { "type": "BinaryExpression", "start": 1266, "end": 1293, "loc": { "start": { "line": 58, "column": 15 }, "end": { "line": 58, "column": 42 } }, "left": { "type": "NumericLiteral", "start": 1266, "end": 1269, "loc": { "start": { "line": 58, "column": 15 }, "end": { "line": 58, "column": 18 } }, "extra": { "rawValue": 0.1, "raw": "0.1" }, "value": 0.1 }, "operator": "*", "right": { "type": "CallExpression", "start": 1272, "end": 1293, "loc": { "start": { "line": 58, "column": 21 }, "end": { "line": 58, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 1272, "end": 1291, "loc": { "start": { "line": 58, "column": 21 }, "end": { "line": 58, "column": 40 } }, "object": { "type": "ThisExpression", "start": 1272, "end": 1276, "loc": { "start": { "line": 58, "column": 21 }, "end": { "line": 58, "column": 25 } } }, "property": { "type": "Identifier", "start": 1277, "end": 1291, "loc": { "start": { "line": 58, "column": 26 }, "end": { "line": 58, "column": 40 }, "identifierName": "getScreenScale" }, "name": "getScreenScale" }, "computed": false }, "arguments": [] } } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Should return the minimum supported zoom level\r\n * @returns {number}\r\n ", "start": 1132, "end": 1225, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 56, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Should return the maximum supported zoom level\r\n * @returns {number}\r\n ", "start": 1309, "end": 1402, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 64, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1408, "end": 1478, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 67, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1408, "end": 1422, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 18 }, "identifierName": "getMaximumZoom" }, "name": "getMaximumZoom", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1425, "end": 1478, "loc": { "start": { "line": 65, "column": 21 }, "end": { "line": 67, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 1436, "end": 1471, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 43 } }, "argument": { "type": "BinaryExpression", "start": 1443, "end": 1470, "loc": { "start": { "line": 66, "column": 15 }, "end": { "line": 66, "column": 42 } }, "left": { "type": "NumericLiteral", "start": 1443, "end": 1446, "loc": { "start": { "line": 66, "column": 15 }, "end": { "line": 66, "column": 18 } }, "extra": { "rawValue": 3.5, "raw": "3.5" }, "value": 3.5 }, "operator": "*", "right": { "type": "CallExpression", "start": 1449, "end": 1470, "loc": { "start": { "line": 66, "column": 21 }, "end": { "line": 66, "column": 42 } }, "callee": { "type": "MemberExpression", "start": 1449, "end": 1468, "loc": { "start": { "line": 66, "column": 21 }, "end": { "line": 66, "column": 40 } }, "object": { "type": "ThisExpression", "start": 1449, "end": 1453, "loc": { "start": { "line": 66, "column": 21 }, "end": { "line": 66, "column": 25 } } }, "property": { "type": "Identifier", "start": 1454, "end": 1468, "loc": { "start": { "line": 66, "column": 26 }, "end": { "line": 66, "column": 40 }, "identifierName": "getScreenScale" }, "name": "getScreenScale" }, "computed": false }, "arguments": [] } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Should return the maximum supported zoom level\r\n * @returns {number}\r\n ", "start": 1309, "end": 1402, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 64, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1486, "end": 1585, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 71, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1486, "end": 1500, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 18 }, "identifierName": "getScreenScale" }, "name": "getScreenScale" }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1503, "end": 1585, "loc": { "start": { "line": 69, "column": 21 }, "end": { "line": 71, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 1514, "end": 1578, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 72 } }, "argument": { "type": "BinaryExpression", "start": 1521, "end": 1577, "loc": { "start": { "line": 70, "column": 15 }, "end": { "line": 70, "column": 71 } }, "left": { "type": "CallExpression", "start": 1521, "end": 1568, "loc": { "start": { "line": 70, "column": 15 }, "end": { "line": 70, "column": 62 } }, "callee": { "type": "MemberExpression", "start": 1521, "end": 1529, "loc": { "start": { "line": 70, "column": 15 }, "end": { "line": 70, "column": 23 } }, "object": { "type": "Identifier", "start": 1521, "end": 1525, "loc": { "start": { "line": 70, "column": 15 }, "end": { "line": 70, "column": 19 }, "identifierName": "Math" }, "name": "Math" }, "property": { "type": "Identifier", "start": 1526, "end": 1529, "loc": { "start": { "line": 70, "column": 20 }, "end": { "line": 70, "column": 23 }, "identifierName": "min" }, "name": "min" }, "computed": false }, "arguments": [ { "type": "MemberExpression", "start": 1530, "end": 1547, "loc": { "start": { "line": 70, "column": 24 }, "end": { "line": 70, "column": 41 } }, "object": { "type": "Identifier", "start": 1530, "end": 1536, "loc": { "start": { "line": 70, "column": 24 }, "end": { "line": 70, "column": 30 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 1537, "end": 1547, "loc": { "start": { "line": 70, "column": 31 }, "end": { "line": 70, "column": 41 }, "identifierName": "innerWidth" }, "name": "innerWidth" }, "computed": false }, { "type": "MemberExpression", "start": 1549, "end": 1567, "loc": { "start": { "line": 70, "column": 43 }, "end": { "line": 70, "column": 61 } }, "object": { "type": "Identifier", "start": 1549, "end": 1555, "loc": { "start": { "line": 70, "column": 43 }, "end": { "line": 70, "column": 49 }, "identifierName": "window" }, "name": "window" }, "property": { "type": "Identifier", "start": 1556, "end": 1567, "loc": { "start": { "line": 70, "column": 50 }, "end": { "line": 70, "column": 61 }, "identifierName": "innerHeight" }, "name": "innerHeight" }, "computed": false } ] }, "operator": "/", "right": { "type": "NumericLiteral", "start": 1571, "end": 1577, "loc": { "start": { "line": 70, "column": 65 }, "end": { "line": 70, "column": 71 } }, "extra": { "rawValue": 1024, "raw": "1024.0" }, "value": 1024 } } } ], "directives": [], "trailingComments": null }, "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Should return if this platform supports ads at all\r\n ", "start": 1593, "end": 1664, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 75, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1670, "end": 1718, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 78, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1670, "end": 1684, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 18 }, "identifierName": "getSupportsAds" }, "name": "getSupportsAds", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 1687, "end": 1718, "loc": { "start": { "line": 76, "column": 21 }, "end": { "line": 78, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 1698, "end": 1711, "loc": { "start": { "line": 77, "column": 8 }, "end": { "line": 77, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 1705, "end": 1710, "loc": { "start": { "line": 77, "column": 15 }, "end": { "line": 77, "column": 20 } }, "value": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Should return if this platform supports ads at all\r\n ", "start": 1593, "end": 1664, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 75, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Attempt to open an external url\r\n * @param {string} url\r\n * @param {boolean=} force Whether to always open the url even if not allowed\r\n ", "start": 1726, "end": 1889, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 84, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 1895, "end": 1959, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 87, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 1895, "end": 1911, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 20 }, "identifierName": "openExternalLink" }, "name": "openExternalLink", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 1912, "end": 1915, "loc": { "start": { "line": 85, "column": 21 }, "end": { "line": 85, "column": 24 }, "identifierName": "url" }, "name": "url" }, { "type": "AssignmentPattern", "start": 1917, "end": 1930, "loc": { "start": { "line": 85, "column": 26 }, "end": { "line": 85, "column": 39 } }, "left": { "type": "Identifier", "start": 1917, "end": 1922, "loc": { "start": { "line": 85, "column": 26 }, "end": { "line": 85, "column": 31 }, "identifierName": "force" }, "name": "force" }, "right": { "type": "BooleanLiteral", "start": 1925, "end": 1930, "loc": { "start": { "line": 85, "column": 34 }, "end": { "line": 85, "column": 39 } }, "value": false } } ], "body": { "type": "BlockStatement", "start": 1932, "end": 1959, "loc": { "start": { "line": 85, "column": 41 }, "end": { "line": 87, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 1943, "end": 1952, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 17 } }, "expression": { "type": "Identifier", "start": 1943, "end": 1951, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 16 }, "identifierName": "abstract" }, "name": "abstract" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Attempt to open an external url\r\n * @param {string} url\r\n * @param {boolean=} force Whether to always open the url even if not allowed\r\n ", "start": 1726, "end": 1889, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 84, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Attempt to restart the app\r\n ", "start": 1967, "end": 2014, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 91, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2020, "end": 2064, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 94, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2020, "end": 2034, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 18 }, "identifierName": "performRestart" }, "name": "performRestart", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2037, "end": 2064, "loc": { "start": { "line": 92, "column": 21 }, "end": { "line": 94, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2048, "end": 2057, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 17 } }, "expression": { "type": "Identifier", "start": 2048, "end": 2056, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 16 }, "identifierName": "abstract" }, "name": "abstract" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Attempt to restart the app\r\n ", "start": 1967, "end": 2014, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 91, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns whether this platform supports a toggleable fullscreen\r\n ", "start": 2072, "end": 2155, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 98, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2161, "end": 2216, "loc": { "start": { "line": 99, "column": 4 }, "end": { "line": 101, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2161, "end": 2182, "loc": { "start": { "line": 99, "column": 4 }, "end": { "line": 99, "column": 25 }, "identifierName": "getSupportsFullscreen" }, "name": "getSupportsFullscreen", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2185, "end": 2216, "loc": { "start": { "line": 99, "column": 28 }, "end": { "line": 101, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 2196, "end": 2209, "loc": { "start": { "line": 100, "column": 8 }, "end": { "line": 100, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 2203, "end": 2208, "loc": { "start": { "line": 100, "column": 15 }, "end": { "line": 100, "column": 20 } }, "value": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns whether this platform supports a toggleable fullscreen\r\n ", "start": 2072, "end": 2155, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 98, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Should set the apps fullscreen state to the desired state\r\n * @param {boolean} flag\r\n ", "start": 2224, "end": 2332, "loc": { "start": { "line": 103, "column": 4 }, "end": { "line": 106, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2338, "end": 2385, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 109, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2338, "end": 2351, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 107, "column": 17 }, "identifierName": "setFullscreen" }, "name": "setFullscreen", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [ { "type": "Identifier", "start": 2352, "end": 2356, "loc": { "start": { "line": 107, "column": 18 }, "end": { "line": 107, "column": 22 }, "identifierName": "flag" }, "name": "flag" } ], "body": { "type": "BlockStatement", "start": 2358, "end": 2385, "loc": { "start": { "line": 107, "column": 24 }, "end": { "line": 109, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2369, "end": 2378, "loc": { "start": { "line": 108, "column": 8 }, "end": { "line": 108, "column": 17 } }, "expression": { "type": "Identifier", "start": 2369, "end": 2377, "loc": { "start": { "line": 108, "column": 8 }, "end": { "line": 108, "column": 16 }, "identifierName": "abstract" }, "name": "abstract" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Should set the apps fullscreen state to the desired state\r\n * @param {boolean} flag\r\n ", "start": 2224, "end": 2332, "loc": { "start": { "line": 103, "column": 4 }, "end": { "line": 106, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns whether this platform supports quitting the app\r\n ", "start": 2393, "end": 2469, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 113, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2475, "end": 2527, "loc": { "start": { "line": 114, "column": 4 }, "end": { "line": 116, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2475, "end": 2493, "loc": { "start": { "line": 114, "column": 4 }, "end": { "line": 114, "column": 22 }, "identifierName": "getSupportsAppExit" }, "name": "getSupportsAppExit", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2496, "end": 2527, "loc": { "start": { "line": 114, "column": 25 }, "end": { "line": 116, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 2507, "end": 2520, "loc": { "start": { "line": 115, "column": 8 }, "end": { "line": 115, "column": 21 } }, "argument": { "type": "BooleanLiteral", "start": 2514, "end": 2519, "loc": { "start": { "line": 115, "column": 15 }, "end": { "line": 115, "column": 20 } }, "value": false } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Returns whether this platform supports quitting the app\r\n ", "start": 2393, "end": 2469, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 113, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Attempts to quit the app\r\n ", "start": 2535, "end": 2580, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 120, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2586, "end": 2623, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 123, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2586, "end": 2593, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 11 }, "identifierName": "exitApp" }, "name": "exitApp", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2596, "end": 2623, "loc": { "start": { "line": 121, "column": 14 }, "end": { "line": 123, "column": 5 } }, "body": [ { "type": "ExpressionStatement", "start": 2607, "end": 2616, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 17 } }, "expression": { "type": "Identifier", "start": 2607, "end": 2615, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 16 }, "identifierName": "abstract" }, "name": "abstract" } } ], "directives": [], "trailingComments": null }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Attempts to quit the app\r\n ", "start": 2535, "end": 2580, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 120, "column": 7 } } } ], "trailingComments": [ { "type": "CommentBlock", "value": "*\r\n * Whether this platform supports a keyboard\r\n ", "start": 2631, "end": 2693, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 127, "column": 7 } } } ] }, { "type": "ClassMethod", "start": 2699, "end": 2757, "loc": { "start": { "line": 128, "column": 4 }, "end": { "line": 130, "column": 5 } }, "static": false, "computed": false, "key": { "type": "Identifier", "start": 2699, "end": 2718, "loc": { "start": { "line": 128, "column": 4 }, "end": { "line": 128, "column": 23 }, "identifierName": "getSupportsKeyboard" }, "name": "getSupportsKeyboard", "leadingComments": null }, "kind": "method", "id": null, "generator": false, "expression": false, "async": false, "params": [], "body": { "type": "BlockStatement", "start": 2721, "end": 2757, "loc": { "start": { "line": 128, "column": 26 }, "end": { "line": 130, "column": 5 } }, "body": [ { "type": "ReturnStatement", "start": 2732, "end": 2750, "loc": { "start": { "line": 129, "column": 8 }, "end": { "line": 129, "column": 26 } }, "argument": { "type": "UnaryExpression", "start": 2739, "end": 2749, "loc": { "start": { "line": 129, "column": 15 }, "end": { "line": 129, "column": 25 } }, "operator": "!", "prefix": true, "argument": { "type": "Identifier", "start": 2740, "end": 2749, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 129, "column": 25 }, "identifierName": "IS_MOBILE" }, "name": "IS_MOBILE" }, "extra": { "parenthesizedArgument": false } } } ], "directives": [] }, "leadingComments": [ { "type": "CommentBlock", "value": "*\r\n * Whether this platform supports a keyboard\r\n ", "start": 2631, "end": 2693, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 127, "column": 7 } } } ] } ] }, "leadingComments": [], "trailingComments": [] } } ], "directives": [] }, "comments": [ { "type": "CommentBlock", "value": " typehints:start ", "start": 0, "end": 21, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 21 } } }, { "type": "CommentBlock", "value": " typehints:end ", "start": 70, "end": 89, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 19 } } }, { "type": "CommentBlock", "value": "* @type {Application} ", "start": 213, "end": 239, "loc": { "start": { "line": 9, "column": 8 }, "end": { "line": 9, "column": 34 } } }, { "type": "CommentBlock", "value": "* @returns {string} ", "start": 279, "end": 303, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 28 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the UI scale, called on every resize\r\n * @returns {number} ", "start": 388, "end": 473, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 21, "column": 27 } } }, { "type": "CommentBlock", "value": "* @returns {boolean} ", "start": 527, "end": 552, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 29 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the strength of touch pans with the mouse\r\n ", "start": 637, "end": 707, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 34, "column": 7 } } }, { "type": "CommentBlock", "value": "* @returns {Promise} ", "start": 770, "end": 801, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 39, "column": 35 } } }, { "type": "CommentBlock", "value": "*\r\n * Should initialize the apps ad provider in case supported\r\n * @returns {Promise}\r\n ", "start": 941, "end": 1052, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 48, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Should return the minimum supported zoom level\r\n * @returns {number}\r\n ", "start": 1132, "end": 1225, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 56, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Should return the maximum supported zoom level\r\n * @returns {number}\r\n ", "start": 1309, "end": 1402, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 64, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Should return if this platform supports ads at all\r\n ", "start": 1593, "end": 1664, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 75, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Attempt to open an external url\r\n * @param {string} url\r\n * @param {boolean=} force Whether to always open the url even if not allowed\r\n ", "start": 1726, "end": 1889, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 84, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Attempt to restart the app\r\n ", "start": 1967, "end": 2014, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 91, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns whether this platform supports a toggleable fullscreen\r\n ", "start": 2072, "end": 2155, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 98, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Should set the apps fullscreen state to the desired state\r\n * @param {boolean} flag\r\n ", "start": 2224, "end": 2332, "loc": { "start": { "line": 103, "column": 4 }, "end": { "line": 106, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns whether this platform supports quitting the app\r\n ", "start": 2393, "end": 2469, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 113, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Attempts to quit the app\r\n ", "start": 2535, "end": 2580, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 120, "column": 7 } } }, { "type": "CommentBlock", "value": "*\r\n * Whether this platform supports a keyboard\r\n ", "start": 2631, "end": 2693, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 127, "column": 7 } } } ], "tokens": [ { "type": "CommentBlock", "value": " typehints:start ", "start": 0, "end": 21, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 21 } } }, { "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": 23, "end": 29, "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": 30, "end": 31, "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": "Application", "start": 32, "end": 43, "loc": { "start": { "line": 2, "column": 9 }, "end": { "line": 2, "column": 20 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 44, "end": 45, "loc": { "start": { "line": 2, "column": 21 }, "end": { "line": 2, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 46, "end": 50, "loc": { "start": { "line": 2, "column": 23 }, "end": { "line": 2, "column": 27 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../application", "start": 51, "end": 67, "loc": { "start": { "line": 2, "column": 28 }, "end": { "line": 2, "column": 44 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 67, "end": 68, "loc": { "start": { "line": 2, "column": 44 }, "end": { "line": 2, "column": 45 } } }, { "type": "CommentBlock", "value": " typehints:end ", "start": 70, "end": 89, "loc": { "start": { "line": 3, "column": 0 }, "end": { "line": 3, "column": 19 } } }, { "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": 93, "end": 99, "loc": { "start": { "line": 5, "column": 0 }, "end": { "line": 5, "column": 6 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 100, "end": 101, "loc": { "start": { "line": 5, "column": 7 }, "end": { "line": 5, "column": 8 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "IS_MOBILE", "start": 102, "end": 111, "loc": { "start": { "line": 5, "column": 9 }, "end": { "line": 5, "column": 18 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 112, "end": 113, "loc": { "start": { "line": 5, "column": 19 }, "end": { "line": 5, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "from", "start": 114, "end": 118, "loc": { "start": { "line": 5, "column": 21 }, "end": { "line": 5, "column": 25 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "../core/config", "start": 119, "end": 135, "loc": { "start": { "line": 5, "column": 26 }, "end": { "line": 5, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 135, "end": 136, "loc": { "start": { "line": 5, "column": 42 }, "end": { "line": 5, "column": 43 } } }, { "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": 140, "end": 146, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 7, "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": 147, "end": 152, "loc": { "start": { "line": 7, "column": 7 }, "end": { "line": 7, "column": 12 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "PlatformWrapperInterface", "start": 153, "end": 177, "loc": { "start": { "line": 7, "column": 13 }, "end": { "line": 7, "column": 37 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 178, "end": 179, "loc": { "start": { "line": 7, "column": 38 }, "end": { "line": 7, "column": 39 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "constructor", "start": 185, "end": 196, "loc": { "start": { "line": 8, "column": 4 }, "end": { "line": 8, "column": 15 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 196, "end": 197, "loc": { "start": { "line": 8, "column": 15 }, "end": { "line": 8, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 197, "end": 200, "loc": { "start": { "line": 8, "column": 16 }, "end": { "line": 8, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 200, "end": 201, "loc": { "start": { "line": 8, "column": 19 }, "end": { "line": 8, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 202, "end": 203, "loc": { "start": { "line": 8, "column": 21 }, "end": { "line": 8, "column": 22 } } }, { "type": "CommentBlock", "value": "* @type {Application} ", "start": 213, "end": 239, "loc": { "start": { "line": 9, "column": 8 }, "end": { "line": 9, "column": 34 } } }, { "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": 249, "end": 253, "loc": { "start": { "line": 10, "column": 8 }, "end": { "line": 10, "column": 12 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 253, "end": 254, "loc": { "start": { "line": 10, "column": 12 }, "end": { "line": 10, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 254, "end": 257, "loc": { "start": { "line": 10, "column": 13 }, "end": { "line": 10, "column": 16 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 258, "end": 259, "loc": { "start": { "line": 10, "column": 17 }, "end": { "line": 10, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "app", "start": 260, "end": 263, "loc": { "start": { "line": 10, "column": 19 }, "end": { "line": 10, "column": 22 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 263, "end": 264, "loc": { "start": { "line": 10, "column": 22 }, "end": { "line": 10, "column": 23 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 270, "end": 271, "loc": { "start": { "line": 11, "column": 4 }, "end": { "line": 11, "column": 5 } } }, { "type": "CommentBlock", "value": "* @returns {string} ", "start": 279, "end": 303, "loc": { "start": { "line": 13, "column": 4 }, "end": { "line": 13, "column": 28 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getId", "start": 309, "end": 314, "loc": { "start": { "line": 14, "column": 4 }, "end": { "line": 14, "column": 9 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 314, "end": 315, "loc": { "start": { "line": 14, "column": 9 }, "end": { "line": 14, "column": 10 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 315, "end": 316, "loc": { "start": { "line": 14, "column": 10 }, "end": { "line": 14, "column": 11 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 317, "end": 318, "loc": { "start": { "line": 14, "column": 12 }, "end": { "line": 14, "column": 13 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "abstract", "start": 328, "end": 336, "loc": { "start": { "line": 15, "column": 8 }, "end": { "line": 15, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 336, "end": 337, "loc": { "start": { "line": 15, "column": 16 }, "end": { "line": 15, "column": 17 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 347, "end": 353, "loc": { "start": { "line": 16, "column": 8 }, "end": { "line": 16, "column": 14 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "unknown-platform", "start": 354, "end": 372, "loc": { "start": { "line": 16, "column": 15 }, "end": { "line": 16, "column": 33 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 372, "end": 373, "loc": { "start": { "line": 16, "column": 33 }, "end": { "line": 16, "column": 34 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 379, "end": 380, "loc": { "start": { "line": 17, "column": 4 }, "end": { "line": 17, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the UI scale, called on every resize\r\n * @returns {number} ", "start": 388, "end": 473, "loc": { "start": { "line": 19, "column": 4 }, "end": { "line": 21, "column": 27 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getUiScale", "start": 479, "end": 489, "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": 489, "end": 490, "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": 490, "end": 491, "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": 492, "end": 493, "loc": { "start": { "line": 22, "column": 17 }, "end": { "line": 22, "column": 18 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 503, "end": 509, "loc": { "start": { "line": 23, "column": 8 }, "end": { "line": 23, "column": 14 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 510, "end": 511, "loc": { "start": { "line": 23, "column": 15 }, "end": { "line": 23, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 511, "end": 512, "loc": { "start": { "line": 23, "column": 16 }, "end": { "line": 23, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 518, "end": 519, "loc": { "start": { "line": 24, "column": 4 }, "end": { "line": 24, "column": 5 } } }, { "type": "CommentBlock", "value": "* @returns {boolean} ", "start": 527, "end": 552, "loc": { "start": { "line": 26, "column": 4 }, "end": { "line": 26, "column": 29 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSupportsRestart", "start": 558, "end": 576, "loc": { "start": { "line": 27, "column": 4 }, "end": { "line": 27, "column": 22 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 576, "end": 577, "loc": { "start": { "line": 27, "column": 22 }, "end": { "line": 27, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 577, "end": 578, "loc": { "start": { "line": 27, "column": 23 }, "end": { "line": 27, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 579, "end": 580, "loc": { "start": { "line": 27, "column": 25 }, "end": { "line": 27, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "abstract", "start": 590, "end": 598, "loc": { "start": { "line": 28, "column": 8 }, "end": { "line": 28, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 598, "end": 599, "loc": { "start": { "line": 28, "column": 16 }, "end": { "line": 28, "column": 17 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 609, "end": 615, "loc": { "start": { "line": 29, "column": 8 }, "end": { "line": 29, "column": 14 } } }, { "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": 616, "end": 621, "loc": { "start": { "line": 29, "column": 15 }, "end": { "line": 29, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 621, "end": 622, "loc": { "start": { "line": 29, "column": 20 }, "end": { "line": 29, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 628, "end": 629, "loc": { "start": { "line": 30, "column": 4 }, "end": { "line": 30, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns the strength of touch pans with the mouse\r\n ", "start": 637, "end": 707, "loc": { "start": { "line": 32, "column": 4 }, "end": { "line": 34, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getTouchPanStrength", "start": 713, "end": 732, "loc": { "start": { "line": 35, "column": 4 }, "end": { "line": 35, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 732, "end": 733, "loc": { "start": { "line": 35, "column": 23 }, "end": { "line": 35, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 733, "end": 734, "loc": { "start": { "line": 35, "column": 24 }, "end": { "line": 35, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 735, "end": 736, "loc": { "start": { "line": 35, "column": 26 }, "end": { "line": 35, "column": 27 } } }, { "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": 746, "end": 752, "loc": { "start": { "line": 36, "column": 8 }, "end": { "line": 36, "column": 14 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1, "start": 753, "end": 754, "loc": { "start": { "line": 36, "column": 15 }, "end": { "line": 36, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 754, "end": 755, "loc": { "start": { "line": 36, "column": 16 }, "end": { "line": 36, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 761, "end": 762, "loc": { "start": { "line": 37, "column": 4 }, "end": { "line": 37, "column": 5 } } }, { "type": "CommentBlock", "value": "* @returns {Promise} ", "start": 770, "end": 801, "loc": { "start": { "line": 39, "column": 4 }, "end": { "line": 39, "column": 35 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initialize", "start": 807, "end": 817, "loc": { "start": { "line": 40, "column": 4 }, "end": { "line": 40, "column": 14 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 817, "end": 818, "loc": { "start": { "line": 40, "column": 14 }, "end": { "line": 40, "column": 15 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 818, "end": 819, "loc": { "start": { "line": 40, "column": 15 }, "end": { "line": 40, "column": 16 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 820, "end": 821, "loc": { "start": { "line": 40, "column": 17 }, "end": { "line": 40, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "document", "start": 831, "end": 839, "loc": { "start": { "line": 41, "column": 8 }, "end": { "line": 41, "column": 16 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 839, "end": 840, "loc": { "start": { "line": 41, "column": 16 }, "end": { "line": 41, "column": 17 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "documentElement", "start": 840, "end": 855, "loc": { "start": { "line": 41, "column": 17 }, "end": { "line": 41, "column": 32 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 855, "end": 856, "loc": { "start": { "line": 41, "column": 32 }, "end": { "line": 41, "column": 33 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "classList", "start": 856, "end": 865, "loc": { "start": { "line": 41, "column": 33 }, "end": { "line": 41, "column": 42 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 865, "end": 866, "loc": { "start": { "line": 41, "column": 42 }, "end": { "line": 41, "column": 43 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "add", "start": 866, "end": 869, "loc": { "start": { "line": 41, "column": 43 }, "end": { "line": 41, "column": 46 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 869, "end": 870, "loc": { "start": { "line": 41, "column": 46 }, "end": { "line": 41, "column": 47 } } }, { "type": { "label": "string", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "p-", "start": 870, "end": 874, "loc": { "start": { "line": 41, "column": 47 }, "end": { "line": 41, "column": 51 } } }, { "type": { "label": "+/-", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": 9, "updateContext": null }, "value": "+", "start": 875, "end": 876, "loc": { "start": { "line": 41, "column": 52 }, "end": { "line": 41, "column": 53 } } }, { "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": 877, "end": 881, "loc": { "start": { "line": 41, "column": 54 }, "end": { "line": 41, "column": 58 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 881, "end": 882, "loc": { "start": { "line": 41, "column": 58 }, "end": { "line": 41, "column": 59 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getId", "start": 882, "end": 887, "loc": { "start": { "line": 41, "column": 59 }, "end": { "line": 41, "column": 64 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 887, "end": 888, "loc": { "start": { "line": 41, "column": 64 }, "end": { "line": 41, "column": 65 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 888, "end": 889, "loc": { "start": { "line": 41, "column": 65 }, "end": { "line": 41, "column": 66 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 889, "end": 890, "loc": { "start": { "line": 41, "column": 66 }, "end": { "line": 41, "column": 67 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 890, "end": 891, "loc": { "start": { "line": 41, "column": 67 }, "end": { "line": 41, "column": 68 } } }, { "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": 901, "end": 907, "loc": { "start": { "line": 42, "column": 8 }, "end": { "line": 42, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Promise", "start": 908, "end": 915, "loc": { "start": { "line": 42, "column": 15 }, "end": { "line": 42, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 915, "end": 916, "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": 916, "end": 923, "loc": { "start": { "line": 42, "column": 23 }, "end": { "line": 42, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 923, "end": 924, "loc": { "start": { "line": 42, "column": 30 }, "end": { "line": 42, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 924, "end": 925, "loc": { "start": { "line": 42, "column": 31 }, "end": { "line": 42, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 925, "end": 926, "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": 932, "end": 933, "loc": { "start": { "line": 43, "column": 4 }, "end": { "line": 43, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Should initialize the apps ad provider in case supported\r\n * @returns {Promise}\r\n ", "start": 941, "end": 1052, "loc": { "start": { "line": 45, "column": 4 }, "end": { "line": 48, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "initializeAdProvider", "start": 1058, "end": 1078, "loc": { "start": { "line": 49, "column": 4 }, "end": { "line": 49, "column": 24 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1078, "end": 1079, "loc": { "start": { "line": 49, "column": 24 }, "end": { "line": 49, "column": 25 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1079, "end": 1080, "loc": { "start": { "line": 49, "column": 25 }, "end": { "line": 49, "column": 26 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1081, "end": 1082, "loc": { "start": { "line": 49, "column": 27 }, "end": { "line": 49, "column": 28 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 1092, "end": 1098, "loc": { "start": { "line": 50, "column": 8 }, "end": { "line": 50, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Promise", "start": 1099, "end": 1106, "loc": { "start": { "line": 50, "column": 15 }, "end": { "line": 50, "column": 22 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1106, "end": 1107, "loc": { "start": { "line": 50, "column": 22 }, "end": { "line": 50, "column": 23 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "resolve", "start": 1107, "end": 1114, "loc": { "start": { "line": 50, "column": 23 }, "end": { "line": 50, "column": 30 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1114, "end": 1115, "loc": { "start": { "line": 50, "column": 30 }, "end": { "line": 50, "column": 31 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1115, "end": 1116, "loc": { "start": { "line": 50, "column": 31 }, "end": { "line": 50, "column": 32 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1116, "end": 1117, "loc": { "start": { "line": 50, "column": 32 }, "end": { "line": 50, "column": 33 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1123, "end": 1124, "loc": { "start": { "line": 51, "column": 4 }, "end": { "line": 51, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Should return the minimum supported zoom level\r\n * @returns {number}\r\n ", "start": 1132, "end": 1225, "loc": { "start": { "line": 53, "column": 4 }, "end": { "line": 56, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getMinimumZoom", "start": 1231, "end": 1245, "loc": { "start": { "line": 57, "column": 4 }, "end": { "line": 57, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1245, "end": 1246, "loc": { "start": { "line": 57, "column": 18 }, "end": { "line": 57, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1246, "end": 1247, "loc": { "start": { "line": 57, "column": 19 }, "end": { "line": 57, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1248, "end": 1249, "loc": { "start": { "line": 57, "column": 21 }, "end": { "line": 57, "column": 22 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 1259, "end": 1265, "loc": { "start": { "line": 58, "column": 8 }, "end": { "line": 58, "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.1, "start": 1266, "end": 1269, "loc": { "start": { "line": 58, "column": 15 }, "end": { "line": 58, "column": 18 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 1270, "end": 1271, "loc": { "start": { "line": 58, "column": 19 }, "end": { "line": 58, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1272, "end": 1276, "loc": { "start": { "line": 58, "column": 21 }, "end": { "line": 58, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1276, "end": 1277, "loc": { "start": { "line": 58, "column": 25 }, "end": { "line": 58, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getScreenScale", "start": 1277, "end": 1291, "loc": { "start": { "line": 58, "column": 26 }, "end": { "line": 58, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1291, "end": 1292, "loc": { "start": { "line": 58, "column": 40 }, "end": { "line": 58, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1292, "end": 1293, "loc": { "start": { "line": 58, "column": 41 }, "end": { "line": 58, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1293, "end": 1294, "loc": { "start": { "line": 58, "column": 42 }, "end": { "line": 58, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1300, "end": 1301, "loc": { "start": { "line": 59, "column": 4 }, "end": { "line": 59, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Should return the maximum supported zoom level\r\n * @returns {number}\r\n ", "start": 1309, "end": 1402, "loc": { "start": { "line": 61, "column": 4 }, "end": { "line": 64, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getMaximumZoom", "start": 1408, "end": 1422, "loc": { "start": { "line": 65, "column": 4 }, "end": { "line": 65, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1422, "end": 1423, "loc": { "start": { "line": 65, "column": 18 }, "end": { "line": 65, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1423, "end": 1424, "loc": { "start": { "line": 65, "column": 19 }, "end": { "line": 65, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1425, "end": 1426, "loc": { "start": { "line": 65, "column": 21 }, "end": { "line": 65, "column": 22 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 1436, "end": 1442, "loc": { "start": { "line": 66, "column": 8 }, "end": { "line": 66, "column": 14 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 3.5, "start": 1443, "end": 1446, "loc": { "start": { "line": 66, "column": 15 }, "end": { "line": 66, "column": 18 } } }, { "type": { "label": "*", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "*", "start": 1447, "end": 1448, "loc": { "start": { "line": 66, "column": 19 }, "end": { "line": 66, "column": 20 } } }, { "type": { "label": "this", "keyword": "this", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "this", "start": 1449, "end": 1453, "loc": { "start": { "line": 66, "column": 21 }, "end": { "line": 66, "column": 25 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1453, "end": 1454, "loc": { "start": { "line": 66, "column": 25 }, "end": { "line": 66, "column": 26 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getScreenScale", "start": 1454, "end": 1468, "loc": { "start": { "line": 66, "column": 26 }, "end": { "line": 66, "column": 40 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1468, "end": 1469, "loc": { "start": { "line": 66, "column": 40 }, "end": { "line": 66, "column": 41 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1469, "end": 1470, "loc": { "start": { "line": 66, "column": 41 }, "end": { "line": 66, "column": 42 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1470, "end": 1471, "loc": { "start": { "line": 66, "column": 42 }, "end": { "line": 66, "column": 43 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1477, "end": 1478, "loc": { "start": { "line": 67, "column": 4 }, "end": { "line": 67, "column": 5 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getScreenScale", "start": 1486, "end": 1500, "loc": { "start": { "line": 69, "column": 4 }, "end": { "line": 69, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1500, "end": 1501, "loc": { "start": { "line": 69, "column": 18 }, "end": { "line": 69, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1501, "end": 1502, "loc": { "start": { "line": 69, "column": 19 }, "end": { "line": 69, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1503, "end": 1504, "loc": { "start": { "line": 69, "column": 21 }, "end": { "line": 69, "column": 22 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 1514, "end": 1520, "loc": { "start": { "line": 70, "column": 8 }, "end": { "line": 70, "column": 14 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "Math", "start": 1521, "end": 1525, "loc": { "start": { "line": 70, "column": 15 }, "end": { "line": 70, "column": 19 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1525, "end": 1526, "loc": { "start": { "line": 70, "column": 19 }, "end": { "line": 70, "column": 20 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "min", "start": 1526, "end": 1529, "loc": { "start": { "line": 70, "column": 20 }, "end": { "line": 70, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1529, "end": 1530, "loc": { "start": { "line": 70, "column": 23 }, "end": { "line": 70, "column": 24 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 1530, "end": 1536, "loc": { "start": { "line": 70, "column": 24 }, "end": { "line": 70, "column": 30 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1536, "end": 1537, "loc": { "start": { "line": 70, "column": 30 }, "end": { "line": 70, "column": 31 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerWidth", "start": 1537, "end": 1547, "loc": { "start": { "line": 70, "column": 31 }, "end": { "line": 70, "column": 41 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1547, "end": 1548, "loc": { "start": { "line": 70, "column": 41 }, "end": { "line": 70, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "window", "start": 1549, "end": 1555, "loc": { "start": { "line": 70, "column": 43 }, "end": { "line": 70, "column": 49 } } }, { "type": { "label": ".", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1555, "end": 1556, "loc": { "start": { "line": 70, "column": 49 }, "end": { "line": 70, "column": 50 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "innerHeight", "start": 1556, "end": 1567, "loc": { "start": { "line": 70, "column": 50 }, "end": { "line": 70, "column": 61 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1567, "end": 1568, "loc": { "start": { "line": 70, "column": 61 }, "end": { "line": 70, "column": 62 } } }, { "type": { "label": "/", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": 10, "updateContext": null }, "value": "/", "start": 1569, "end": 1570, "loc": { "start": { "line": 70, "column": 63 }, "end": { "line": 70, "column": 64 } } }, { "type": { "label": "num", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": 1024, "start": 1571, "end": 1577, "loc": { "start": { "line": 70, "column": 65 }, "end": { "line": 70, "column": 71 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1577, "end": 1578, "loc": { "start": { "line": 70, "column": 71 }, "end": { "line": 70, "column": 72 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1584, "end": 1585, "loc": { "start": { "line": 71, "column": 4 }, "end": { "line": 71, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Should return if this platform supports ads at all\r\n ", "start": 1593, "end": 1664, "loc": { "start": { "line": 73, "column": 4 }, "end": { "line": 75, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSupportsAds", "start": 1670, "end": 1684, "loc": { "start": { "line": 76, "column": 4 }, "end": { "line": 76, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1684, "end": 1685, "loc": { "start": { "line": 76, "column": 18 }, "end": { "line": 76, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1685, "end": 1686, "loc": { "start": { "line": 76, "column": 19 }, "end": { "line": 76, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1687, "end": 1688, "loc": { "start": { "line": 76, "column": 21 }, "end": { "line": 76, "column": 22 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 1698, "end": 1704, "loc": { "start": { "line": 77, "column": 8 }, "end": { "line": 77, "column": 14 } } }, { "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": 1705, "end": 1710, "loc": { "start": { "line": 77, "column": 15 }, "end": { "line": 77, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1710, "end": 1711, "loc": { "start": { "line": 77, "column": 20 }, "end": { "line": 77, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1717, "end": 1718, "loc": { "start": { "line": 78, "column": 4 }, "end": { "line": 78, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Attempt to open an external url\r\n * @param {string} url\r\n * @param {boolean=} force Whether to always open the url even if not allowed\r\n ", "start": 1726, "end": 1889, "loc": { "start": { "line": 80, "column": 4 }, "end": { "line": 84, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "openExternalLink", "start": 1895, "end": 1911, "loc": { "start": { "line": 85, "column": 4 }, "end": { "line": 85, "column": 20 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1911, "end": 1912, "loc": { "start": { "line": 85, "column": 20 }, "end": { "line": 85, "column": 21 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "url", "start": 1912, "end": 1915, "loc": { "start": { "line": 85, "column": 21 }, "end": { "line": 85, "column": 24 } } }, { "type": { "label": ",", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1915, "end": 1916, "loc": { "start": { "line": 85, "column": 24 }, "end": { "line": 85, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "force", "start": 1917, "end": 1922, "loc": { "start": { "line": 85, "column": 26 }, "end": { "line": 85, "column": 31 } } }, { "type": { "label": "=", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": true, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "=", "start": 1923, "end": 1924, "loc": { "start": { "line": 85, "column": 32 }, "end": { "line": 85, "column": 33 } } }, { "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": 1925, "end": 1930, "loc": { "start": { "line": 85, "column": 34 }, "end": { "line": 85, "column": 39 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1930, "end": 1931, "loc": { "start": { "line": 85, "column": 39 }, "end": { "line": 85, "column": 40 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1932, "end": 1933, "loc": { "start": { "line": 85, "column": 41 }, "end": { "line": 85, "column": 42 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "abstract", "start": 1943, "end": 1951, "loc": { "start": { "line": 86, "column": 8 }, "end": { "line": 86, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 1951, "end": 1952, "loc": { "start": { "line": 86, "column": 16 }, "end": { "line": 86, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 1958, "end": 1959, "loc": { "start": { "line": 87, "column": 4 }, "end": { "line": 87, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Attempt to restart the app\r\n ", "start": 1967, "end": 2014, "loc": { "start": { "line": 89, "column": 4 }, "end": { "line": 91, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "performRestart", "start": 2020, "end": 2034, "loc": { "start": { "line": 92, "column": 4 }, "end": { "line": 92, "column": 18 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2034, "end": 2035, "loc": { "start": { "line": 92, "column": 18 }, "end": { "line": 92, "column": 19 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2035, "end": 2036, "loc": { "start": { "line": 92, "column": 19 }, "end": { "line": 92, "column": 20 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2037, "end": 2038, "loc": { "start": { "line": 92, "column": 21 }, "end": { "line": 92, "column": 22 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "abstract", "start": 2048, "end": 2056, "loc": { "start": { "line": 93, "column": 8 }, "end": { "line": 93, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2056, "end": 2057, "loc": { "start": { "line": 93, "column": 16 }, "end": { "line": 93, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2063, "end": 2064, "loc": { "start": { "line": 94, "column": 4 }, "end": { "line": 94, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns whether this platform supports a toggleable fullscreen\r\n ", "start": 2072, "end": 2155, "loc": { "start": { "line": 96, "column": 4 }, "end": { "line": 98, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSupportsFullscreen", "start": 2161, "end": 2182, "loc": { "start": { "line": 99, "column": 4 }, "end": { "line": 99, "column": 25 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2182, "end": 2183, "loc": { "start": { "line": 99, "column": 25 }, "end": { "line": 99, "column": 26 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2183, "end": 2184, "loc": { "start": { "line": 99, "column": 26 }, "end": { "line": 99, "column": 27 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2185, "end": 2186, "loc": { "start": { "line": 99, "column": 28 }, "end": { "line": 99, "column": 29 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2196, "end": 2202, "loc": { "start": { "line": 100, "column": 8 }, "end": { "line": 100, "column": 14 } } }, { "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": 2203, "end": 2208, "loc": { "start": { "line": 100, "column": 15 }, "end": { "line": 100, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2208, "end": 2209, "loc": { "start": { "line": 100, "column": 20 }, "end": { "line": 100, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2215, "end": 2216, "loc": { "start": { "line": 101, "column": 4 }, "end": { "line": 101, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Should set the apps fullscreen state to the desired state\r\n * @param {boolean} flag\r\n ", "start": 2224, "end": 2332, "loc": { "start": { "line": 103, "column": 4 }, "end": { "line": 106, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "setFullscreen", "start": 2338, "end": 2351, "loc": { "start": { "line": 107, "column": 4 }, "end": { "line": 107, "column": 17 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2351, "end": 2352, "loc": { "start": { "line": 107, "column": 17 }, "end": { "line": 107, "column": 18 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "flag", "start": 2352, "end": 2356, "loc": { "start": { "line": 107, "column": 18 }, "end": { "line": 107, "column": 22 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2356, "end": 2357, "loc": { "start": { "line": 107, "column": 22 }, "end": { "line": 107, "column": 23 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2358, "end": 2359, "loc": { "start": { "line": 107, "column": 24 }, "end": { "line": 107, "column": 25 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "abstract", "start": 2369, "end": 2377, "loc": { "start": { "line": 108, "column": 8 }, "end": { "line": 108, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2377, "end": 2378, "loc": { "start": { "line": 108, "column": 16 }, "end": { "line": 108, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2384, "end": 2385, "loc": { "start": { "line": 109, "column": 4 }, "end": { "line": 109, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Returns whether this platform supports quitting the app\r\n ", "start": 2393, "end": 2469, "loc": { "start": { "line": 111, "column": 4 }, "end": { "line": 113, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSupportsAppExit", "start": 2475, "end": 2493, "loc": { "start": { "line": 114, "column": 4 }, "end": { "line": 114, "column": 22 } } }, { "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": 114, "column": 22 }, "end": { "line": 114, "column": 23 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2494, "end": 2495, "loc": { "start": { "line": 114, "column": 23 }, "end": { "line": 114, "column": 24 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2496, "end": 2497, "loc": { "start": { "line": 114, "column": 25 }, "end": { "line": 114, "column": 26 } } }, { "type": { "label": "return", "keyword": "return", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "value": "return", "start": 2507, "end": 2513, "loc": { "start": { "line": 115, "column": 8 }, "end": { "line": 115, "column": 14 } } }, { "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": 2514, "end": 2519, "loc": { "start": { "line": 115, "column": 15 }, "end": { "line": 115, "column": 20 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2519, "end": 2520, "loc": { "start": { "line": 115, "column": 20 }, "end": { "line": 115, "column": 21 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2526, "end": 2527, "loc": { "start": { "line": 116, "column": 4 }, "end": { "line": 116, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Attempts to quit the app\r\n ", "start": 2535, "end": 2580, "loc": { "start": { "line": 118, "column": 4 }, "end": { "line": 120, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "exitApp", "start": 2586, "end": 2593, "loc": { "start": { "line": 121, "column": 4 }, "end": { "line": 121, "column": 11 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2593, "end": 2594, "loc": { "start": { "line": 121, "column": 11 }, "end": { "line": 121, "column": 12 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2594, "end": 2595, "loc": { "start": { "line": 121, "column": 12 }, "end": { "line": 121, "column": 13 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2596, "end": 2597, "loc": { "start": { "line": 121, "column": 14 }, "end": { "line": 121, "column": 15 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "abstract", "start": 2607, "end": 2615, "loc": { "start": { "line": 122, "column": 8 }, "end": { "line": 122, "column": 16 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2615, "end": 2616, "loc": { "start": { "line": 122, "column": 16 }, "end": { "line": 122, "column": 17 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2622, "end": 2623, "loc": { "start": { "line": 123, "column": 4 }, "end": { "line": 123, "column": 5 } } }, { "type": "CommentBlock", "value": "*\r\n * Whether this platform supports a keyboard\r\n ", "start": 2631, "end": 2693, "loc": { "start": { "line": 125, "column": 4 }, "end": { "line": 127, "column": 7 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "getSupportsKeyboard", "start": 2699, "end": 2718, "loc": { "start": { "line": 128, "column": 4 }, "end": { "line": 128, "column": 23 } } }, { "type": { "label": "(", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2718, "end": 2719, "loc": { "start": { "line": 128, "column": 23 }, "end": { "line": 128, "column": 24 } } }, { "type": { "label": ")", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2719, "end": 2720, "loc": { "start": { "line": 128, "column": 24 }, "end": { "line": 128, "column": 25 } } }, { "type": { "label": "{", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2721, "end": 2722, "loc": { "start": { "line": 128, "column": 26 }, "end": { "line": 128, "column": 27 } } }, { "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": 2732, "end": 2738, "loc": { "start": { "line": 129, "column": 8 }, "end": { "line": 129, "column": 14 } } }, { "type": { "label": "prefix", "beforeExpr": true, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": true, "postfix": false, "binop": null, "updateContext": null }, "value": "!", "start": 2739, "end": 2740, "loc": { "start": { "line": 129, "column": 15 }, "end": { "line": 129, "column": 16 } } }, { "type": { "label": "name", "beforeExpr": false, "startsExpr": true, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "value": "IS_MOBILE", "start": 2740, "end": 2749, "loc": { "start": { "line": 129, "column": 16 }, "end": { "line": 129, "column": 25 } } }, { "type": { "label": ";", "beforeExpr": true, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2749, "end": 2750, "loc": { "start": { "line": 129, "column": 25 }, "end": { "line": 129, "column": 26 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2756, "end": 2757, "loc": { "start": { "line": 130, "column": 4 }, "end": { "line": 130, "column": 5 } } }, { "type": { "label": "}", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null }, "start": 2759, "end": 2760, "loc": { "start": { "line": 131, "column": 0 }, "end": { "line": 131, "column": 1 } } }, { "type": { "label": "eof", "beforeExpr": false, "startsExpr": false, "rightAssociative": false, "isLoop": false, "isAssign": false, "prefix": false, "postfix": false, "binop": null, "updateContext": null }, "start": 2762, "end": 2762, "loc": { "start": { "line": 132, "column": 0 }, "end": { "line": 132, "column": 0 } } } ] }